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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE RANLIB ac_ct_RANLIB 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBOBJS CC_FOR_BUILD HDEFINES AR sim_cflags sim_warnings sim_line_nr sim_config sim_opcode sim_switch sim_dup sim_decode_mechanism sim_jump sim_filter sim_icache sim_hw_src sim_hw_obj sim_pk_src sim_pk_obj sim_bswap sim_igen_smp sim_hostbitsize sim_env sim_timebase sim_trace sim_reserved sim_monitor sim_model sim_model_issue sim_stdio sim_termio sim_devzero sim_callback sim_targ_vals sim_fpu_cflags sim_fpu 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-sim-alignment=align Specify strict or nonstrict alignment.
855 --enable-sim-assert Specify whether to perform random assertions.
856 --enable-sim-bitsize=n Specify target bitsize
(32 or
64).
857 --enable-sim-bswap Use the BSWAP instruction on Intel
486s and Pentiums.
858 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
859 --enable-sim-config=file Override default config
file
860 --enable-sim-decode-mechanism=which Specify the instruction decode mechanism.
861 --enable-sim-default-model=which Specify default PowerPC to model.
862 --enable-sim-duplicate Expand
(duplicate
) semantic functions.
863 --enable-sim-endian=endian Specify target byte endian orientation.
864 --enable-sim-env=env Specify target environment
(operating
, virtual
, user
).
865 --enable-sim-filter=rule Specify filter rules.
866 --enable-sim-float Specify whether the target has hard
, soft
, altivec or e500 floating point.
867 --enable-sim-hardware=list Specify the hardware to be included
in the build.
868 --enable-sim-hostbitsize=32|
64 Specify
host bitsize
(32 or
64).
869 --enable-sim-hostendian=end Specify
host byte endian orientation.
870 --enable-sim-icache=size Specify instruction-decode cache size and
type.
871 --enable-sim-inline=inlines Specify
which functions should be inlined.
872 --enable-sim-jump Jump between semantic code
(instead of
call
/return).
873 --enable-sim-line-nr=opts Generate extra CPP code that references
source rather than generated code
874 --enable-sim-model=which Specify PowerPC to model.
875 --enable-sim-model-issue Specify whether to simulate model specific actions
876 --enable-sim-monitor=mon Specify whether to
enable monitoring events.
877 --enable-sim-opcode=which Override default opcode lookup.
878 --enable-sim-packages=list Specify the packages to be included
in the build.
879 --enable-sim-regparm=nr-parm Pass parameters
in registers instead of on the stack
- x86
/GCC specific.
880 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
881 --enable-sim-smp=n Specify number of processors to configure
for.
882 --enable-sim-stdcall=type Use an alternative
function call
/return mechanism
- x86
/GCC specific.
883 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
884 --enable-sim-switch Use a switch instead of a table
for instruction call.
885 --enable-sim-timebase Specify whether the PPC timebase is supported.
886 --enable-sim-trace Specify whether tracing is supported.
887 --enable-sim-warnings=opts Extra CFLAGS
for turning on compiler warnings except
for idecode.o
, semantics.o and psim.o
888 --enable-sim-xor-endian=n Specify number bytes involved
in PowerPC XOR bi-endian mode
(default
8).
891 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
892 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
893 --with-included-gettext use the GNU
gettext library included here
895 Some influential environment variables
:
896 CC C compiler
command
897 CFLAGS C compiler flags
898 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
899 nonstandard directory
<lib dir
>
900 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
901 headers
in a nonstandard directory
<include dir
>
904 Use these variables to override the choices made by
`configure' or to help
905 it to find libraries and programs with nonstandard names/locations.
910 if test "$ac_init_help" = "recursive"; then
911 # If there are subdirs, report their specific --help.
913 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
914 test -d $ac_dir || continue
917 if test "$ac_dir" != .; then
918 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
919 # A "../" for each directory in $ac_dir_suffix.
920 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
922 ac_dir_suffix= ac_top_builddir=
926 .) # No --srcdir option. We are building in place.
928 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
933 [\\/]* | ?:[\\/]* ) # Absolute path.
934 ac_srcdir=$srcdir$ac_dir_suffix;
935 ac_top_srcdir=$srcdir ;;
937 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
938 ac_top_srcdir=$ac_top_builddir$srcdir ;;
941 # Do not use `cd foo
&& pwd` to compute absolute paths, because
942 # the directories may not exist.
944 .) ac_abs_builddir="$ac_dir";;
947 .) ac_abs_builddir=`pwd`;;
948 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
949 *) ac_abs_builddir=`pwd`/"$ac_dir";;
952 case $ac_abs_builddir in
953 .) ac_abs_top_builddir=${ac_top_builddir}.;;
955 case ${ac_top_builddir}. in
956 .) ac_abs_top_builddir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
958 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
961 case $ac_abs_builddir in
962 .) ac_abs_srcdir=$ac_srcdir;;
965 .) ac_abs_srcdir=$ac_abs_builddir;;
966 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
967 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
970 case $ac_abs_builddir in
971 .) ac_abs_top_srcdir=$ac_top_srcdir;;
973 case $ac_top_srcdir in
974 .) ac_abs_top_srcdir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
976 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
981 # Check for guested configure; otherwise get Cygnus style configure.
982 if test -f $ac_srcdir/configure.gnu; then
984 $SHELL $ac_srcdir/configure.gnu --help=recursive
985 elif test -f $ac_srcdir/configure; then
987 $SHELL $ac_srcdir/configure --help=recursive
988 elif test -f $ac_srcdir/configure.ac ||
989 test -f $ac_srcdir/configure.in; then
993 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
999 test -n "$ac_init_help" && exit 0
1000 if $ac_init_version; then
1003 Copyright (C) 2003 Free Software Foundation, Inc.
1004 This configure script is free software; the Free Software Foundation
1005 gives unlimited permission to copy, distribute and modify it.
1011 This file contains any messages produced by compilers while
1012 running configure, to aid debugging if configure makes a mistake.
1014 It was created by $as_me, which was
1015 generated by GNU Autoconf 2.59. Invocation command line was
1026 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1027 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1028 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1029 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1030 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1032 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1033 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1035 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1036 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1037 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1038 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1039 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1040 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1041 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1049 test -z "$as_dir" && as_dir=.
1050 echo "PATH: $as_dir"
1065 # Keep a trace of the command line.
1066 # Strip out --no-create and --no-recursion so they do not pile up.
1067 # Strip out --silent because we don't want to record it for future runs.
1068 # Also quote any args containing shell meta-characters.
1069 # Make two passes to allow for proper duplicate-argument suppression.
1074 ac_must_keep_next=false
1080 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082 | -silent | --silent | --silen | --sile | --sil)
1084 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1085 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1088 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1090 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1091 if test $ac_must_keep_next = true; then
1092 ac_must_keep_next=false # Got value, back to normal.
1095 *=* | --config-cache | -C | -disable-* | --disable-* \
1096 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1097 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1098 | -with-* | --with-* | -without-* | --without-* | --x)
1099 case "$ac_configure_args0 " in
1100 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1103 -* ) ac_must_keep_next=true ;;
1106 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1107 # Get rid of the leading space.
1113 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1114 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1116 # When interrupted or exit'd, cleanup temporary files, and complete
1117 # config.log. We remove comments because anyway the quotes in there
1118 # would cause problems or look ugly.
1119 # WARNING: Be sure not to use single quotes in there, as some shells,
1120 # such as our DU 5.0 friend, will then `close
' the trap.
1121 trap 'exit_status
=$?
1122 # Save into config.log some information that might help in debugging.
1127 ## ---------------- ##
1128 ## Cache variables. ##
1129 ## ---------------- ##
1132 # The following way of writing the cache mishandles newlines in values,
1135 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1138 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1150 ## ----------------- ##
1151 ## Output variables. ##
1152 ## ----------------- ##
1155 for ac_var
in $ac_subst_vars
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -n "$ac_subst_files"; then
1169 for ac_var
in $ac_subst_files
1171 eval ac_val
=$
`echo $ac_var`
1172 echo "$ac_var='"'"'$ac_val'"'"'"
1177 if test -s confdefs.h
; then
1184 sed "/^$/d" confdefs.h |
sort
1187 test "$ac_signal" != 0 &&
1188 echo "$as_me: caught signal $ac_signal"
1189 echo "$as_me: exit $exit_status"
1191 rm -f core
*.core
&&
1192 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1195 for ac_signal in 1 2 13 15; do
1196 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1201 rm -rf conftest* confdefs.h
1202 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1205 # Predefined preprocessor variables.
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_NAME "$PACKAGE_NAME"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 cat >>confdefs.h <<_ACEOF
1218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_STRING "$PACKAGE_STRING"
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 # Let the site file select an alternate cache file if it wants to.
1233 # Prefer explicitly selected file to automatically selected ones.
1234 if test -z "$CONFIG_SITE"; then
1235 if test "x$prefix" != xNONE; then
1236 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1238 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1241 for ac_site_file in $CONFIG_SITE; do
1242 if test -r "$ac_site_file"; then
1243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1244 echo "$as_me: loading site script $ac_site_file" >&6;}
1245 sed 's
/^
/|
/' "$ac_site_file" >&5
1250 if test -r "$cache_file"; then
1251 # Some versions of bash will fail to source /dev/null (special
1252 # files actually), so we avoid doing that.
1253 if test -f "$cache_file"; then
1254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1255 echo "$as_me: loading cache $cache_file" >&6;}
1257 [\\/]* | ?:[\\/]* ) . $cache_file;;
1258 *) . ./$cache_file;;
1262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1263 echo "$as_me: creating cache $cache_file" >&6;}
1267 # Check that the precious variables saved in the cache have kept the same
1269 ac_cache_corrupted=false
1270 for ac_var in `(set) 2>&1 |
1271 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1272 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1273 eval ac_new_set=\$ac_env_${ac_var}_set
1274 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1275 eval ac_new_val="\$ac_env_${ac_var}_value"
1276 case $ac_old_set,$ac_new_set in
1278 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1280 ac_cache_corrupted=: ;;
1282 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1284 ac_cache_corrupted=: ;;
1287 if test "x$ac_old_val" != "x$ac_new_val"; then
1288 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1289 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1290 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1291 echo "$as_me: former value: $ac_old_val" >&2;}
1292 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1293 echo "$as_me: current value: $ac_new_val" >&2;}
1294 ac_cache_corrupted=:
1297 # Pass precious variables to config.status.
1298 if test "$ac_new_set" = set; then
1300 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1301 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1302 *) ac_arg=$ac_var=$ac_new_val ;;
1304 case " $ac_configure_args " in
1305 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1306 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1310 if $ac_cache_corrupted; then
1311 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1312 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1313 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1314 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1315 { (exit 1); exit 1; }; }
1319 ac_cpp='$CPP $CPPFLAGS'
1320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1321 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1344 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1345 if test -f $ac_dir/install-sh; then
1347 ac_install_sh="$ac_aux_dir/install-sh -c"
1349 elif test -f $ac_dir/install.sh; then
1351 ac_install_sh="$ac_aux_dir/install.sh -c"
1353 elif test -f $ac_dir/shtool; then
1355 ac_install_sh="$ac_aux_dir/shtool install -c"
1359 if test -z "$ac_aux_dir"; then
1360 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1361 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1362 { (exit 1); exit 1; }; }
1364 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1365 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1366 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1368 # Find a good install program. We prefer a C program (faster),
1369 # so one script is as good as another. But avoid the broken or
1370 # incompatible versions:
1371 # SysV /etc/install, /usr/sbin/install
1372 # SunOS /usr/etc/install
1373 # IRIX /sbin/install
1375 # AmigaOS /C/install, which installs bootblocks on floppy discs
1376 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1379 # OS/2's system install, which has a completely different semantic
1380 # ./install, which can be erroneously created by make from ./install.sh.
1381 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1382 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1383 if test -z "$INSTALL"; then
1384 if test "${ac_cv_path_install+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1391 test -z "$as_dir" && as_dir
=.
1392 # Account for people who put trailing slashes in PATH elements.
1394 .
/ | .
// |
/cC
/* | \
1395 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1396 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1399 # OSF1 and SCO ODT 3.0 have their own names for install.
1400 # Don't use installbsd from OSF since it installs stuff as root
1402 for ac_prog
in ginstall scoinst
install; do
1403 for ac_exec_ext
in '' $ac_executable_extensions; do
1404 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1405 if test $ac_prog = install &&
1406 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1407 # AIX install. It has an incompatible calling convention.
1409 elif test $ac_prog = install &&
1410 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1411 # program-specific install script used by HP pwplus--don't use.
1414 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1426 if test "${ac_cv_path_install+set}" = set; then
1427 INSTALL
=$ac_cv_path_install
1429 # As a last resort, use the slow shell script. We don't cache a
1430 # path for INSTALL within a source directory, because that will
1431 # break other packages using the cache if that directory is
1432 # removed, or if the path is relative.
1433 INSTALL
=$ac_install_sh
1436 echo "$as_me:$LINENO: result: $INSTALL" >&5
1437 echo "${ECHO_T}$INSTALL" >&6
1439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1440 # It thinks the first close brace ends the variable substitution.
1441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1445 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1448 ac_cpp
='$CPP $CPPFLAGS'
1449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1452 if test -n "$ac_tool_prefix"; then
1453 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1454 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1455 echo "$as_me:$LINENO: checking for $ac_word" >&5
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1457 if test "${ac_cv_prog_CC+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 if test -n "$CC"; then
1461 ac_cv_prog_CC
="$CC" # Let the user override the test.
1463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1467 test -z "$as_dir" && as_dir
=.
1468 for ac_exec_ext
in '' $ac_executable_extensions; do
1469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1470 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480 if test -n "$CC"; then
1481 echo "$as_me:$LINENO: result: $CC" >&5
1482 echo "${ECHO_T}$CC" >&6
1484 echo "$as_me:$LINENO: result: no" >&5
1485 echo "${ECHO_T}no" >&6
1489 if test -z "$ac_cv_prog_CC"; then
1491 # Extract the first word of "gcc", so it can be a program name with args.
1492 set dummy gcc
; ac_word
=$2
1493 echo "$as_me:$LINENO: checking for $ac_word" >&5
1494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 if test -n "$ac_ct_CC"; then
1499 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir
=.
1506 for ac_exec_ext
in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_ac_ct_CC
="gcc"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1517 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1518 if test -n "$ac_ct_CC"; then
1519 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1520 echo "${ECHO_T}$ac_ct_CC" >&6
1522 echo "$as_me:$LINENO: result: no" >&5
1523 echo "${ECHO_T}no" >&6
1531 if test -z "$CC"; then
1532 if test -n "$ac_tool_prefix"; then
1533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1534 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_CC+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 if test -n "$CC"; then
1541 ac_cv_prog_CC
="$CC" # Let the user override the test.
1543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir
=.
1548 for ac_exec_ext
in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560 if test -n "$CC"; then
1561 echo "$as_me:$LINENO: result: $CC" >&5
1562 echo "${ECHO_T}$CC" >&6
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1569 if test -z "$ac_cv_prog_CC"; then
1571 # Extract the first word of "cc", so it can be a program name with args.
1572 set dummy cc
; ac_word
=$2
1573 echo "$as_me:$LINENO: checking for $ac_word" >&5
1574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 if test -n "$ac_ct_CC"; then
1579 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1585 test -z "$as_dir" && as_dir
=.
1586 for ac_exec_ext
in '' $ac_executable_extensions; do
1587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1588 ac_cv_prog_ac_ct_CC
="cc"
1589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1597 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1598 if test -n "$ac_ct_CC"; then
1599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1600 echo "${ECHO_T}$ac_ct_CC" >&6
1602 echo "$as_me:$LINENO: result: no" >&5
1603 echo "${ECHO_T}no" >&6
1612 if test -z "$CC"; then
1613 # Extract the first word of "cc", so it can be a program name with args.
1614 set dummy cc
; ac_word
=$2
1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1617 if test "${ac_cv_prog_CC+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 if test -n "$CC"; then
1621 ac_cv_prog_CC
="$CC" # Let the user override the test.
1624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir
=.
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1632 ac_prog_rejected
=yes
1636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 if test $ac_prog_rejected = yes; then
1643 # We found a bogon in the path, so make sure we never use it.
1644 set dummy
$ac_cv_prog_CC
1646 if test $# != 0; then
1647 # We chose a different compiler from the bogus one.
1648 # However, it has the same basename, so the bogon will be chosen
1649 # first if we set CC to just the basename; use the full file name.
1651 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1657 if test -n "$CC"; then
1658 echo "$as_me:$LINENO: result: $CC" >&5
1659 echo "${ECHO_T}$CC" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1666 if test -z "$CC"; then
1667 if test -n "$ac_tool_prefix"; then
1670 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1671 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_CC+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 if test -n "$CC"; then
1678 ac_cv_prog_CC
="$CC" # Let the user override the test.
1680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1684 test -z "$as_dir" && as_dir
=.
1685 for ac_exec_ext
in '' $ac_executable_extensions; do
1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697 if test -n "$CC"; then
1698 echo "$as_me:$LINENO: result: $CC" >&5
1699 echo "${ECHO_T}$CC" >&6
1701 echo "$as_me:$LINENO: result: no" >&5
1702 echo "${ECHO_T}no" >&6
1705 test -n "$CC" && break
1708 if test -z "$CC"; then
1712 # Extract the first word of "$ac_prog", so it can be a program name with args.
1713 set dummy
$ac_prog; ac_word
=$2
1714 echo "$as_me:$LINENO: checking for $ac_word" >&5
1715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1716 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1717 echo $ECHO_N "(cached) $ECHO_C" >&6
1719 if test -n "$ac_ct_CC"; then
1720 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1726 test -z "$as_dir" && as_dir
=.
1727 for ac_exec_ext
in '' $ac_executable_extensions; do
1728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1729 ac_cv_prog_ac_ct_CC
="$ac_prog"
1730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1739 if test -n "$ac_ct_CC"; then
1740 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1741 echo "${ECHO_T}$ac_ct_CC" >&6
1743 echo "$as_me:$LINENO: result: no" >&5
1744 echo "${ECHO_T}no" >&6
1747 test -n "$ac_ct_CC" && break
1756 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1757 See \`config.log' for more details." >&5
1758 echo "$as_me: error: no acceptable C compiler found in \$PATH
1759 See \`config.log' for more details." >&2;}
1760 { (exit 1); exit 1; }; }
1762 # Provide some information about the compiler.
1763 echo "$as_me:$LINENO:" \
1764 "checking for C compiler version" >&5
1765 ac_compiler
=`set X $ac_compile; echo $2`
1766 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1767 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1770 (exit $ac_status); }
1771 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1772 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775 (exit $ac_status); }
1776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1777 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 (exit $ac_status); }
1782 cat >conftest.
$ac_ext <<_ACEOF
1785 cat confdefs.h
>>conftest.
$ac_ext
1786 cat >>conftest.
$ac_ext <<_ACEOF
1787 /* end confdefs.h. */
1797 ac_clean_files_save
=$ac_clean_files
1798 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1799 # Try to create an executable without -o first, disregard a.out.
1800 # It will help us diagnose broken compilers, and finding out an intuition
1802 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1803 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1804 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1805 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1806 (eval $ac_link_default) 2>&5
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); }; then
1810 # Find the output, starting from the most likely. This scheme is
1811 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1814 # Be careful to initialize this variable, since it used to be cached.
1815 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1817 # b.out is created by i960 compilers.
1818 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1820 test -f "$ac_file" ||
continue
1822 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1825 # This is the source file.
1828 # We found the default executable, but exeext='' is most
1832 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1833 # FIXME: I believe we export ac_cv_exeext for Libtool,
1834 # but it would be cool to find out if it's true. Does anybody
1835 # maintain Libtool? --akim.
1843 echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1846 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1847 See \`config.log' for more details." >&5
1848 echo "$as_me: error: C compiler cannot create executables
1849 See \`config.log' for more details." >&2;}
1850 { (exit 77); exit 77; }; }
1853 ac_exeext
=$ac_cv_exeext
1854 echo "$as_me:$LINENO: result: $ac_file" >&5
1855 echo "${ECHO_T}$ac_file" >&6
1857 # Check the compiler produces executables we can run. If not, either
1858 # the compiler is broken, or we cross compile.
1859 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1860 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1861 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1862 # If not cross compiling, check that we can run a simple program.
1863 if test "$cross_compiling" != yes; then
1864 if { ac_try
='./$ac_file'
1865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }; }; then
1872 if test "$cross_compiling" = maybe
; then
1875 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1876 If you meant to cross compile, use \`--host'.
1877 See \`config.log' for more details." >&5
1878 echo "$as_me: error: cannot run C compiled programs.
1879 If you meant to cross compile, use \`--host'.
1880 See \`config.log' for more details." >&2;}
1881 { (exit 1); exit 1; }; }
1885 echo "$as_me:$LINENO: result: yes" >&5
1886 echo "${ECHO_T}yes" >&6
1888 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1889 ac_clean_files
=$ac_clean_files_save
1890 # Check the compiler produces executables we can run. If not, either
1891 # the compiler is broken, or we cross compile.
1892 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1893 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1894 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1895 echo "${ECHO_T}$cross_compiling" >&6
1897 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1898 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1900 (eval $ac_link) 2>&5
1902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903 (exit $ac_status); }; then
1904 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1905 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1906 # work properly (i.e., refer to `conftest.exe'), while it won't with
1908 for ac_file
in conftest.exe conftest conftest.
*; do
1909 test -f "$ac_file" ||
continue
1911 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1912 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1919 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1920 See \`config.log' for more details." >&5
1921 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1922 See \`config.log' for more details." >&2;}
1923 { (exit 1); exit 1; }; }
1926 rm -f conftest
$ac_cv_exeext
1927 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1928 echo "${ECHO_T}$ac_cv_exeext" >&6
1930 rm -f conftest.
$ac_ext
1931 EXEEXT
=$ac_cv_exeext
1933 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1934 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1935 if test "${ac_cv_objext+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 cat >conftest.
$ac_ext <<_ACEOF
1941 cat confdefs.h
>>conftest.
$ac_ext
1942 cat >>conftest.
$ac_ext <<_ACEOF
1943 /* end confdefs.h. */
1953 rm -f conftest.o conftest.obj
1954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1955 (eval $ac_compile) 2>&5
1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1958 (exit $ac_status); }; then
1959 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1961 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1962 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1967 echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.
$ac_ext >&5
1970 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1971 See \`config.log' for more details." >&5
1972 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1973 See \`config.log' for more details." >&2;}
1974 { (exit 1); exit 1; }; }
1977 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1979 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1980 echo "${ECHO_T}$ac_cv_objext" >&6
1981 OBJEXT
=$ac_cv_objext
1983 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1984 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1985 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 cat >conftest.
$ac_ext <<_ACEOF
1991 cat confdefs.h
>>conftest.
$ac_ext
1992 cat >>conftest.
$ac_ext <<_ACEOF
1993 /* end confdefs.h. */
2006 rm -f conftest.
$ac_objext
2007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 (eval $ac_compile) 2>conftest.er1
2010 grep -v '^ *+' conftest.er1
>conftest.err
2012 cat conftest.err
>&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); } &&
2015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }; } &&
2021 { ac_try
='test -s conftest.$ac_objext'
2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }; }; then
2029 echo "$as_me: failed program was:" >&5
2030 sed 's/^/| /' conftest.
$ac_ext >&5
2034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2035 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2038 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2039 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2040 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2041 ac_test_CFLAGS
=${CFLAGS+set}
2042 ac_save_CFLAGS
=$CFLAGS
2044 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2045 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2046 if test "${ac_cv_prog_cc_g+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 cat >conftest.
$ac_ext <<_ACEOF
2052 cat confdefs.h
>>conftest.
$ac_ext
2053 cat >>conftest.
$ac_ext <<_ACEOF
2054 /* end confdefs.h. */
2064 rm -f conftest.
$ac_objext
2065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2066 (eval $ac_compile) 2>conftest.er1
2068 grep -v '^ *+' conftest.er1
>conftest.err
2070 cat conftest.err
>&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); } &&
2073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); }; } &&
2079 { ac_try
='test -s conftest.$ac_objext'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; }; then
2087 echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.
$ac_ext >&5
2092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2094 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2095 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2096 if test "$ac_test_CFLAGS" = set; then
2097 CFLAGS
=$ac_save_CFLAGS
2098 elif test $ac_cv_prog_cc_g = yes; then
2099 if test "$GCC" = yes; then
2105 if test "$GCC" = yes; then
2111 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2112 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2113 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 ac_cv_prog_cc_stdc
=no
2118 cat >conftest.
$ac_ext <<_ACEOF
2121 cat confdefs.h
>>conftest.
$ac_ext
2122 cat >>conftest.
$ac_ext <<_ACEOF
2123 /* end confdefs.h. */
2126 #include <sys/types.h>
2127 #include <sys/stat.h>
2128 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2129 struct buf { int x; };
2130 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2131 static char *e (p, i)
2137 static char *f (char * (*g) (char **, int), char **p, ...)
2142 s = g (p, va_arg (v,int));
2147 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2148 function prototypes and stuff, but not '\xHH' hex character constants.
2149 These don't provoke an error unfortunately, instead are silently treated
2150 as 'x'. The following induces an error, until -std1 is added to get
2151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2152 array size at least. It's necessary to write '\x00'==0 to get something
2153 that's true only with -std1. */
2154 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2156 int test (int i, double x);
2157 struct s1 {int (*f) (int a);};
2158 struct s2 {int (*f) (double a);};
2159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2165 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2170 # Don't try gcc -ansi; that turns off useful extensions and
2171 # breaks some systems' header files.
2172 # AIX -qlanglvl=ansi
2173 # Ultrix and OSF/1 -std1
2174 # HP-UX 10.20 and later -Ae
2175 # HP-UX older versions -Aa -D_HPUX_SOURCE
2176 # SVR4 -Xc -D__EXTENSIONS__
2177 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2179 CC
="$ac_save_CC $ac_arg"
2180 rm -f conftest.
$ac_objext
2181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182 (eval $ac_compile) 2>conftest.er1
2184 grep -v '^ *+' conftest.er1
>conftest.err
2186 cat conftest.err
>&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); } &&
2189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; } &&
2195 { ac_try
='test -s conftest.$ac_objext'
2196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }; }; then
2201 ac_cv_prog_cc_stdc
=$ac_arg
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.
$ac_ext >&5
2208 rm -f conftest.err conftest.
$ac_objext
2210 rm -f conftest.
$ac_ext conftest.
$ac_objext
2215 case "x$ac_cv_prog_cc_stdc" in
2217 echo "$as_me:$LINENO: result: none needed" >&5
2218 echo "${ECHO_T}none needed" >&6 ;;
2220 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2221 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2222 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2225 # Some people use a C++ compiler to compile C. Since we use `exit',
2226 # in C++ we need to declare it. In case someone uses the same compiler
2227 # for both compiling C and C++ we need to have the C++ compiler decide
2228 # the declaration of exit, since it's the most demanding environment.
2229 cat >conftest.
$ac_ext <<_ACEOF
2234 rm -f conftest.
$ac_objext
2235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2236 (eval $ac_compile) 2>conftest.er1
2238 grep -v '^ *+' conftest.er1
>conftest.err
2240 cat conftest.err
>&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); } &&
2243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; } &&
2249 { ac_try
='test -s conftest.$ac_objext'
2250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }; }; then
2255 for ac_declaration
in \
2257 'extern "C" void std::exit (int) throw (); using std::exit;' \
2258 'extern "C" void std::exit (int); using std::exit;' \
2259 'extern "C" void exit (int) throw ();' \
2260 'extern "C" void exit (int);' \
2263 cat >conftest.
$ac_ext <<_ACEOF
2266 cat confdefs.h
>>conftest.
$ac_ext
2267 cat >>conftest.
$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2279 rm -f conftest.
$ac_objext
2280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2281 (eval $ac_compile) 2>conftest.er1
2283 grep -v '^ *+' conftest.er1
>conftest.err
2285 cat conftest.err
>&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); } &&
2288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; } &&
2294 { ac_try
='test -s conftest.$ac_objext'
2295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }; }; then
2302 echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.
$ac_ext >&5
2307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2308 cat >conftest.
$ac_ext <<_ACEOF
2311 cat confdefs.h
>>conftest.
$ac_ext
2312 cat >>conftest.
$ac_ext <<_ACEOF
2313 /* end confdefs.h. */
2323 rm -f conftest.
$ac_objext
2324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325 (eval $ac_compile) 2>conftest.er1
2327 grep -v '^ *+' conftest.er1
>conftest.err
2329 cat conftest.err
>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); } &&
2332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; } &&
2338 { ac_try
='test -s conftest.$ac_objext'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; }; then
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 if test -n "$ac_declaration"; then
2354 echo '#ifdef __cplusplus' >>confdefs.h
2355 echo $ac_declaration >>confdefs.h
2356 echo '#endif' >>confdefs.h
2360 echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.
$ac_ext >&5
2364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2366 ac_cpp
='$CPP $CPPFLAGS'
2367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2372 # Put a plausible default for CC_FOR_BUILD in Makefile.
2373 if test "x$cross_compiling" = "xno"; then
2374 CC_FOR_BUILD
='$(CC)'
2380 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2381 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2382 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2383 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 cat >conftest.
make <<\_ACEOF
2388 @
echo 'ac_maketemp="$(MAKE)"'
2390 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2391 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2392 if test -n "$ac_maketemp"; then
2393 eval ac_cv_prog_make_
${ac_make}_set
=yes
2395 eval ac_cv_prog_make_
${ac_make}_set
=no
2399 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2400 echo "$as_me:$LINENO: result: yes" >&5
2401 echo "${ECHO_T}yes" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2406 SET_MAKE
="MAKE=${MAKE-make}"
2409 if test -n "$ac_tool_prefix"; then
2410 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2411 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2412 echo "$as_me:$LINENO: checking for $ac_word" >&5
2413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2414 if test "${ac_cv_prog_RANLIB+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 if test -n "$RANLIB"; then
2418 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir
=.
2425 for ac_exec_ext
in '' $ac_executable_extensions; do
2426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2427 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 RANLIB
=$ac_cv_prog_RANLIB
2437 if test -n "$RANLIB"; then
2438 echo "$as_me:$LINENO: result: $RANLIB" >&5
2439 echo "${ECHO_T}$RANLIB" >&6
2441 echo "$as_me:$LINENO: result: no" >&5
2442 echo "${ECHO_T}no" >&6
2446 if test -z "$ac_cv_prog_RANLIB"; then
2447 ac_ct_RANLIB
=$RANLIB
2448 # Extract the first word of "ranlib", so it can be a program name with args.
2449 set dummy ranlib
; ac_word
=$2
2450 echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2452 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -n "$ac_ct_RANLIB"; then
2456 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2475 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2476 if test -n "$ac_ct_RANLIB"; then
2477 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2478 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2480 echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6
2484 RANLIB
=$ac_ct_RANLIB
2486 RANLIB
="$ac_cv_prog_RANLIB"
2490 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2491 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2492 if test "${ac_cv_search_strerror+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 ac_func_search_save_LIBS
=$LIBS
2496 ac_cv_search_strerror
=no
2497 cat >conftest.
$ac_ext <<_ACEOF
2500 cat confdefs.h
>>conftest.
$ac_ext
2501 cat >>conftest.
$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2504 /* Override any gcc2 internal prototype to avoid an error. */
2508 /* We use char because int might match the return type of a gcc2
2509 builtin and then its argument prototype would still apply. */
2519 rm -f conftest.
$ac_objext conftest
$ac_exeext
2520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2521 (eval $ac_link) 2>conftest.er1
2523 grep -v '^ *+' conftest.er1
>conftest.err
2525 cat conftest.err
>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); } &&
2528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; } &&
2534 { ac_try
='test -s conftest$ac_exeext'
2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; }; then
2540 ac_cv_search_strerror
="none required"
2542 echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.
$ac_ext >&5
2546 rm -f conftest.err conftest.
$ac_objext \
2547 conftest
$ac_exeext conftest.
$ac_ext
2548 if test "$ac_cv_search_strerror" = no
; then
2549 for ac_lib
in cposix
; do
2550 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2551 cat >conftest.
$ac_ext <<_ACEOF
2554 cat confdefs.h
>>conftest.
$ac_ext
2555 cat >>conftest.
$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2558 /* Override any gcc2 internal prototype to avoid an error. */
2562 /* We use char because int might match the return type of a gcc2
2563 builtin and then its argument prototype would still apply. */
2573 rm -f conftest.
$ac_objext conftest
$ac_exeext
2574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2575 (eval $ac_link) 2>conftest.er1
2577 grep -v '^ *+' conftest.er1
>conftest.err
2579 cat conftest.err
>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest$ac_exeext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2594 ac_cv_search_strerror
="-l$ac_lib"
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext \
2602 conftest
$ac_exeext conftest.
$ac_ext
2605 LIBS
=$ac_func_search_save_LIBS
2607 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2608 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2609 if test "$ac_cv_search_strerror" != no
; then
2610 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2615 ac_cpp
='$CPP $CPPFLAGS'
2616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2619 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2620 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2621 # On Suns, sometimes $CPP names a directory.
2622 if test -n "$CPP" && test -d "$CPP"; then
2625 if test -z "$CPP"; then
2626 if test "${ac_cv_prog_CPP+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 # Double quotes because CPP needs to be expanded
2630 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2633 for ac_c_preproc_warn_flag
in '' yes
2635 # Use a header file that comes with gcc, so configuring glibc
2636 # with a fresh cross-compiler works.
2637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2638 # <limits.h> exists even on freestanding compilers.
2639 # On the NeXT, cc -E runs the code through the compiler's parser,
2640 # not just through cpp. "Syntax error" is here to catch this case.
2641 cat >conftest.
$ac_ext <<_ACEOF
2644 cat confdefs.h
>>conftest.
$ac_ext
2645 cat >>conftest.
$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2648 # include <limits.h>
2650 # include <assert.h>
2654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2657 grep -v '^ *+' conftest.er1
>conftest.err
2659 cat conftest.err
>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); } >/dev
/null
; then
2662 if test -s conftest.err
; then
2663 ac_cpp_err
=$ac_c_preproc_warn_flag
2664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2671 if test -z "$ac_cpp_err"; then
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2677 # Broken: fails on valid input.
2680 rm -f conftest.err conftest.
$ac_ext
2682 # OK, works on sane cases. Now check whether non-existent headers
2683 # can be detected and how.
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2690 #include <ac_nonexistent.h>
2692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2693 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2695 grep -v '^ *+' conftest.er1
>conftest.err
2697 cat conftest.err
>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } >/dev
/null
; then
2700 if test -s conftest.err
; then
2701 ac_cpp_err
=$ac_c_preproc_warn_flag
2702 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2709 if test -z "$ac_cpp_err"; then
2710 # Broken: success on invalid input.
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.
$ac_ext >&5
2716 # Passes both tests.
2720 rm -f conftest.err conftest.
$ac_ext
2723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2724 rm -f conftest.err conftest.
$ac_ext
2725 if $ac_preproc_ok; then
2737 echo "$as_me:$LINENO: result: $CPP" >&5
2738 echo "${ECHO_T}$CPP" >&6
2740 for ac_c_preproc_warn_flag
in '' yes
2742 # Use a header file that comes with gcc, so configuring glibc
2743 # with a fresh cross-compiler works.
2744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2745 # <limits.h> exists even on freestanding compilers.
2746 # On the NeXT, cc -E runs the code through the compiler's parser,
2747 # not just through cpp. "Syntax error" is here to catch this case.
2748 cat >conftest.
$ac_ext <<_ACEOF
2751 cat confdefs.h
>>conftest.
$ac_ext
2752 cat >>conftest.
$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2755 # include <limits.h>
2757 # include <assert.h>
2761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2764 grep -v '^ *+' conftest.er1
>conftest.err
2766 cat conftest.err
>&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } >/dev
/null
; then
2769 if test -s conftest.err
; then
2770 ac_cpp_err
=$ac_c_preproc_warn_flag
2771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2778 if test -z "$ac_cpp_err"; then
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.
$ac_ext >&5
2784 # Broken: fails on valid input.
2787 rm -f conftest.err conftest.
$ac_ext
2789 # OK, works on sane cases. Now check whether non-existent headers
2790 # can be detected and how.
2791 cat >conftest.
$ac_ext <<_ACEOF
2794 cat confdefs.h
>>conftest.
$ac_ext
2795 cat >>conftest.
$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2797 #include <ac_nonexistent.h>
2799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2802 grep -v '^ *+' conftest.er1
>conftest.err
2804 cat conftest.err
>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } >/dev
/null
; then
2807 if test -s conftest.err
; then
2808 ac_cpp_err
=$ac_c_preproc_warn_flag
2809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2816 if test -z "$ac_cpp_err"; then
2817 # Broken: success on invalid input.
2820 echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.
$ac_ext >&5
2823 # Passes both tests.
2827 rm -f conftest.err conftest.
$ac_ext
2830 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2831 rm -f conftest.err conftest.
$ac_ext
2832 if $ac_preproc_ok; then
2835 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2836 See \`config.log' for more details." >&5
2837 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2838 See \`config.log' for more details." >&2;}
2839 { (exit 1); exit 1; }; }
2843 ac_cpp
='$CPP $CPPFLAGS'
2844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2849 echo "$as_me:$LINENO: checking for egrep" >&5
2850 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2851 if test "${ac_cv_prog_egrep+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2855 then ac_cv_prog_egrep
='grep -E'
2856 else ac_cv_prog_egrep
='egrep'
2859 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2860 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2861 EGREP
=$ac_cv_prog_egrep
2864 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2865 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2866 if test "${ac_cv_header_stdc+set}" = set; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 cat >conftest.
$ac_ext <<_ACEOF
2872 cat confdefs.h
>>conftest.
$ac_ext
2873 cat >>conftest.
$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2888 rm -f conftest.
$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>conftest.er1
2892 grep -v '^ *+' conftest.er1
>conftest.err
2894 cat conftest.err
>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } &&
2897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } &&
2903 { ac_try
='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2909 ac_cv_header_stdc
=yes
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2914 ac_cv_header_stdc
=no
2916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2918 if test $ac_cv_header_stdc = yes; then
2919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2930 $EGREP "memchr" >/dev
/null
2>&1; then
2933 ac_cv_header_stdc
=no
2939 if test $ac_cv_header_stdc = yes; then
2940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2941 cat >conftest.
$ac_ext <<_ACEOF
2944 cat confdefs.h
>>conftest.
$ac_ext
2945 cat >>conftest.
$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2951 $EGREP "free" >/dev
/null
2>&1; then
2954 ac_cv_header_stdc
=no
2960 if test $ac_cv_header_stdc = yes; then
2961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2962 if test "$cross_compiling" = yes; then
2965 cat >conftest.
$ac_ext <<_ACEOF
2968 cat confdefs.h
>>conftest.
$ac_ext
2969 cat >>conftest.
$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2972 #if ((' ' & 0x0FF) == 0x020)
2973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2976 # define ISLOWER(c) \
2977 (('a' <= (c) && (c) <= 'i') \
2978 || ('j' <= (c) && (c) <= 'r') \
2979 || ('s' <= (c) && (c) <= 'z'))
2980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2988 for (i = 0; i < 256; i++)
2989 if (XOR (islower (i), ISLOWER (i))
2990 || toupper (i) != TOUPPER (i))
2995 rm -f conftest
$ac_exeext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2997 (eval $ac_link) 2>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; }; then
3008 echo "$as_me: program exited with status $ac_status" >&5
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3013 ac_cv_header_stdc
=no
3015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3019 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3020 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3021 if test $ac_cv_header_stdc = yes; then
3023 cat >>confdefs.h
<<\_ACEOF
3024 #define STDC_HEADERS 1
3029 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3030 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3031 if test "${ac_cv_c_const+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 cat >conftest.
$ac_ext <<_ACEOF
3037 cat confdefs.h
>>conftest.
$ac_ext
3038 cat >>conftest.
$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3044 /* FIXME: Include the comments suggested by Paul. */
3046 /* Ultrix mips cc rejects this. */
3047 typedef int charset[2];
3049 /* SunOS 4.1.1 cc rejects this. */
3050 char const *const *ccp;
3052 /* NEC SVR4.0.2 mips cc rejects this. */
3053 struct point {int x, y;};
3054 static struct point const zero = {0,0};
3055 /* AIX XL C 1.02.0.0 rejects this.
3056 It does not let you subtract one const X* pointer from another in
3057 an arm of an if-expression whose if-part is not a constant
3059 const char *g = "string";
3060 ccp = &g + (g ? g-g : 0);
3061 /* HPUX 7.0 cc rejects these. */
3064 ccp = (char const *const *) p;
3065 { /* SCO 3.2v4 cc rejects this. */
3067 char const *s = 0 ? (char *) 0 : (char const *) 0;
3071 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3073 const int *foo = &x[0];
3076 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3077 typedef const int *iptr;
3081 { /* AIX XL C 1.02.0.0 rejects this saying
3082 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3083 struct s { int j; const int *ap[3]; };
3084 struct s *b; b->j = 5;
3086 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3095 rm -f conftest.
$ac_objext
3096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3097 (eval $ac_compile) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1
>conftest.err
3101 cat conftest.err
>&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } &&
3104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; } &&
3110 { ac_try
='test -s conftest.$ac_objext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.
$ac_ext >&5
3123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3125 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3126 echo "${ECHO_T}$ac_cv_c_const" >&6
3127 if test $ac_cv_c_const = no
; then
3129 cat >>confdefs.h
<<\_ACEOF
3135 echo "$as_me:$LINENO: checking for inline" >&5
3136 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3137 if test "${ac_cv_c_inline+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 for ac_kw
in inline __inline__ __inline
; do
3142 cat >conftest.
$ac_ext <<_ACEOF
3145 cat confdefs.h
>>conftest.
$ac_ext
3146 cat >>conftest.
$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3150 static $ac_kw foo_t static_foo () {return 0; }
3151 $ac_kw foo_t foo () {return 0; }
3155 rm -f conftest.
$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3159 grep -v '^ *+' conftest.er1
>conftest.err
3161 cat conftest.err
>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; } &&
3170 { ac_try
='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3176 ac_cv_c_inline
=$ac_kw; break
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.
$ac_ext >&5
3182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3186 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3187 echo "${ECHO_T}$ac_cv_c_inline" >&6
3190 case $ac_cv_c_inline in
3193 case $ac_cv_c_inline in
3195 *) ac_val
=$ac_cv_c_inline;;
3197 cat >>confdefs.h
<<_ACEOF
3199 #define inline $ac_val
3205 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3215 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3216 inttypes.h stdint.h unistd.h
3218 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3219 echo "$as_me:$LINENO: checking for $ac_header" >&5
3220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 cat >conftest.
$ac_ext <<_ACEOF
3227 cat confdefs.h
>>conftest.
$ac_ext
3228 cat >>conftest.
$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3230 $ac_includes_default
3232 #include <$ac_header>
3234 rm -f conftest.
$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1
>conftest.err
3240 cat conftest.err
>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; } &&
3249 { ac_try
='test -s conftest.$ac_objext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3255 eval "$as_ac_Header=yes"
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.
$ac_ext >&5
3260 eval "$as_ac_Header=no"
3262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3267 cat >>confdefs.h
<<_ACEOF
3268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3276 echo "$as_me:$LINENO: checking for off_t" >&5
3277 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3278 if test "${ac_cv_type_off_t+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 cat >conftest.
$ac_ext <<_ACEOF
3284 cat confdefs.h
>>conftest.
$ac_ext
3285 cat >>conftest.
$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3287 $ac_includes_default
3299 rm -f conftest.
$ac_objext
3300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3301 (eval $ac_compile) 2>conftest.er1
3303 grep -v '^ *+' conftest.er1
>conftest.err
3305 cat conftest.err
>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); } &&
3308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }; } &&
3314 { ac_try
='test -s conftest.$ac_objext'
3315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); }; }; then
3320 ac_cv_type_off_t
=yes
3322 echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.
$ac_ext >&5
3327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3329 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3330 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3331 if test $ac_cv_type_off_t = yes; then
3335 cat >>confdefs.h
<<_ACEOF
3341 echo "$as_me:$LINENO: checking for size_t" >&5
3342 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3343 if test "${ac_cv_type_size_t+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 cat >conftest.
$ac_ext <<_ACEOF
3349 cat confdefs.h
>>conftest.
$ac_ext
3350 cat >>conftest.
$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3352 $ac_includes_default
3358 if (sizeof (size_t))
3364 rm -f conftest.
$ac_objext
3365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3366 (eval $ac_compile) 2>conftest.er1
3368 grep -v '^ *+' conftest.er1
>conftest.err
3370 cat conftest.err
>&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } &&
3373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; } &&
3379 { ac_try
='test -s conftest.$ac_objext'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; }; then
3385 ac_cv_type_size_t
=yes
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.
$ac_ext >&5
3390 ac_cv_type_size_t
=no
3392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3394 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3395 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3396 if test $ac_cv_type_size_t = yes; then
3400 cat >>confdefs.h
<<_ACEOF
3401 #define size_t unsigned
3406 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3407 # for constant arguments. Useless!
3408 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3409 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3410 if test "${ac_cv_working_alloca_h+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 cat >conftest.
$ac_ext <<_ACEOF
3416 cat confdefs.h
>>conftest.
$ac_ext
3417 cat >>conftest.
$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3423 char *p = (char *) alloca (2 * sizeof (int));
3428 rm -f conftest.
$ac_objext conftest
$ac_exeext
3429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3430 (eval $ac_link) 2>conftest.er1
3432 grep -v '^ *+' conftest.er1
>conftest.err
3434 cat conftest.err
>&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); } &&
3437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; } &&
3443 { ac_try
='test -s conftest$ac_exeext'
3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); }; }; then
3449 ac_cv_working_alloca_h
=yes
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.
$ac_ext >&5
3454 ac_cv_working_alloca_h
=no
3456 rm -f conftest.err conftest.
$ac_objext \
3457 conftest
$ac_exeext conftest.
$ac_ext
3459 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3460 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3461 if test $ac_cv_working_alloca_h = yes; then
3463 cat >>confdefs.h
<<\_ACEOF
3464 #define HAVE_ALLOCA_H 1
3469 echo "$as_me:$LINENO: checking for alloca" >&5
3470 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3471 if test "${ac_cv_func_alloca_works+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 cat >conftest.
$ac_ext <<_ACEOF
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3481 # define alloca __builtin_alloca
3484 # include <malloc.h>
3485 # define alloca _alloca
3488 # include <alloca.h>
3493 # ifndef alloca /* predefined by HP cc +Olibcalls */
3504 char *p = (char *) alloca (1);
3509 rm -f conftest.
$ac_objext conftest
$ac_exeext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3511 (eval $ac_link) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; } &&
3524 { ac_try
='test -s conftest$ac_exeext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_func_alloca_works
=yes
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3535 ac_cv_func_alloca_works
=no
3537 rm -f conftest.err conftest.
$ac_objext \
3538 conftest
$ac_exeext conftest.
$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3541 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3543 if test $ac_cv_func_alloca_works = yes; then
3545 cat >>confdefs.h
<<\_ACEOF
3546 #define HAVE_ALLOCA 1
3550 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3551 # that cause trouble. Some versions do not even contain alloca or
3552 # contain a buggy version. If you still want to use their alloca,
3553 # use ar to extract alloca.o from them instead of compiling alloca.c.
3555 ALLOCA
=alloca.
$ac_objext
3557 cat >>confdefs.h
<<\_ACEOF
3562 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3563 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3564 if test "${ac_cv_os_cray+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 cat >conftest.
$ac_ext <<_ACEOF
3570 cat confdefs.h
>>conftest.
$ac_ext
3571 cat >>conftest.
$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3573 #if defined(CRAY) && ! defined(CRAY2)
3580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3581 $EGREP "webecray" >/dev
/null
2>&1; then
3589 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3590 echo "${ECHO_T}$ac_cv_os_cray" >&6
3591 if test $ac_cv_os_cray = yes; then
3592 for ac_func
in _getb67 GETB67 getb67
; do
3593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3594 echo "$as_me:$LINENO: checking for $ac_func" >&5
3595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3596 if eval "test \"\${$as_ac_var+set}\" = set"; then
3597 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 cat >conftest.
$ac_ext <<_ACEOF
3602 cat confdefs.h
>>conftest.
$ac_ext
3603 cat >>conftest.
$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3607 #define $ac_func innocuous_$ac_func
3609 /* System header to define __stub macros and hopefully few prototypes,
3610 which can conflict with char $ac_func (); below.
3611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3612 <limits.h> exists even on freestanding compilers. */
3615 # include <limits.h>
3617 # include <assert.h>
3622 /* Override any gcc2 internal prototype to avoid an error. */
3627 /* We use char because int might match the return type of a gcc2
3628 builtin and then its argument prototype would still apply. */
3630 /* The GNU C library defines this for functions which it implements
3631 to always fail with ENOSYS. Some functions are actually named
3632 something starting with __ and the normal name is an alias. */
3633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3636 char (*f) () = $ac_func;
3645 return f != $ac_func;
3650 rm -f conftest.
$ac_objext conftest
$ac_exeext
3651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3652 (eval $ac_link) 2>conftest.er1
3654 grep -v '^ *+' conftest.er1
>conftest.err
3656 cat conftest.err
>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; } &&
3665 { ac_try
='test -s conftest$ac_exeext'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; }; then
3671 eval "$as_ac_var=yes"
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3676 eval "$as_ac_var=no"
3678 rm -f conftest.err conftest.
$ac_objext \
3679 conftest
$ac_exeext conftest.
$ac_ext
3681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3683 if test `eval echo '${'$as_ac_var'}'` = yes; then
3685 cat >>confdefs.h
<<_ACEOF
3686 #define CRAY_STACKSEG_END $ac_func
3695 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3696 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3697 if test "${ac_cv_c_stack_direction+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 if test "$cross_compiling" = yes; then
3701 ac_cv_c_stack_direction
=0
3703 cat >conftest.
$ac_ext <<_ACEOF
3706 cat confdefs.h
>>conftest.
$ac_ext
3707 cat >>conftest.
$ac_ext <<_ACEOF
3708 /* end confdefs.h. */
3710 find_stack_direction ()
3712 static char *addr = 0;
3717 return find_stack_direction ();
3720 return (&dummy > addr) ? 1 : -1;
3726 exit (find_stack_direction () < 0);
3729 rm -f conftest
$ac_exeext
3730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3731 (eval $ac_link) 2>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; }; then
3740 ac_cv_c_stack_direction
=1
3742 echo "$as_me: program exited with status $ac_status" >&5
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.
$ac_ext >&5
3747 ac_cv_c_stack_direction
=-1
3749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3752 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3753 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3755 cat >>confdefs.h
<<_ACEOF
3756 #define STACK_DIRECTION $ac_cv_c_stack_direction
3764 for ac_header
in stdlib.h unistd.h
3766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3768 echo "$as_me:$LINENO: checking for $ac_header" >&5
3769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3776 # Is the header compilable?
3777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3779 cat >conftest.
$ac_ext <<_ACEOF
3782 cat confdefs.h
>>conftest.
$ac_ext
3783 cat >>conftest.
$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3785 $ac_includes_default
3786 #include <$ac_header>
3788 rm -f conftest.
$ac_objext
3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3790 (eval $ac_compile) 2>conftest.er1
3792 grep -v '^ *+' conftest.er1
>conftest.err
3794 cat conftest.err
>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } &&
3797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; } &&
3803 { ac_try
='test -s conftest.$ac_objext'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3809 ac_header_compiler
=yes
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.
$ac_ext >&5
3814 ac_header_compiler
=no
3816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3818 echo "${ECHO_T}$ac_header_compiler" >&6
3820 # Is the header present?
3821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3829 #include <$ac_header>
3831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3834 grep -v '^ *+' conftest.er1
>conftest.err
3836 cat conftest.err
>&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } >/dev
/null
; then
3839 if test -s conftest.err
; then
3840 ac_cpp_err
=$ac_c_preproc_warn_flag
3841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3848 if test -z "$ac_cpp_err"; then
3849 ac_header_preproc
=yes
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3854 ac_header_preproc
=no
3856 rm -f conftest.err conftest.
$ac_ext
3857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3858 echo "${ECHO_T}$ac_header_preproc" >&6
3860 # So? What about this header?
3861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3867 ac_header_preproc
=yes
3870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3884 ## ------------------------------------------ ##
3885 ## Report this to the AC_PACKAGE_NAME lists. ##
3886 ## ------------------------------------------ ##
3889 sed "s/^/$as_me: WARNING: /" >&2
3892 echo "$as_me:$LINENO: checking for $ac_header" >&5
3893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 eval "$as_ac_Header=\$ac_header_preproc"
3899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3904 cat >>confdefs.h
<<_ACEOF
3905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3913 for ac_func
in getpagesize
3915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3916 echo "$as_me:$LINENO: checking for $ac_func" >&5
3917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3918 if eval "test \"\${$as_ac_var+set}\" = set"; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 cat >conftest.
$ac_ext <<_ACEOF
3924 cat confdefs.h
>>conftest.
$ac_ext
3925 cat >>conftest.
$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3929 #define $ac_func innocuous_$ac_func
3931 /* System header to define __stub macros and hopefully few prototypes,
3932 which can conflict with char $ac_func (); below.
3933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3934 <limits.h> exists even on freestanding compilers. */
3937 # include <limits.h>
3939 # include <assert.h>
3944 /* Override any gcc2 internal prototype to avoid an error. */
3949 /* We use char because int might match the return type of a gcc2
3950 builtin and then its argument prototype would still apply. */
3952 /* The GNU C library defines this for functions which it implements
3953 to always fail with ENOSYS. Some functions are actually named
3954 something starting with __ and the normal name is an alias. */
3955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3958 char (*f) () = $ac_func;
3967 return f != $ac_func;
3972 rm -f conftest.
$ac_objext conftest
$ac_exeext
3973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3974 (eval $ac_link) 2>conftest.er1
3976 grep -v '^ *+' conftest.er1
>conftest.err
3978 cat conftest.err
>&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } &&
3981 { ac_try
='test -z "$ac_c_werror_flag" || 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_exeext'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; }; then
3993 eval "$as_ac_var=yes"
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3998 eval "$as_ac_var=no"
4000 rm -f conftest.err conftest.
$ac_objext \
4001 conftest
$ac_exeext conftest.
$ac_ext
4003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4005 if test `eval echo '${'$as_ac_var'}'` = yes; then
4006 cat >>confdefs.h
<<_ACEOF
4007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4013 echo "$as_me:$LINENO: checking for working mmap" >&5
4014 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4015 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 if test "$cross_compiling" = yes; then
4019 ac_cv_func_mmap_fixed_mapped
=no
4021 cat >conftest.
$ac_ext <<_ACEOF
4024 cat confdefs.h
>>conftest.
$ac_ext
4025 cat >>conftest.
$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4027 $ac_includes_default
4028 /* malloc might have been renamed as rpl_malloc. */
4031 /* Thanks to Mike Haertel and Jim Avera for this test.
4032 Here is a matrix of mmap possibilities:
4033 mmap private not fixed
4034 mmap private fixed at somewhere currently unmapped
4035 mmap private fixed at somewhere already mapped
4036 mmap shared not fixed
4037 mmap shared fixed at somewhere currently unmapped
4038 mmap shared fixed at somewhere already mapped
4039 For private mappings, we should verify that changes cannot be read()
4040 back from the file, nor mmap's back from the file at a different
4041 address. (There have been systems where private was not correctly
4042 implemented like the infamous i386 svr4.0, and systems where the
4043 VM page cache was not coherent with the file system buffer cache
4044 like early versions of FreeBSD and possibly contemporary NetBSD.)
4045 For shared mappings, we should conversely verify that changes get
4046 propagated back to all the places they're supposed to be.
4048 Grep wants private fixed already mapped.
4049 The main things grep needs to know about mmap are:
4050 * does it exist and is it safe to write into the mmap'd area
4051 * how to use it (BSD variants) */
4054 #include <sys/mman.h>
4056 #if !STDC_HEADERS && !HAVE_STDLIB_H
4060 /* This mess was copied from the GNU getpagesize.h. */
4061 #if !HAVE_GETPAGESIZE
4062 /* Assume that all systems that can run configure have sys/param.h. */
4063 # if !HAVE_SYS_PARAM_H
4064 # define HAVE_SYS_PARAM_H 1
4067 # ifdef _SC_PAGESIZE
4068 # define getpagesize() sysconf(_SC_PAGESIZE)
4069 # else /* no _SC_PAGESIZE */
4070 # if HAVE_SYS_PARAM_H
4071 # include <sys/param.h>
4072 # ifdef EXEC_PAGESIZE
4073 # define getpagesize() EXEC_PAGESIZE
4074 # else /* no EXEC_PAGESIZE */
4076 # define getpagesize() NBPG * CLSIZE
4079 # endif /* no CLSIZE */
4080 # else /* no NBPG */
4082 # define getpagesize() NBPC
4083 # else /* no NBPC */
4085 # define getpagesize() PAGESIZE
4086 # endif /* PAGESIZE */
4087 # endif /* no NBPC */
4088 # endif /* no NBPG */
4089 # endif /* no EXEC_PAGESIZE */
4090 # else /* no HAVE_SYS_PARAM_H */
4091 # define getpagesize() 8192 /* punt totally */
4092 # endif /* no HAVE_SYS_PARAM_H */
4093 # endif /* no _SC_PAGESIZE */
4095 #endif /* no HAVE_GETPAGESIZE */
4100 char *data, *data2, *data3;
4104 pagesize = getpagesize ();
4106 /* First, make a file with some known garbage in it. */
4107 data = (char *) malloc (pagesize);
4110 for (i = 0; i < pagesize; ++i)
4111 *(data + i) = rand ();
4113 fd = creat ("conftest.mmap", 0600);
4116 if (write (fd, data, pagesize) != pagesize)
4120 /* Next, try to mmap the file at a fixed address which already has
4121 something else allocated at it. If we can, also make sure that
4122 we see the same garbage. */
4123 fd = open ("conftest.mmap", O_RDWR);
4126 data2 = (char *) malloc (2 * pagesize);
4129 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4130 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4131 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4133 for (i = 0; i < pagesize; ++i)
4134 if (*(data + i) != *(data2 + i))
4137 /* Finally, make sure that changes to the mapped area do not
4138 percolate back to the file as seen by read(). (This is a bug on
4139 some variants of i386 svr4.0.) */
4140 for (i = 0; i < pagesize; ++i)
4141 *(data2 + i) = *(data2 + i) + 1;
4142 data3 = (char *) malloc (pagesize);
4145 if (read (fd, data3, pagesize) != pagesize)
4147 for (i = 0; i < pagesize; ++i)
4148 if (*(data + i) != *(data3 + i))
4154 rm -f conftest
$ac_exeext
4155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4156 (eval $ac_link) 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; }; then
4165 ac_cv_func_mmap_fixed_mapped
=yes
4167 echo "$as_me: program exited with status $ac_status" >&5
4168 echo "$as_me: failed program was:" >&5
4169 sed 's/^/| /' conftest.
$ac_ext >&5
4172 ac_cv_func_mmap_fixed_mapped
=no
4174 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4177 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4178 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4179 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4181 cat >>confdefs.h
<<\_ACEOF
4198 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4199 unistd.h values.h sys
/param.h
4201 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4203 echo "$as_me:$LINENO: checking for $ac_header" >&5
4204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4211 # Is the header compilable?
4212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4214 cat >conftest.
$ac_ext <<_ACEOF
4217 cat confdefs.h
>>conftest.
$ac_ext
4218 cat >>conftest.
$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4220 $ac_includes_default
4221 #include <$ac_header>
4223 rm -f conftest.
$ac_objext
4224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4225 (eval $ac_compile) 2>conftest.er1
4227 grep -v '^ *+' conftest.er1
>conftest.err
4229 cat conftest.err
>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } &&
4232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; } &&
4238 { ac_try
='test -s conftest.$ac_objext'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 ac_header_compiler
=yes
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 ac_header_compiler
=no
4251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4253 echo "${ECHO_T}$ac_header_compiler" >&6
4255 # Is the header present?
4256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4258 cat >conftest.
$ac_ext <<_ACEOF
4261 cat confdefs.h
>>conftest.
$ac_ext
4262 cat >>conftest.
$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4264 #include <$ac_header>
4266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4269 grep -v '^ *+' conftest.er1
>conftest.err
4271 cat conftest.err
>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } >/dev
/null
; then
4274 if test -s conftest.err
; then
4275 ac_cpp_err
=$ac_c_preproc_warn_flag
4276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4283 if test -z "$ac_cpp_err"; then
4284 ac_header_preproc
=yes
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.
$ac_ext >&5
4289 ac_header_preproc
=no
4291 rm -f conftest.err conftest.
$ac_ext
4292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4293 echo "${ECHO_T}$ac_header_preproc" >&6
4295 # So? What about this header?
4296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4302 ac_header_preproc
=yes
4305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4319 ## ------------------------------------------ ##
4320 ## Report this to the AC_PACKAGE_NAME lists. ##
4321 ## ------------------------------------------ ##
4324 sed "s/^/$as_me: WARNING: /" >&2
4327 echo "$as_me:$LINENO: checking for $ac_header" >&5
4328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 eval "$as_ac_Header=\$ac_header_preproc"
4334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4339 cat >>confdefs.h
<<_ACEOF
4340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4357 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4358 __argz_count __argz_stringify __argz_next
4360 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4361 echo "$as_me:$LINENO: checking for $ac_func" >&5
4362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4363 if eval "test \"\${$as_ac_var+set}\" = set"; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 cat >conftest.
$ac_ext <<_ACEOF
4369 cat confdefs.h
>>conftest.
$ac_ext
4370 cat >>conftest.
$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4374 #define $ac_func innocuous_$ac_func
4376 /* System header to define __stub macros and hopefully few prototypes,
4377 which can conflict with char $ac_func (); below.
4378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4379 <limits.h> exists even on freestanding compilers. */
4382 # include <limits.h>
4384 # include <assert.h>
4389 /* Override any gcc2 internal prototype to avoid an error. */
4394 /* We use char because int might match the return type of a gcc2
4395 builtin and then its argument prototype would still apply. */
4397 /* The GNU C library defines this for functions which it implements
4398 to always fail with ENOSYS. Some functions are actually named
4399 something starting with __ and the normal name is an alias. */
4400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4403 char (*f) () = $ac_func;
4412 return f != $ac_func;
4417 rm -f conftest.
$ac_objext conftest
$ac_exeext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4419 (eval $ac_link) 2>conftest.er1
4421 grep -v '^ *+' conftest.er1
>conftest.err
4423 cat conftest.err
>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } &&
4426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }; } &&
4432 { ac_try
='test -s conftest$ac_exeext'
4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; }; then
4438 eval "$as_ac_var=yes"
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.
$ac_ext >&5
4443 eval "$as_ac_var=no"
4445 rm -f conftest.err conftest.
$ac_objext \
4446 conftest
$ac_exeext conftest.
$ac_ext
4448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4450 if test `eval echo '${'$as_ac_var'}'` = yes; then
4451 cat >>confdefs.h
<<_ACEOF
4452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4459 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4461 for ac_func
in stpcpy
4463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4464 echo "$as_me:$LINENO: checking for $ac_func" >&5
4465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4466 if eval "test \"\${$as_ac_var+set}\" = set"; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 cat >conftest.
$ac_ext <<_ACEOF
4472 cat confdefs.h
>>conftest.
$ac_ext
4473 cat >>conftest.
$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4477 #define $ac_func innocuous_$ac_func
4479 /* System header to define __stub macros and hopefully few prototypes,
4480 which can conflict with char $ac_func (); below.
4481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482 <limits.h> exists even on freestanding compilers. */
4485 # include <limits.h>
4487 # include <assert.h>
4492 /* Override any gcc2 internal prototype to avoid an error. */
4497 /* We use char because int might match the return type of a gcc2
4498 builtin and then its argument prototype would still apply. */
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4506 char (*f) () = $ac_func;
4515 return f != $ac_func;
4520 rm -f conftest.
$ac_objext conftest
$ac_exeext
4521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4522 (eval $ac_link) 2>conftest.er1
4524 grep -v '^ *+' conftest.er1
>conftest.err
4526 cat conftest.err
>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } &&
4529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; } &&
4535 { ac_try
='test -s conftest$ac_exeext'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; }; then
4541 eval "$as_ac_var=yes"
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.
$ac_ext >&5
4546 eval "$as_ac_var=no"
4548 rm -f conftest.err conftest.
$ac_objext \
4549 conftest
$ac_exeext conftest.
$ac_ext
4551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4553 if test `eval echo '${'$as_ac_var'}'` = yes; then
4554 cat >>confdefs.h
<<_ACEOF
4555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4562 if test "${ac_cv_func_stpcpy}" = "yes"; then
4564 cat >>confdefs.h
<<\_ACEOF
4565 #define HAVE_STPCPY 1
4570 if test $ac_cv_header_locale_h = yes; then
4571 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4572 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4573 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 cat >conftest.
$ac_ext <<_ACEOF
4579 cat confdefs.h
>>conftest.
$ac_ext
4580 cat >>conftest.
$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4591 rm -f conftest.
$ac_objext conftest
$ac_exeext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4593 (eval $ac_link) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1
>conftest.err
4597 cat conftest.err
>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } &&
4600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; } &&
4606 { ac_try
='test -s conftest$ac_exeext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4612 am_cv_val_LC_MESSAGES
=yes
4614 echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.
$ac_ext >&5
4617 am_cv_val_LC_MESSAGES
=no
4619 rm -f conftest.err conftest.
$ac_objext \
4620 conftest
$ac_exeext conftest.
$ac_ext
4622 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4623 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4624 if test $am_cv_val_LC_MESSAGES = yes; then
4626 cat >>confdefs.h
<<\_ACEOF
4627 #define HAVE_LC_MESSAGES 1
4632 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4633 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4634 # Check whether --enable-nls or --disable-nls was given.
4635 if test "${enable_nls+set}" = set; then
4636 enableval
="$enable_nls"
4641 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4642 echo "${ECHO_T}$USE_NLS" >&6
4645 USE_INCLUDED_LIBINTL
=no
4647 if test "$USE_NLS" = "yes"; then
4648 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4649 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4651 # Check whether --with-included-gettext or --without-included-gettext was given.
4652 if test "${with_included_gettext+set}" = set; then
4653 withval
="$with_included_gettext"
4654 nls_cv_force_use_gnu_gettext
=$withval
4656 nls_cv_force_use_gnu_gettext
=no
4658 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4659 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4661 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4662 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4664 nls_cv_header_libgt
=
4667 if test "${ac_cv_header_libintl_h+set}" = set; then
4668 echo "$as_me:$LINENO: checking for libintl.h" >&5
4669 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4670 if test "${ac_cv_header_libintl_h+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4674 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4676 # Is the header compilable?
4677 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4678 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4685 $ac_includes_default
4686 #include <libintl.h>
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; } &&
4703 { ac_try
='test -s conftest.$ac_objext'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then
4709 ac_header_compiler
=yes
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.
$ac_ext >&5
4714 ac_header_compiler
=no
4716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4718 echo "${ECHO_T}$ac_header_compiler" >&6
4720 # Is the header present?
4721 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4722 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4723 cat >conftest.
$ac_ext <<_ACEOF
4726 cat confdefs.h
>>conftest.
$ac_ext
4727 cat >>conftest.
$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4729 #include <libintl.h>
4731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4734 grep -v '^ *+' conftest.er1
>conftest.err
4736 cat conftest.err
>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } >/dev
/null
; then
4739 if test -s conftest.err
; then
4740 ac_cpp_err
=$ac_c_preproc_warn_flag
4741 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4748 if test -z "$ac_cpp_err"; then
4749 ac_header_preproc
=yes
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 ac_header_preproc
=no
4756 rm -f conftest.err conftest.
$ac_ext
4757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4758 echo "${ECHO_T}$ac_header_preproc" >&6
4760 # So? What about this header?
4761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4763 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4764 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4765 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4766 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4767 ac_header_preproc
=yes
4770 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4771 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4772 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4773 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4774 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4775 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4776 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4777 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4778 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4779 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4780 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4781 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4784 ## ------------------------------------------ ##
4785 ## Report this to the AC_PACKAGE_NAME lists. ##
4786 ## ------------------------------------------ ##
4789 sed "s/^/$as_me: WARNING: /" >&2
4792 echo "$as_me:$LINENO: checking for libintl.h" >&5
4793 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4794 if test "${ac_cv_header_libintl_h+set}" = set; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 ac_cv_header_libintl_h
=$ac_header_preproc
4799 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4800 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4803 if test $ac_cv_header_libintl_h = yes; then
4804 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4805 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4806 if test "${gt_cv_func_gettext_libc+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #include <libintl.h>
4819 return (int) gettext ("")
4824 rm -f conftest.
$ac_objext conftest
$ac_exeext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4826 (eval $ac_link) 2>conftest.er1
4828 grep -v '^ *+' conftest.er1
>conftest.err
4830 cat conftest.err
>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; } &&
4839 { ac_try
='test -s conftest$ac_exeext'
4840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); }; }; then
4845 gt_cv_func_gettext_libc
=yes
4847 echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.
$ac_ext >&5
4850 gt_cv_func_gettext_libc
=no
4852 rm -f conftest.err conftest.
$ac_objext \
4853 conftest
$ac_exeext conftest.
$ac_ext
4855 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
4856 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
4858 if test "$gt_cv_func_gettext_libc" != "yes"; then
4859 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4860 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4861 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 ac_check_lib_save_LIBS
=$LIBS
4866 cat >conftest.
$ac_ext <<_ACEOF
4869 cat confdefs.h
>>conftest.
$ac_ext
4870 cat >>conftest.
$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4873 /* Override any gcc2 internal prototype to avoid an error. */
4877 /* We use char because int might match the return type of a gcc2
4878 builtin and then its argument prototype would still apply. */
4879 char bindtextdomain ();
4888 rm -f conftest.
$ac_objext conftest
$ac_exeext
4889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4890 (eval $ac_link) 2>conftest.er1
4892 grep -v '^ *+' conftest.er1
>conftest.err
4894 cat conftest.err
>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; } &&
4903 { ac_try
='test -s conftest$ac_exeext'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; }; then
4909 ac_cv_lib_intl_bindtextdomain
=yes
4911 echo "$as_me: failed program was:" >&5
4912 sed 's/^/| /' conftest.
$ac_ext >&5
4914 ac_cv_lib_intl_bindtextdomain
=no
4916 rm -f conftest.err conftest.
$ac_objext \
4917 conftest
$ac_exeext conftest.
$ac_ext
4918 LIBS
=$ac_check_lib_save_LIBS
4920 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
4921 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
4922 if test $ac_cv_lib_intl_bindtextdomain = yes; then
4923 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
4924 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
4925 if test "${gt_cv_func_gettext_libintl+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 cat >conftest.
$ac_ext <<_ACEOF
4931 cat confdefs.h
>>conftest.
$ac_ext
4932 cat >>conftest.
$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4938 return (int) gettext ("")
4943 rm -f conftest.
$ac_objext conftest
$ac_exeext
4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4945 (eval $ac_link) 2>conftest.er1
4947 grep -v '^ *+' conftest.er1
>conftest.err
4949 cat conftest.err
>&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } &&
4952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); }; } &&
4958 { ac_try
='test -s conftest$ac_exeext'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; }; then
4964 gt_cv_func_gettext_libintl
=yes
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.
$ac_ext >&5
4969 gt_cv_func_gettext_libintl
=no
4971 rm -f conftest.err conftest.
$ac_objext \
4972 conftest
$ac_exeext conftest.
$ac_ext
4974 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
4975 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
4980 if test "$gt_cv_func_gettext_libc" = "yes" \
4981 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
4983 cat >>confdefs.h
<<\_ACEOF
4984 #define HAVE_GETTEXT 1
4987 # Extract the first word of "msgfmt", so it can be a program name with args.
4988 set dummy msgfmt
; ac_word
=$2
4989 echo "$as_me:$LINENO: checking for $ac_word" >&5
4990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4991 if test "${ac_cv_path_MSGFMT+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4999 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5000 for ac_dir
in $PATH; do
5001 test -z "$ac_dir" && ac_dir
=.
5002 if test -f $ac_dir/$ac_word; then
5003 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5004 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5010 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5014 MSGFMT
="$ac_cv_path_MSGFMT"
5015 if test -n "$MSGFMT"; then
5016 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5017 echo "${ECHO_T}$MSGFMT" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5022 if test "$MSGFMT" != "no"; then
5024 for ac_func
in dcgettext
5026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5027 echo "$as_me:$LINENO: checking for $ac_func" >&5
5028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5029 if eval "test \"\${$as_ac_var+set}\" = set"; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 cat >conftest.
$ac_ext <<_ACEOF
5035 cat confdefs.h
>>conftest.
$ac_ext
5036 cat >>conftest.
$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5040 #define $ac_func innocuous_$ac_func
5042 /* System header to define __stub macros and hopefully few prototypes,
5043 which can conflict with char $ac_func (); below.
5044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5045 <limits.h> exists even on freestanding compilers. */
5048 # include <limits.h>
5050 # include <assert.h>
5055 /* Override any gcc2 internal prototype to avoid an error. */
5060 /* We use char because int might match the return type of a gcc2
5061 builtin and then its argument prototype would still apply. */
5063 /* The GNU C library defines this for functions which it implements
5064 to always fail with ENOSYS. Some functions are actually named
5065 something starting with __ and the normal name is an alias. */
5066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5069 char (*f) () = $ac_func;
5078 return f != $ac_func;
5083 rm -f conftest.
$ac_objext conftest
$ac_exeext
5084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5085 (eval $ac_link) 2>conftest.er1
5087 grep -v '^ *+' conftest.er1
>conftest.err
5089 cat conftest.err
>&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } &&
5092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); }; } &&
5098 { ac_try
='test -s conftest$ac_exeext'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; }; then
5104 eval "$as_ac_var=yes"
5106 echo "$as_me: failed program was:" >&5
5107 sed 's/^/| /' conftest.
$ac_ext >&5
5109 eval "$as_ac_var=no"
5111 rm -f conftest.err conftest.
$ac_objext \
5112 conftest
$ac_exeext conftest.
$ac_ext
5114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5116 if test `eval echo '${'$as_ac_var'}'` = yes; then
5117 cat >>confdefs.h
<<_ACEOF
5118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5124 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5125 set dummy gmsgfmt
; ac_word
=$2
5126 echo "$as_me:$LINENO: checking for $ac_word" >&5
5127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5128 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5129 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5154 GMSGFMT
=$ac_cv_path_GMSGFMT
5156 if test -n "$GMSGFMT"; then
5157 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5158 echo "${ECHO_T}$GMSGFMT" >&6
5160 echo "$as_me:$LINENO: result: no" >&5
5161 echo "${ECHO_T}no" >&6
5164 # Extract the first word of "xgettext", so it can be a program name with args.
5165 set dummy xgettext
; ac_word
=$2
5166 echo "$as_me:$LINENO: checking for $ac_word" >&5
5167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5168 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5176 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5177 for ac_dir
in $PATH; do
5178 test -z "$ac_dir" && ac_dir
=.
5179 if test -f $ac_dir/$ac_word; then
5180 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5181 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5187 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5191 XGETTEXT
="$ac_cv_path_XGETTEXT"
5192 if test -n "$XGETTEXT"; then
5193 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5194 echo "${ECHO_T}$XGETTEXT" >&6
5196 echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6
5200 cat >conftest.
$ac_ext <<_ACEOF
5203 cat confdefs.h
>>conftest.
$ac_ext
5204 cat >>conftest.
$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5210 extern int _nl_msg_cat_cntr;
5211 return _nl_msg_cat_cntr
5216 rm -f conftest.
$ac_objext conftest
$ac_exeext
5217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5218 (eval $ac_link) 2>conftest.er1
5220 grep -v '^ *+' conftest.er1
>conftest.err
5222 cat conftest.err
>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } &&
5225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; } &&
5231 { ac_try
='test -s conftest$ac_exeext'
5232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }; }; then
5240 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.
$ac_ext >&5
5246 rm -f conftest.err conftest.
$ac_objext \
5247 conftest
$ac_exeext conftest.
$ac_ext
5257 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5258 # Neither gettext nor catgets in included in the C library.
5259 # Fall back on GNU gettext library (assuming it is present).
5260 nls_cv_use_gnu_gettext
=yes
5264 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5265 INTLOBJS
="\$(GETTOBJS)"
5266 # Extract the first word of "msgfmt", so it can be a program name with args.
5267 set dummy msgfmt
; ac_word
=$2
5268 echo "$as_me:$LINENO: checking for $ac_word" >&5
5269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5270 if test "${ac_cv_path_MSGFMT+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5278 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5279 for ac_dir
in $PATH; do
5280 test -z "$ac_dir" && ac_dir
=.
5281 if test -f $ac_dir/$ac_word; then
5282 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5283 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5289 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5293 MSGFMT
="$ac_cv_path_MSGFMT"
5294 if test -n "$MSGFMT"; then
5295 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5296 echo "${ECHO_T}$MSGFMT" >&6
5298 echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6
5302 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5303 set dummy gmsgfmt
; ac_word
=$2
5304 echo "$as_me:$LINENO: checking for $ac_word" >&5
5305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5306 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5332 GMSGFMT
=$ac_cv_path_GMSGFMT
5334 if test -n "$GMSGFMT"; then
5335 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5336 echo "${ECHO_T}$GMSGFMT" >&6
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5342 # Extract the first word of "xgettext", so it can be a program name with args.
5343 set dummy xgettext
; ac_word
=$2
5344 echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5346 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5355 for ac_dir
in $PATH; do
5356 test -z "$ac_dir" && ac_dir
=.
5357 if test -f $ac_dir/$ac_word; then
5358 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5359 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5365 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5369 XGETTEXT
="$ac_cv_path_XGETTEXT"
5370 if test -n "$XGETTEXT"; then
5371 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5372 echo "${ECHO_T}$XGETTEXT" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5379 USE_INCLUDED_LIBINTL
=yes
5383 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5385 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5386 nls_cv_header_intl
=libintl.h
5387 nls_cv_header_libgt
=libgettext.h
5390 if test "$XGETTEXT" != ":"; then
5391 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5394 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5395 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5400 # We need to process the po/ directory.
5404 nls_cv_header_intl
=libintl.h
5405 nls_cv_header_libgt
=libgettext.h
5408 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5409 # because some of the sources are only built for this goal.
5410 if test "$PACKAGE" = gettext; then
5412 USE_INCLUDED_LIBINTL
=yes
5415 for lang
in $ALL_LINGUAS; do
5416 GMOFILES
="$GMOFILES $lang.gmo"
5417 POFILES
="$POFILES $lang.po"
5431 if test "x$CATOBJEXT" != "x"; then
5433 cat >>confdefs.h
<<\_ACEOF
5434 #define ENABLE_NLS 1
5440 if test "x$CATOBJEXT" != "x"; then
5441 if test "x$ALL_LINGUAS" = "x"; then
5444 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5445 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5447 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5448 case "$ALL_LINGUAS" in
5449 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5452 LINGUAS
=$NEW_LINGUAS
5453 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5454 echo "${ECHO_T}$LINGUAS" >&6
5457 if test -n "$LINGUAS"; then
5458 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5462 if test $ac_cv_header_locale_h = yes; then
5463 INCLUDE_LOCALE_H
="#include <locale.h>"
5466 /* The system does not provide the header <locale.h>. Take care yourself. */"
5470 if test -f $srcdir/po2tbl.
sed.
in; then
5471 if test "$CATOBJEXT" = ".cat"; then
5472 if test "${ac_cv_header_linux_version_h+set}" = set; then
5473 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5474 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5475 if test "${ac_cv_header_linux_version_h+set}" = set; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5479 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5481 # Is the header compilable?
5482 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5483 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5484 cat >conftest.
$ac_ext <<_ACEOF
5487 cat confdefs.h
>>conftest.
$ac_ext
5488 cat >>conftest.
$ac_ext <<_ACEOF
5489 /* end confdefs.h. */
5490 $ac_includes_default
5491 #include <linux/version.h>
5493 rm -f conftest.
$ac_objext
5494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5495 (eval $ac_compile) 2>conftest.er1
5497 grep -v '^ *+' conftest.er1
>conftest.err
5499 cat conftest.err
>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } &&
5502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); }; } &&
5508 { ac_try
='test -s conftest.$ac_objext'
5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; }; then
5514 ac_header_compiler
=yes
5516 echo "$as_me: failed program was:" >&5
5517 sed 's/^/| /' conftest.
$ac_ext >&5
5519 ac_header_compiler
=no
5521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5523 echo "${ECHO_T}$ac_header_compiler" >&6
5525 # Is the header present?
5526 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5527 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5528 cat >conftest.
$ac_ext <<_ACEOF
5531 cat confdefs.h
>>conftest.
$ac_ext
5532 cat >>conftest.
$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5534 #include <linux/version.h>
5536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5539 grep -v '^ *+' conftest.er1
>conftest.err
5541 cat conftest.err
>&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); } >/dev
/null
; then
5544 if test -s conftest.err
; then
5545 ac_cpp_err
=$ac_c_preproc_warn_flag
5546 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5553 if test -z "$ac_cpp_err"; then
5554 ac_header_preproc
=yes
5556 echo "$as_me: failed program was:" >&5
5557 sed 's/^/| /' conftest.
$ac_ext >&5
5559 ac_header_preproc
=no
5561 rm -f conftest.err conftest.
$ac_ext
5562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5563 echo "${ECHO_T}$ac_header_preproc" >&6
5565 # So? What about this header?
5566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5568 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5569 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5570 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5571 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5572 ac_header_preproc
=yes
5575 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5576 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5577 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5578 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5579 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5580 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5581 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5582 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5583 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5584 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5585 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5586 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5589 ## ------------------------------------------ ##
5590 ## Report this to the AC_PACKAGE_NAME lists. ##
5591 ## ------------------------------------------ ##
5594 sed "s/^/$as_me: WARNING: /" >&2
5597 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5598 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5599 if test "${ac_cv_header_linux_version_h+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 ac_cv_header_linux_version_h
=$ac_header_preproc
5604 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5605 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5608 if test $ac_cv_header_linux_version_h = yes; then
5616 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5618 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5619 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5622 if test "$PACKAGE" = "gettext"; then
5632 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5638 if test -f $srcdir/po
/POTFILES.
in; then
5639 test -d po || mkdir po
5640 if test "x$srcdir" != "x."; then
5641 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5642 posrcprefix
="$srcdir/"
5644 posrcprefix
="../$srcdir/"
5650 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5651 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5656 # Check whether --enable-sim-alignment or --disable-sim-alignment was given.
5657 if test "${enable_sim_alignment+set}" = set; then
5658 enableval
="$enable_sim_alignment"
5659 case "${enableval}" in
5660 yes | strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
5661 no | nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
5662 0 | default | DEFAULT
) sim_alignment
="-DWITH_ALIGNMENT=0";;
5663 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&5
5664 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&2;}
5665 { (exit 1); exit 1; }; }; sim_alignment
="";;
5667 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
5668 echo "Setting alignment flags = $sim_alignment" 6>&1
5674 # Check whether --enable-sim-assert or --disable-sim-assert was given.
5675 if test "${enable_sim_assert+set}" = set; then
5676 enableval
="$enable_sim_assert"
5677 case "${enableval}" in
5678 yes) sim_assert
="-DWITH_ASSERT=1";;
5679 no
) sim_assert
="-DWITH_ASSERT=0";;
5680 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-assert does not take a value\"" >&5
5681 echo "$as_me: error: \"--enable-sim-assert does not take a value\"" >&2;}
5682 { (exit 1); exit 1; }; }; sim_assert
="";;
5684 if test x
"$silent" != x
"yes" && test x
"$sim_assert" != x
""; then
5685 echo "Setting assert flags = $sim_assert" 6>&1
5691 # Check whether --enable-sim-bitsize or --disable-sim-bitsize was given.
5692 if test "${enable_sim_bitsize+set}" = set; then
5693 enableval
="$enable_sim_bitsize"
5694 case "${enableval}" in
5695 32|
64) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
5696 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" >&5
5697 echo "$as_me: error: \"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" >&2;}
5698 { (exit 1); exit 1; }; }; sim_bitsize
="";;
5700 if test x
"$silent" != x
"yes" && test x
"$sim_bitsize" != x
""; then
5701 echo "Setting bitsize flags = $sim_bitsize" 6>&1
5707 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
5708 if test "${enable_sim_bswap+set}" = set; then
5709 enableval
="$enable_sim_bswap"
5710 case "${enableval}" in
5711 yes) sim_bswap
="-DWITH_BSWAP=1";;
5712 no
) sim_bswap
="-DWITH_BSWAP=0";;
5713 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
5714 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
5715 { (exit 1); exit 1; }; }; sim_bswap
="";;
5717 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
5718 echo "Setting bswap flags = $sim_bswap" 6>&1
5724 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
5725 if test "${enable_sim_cflags+set}" = set; then
5726 enableval
="$enable_sim_cflags"
5727 case "${enableval}" in
5728 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
5730 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5732 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
5733 echo "Setting sim cflags = $sim_cflags" 6>&1
5739 # Check whether --enable-sim-config or --disable-sim-config was given.
5740 if test "${enable_sim_config+set}" = set; then
5741 enableval
="$enable_sim_config"
5742 case "${enableval}" in
5743 yes|no
) { { echo "$as_me:$LINENO: error: \"No value supplied for --enable-sim-config=file\"" >&5
5744 echo "$as_me: error: \"No value supplied for --enable-sim-config=file\"" >&2;}
5745 { (exit 1); exit 1; }; };;
5746 *) if test -f "${srcdir}/${enableval}"; then
5747 sim_config
="${enableval}";
5748 elif test -f "${srcdir}/${enableval}-config.h"; then
5749 sim_config
="${enableval}-config.h"
5751 { { echo "$as_me:$LINENO: error: \"Config file $enableval was not found\"" >&5
5752 echo "$as_me: error: \"Config file $enableval was not found\"" >&2;}
5753 { (exit 1); exit 1; }; };
5754 sim_config
=std-config.h
5757 if test x
"$silent" != x
"yes" && test x
"$sim_config" != x
""; then
5758 echo "Setting config flags = $sim_config" 6>&1
5761 sim_config
="std-config.h"
5762 if test x
"$silent" != x
"yes"; then
5763 echo "Setting config flags = $sim_config" 6>&1
5767 # Check whether --enable-sim-decode-mechanism or --disable-sim-decode-mechanism was given.
5768 if test "${enable_sim_decode_mechanism+set}" = set; then
5769 enableval
="$enable_sim_decode_mechanism"
5770 case "${enableval}" in
5771 yes|no
) { { echo "$as_me:$LINENO: error: \"No value supplied for --enable-sim-decode-mechanism=file\"" >&5
5772 echo "$as_me: error: \"No value supplied for --enable-sim-decode-mechanism=file\"" >&2;}
5773 { (exit 1); exit 1; }; };;
5774 array|switch|padded-switch|goto-switch
) sim_decode_mechanism
="-T ${enableval}";;
5775 *) { { echo "$as_me:$LINENO: error: \"File $enableval is not an opcode rules file\"" >&5
5776 echo "$as_me: error: \"File $enableval is not an opcode rules file\"" >&2;}
5777 { (exit 1); exit 1; }; };
5778 sim_decode_mechanism
="switch";;
5780 if test x
"$silent" != x
"yes" && test x
"$sim_decode_mechanism" != x
""; then
5781 echo "Setting decode mechanism flags = $sim_decode_mechanism" 6>&1
5784 sim_decode_mechanism
=""
5785 if test x
"$silent" != x
"yes"; then
5786 echo "Setting decode mechanism flags = $sim_decode_mechanism"
5790 # Check whether --enable-sim-default-model or --disable-sim-default-model was given.
5791 if test "${enable_sim_default_model+set}" = set; then
5792 enableval
="$enable_sim_default_model"
5793 case "${enableval}" in
5794 yes|no
) { { echo "$as_me:$LINENO: error: \"No value supplied for --enable-sim-default-model=model\"" >&5
5795 echo "$as_me: error: \"No value supplied for --enable-sim-default-model=model\"" >&2;}
5796 { (exit 1); exit 1; }; };;
5797 *) sim_default_model
="-DWITH_DEFAULT_MODEL=${enableval}";;
5799 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
5800 echo "Setting default-model flags = $sim_default_model" 6>&1
5803 sim_default_model
=""
5806 # Check whether --enable-sim-duplicate or --disable-sim-duplicate was given.
5807 if test "${enable_sim_duplicate+set}" = set; then
5808 enableval
="$enable_sim_duplicate"
5809 case "${enableval}" in
5812 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-duplicate does not take a value\"" >&5
5813 echo "$as_me: error: \"--enable-sim-duplicate does not take a value\"" >&2;}
5814 { (exit 1); exit 1; }; }; sim_dup
="";;
5816 if test x
"$silent" != x
"yes" && test x
"$sim_dup" != x
""; then
5817 echo "Setting duplicate flags = $sim_dup" 6>&1
5821 if test x
"$silent" != x
"yes"; then
5822 echo "Setting duplicate flags = $sim_dup" 6>&1
5826 # Check whether --enable-sim-endian or --disable-sim-endian was given.
5827 if test "${enable_sim_endian+set}" = set; then
5828 enableval
="$enable_sim_endian"
5829 case "${enableval}" in
5830 yes) case "$target" in
5831 *powerpc-
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
5832 *powerpcle-
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
5833 *) echo "Unknown target $target" 1>&6; sim_endian
="-DWITH_TARGET_BYTE_ORDER=0";;
5835 no
) sim_endian
="-DWITH_TARGET_BYTE_ORDER=0";;
5836 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
5837 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
5838 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-endian\"" >&5
5839 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-endian\"" >&2;}
5840 { (exit 1); exit 1; }; }; sim_endian
="";;
5842 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
5843 echo "Setting endian flags = $sim_endian" 6>&1
5849 # Check whether --enable-sim-env or --disable-sim-env was given.
5850 if test "${enable_sim_env+set}" = set; then
5851 enableval
="$enable_sim_env"
5852 case "${enableval}" in
5853 operating | os | oea
) sim_env
="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
5854 virtual | vea
) sim_env
="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
5855 user | uea
) sim_env
="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
5856 no
) sim_env
="-DWITH_ENVIRONMENT=0";;
5857 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-env\"" >&5
5858 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-env\"" >&2;}
5859 { (exit 1); exit 1; }; }; sim_env
="";;
5861 if test x
"$silent" != x
"yes" && test x
"$sim_env" != x
""; then
5862 echo "Setting env flags = $sim_env" 6>&1
5868 # Check whether --enable-sim-filter or --disable-sim-filter was given.
5869 if test "${enable_sim_filter+set}" = set; then
5870 enableval
="$enable_sim_filter"
5871 case "${enableval}" in
5872 yes) { { echo "$as_me:$LINENO: error: \"--enable-sim-filter must be specified with a rule to filter or no\"" >&5
5873 echo "$as_me: error: \"--enable-sim-filter must be specified with a rule to filter or no\"" >&2;}
5874 { (exit 1); exit 1; }; }; sim_filter
="";;
5876 *) sim_filter
="-F $enableval";;
5878 if test x
"$silent" != x
"yes" && test x
"$sim_filter" != x
""; then
5879 echo "Setting filter flags = $sim_filter" 6>&1
5882 sim_filter
="-F 32,f,o"
5883 if test x
"$silent" != x
"yes"; then
5884 echo "Setting filter flags = $sim_filter" 6>&1
5888 # Check whether --enable-sim-float or --disable-sim-float was given.
5889 if test "${enable_sim_float+set}" = set; then
5890 enableval
="$enable_sim_float"
5891 case "${enableval}" in
5892 yes | hard
) sim_float
="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
5893 no | soft
) sim_float
="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
5894 altivec
) sim_float
="-DWITH_ALTIVEC" ; sim_filter
="${sim_filter},av" ;;
5895 *spe
*|
*simd
*) sim_float
="-DWITH_E500" ; sim_filter
="${sim_filter},e500" ;;
5896 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-float\"" >&5
5897 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-float\"" >&2;}
5898 { (exit 1); exit 1; }; }; sim_float
="";;
5900 if test x
"$silent" != x
"yes" && test x
"$sim_float" != x
""; then
5901 echo "Setting float flags = $sim_float" 6>&1
5906 *altivec
*) sim_float
="-DWITH_ALTIVEC" ; sim_filter
="${sim_filter},av" ;;
5907 *spe
*|
*simd
*) sim_float
="-DWITH_E500" ; sim_filter
="${sim_filter},e500" ;;
5913 # Check whether --enable-sim-hardware or --disable-sim-hardware was given.
5914 if test "${enable_sim_hardware+set}" = set; then
5915 enableval
="$enable_sim_hardware"
5916 hardware
="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide"
5917 case "${enableval}" in
5919 no
) { { echo "$as_me:$LINENO: error: \"List of hardware must be specified for --enable-sim-hardware\"" >&5
5920 echo "$as_me: error: \"List of hardware must be specified for --enable-sim-hardware\"" >&2;}
5921 { (exit 1); exit 1; }; }; hardware
="";;
5922 ,*) hardware
="${hardware}${enableval}";;
5923 *,) hardware
="${enableval}${hardware}";;
5924 *) hardware
="${enableval}"'';;
5926 sim_hw_src
=`echo $hardware | sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s'/$/.c/'`
5927 sim_hw_obj
=`echo $sim_hw_src | sed -e 's/\.c/.o/g'`
5928 if test x
"$silent" != x
"yes" && test x
"$hardware" != x
""; then
5929 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
5932 hardware
="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide"
5933 sim_hw_src
=`echo $hardware | sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s'/$/.c/'`
5934 sim_hw_obj
=`echo $sim_hw_src | sed -e 's/\.c/.o/g'`
5935 if test x
"$silent" != x
"yes"; then
5936 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
5940 # Check whether --enable-sim-hostbitsize or --disable-sim-hostbitsize was given.
5941 if test "${enable_sim_hostbitsize+set}" = set; then
5942 enableval
="$enable_sim_hostbitsize"
5943 case "${enableval}" in
5944 32|
64) sim_hostbitsize
="-DWITH_HOST_WORD_BITSIZE=$enableval";;
5945 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" >&5
5946 echo "$as_me: error: \"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" >&2;}
5947 { (exit 1); exit 1; }; }; sim_hostbitsize
="";;
5949 if test x
"$silent" != x
"yes" && test x
"$sim_hostbitsize" != x
""; then
5950 echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
5956 # Check whether --enable-sim-hostendian or --disable-sim-hostendian was given.
5957 if test "${enable_sim_hostendian+set}" = set; then
5958 enableval
="$enable_sim_hostendian"
5959 case "${enableval}" in
5960 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
5961 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
5962 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
5963 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&5
5964 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&2;}
5965 { (exit 1); exit 1; }; }; sim_hostendian
="";;
5967 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
5968 echo "Setting hostendian flags = $sim_hostendian" 6>&1
5972 if test "x$cross_compiling" = "xno"; then
5973 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5974 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5975 if test "${ac_cv_c_bigendian+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 # See if sys/param.h defines the BYTE_ORDER macro.
5979 cat >conftest.
$ac_ext <<_ACEOF
5982 cat confdefs.h
>>conftest.
$ac_ext
5983 cat >>conftest.
$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 #include <sys/types.h>
5986 #include <sys/param.h>
5991 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5999 rm -f conftest.
$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); }; } &&
6014 { ac_try
='test -s conftest.$ac_objext'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; }; then
6020 # It does; now see whether it defined to BIG_ENDIAN or not.
6021 cat >conftest.
$ac_ext <<_ACEOF
6024 cat confdefs.h
>>conftest.
$ac_ext
6025 cat >>conftest.
$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 #include <sys/types.h>
6028 #include <sys/param.h>
6033 #if BYTE_ORDER != BIG_ENDIAN
6041 rm -f conftest.
$ac_objext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6043 (eval $ac_compile) 2>conftest.er1
6045 grep -v '^ *+' conftest.er1
>conftest.err
6047 cat conftest.err
>&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); } &&
6050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); }; } &&
6056 { ac_try
='test -s conftest.$ac_objext'
6057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); }; }; then
6062 ac_cv_c_bigendian
=yes
6064 echo "$as_me: failed program was:" >&5
6065 sed 's/^/| /' conftest.
$ac_ext >&5
6067 ac_cv_c_bigendian
=no
6069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6071 echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.
$ac_ext >&5
6074 # It does not; compile a test program.
6075 if test "$cross_compiling" = yes; then
6076 # try to guess the endianness by grepping values into an object file
6077 ac_cv_c_bigendian
=unknown
6078 cat >conftest.
$ac_ext <<_ACEOF
6081 cat confdefs.h
>>conftest.
$ac_ext
6082 cat >>conftest.
$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6084 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6085 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6086 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6087 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6088 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6089 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6093 _ascii (); _ebcdic ();
6098 rm -f conftest.
$ac_objext
6099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6100 (eval $ac_compile) 2>conftest.er1
6102 grep -v '^ *+' conftest.er1
>conftest.err
6104 cat conftest.err
>&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } &&
6107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; } &&
6113 { ac_try
='test -s conftest.$ac_objext'
6114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; }; then
6119 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6120 ac_cv_c_bigendian
=yes
6122 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6123 if test "$ac_cv_c_bigendian" = unknown
; then
6124 ac_cv_c_bigendian
=no
6126 # finding both strings is unlikely to happen, but who knows?
6127 ac_cv_c_bigendian
=unknown
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6137 cat >conftest.
$ac_ext <<_ACEOF
6140 cat confdefs.h
>>conftest.
$ac_ext
6141 cat >>conftest.
$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6146 /* Are we little or big endian? From Harbison&Steele. */
6150 char c[sizeof (long)];
6153 exit (u.c[sizeof (long) - 1] == 1);
6156 rm -f conftest
$ac_exeext
6157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6158 (eval $ac_link) 2>&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); }; }; then
6167 ac_cv_c_bigendian
=no
6169 echo "$as_me: program exited with status $ac_status" >&5
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.
$ac_ext >&5
6174 ac_cv_c_bigendian
=yes
6176 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6181 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6182 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6183 case $ac_cv_c_bigendian in
6186 cat >>confdefs.h
<<\_ACEOF
6187 #define WORDS_BIGENDIAN 1
6193 { { echo "$as_me:$LINENO: error: unknown endianness
6194 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6195 echo "$as_me: error: unknown endianness
6196 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6197 { (exit 1); exit 1; }; } ;;
6200 if test $ac_cv_c_bigendian = yes; then
6201 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
6203 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
6206 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
6210 # Check whether --enable-sim-icache or --disable-sim-icache was given.
6211 if test "${enable_sim_icache+set}" = set; then
6212 enableval
="$enable_sim_icache"
6214 case "${enableval}" in
6215 yes) icache
="1024"; sim_icache
="-I $icache";;
6216 no
) sim_icache
="-R";;
6219 for x
in `echo "${enableval}" | sed -e "s/,/ /g"`; do
6221 define
) sim_icache
="${sim_icache}R";;
6222 semantic
) sim_icache
="${sim_icache}C";;
6223 insn
) sim_icache
="${sim_icache}S";;
6224 0*|
1*|
2*|
3*|
4*|
5*|
6*|
7*|
8*|
9*) icache
=$x;;
6225 *) { { echo "$as_me:$LINENO: error: \"Unknown value $x for --enable-sim-icache\"" >&5
6226 echo "$as_me: error: \"Unknown value $x for --enable-sim-icache\"" >&2;}
6227 { (exit 1); exit 1; }; }; sim_icache
="";;
6230 sim_icache
="${sim_icache}I $icache";;
6232 if test x
"$silent" != x
"yes" && test x
"$icache" != x
""; then
6233 echo "Setting instruction cache size to $icache ($sim_icache)"
6236 sim_icache
="-CSRI 1024"
6237 if test x
"$silent" != x
"yes"; then
6238 echo "Setting instruction cache size to 1024 ($sim_icache)"
6242 # Check whether --enable-sim-inline or --disable-sim-inline was given.
6243 if test "${enable_sim_inline+set}" = set; then
6244 enableval
="$enable_sim_inline"
6246 case "$enableval" in
6247 no
) sim_inline
="-DDEFAULT_INLINE=0";;
6248 0) sim_inline
="-DDEFAULT_INLINE=0";;
6249 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_INLINE";;
6250 1) sim_inline
="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS";;
6251 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6254 *_INLINE
=*) new_flag
="-D$x";;
6255 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
6256 *_INLINE
) new_flag
="-D$x=ALL_INLINE";;
6257 *) new_flag
="-D$x""_INLINE=ALL_INLINE";;
6259 if test x
"$sim_inline" = x
""; then
6260 sim_inline
="$new_flag"
6262 sim_inline
="$sim_inline $new_flag"
6266 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
6267 echo "Setting inline flags = $sim_inline" 6>&1
6270 if test x
"$GCC" != ""; then
6271 sim_inline
="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS"
6272 if test x
"$silent" != x
"yes"; then
6273 echo "Setting inline flags = $sim_inline" 6>&1
6280 # Check whether --enable-sim-jump or --disable-sim-jump was given.
6281 if test "${enable_sim_jump+set}" = set; then
6282 enableval
="$enable_sim_jump"
6283 case "${enableval}" in
6284 yes) sim_jump
="-J";;
6286 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-jump does not take a value\"" >&5
6287 echo "$as_me: error: \"--enable-sim-jump does not take a value\"" >&2;}
6288 { (exit 1); exit 1; }; }; sim_jump
="";;
6290 if test x
"$silent" != x
"yes" && test x
"$sim_jump" != x
""; then
6291 echo "Setting jump flag = $sim_jump" 6>&1
6295 if test x
"$silent" != x
"yes"; then
6296 echo "Setting jump flag = $sim_jump" 6>&1
6300 # Check whether --enable-sim-line-nr or --disable-sim-line-nr was given.
6301 if test "${enable_sim_line_nr+set}" = set; then
6302 enableval
="$enable_sim_line_nr"
6303 case "${enableval}" in
6304 yes) sim_line_nr
="";;
6305 no
) sim_line_nr
="-L";;
6306 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-line-nr does not take a value\"" >&5
6307 echo "$as_me: error: \"--enable-sim-line-nr does not take a value\"" >&2;}
6308 { (exit 1); exit 1; }; }; sim_line_nr
="";;
6310 if test x
"$silent" != x
"yes" && test x
"$sim_line_nr" != x
""; then
6311 echo "Setting warning flags = $sim_line_nr" 6>&1
6317 # Check whether --enable-sim-model or --disable-sim-model was given.
6318 if test "${enable_sim_model+set}" = set; then
6319 enableval
="$enable_sim_model"
6320 case "${enableval}" in
6321 yes|no
) { { echo "$as_me:$LINENO: error: \"No value supplied for --enable-sim-model=model\"" >&5
6322 echo "$as_me: error: \"No value supplied for --enable-sim-model=model\"" >&2;}
6323 { (exit 1); exit 1; }; };;
6324 *) sim_model
="-DWITH_MODEL=${enableval}";;
6326 if test x
"$silent" != x
"yes" && test x
"$sim_model" != x
""; then
6327 echo "Setting model flags = $sim_model" 6>&1
6333 # Check whether --enable-sim-model-issue or --disable-sim-model-issue was given.
6334 if test "${enable_sim_model_issue+set}" = set; then
6335 enableval
="$enable_sim_model_issue"
6336 case "${enableval}" in
6337 yes) sim_model_issue
="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";;
6338 no
) sim_model_issue
="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";;
6339 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-model-issue does not take a value\"" >&5
6340 echo "$as_me: error: \"--enable-sim-model-issue does not take a value\"" >&2;}
6341 { (exit 1); exit 1; }; }; sim_model_issue
="";;
6343 if test x
"$silent" != x
"yes"; then
6344 echo "Setting model-issue flags = $sim_model_issue" 6>&1
6350 # Check whether --enable-sim-monitor or --disable-sim-monitor was given.
6351 if test "${enable_sim_monitor+set}" = set; then
6352 enableval
="$enable_sim_monitor"
6353 case "${enableval}" in
6354 yes) sim_monitor
="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
6355 no
) sim_monitor
="-DWITH_MON=0";;
6356 instruction
) sim_monitor
="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
6357 memory
) sim_monitor
="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
6358 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-mon\"" >&5
6359 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-mon\"" >&2;}
6360 { (exit 1); exit 1; }; }; sim_env
="";;
6362 if test x
"$silent" != x
"yes" && test x
"$sim_monitor" != x
""; then
6363 echo "Setting monitor flags = $sim_monitor" 6>&1
6369 # Check whether --enable-sim-opcode or --disable-sim-opcode was given.
6370 if test "${enable_sim_opcode+set}" = set; then
6371 enableval
="$enable_sim_opcode"
6372 case "${enableval}" in
6373 yes|no
) { { echo "$as_me:$LINENO: error: \"No value supplied for --enable-sim-opcode=file\"" >&5
6374 echo "$as_me: error: \"No value supplied for --enable-sim-opcode=file\"" >&2;}
6375 { (exit 1); exit 1; }; };;
6376 *) if test -f "${srcdir}/${enableval}"; then
6377 sim_opcode
="${enableval}"
6378 elif test -f "${srcdir}/dc-${enableval}"; then
6379 sim_opcode
="dc-${enableval}"
6381 { { echo "$as_me:$LINENO: error: \"File $enableval is not an opcode rules file\"" >&5
6382 echo "$as_me: error: \"File $enableval is not an opcode rules file\"" >&2;}
6383 { (exit 1); exit 1; }; };
6384 sim_opcode
="dc-complex"
6387 if test x
"$silent" != x
"yes" && test x
"$sim_opcode" != x
""; then
6388 echo "Setting opcode flags = $sim_opcode" 6>&1
6391 sim_opcode
="dc-complex"
6392 if test x
"$silent" != x
"yes"; then
6393 echo "Setting opcode flags = $sim_opcode"
6397 # Check whether --enable-sim-packages or --disable-sim-packages was given.
6398 if test "${enable_sim_packages+set}" = set; then
6399 enableval
="$enable_sim_packages"
6401 case "${enableval}" in
6403 no
) { { echo "$as_me:$LINENO: error: \"List of packages must be specified for --enable-sim-packages\"" >&5
6404 echo "$as_me: error: \"List of packages must be specified for --enable-sim-packages\"" >&2;}
6405 { (exit 1); exit 1; }; }; packages
="";;
6406 ,*) packages
="${packages}${enableval}";;
6407 *,) packages
="${enableval}${packages}";;
6408 *) packages
="${enableval}"'';;
6410 sim_pk_src
=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
6411 sim_pk_obj
=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
6412 if test x
"$silent" != x
"yes" && test x
"$packages" != x
""; then
6413 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
6417 sim_pk_src
=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
6418 sim_pk_obj
=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
6419 if test x
"$silent" != x
"yes"; then
6420 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
6424 # Check whether --enable-sim-regparm or --disable-sim-regparm was given.
6425 if test "${enable_sim_regparm+set}" = set; then
6426 enableval
="$enable_sim_regparm"
6427 case "${enableval}" in
6428 0*|
1*|
2*|
3*|
4*|
5*|
6*|
7*|
8*|
9*) sim_regparm
="-DWITH_REGPARM=${enableval}";;
6429 no
) sim_regparm
="" ;;
6430 yes) sim_regparm
="-DWITH_REGPARM=3";;
6431 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-regparm\"" >&5
6432 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-regparm\"" >&2;}
6433 { (exit 1); exit 1; }; }; sim_regparm
="";;
6435 if test x
"$silent" != x
"yes" && test x
"$sim_regparm" != x
""; then
6436 echo "Setting regparm flags = $sim_regparm" 6>&1
6442 # Check whether --enable-sim-reserved-bits or --disable-sim-reserved-bits was given.
6443 if test "${enable_sim_reserved_bits+set}" = set; then
6444 enableval
="$enable_sim_reserved_bits"
6445 case "${enableval}" in
6446 yes) sim_reserved
="-DWITH_RESERVED_BITS=1";;
6447 no
) sim_reserved
="-DWITH_RESERVED_BITS=0";;
6448 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-reserved-bits does not take a value\"" >&5
6449 echo "$as_me: error: \"--enable-sim-reserved-bits does not take a value\"" >&2;}
6450 { (exit 1); exit 1; }; }; sim_reserved
="";;
6452 if test x
"$silent" != x
"yes" && test x
"$sim_reserved" != x
""; then
6453 echo "Setting reserved flags = $sim_reserved" 6>&1
6459 # Check whether --enable-sim-smp or --disable-sim-smp was given.
6460 if test "${enable_sim_smp+set}" = set; then
6461 enableval
="$enable_sim_smp"
6462 case "${enableval}" in
6463 yes) sim_smp
="-DWITH_SMP=5" ; sim_igen_smp
="-N 5";;
6464 no
) sim_smp
="-DWITH_SMP=0" ; sim_igen_smp
="-N 0";;
6465 *) sim_smp
="-DWITH_SMP=$enableval" ; sim_igen_smp
="-N $enableval";;
6467 if test x
"$silent" != x
"yes" && test x
"$sim_smp" != x
""; then
6468 echo "Setting smp flags = $sim_smp" 6>&1
6471 sim_smp
="-DWITH_SMP=5" ; sim_igen_smp
="-N 5"
6472 if test x
"$silent" != x
"yes"; then
6473 echo "Setting smp flags = $sim_smp" 6>&1
6477 # Check whether --enable-sim-stdcall or --disable-sim-stdcall was given.
6478 if test "${enable_sim_stdcall+set}" = set; then
6479 enableval
="$enable_sim_stdcall"
6480 case "${enableval}" in
6481 no
) sim_stdcall
="" ;;
6482 std
*) sim_stdcall
="-DWITH_STDCALL=1";;
6483 yes) sim_stdcall
="-DWITH_STDCALL=1";;
6484 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-stdcall\"" >&5
6485 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-stdcall\"" >&2;}
6486 { (exit 1); exit 1; }; }; sim_stdcall
="";;
6488 if test x
"$silent" != x
"yes" && test x
"$sim_stdcall" != x
""; then
6489 echo "Setting function call flags = $sim_stdcall" 6>&1
6495 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6496 if test "${enable_sim_stdio+set}" = set; then
6497 enableval
="$enable_sim_stdio"
6498 case "${enableval}" in
6499 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6500 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6501 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6502 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6503 { (exit 1); exit 1; }; }; sim_stdio
="";;
6505 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6506 echo "Setting stdio flags = $sim_stdio" 6>&1
6512 # Check whether --enable-sim-switch or --disable-sim-switch was given.
6513 if test "${enable_sim_switch+set}" = set; then
6514 enableval
="$enable_sim_switch"
6515 case "${enableval}" in
6516 yes) sim_switch
="-s";;
6518 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-switch does not take a value\"" >&5
6519 echo "$as_me: error: \"--enable-sim-switch does not take a value\"" >&2;}
6520 { (exit 1); exit 1; }; }; sim_switch
="";;
6522 if test x
"$silent" != x
"yes" && test x
"$sim_switch" != x
""; then
6523 echo "Setting switch flags = $sim_switch" 6>&1
6527 if test x
"$silent" != x
"yes"; then
6528 echo "Setting switch flags = $sim_switch" 6>&1
6532 # Check whether --enable-sim-timebase or --disable-sim-timebase was given.
6533 if test "${enable_sim_timebase+set}" = set; then
6534 enableval
="$enable_sim_timebase"
6535 case "${enableval}" in
6536 yes) sim_timebase
="-DWITH_TIME_BASE=1";;
6537 no
) sim_timebase
="-DWITH_TIME_BASE=0";;
6538 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-timebase does not take a value\"" >&5
6539 echo "$as_me: error: \"--enable-sim-timebase does not take a value\"" >&2;}
6540 { (exit 1); exit 1; }; }; sim_timebase
="";;
6542 if test x
"$silent" != x
"yes" && test x
"$sim_timebase" != x
""; then
6543 echo "Setting timebase flags = $sim_timebase" 6>&1
6549 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6550 if test "${enable_sim_trace+set}" = set; then
6551 enableval
="$enable_sim_trace"
6552 case "${enableval}" in
6553 yes) sim_trace
="-DWITH_TRACE=1";;
6554 no
) sim_trace
="-DWITH_TRACE=0";;
6555 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-trace does not take a value\"" >&5
6556 echo "$as_me: error: \"--enable-sim-trace does not take a value\"" >&2;}
6557 { (exit 1); exit 1; }; }; sim_trace
="";;
6559 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6560 echo "Setting trace flags = $sim_trace" 6>&1
6566 # Check whether --enable-sim-warnings or --disable-sim-warnings was given.
6567 if test "${enable_sim_warnings+set}" = set; then
6568 enableval
="$enable_sim_warnings"
6569 case "${enableval}" in
6570 yes) sim_warnings
="-Werror -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations ";;
6571 no
) sim_warnings
="-w";;
6572 *) sim_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6574 if test x
"$silent" != x
"yes" && test x
"$sim_warnings" != x
""; then
6575 echo "Setting warning flags = $sim_warnings" 6>&1
6581 # Check whether --enable-sim-xor-endian or --disable-sim-xor-endian was given.
6582 if test "${enable_sim_xor_endian+set}" = set; then
6583 enableval
="$enable_sim_xor_endian"
6584 case "${enableval}" in
6585 yes) sim_xor_endian
="-DWITH_XOR_ENDIAN=8";;
6586 no
) sim_xor_endian
="-DWITH_XOR_ENDIAN=0";;
6587 *) sim_xor_endian
="-DWITH_XOR_ENDIAN=$enableval";;
6589 if test x
"$silent" != x
"yes" && test x
"$sim_xor_endian" != x
""; then
6590 echo "Setting xor-endian flag = $sim_xor_endian" 6>&1
6596 # Make sure we can run config.sub.
6597 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6598 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6599 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6600 { (exit 1); exit 1; }; }
6602 echo "$as_me:$LINENO: checking build system type" >&5
6603 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6604 if test "${ac_cv_build+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 ac_cv_build_alias
=$build_alias
6608 test -z "$ac_cv_build_alias" &&
6609 ac_cv_build_alias
=`$ac_config_guess`
6610 test -z "$ac_cv_build_alias" &&
6611 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6612 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6613 { (exit 1); exit 1; }; }
6614 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
6615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6616 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6617 { (exit 1); exit 1; }; }
6620 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6621 echo "${ECHO_T}$ac_cv_build" >&6
6623 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6624 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6625 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6628 echo "$as_me:$LINENO: checking host system type" >&5
6629 echo $ECHO_N "checking host system type... $ECHO_C" >&6
6630 if test "${ac_cv_host+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 ac_cv_host_alias
=$host_alias
6634 test -z "$ac_cv_host_alias" &&
6635 ac_cv_host_alias
=$ac_cv_build_alias
6636 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
6637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6638 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6639 { (exit 1); exit 1; }; }
6642 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6643 echo "${ECHO_T}$ac_cv_host" >&6
6645 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6646 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6647 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6650 echo "$as_me:$LINENO: checking target system type" >&5
6651 echo $ECHO_N "checking target system type... $ECHO_C" >&6
6652 if test "${ac_cv_target+set}" = set; then
6653 echo $ECHO_N "(cached) $ECHO_C" >&6
6655 ac_cv_target_alias
=$target_alias
6656 test "x$ac_cv_target_alias" = "x" &&
6657 ac_cv_target_alias
=$ac_cv_host_alias
6658 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
6659 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
6660 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
6661 { (exit 1); exit 1; }; }
6664 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
6665 echo "${ECHO_T}$ac_cv_target" >&6
6666 target
=$ac_cv_target
6667 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6668 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6669 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6672 # The aliases save the names the user supplied, while $host etc.
6673 # will get canonicalized.
6674 test -n "$target_alias" &&
6675 test "$program_prefix$program_suffix$program_transform_name" = \
6677 program_prefix
=${target_alias}-
6678 test "$program_prefix" != NONE
&&
6679 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6680 # Use a double $ so make ignores it.
6681 test "$program_suffix" != NONE
&&
6682 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6683 # Double any \ or $. echo might interpret backslashes.
6684 # By default was `s,x,x', remove it if useless.
6685 cat <<\_ACEOF
>conftest.
sed
6686 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6688 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6692 .
${srcdir}/..
/..
/bfd
/configure.
host
6694 ac_config_headers
="$ac_config_headers config.h:config.in"
6698 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6699 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6700 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6701 echo $ECHO_N "(cached) $ECHO_C" >&6
6703 cat >conftest.
$ac_ext <<_ACEOF
6706 cat confdefs.h
>>conftest.
$ac_ext
6707 cat >>conftest.
$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6709 $ac_includes_default
6713 static struct stat ac_aggr;
6714 if (ac_aggr.st_blksize)
6720 rm -f conftest.
$ac_objext
6721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6722 (eval $ac_compile) 2>conftest.er1
6724 grep -v '^ *+' conftest.er1
>conftest.err
6726 cat conftest.err
>&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } &&
6729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; } &&
6735 { ac_try
='test -s conftest.$ac_objext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6741 ac_cv_member_struct_stat_st_blksize
=yes
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.
$ac_ext >&5
6746 cat >conftest.
$ac_ext <<_ACEOF
6749 cat confdefs.h
>>conftest.
$ac_ext
6750 cat >>conftest.
$ac_ext <<_ACEOF
6751 /* end confdefs.h. */
6752 $ac_includes_default
6756 static struct stat ac_aggr;
6757 if (sizeof ac_aggr.st_blksize)
6763 rm -f conftest.
$ac_objext
6764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6765 (eval $ac_compile) 2>conftest.er1
6767 grep -v '^ *+' conftest.er1
>conftest.err
6769 cat conftest.err
>&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); } &&
6772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; } &&
6778 { ac_try
='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6784 ac_cv_member_struct_stat_st_blksize
=yes
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.
$ac_ext >&5
6789 ac_cv_member_struct_stat_st_blksize
=no
6791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6795 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6796 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6797 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6799 cat >>confdefs.h
<<_ACEOF
6800 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6804 cat >>confdefs.h
<<\_ACEOF
6805 #define HAVE_ST_BLKSIZE 1
6811 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6812 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6813 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 cat >conftest.
$ac_ext <<_ACEOF
6819 cat confdefs.h
>>conftest.
$ac_ext
6820 cat >>conftest.
$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 $ac_includes_default
6826 static struct stat ac_aggr;
6827 if (ac_aggr.st_blocks)
6833 rm -f conftest.
$ac_objext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1
>conftest.err
6839 cat conftest.err
>&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; } &&
6848 { ac_try
='test -s conftest.$ac_objext'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then
6854 ac_cv_member_struct_stat_st_blocks
=yes
6856 echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.
$ac_ext >&5
6859 cat >conftest.
$ac_ext <<_ACEOF
6862 cat confdefs.h
>>conftest.
$ac_ext
6863 cat >>conftest.
$ac_ext <<_ACEOF
6864 /* end confdefs.h. */
6865 $ac_includes_default
6869 static struct stat ac_aggr;
6870 if (sizeof ac_aggr.st_blocks)
6876 rm -f conftest.
$ac_objext
6877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6878 (eval $ac_compile) 2>conftest.er1
6880 grep -v '^ *+' conftest.er1
>conftest.err
6882 cat conftest.err
>&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } &&
6885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; } &&
6891 { ac_try
='test -s conftest.$ac_objext'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 ac_cv_member_struct_stat_st_blocks
=yes
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 ac_cv_member_struct_stat_st_blocks
=no
6904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6908 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6909 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6910 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6912 cat >>confdefs.h
<<_ACEOF
6913 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6917 cat >>confdefs.h
<<\_ACEOF
6918 #define HAVE_ST_BLOCKS 1
6923 "fileblocks.$ac_objext" | \
6924 *" fileblocks.$ac_objext" | \
6925 "fileblocks.$ac_objext "* | \
6926 *" fileblocks.$ac_objext "* ) ;;
6927 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext" ;;
6934 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6935 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6936 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6939 cat >conftest.
$ac_ext <<_ACEOF
6942 cat confdefs.h
>>conftest.
$ac_ext
6943 cat >>conftest.
$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6945 $ac_includes_default
6949 static struct stat ac_aggr;
6950 if (ac_aggr.st_rdev)
6956 rm -f conftest.
$ac_objext
6957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6958 (eval $ac_compile) 2>conftest.er1
6960 grep -v '^ *+' conftest.er1
>conftest.err
6962 cat conftest.err
>&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; } &&
6971 { ac_try
='test -s conftest.$ac_objext'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6977 ac_cv_member_struct_stat_st_rdev
=yes
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.
$ac_ext >&5
6982 cat >conftest.
$ac_ext <<_ACEOF
6985 cat confdefs.h
>>conftest.
$ac_ext
6986 cat >>conftest.
$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 $ac_includes_default
6992 static struct stat ac_aggr;
6993 if (sizeof ac_aggr.st_rdev)
6999 rm -f conftest.
$ac_objext
7000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7001 (eval $ac_compile) 2>conftest.er1
7003 grep -v '^ *+' conftest.er1
>conftest.err
7005 cat conftest.err
>&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } &&
7008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; } &&
7014 { ac_try
='test -s conftest.$ac_objext'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; }; then
7020 ac_cv_member_struct_stat_st_rdev
=yes
7022 echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.
$ac_ext >&5
7025 ac_cv_member_struct_stat_st_rdev
=no
7027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7031 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7032 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7033 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7035 cat >>confdefs.h
<<_ACEOF
7036 #define HAVE_STRUCT_STAT_ST_RDEV 1
7040 cat >>confdefs.h
<<\_ACEOF
7041 #define HAVE_ST_RDEV 1
7047 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7048 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
7049 if test "${ac_cv_struct_tm+set}" = set; then
7050 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 cat >conftest.
$ac_ext <<_ACEOF
7055 cat confdefs.h
>>conftest.
$ac_ext
7056 cat >>conftest.
$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 #include <sys/types.h>
7064 struct tm *tp; tp->tm_sec;
7069 rm -f conftest.
$ac_objext
7070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7071 (eval $ac_compile) 2>conftest.er1
7073 grep -v '^ *+' conftest.er1
>conftest.err
7075 cat conftest.err
>&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); } &&
7078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; } &&
7084 { ac_try
='test -s conftest.$ac_objext'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; }; then
7090 ac_cv_struct_tm
=time.h
7092 echo "$as_me: failed program was:" >&5
7093 sed 's/^/| /' conftest.
$ac_ext >&5
7095 ac_cv_struct_tm
=sys
/time.h
7097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7099 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7100 echo "${ECHO_T}$ac_cv_struct_tm" >&6
7101 if test $ac_cv_struct_tm = sys
/time.h
; then
7103 cat >>confdefs.h
<<\_ACEOF
7104 #define TM_IN_SYS_TIME 1
7109 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7110 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
7111 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 cat >conftest.
$ac_ext <<_ACEOF
7117 cat confdefs.h
>>conftest.
$ac_ext
7118 cat >>conftest.
$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 #include <sys/types.h>
7121 #include <$ac_cv_struct_tm>
7127 static struct tm ac_aggr;
7128 if (ac_aggr.tm_zone)
7134 rm -f conftest.
$ac_objext
7135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7136 (eval $ac_compile) 2>conftest.er1
7138 grep -v '^ *+' conftest.er1
>conftest.err
7140 cat conftest.err
>&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } &&
7143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); }; } &&
7149 { ac_try
='test -s conftest.$ac_objext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 ac_cv_member_struct_tm_tm_zone
=yes
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.
$ac_ext >&5
7160 cat >conftest.
$ac_ext <<_ACEOF
7163 cat confdefs.h
>>conftest.
$ac_ext
7164 cat >>conftest.
$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #include <$ac_cv_struct_tm>
7173 static struct tm ac_aggr;
7174 if (sizeof ac_aggr.tm_zone)
7180 rm -f conftest.
$ac_objext
7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7182 (eval $ac_compile) 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } &&
7189 { ac_try
='test -z "$ac_c_werror_flag" || 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_cv_member_struct_tm_tm_zone
=yes
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.
$ac_ext >&5
7206 ac_cv_member_struct_tm_tm_zone
=no
7208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7212 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7213 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
7214 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7216 cat >>confdefs.h
<<_ACEOF
7217 #define HAVE_STRUCT_TM_TM_ZONE 1
7223 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7225 cat >>confdefs.h
<<\_ACEOF
7226 #define HAVE_TM_ZONE 1
7230 echo "$as_me:$LINENO: checking for tzname" >&5
7231 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
7232 if test "${ac_cv_var_tzname+set}" = set; then
7233 echo $ECHO_N "(cached) $ECHO_C" >&6
7235 cat >conftest.
$ac_ext <<_ACEOF
7238 cat confdefs.h
>>conftest.
$ac_ext
7239 cat >>conftest.
$ac_ext <<_ACEOF
7240 /* end confdefs.h. */
7242 #ifndef tzname /* For SGI. */
7243 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
7254 rm -f conftest.
$ac_objext conftest
$ac_exeext
7255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7256 (eval $ac_link) 2>conftest.er1
7258 grep -v '^ *+' conftest.er1
>conftest.err
7260 cat conftest.err
>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } &&
7263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); }; } &&
7269 { ac_try
='test -s conftest$ac_exeext'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 ac_cv_var_tzname
=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.
$ac_ext >&5
7282 rm -f conftest.err conftest.
$ac_objext \
7283 conftest
$ac_exeext conftest.
$ac_ext
7285 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7286 echo "${ECHO_T}$ac_cv_var_tzname" >&6
7287 if test $ac_cv_var_tzname = yes; then
7289 cat >>confdefs.h
<<\_ACEOF
7290 #define HAVE_TZNAME 1
7297 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7298 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
7299 if test "${ac_cv_type_uid_t+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 cat >conftest.
$ac_ext <<_ACEOF
7305 cat confdefs.h
>>conftest.
$ac_ext
7306 cat >>conftest.
$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 #include <sys/types.h>
7311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7312 $EGREP "uid_t" >/dev
/null
2>&1; then
7313 ac_cv_type_uid_t
=yes
7320 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7321 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
7322 if test $ac_cv_type_uid_t = no
; then
7324 cat >>confdefs.h
<<\_ACEOF
7329 cat >>confdefs.h
<<\_ACEOF
7335 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
7336 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
7337 if test "${ac_cv_type_getgroups+set}" = set; then
7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 if test "$cross_compiling" = yes; then
7341 ac_cv_type_getgroups
=cross
7343 cat >conftest.
$ac_ext <<_ACEOF
7346 cat confdefs.h
>>conftest.
$ac_ext
7347 cat >>conftest.
$ac_ext <<_ACEOF
7348 /* end confdefs.h. */
7349 /* Thanks to Mike Rendell for this test. */
7350 #include <sys/types.h>
7353 #define MAX(x, y) ((x) > (y) ? (x) : (y))
7360 union { gid_t gval; long lval; } val;
7363 for (i = 0; i < NGID; i++)
7364 gidset[i] = val.gval;
7365 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
7367 /* Exit non-zero if getgroups seems to require an array of ints. This
7368 happens when gid_t is short but getgroups modifies an array of ints. */
7369 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
7372 rm -f conftest
$ac_exeext
7373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7374 (eval $ac_link) 2>&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; }; then
7383 ac_cv_type_getgroups
=gid_t
7385 echo "$as_me: program exited with status $ac_status" >&5
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.
$ac_ext >&5
7390 ac_cv_type_getgroups
=int
7392 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7394 if test $ac_cv_type_getgroups = cross
; then
7395 cat >conftest.
$ac_ext <<_ACEOF
7398 cat confdefs.h
>>conftest.
$ac_ext
7399 cat >>conftest.
$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7405 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
7406 ac_cv_type_getgroups
=gid_t
7408 ac_cv_type_getgroups
=int
7414 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
7415 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
7417 cat >>confdefs.h
<<_ACEOF
7418 #define GETGROUPS_T $ac_cv_type_getgroups
7422 echo "$as_me:$LINENO: checking for mode_t" >&5
7423 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
7424 if test "${ac_cv_type_mode_t+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 cat >conftest.
$ac_ext <<_ACEOF
7430 cat confdefs.h
>>conftest.
$ac_ext
7431 cat >>conftest.
$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 $ac_includes_default
7439 if (sizeof (mode_t))
7445 rm -f conftest.
$ac_objext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447 (eval $ac_compile) 2>conftest.er1
7449 grep -v '^ *+' conftest.er1
>conftest.err
7451 cat conftest.err
>&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } &&
7454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; } &&
7460 { ac_try
='test -s conftest.$ac_objext'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; }; then
7466 ac_cv_type_mode_t
=yes
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.
$ac_ext >&5
7471 ac_cv_type_mode_t
=no
7473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7475 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
7476 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
7477 if test $ac_cv_type_mode_t = yes; then
7481 cat >>confdefs.h
<<_ACEOF
7487 echo "$as_me:$LINENO: checking for off_t" >&5
7488 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7489 if test "${ac_cv_type_off_t+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 cat >conftest.
$ac_ext <<_ACEOF
7495 cat confdefs.h
>>conftest.
$ac_ext
7496 cat >>conftest.
$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7498 $ac_includes_default
7510 rm -f conftest.
$ac_objext
7511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7512 (eval $ac_compile) 2>conftest.er1
7514 grep -v '^ *+' conftest.er1
>conftest.err
7516 cat conftest.err
>&5
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); } &&
7519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; } &&
7525 { ac_try
='test -s conftest.$ac_objext'
7526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); }; }; then
7531 ac_cv_type_off_t
=yes
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.
$ac_ext >&5
7538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7540 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7541 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7542 if test $ac_cv_type_off_t = yes; then
7546 cat >>confdefs.h
<<_ACEOF
7552 echo "$as_me:$LINENO: checking for pid_t" >&5
7553 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7554 if test "${ac_cv_type_pid_t+set}" = set; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 cat >conftest.
$ac_ext <<_ACEOF
7560 cat confdefs.h
>>conftest.
$ac_ext
7561 cat >>conftest.
$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7563 $ac_includes_default
7575 rm -f conftest.
$ac_objext
7576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7577 (eval $ac_compile) 2>conftest.er1
7579 grep -v '^ *+' conftest.er1
>conftest.err
7581 cat conftest.err
>&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } &&
7584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; } &&
7590 { ac_try
='test -s conftest.$ac_objext'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; }; then
7596 ac_cv_type_pid_t
=yes
7598 echo "$as_me: failed program was:" >&5
7599 sed 's/^/| /' conftest.
$ac_ext >&5
7603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7605 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7606 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7607 if test $ac_cv_type_pid_t = yes; then
7611 cat >>confdefs.h
<<_ACEOF
7617 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7618 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7619 if test "${ac_cv_type_signal+set}" = set; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7622 cat >conftest.
$ac_ext <<_ACEOF
7625 cat confdefs.h
>>conftest.
$ac_ext
7626 cat >>conftest.
$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7628 #include <sys/types.h>
7634 extern "C" void (*signal (int, void (*)(int)))(int);
7636 void (*signal ()) ();
7647 rm -f conftest.
$ac_objext
7648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7649 (eval $ac_compile) 2>conftest.er1
7651 grep -v '^ *+' conftest.er1
>conftest.err
7653 cat conftest.err
>&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } &&
7656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; } &&
7662 { ac_try
='test -s conftest.$ac_objext'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7668 ac_cv_type_signal
=void
7670 echo "$as_me: failed program was:" >&5
7671 sed 's/^/| /' conftest.
$ac_ext >&5
7673 ac_cv_type_signal
=int
7675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7677 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7678 echo "${ECHO_T}$ac_cv_type_signal" >&6
7680 cat >>confdefs.h
<<_ACEOF
7681 #define RETSIGTYPE $ac_cv_type_signal
7685 echo "$as_me:$LINENO: checking for size_t" >&5
7686 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7687 if test "${ac_cv_type_size_t+set}" = set; then
7688 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 cat >conftest.
$ac_ext <<_ACEOF
7693 cat confdefs.h
>>conftest.
$ac_ext
7694 cat >>conftest.
$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 $ac_includes_default
7702 if (sizeof (size_t))
7708 rm -f conftest.
$ac_objext
7709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7710 (eval $ac_compile) 2>conftest.er1
7712 grep -v '^ *+' conftest.er1
>conftest.err
7714 cat conftest.err
>&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } &&
7717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; } &&
7723 { ac_try
='test -s conftest.$ac_objext'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; }; then
7729 ac_cv_type_size_t
=yes
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.
$ac_ext >&5
7734 ac_cv_type_size_t
=no
7736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7738 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7739 echo "${ECHO_T}$ac_cv_type_size_t" >&6
7740 if test $ac_cv_type_size_t = yes; then
7744 cat >>confdefs.h
<<_ACEOF
7745 #define size_t unsigned
7750 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7751 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
7752 if test "${ac_cv_type_uid_t+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 cat >conftest.
$ac_ext <<_ACEOF
7758 cat confdefs.h
>>conftest.
$ac_ext
7759 cat >>conftest.
$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7761 #include <sys/types.h>
7764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7765 $EGREP "uid_t" >/dev
/null
2>&1; then
7766 ac_cv_type_uid_t
=yes
7773 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7774 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
7775 if test $ac_cv_type_uid_t = no
; then
7777 cat >>confdefs.h
<<\_ACEOF
7782 cat >>confdefs.h
<<\_ACEOF
7839 for ac_func
in access cfgetispeed cfgetospeed cfsetispeed cfsetospeed chdir
chmod chown dup dup2 fchmod fchown fcntl fstat fstatfs getdirentries getegid geteuid getgid getpid getppid getrusage gettimeofday getuid ioctl
kill link lseek lstat mkdir pipe readlink
rmdir setreuid setregid stat sigprocmask stat symlink tcgetattr tcsetattr tcsendbreak tcdrain tcflush tcflow tcgetpgrp tcsetpgrp
time umask unlink
7841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7842 echo "$as_me:$LINENO: checking for $ac_func" >&5
7843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7844 if eval "test \"\${$as_ac_var+set}\" = set"; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 cat >conftest.
$ac_ext <<_ACEOF
7850 cat confdefs.h
>>conftest.
$ac_ext
7851 cat >>conftest.
$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7855 #define $ac_func innocuous_$ac_func
7857 /* System header to define __stub macros and hopefully few prototypes,
7858 which can conflict with char $ac_func (); below.
7859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7860 <limits.h> exists even on freestanding compilers. */
7863 # include <limits.h>
7865 # include <assert.h>
7870 /* Override any gcc2 internal prototype to avoid an error. */
7875 /* We use char because int might match the return type of a gcc2
7876 builtin and then its argument prototype would still apply. */
7878 /* The GNU C library defines this for functions which it implements
7879 to always fail with ENOSYS. Some functions are actually named
7880 something starting with __ and the normal name is an alias. */
7881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7884 char (*f) () = $ac_func;
7893 return f != $ac_func;
7898 rm -f conftest.
$ac_objext conftest
$ac_exeext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7900 (eval $ac_link) 2>conftest.er1
7902 grep -v '^ *+' conftest.er1
>conftest.err
7904 cat conftest.err
>&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } &&
7907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }; } &&
7913 { ac_try
='test -s conftest$ac_exeext'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; }; then
7919 eval "$as_ac_var=yes"
7921 echo "$as_me: failed program was:" >&5
7922 sed 's/^/| /' conftest.
$ac_ext >&5
7924 eval "$as_ac_var=no"
7926 rm -f conftest.err conftest.
$ac_objext \
7927 conftest
$ac_exeext conftest.
$ac_ext
7929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7931 if test `eval echo '${'$as_ac_var'}'` = yes; then
7932 cat >>confdefs.h
<<_ACEOF
7933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7958 for ac_header
in fcntl.h stdlib.h string.h
strings.h sys
/ioctl.h sys
/mount.h sys
/param.h sys
/resource.h sys
/stat.h sys
/termio.h sys
/termios.h sys
/time.h sys
/times.h sys
/types.h
time.h unistd.h sys
/vfs.h sys
/statfs.h
7960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7962 echo "$as_me:$LINENO: checking for $ac_header" >&5
7963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7970 # Is the header compilable?
7971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7973 cat >conftest.
$ac_ext <<_ACEOF
7976 cat confdefs.h
>>conftest.
$ac_ext
7977 cat >>conftest.
$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7979 $ac_includes_default
7980 #include <$ac_header>
7982 rm -f conftest.
$ac_objext
7983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7984 (eval $ac_compile) 2>conftest.er1
7986 grep -v '^ *+' conftest.er1
>conftest.err
7988 cat conftest.err
>&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } &&
7991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; } &&
7997 { ac_try
='test -s conftest.$ac_objext'
7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); }; }; then
8003 ac_header_compiler
=yes
8005 echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.
$ac_ext >&5
8008 ac_header_compiler
=no
8010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8012 echo "${ECHO_T}$ac_header_compiler" >&6
8014 # Is the header present?
8015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8017 cat >conftest.
$ac_ext <<_ACEOF
8020 cat confdefs.h
>>conftest.
$ac_ext
8021 cat >>conftest.
$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8023 #include <$ac_header>
8025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8028 grep -v '^ *+' conftest.er1
>conftest.err
8030 cat conftest.err
>&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } >/dev
/null
; then
8033 if test -s conftest.err
; then
8034 ac_cpp_err
=$ac_c_preproc_warn_flag
8035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8042 if test -z "$ac_cpp_err"; then
8043 ac_header_preproc
=yes
8045 echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.
$ac_ext >&5
8048 ac_header_preproc
=no
8050 rm -f conftest.err conftest.
$ac_ext
8051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8052 echo "${ECHO_T}$ac_header_preproc" >&6
8054 # So? What about this header?
8055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8061 ac_header_preproc
=yes
8064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8078 ## ------------------------------------------ ##
8079 ## Report this to the AC_PACKAGE_NAME lists. ##
8080 ## ------------------------------------------ ##
8083 sed "s/^/$as_me: WARNING: /" >&2
8086 echo "$as_me:$LINENO: checking for $ac_header" >&5
8087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 eval "$as_ac_Header=\$ac_header_preproc"
8093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8098 cat >>confdefs.h
<<_ACEOF
8099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8112 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8113 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8114 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8115 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 cat >conftest.
$ac_ext <<_ACEOF
8122 cat confdefs.h
>>conftest.
$ac_ext
8123 cat >>conftest.
$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8125 #include <sys/types.h>
8137 rm -f conftest.
$ac_objext
8138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8139 (eval $ac_compile) 2>conftest.er1
8141 grep -v '^ *+' conftest.er1
>conftest.err
8143 cat conftest.err
>&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } &&
8146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; } &&
8152 { ac_try
='test -s conftest.$ac_objext'
8153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8158 eval "$as_ac_Header=yes"
8160 echo "$as_me: failed program was:" >&5
8161 sed 's/^/| /' conftest.
$ac_ext >&5
8163 eval "$as_ac_Header=no"
8165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8170 cat >>confdefs.h
<<_ACEOF
8171 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8174 ac_header_dirent
=$ac_hdr; break
8178 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8179 if test $ac_header_dirent = dirent.h
; then
8180 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8181 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8182 if test "${ac_cv_search_opendir+set}" = set; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8185 ac_func_search_save_LIBS
=$LIBS
8186 ac_cv_search_opendir
=no
8187 cat >conftest.
$ac_ext <<_ACEOF
8190 cat confdefs.h
>>conftest.
$ac_ext
8191 cat >>conftest.
$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8194 /* Override any gcc2 internal prototype to avoid an error. */
8198 /* We use char because int might match the return type of a gcc2
8199 builtin and then its argument prototype would still apply. */
8209 rm -f conftest.
$ac_objext conftest
$ac_exeext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8211 (eval $ac_link) 2>conftest.er1
8213 grep -v '^ *+' conftest.er1
>conftest.err
8215 cat conftest.err
>&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; } &&
8224 { ac_try
='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then
8230 ac_cv_search_opendir
="none required"
8232 echo "$as_me: failed program was:" >&5
8233 sed 's/^/| /' conftest.
$ac_ext >&5
8236 rm -f conftest.err conftest.
$ac_objext \
8237 conftest
$ac_exeext conftest.
$ac_ext
8238 if test "$ac_cv_search_opendir" = no
; then
8239 for ac_lib
in dir
; do
8240 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8241 cat >conftest.
$ac_ext <<_ACEOF
8244 cat confdefs.h
>>conftest.
$ac_ext
8245 cat >>conftest.
$ac_ext <<_ACEOF
8246 /* end confdefs.h. */
8248 /* Override any gcc2 internal prototype to avoid an error. */
8252 /* We use char because int might match the return type of a gcc2
8253 builtin and then its argument prototype would still apply. */
8263 rm -f conftest.
$ac_objext conftest
$ac_exeext
8264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8265 (eval $ac_link) 2>conftest.er1
8267 grep -v '^ *+' conftest.er1
>conftest.err
8269 cat conftest.err
>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } &&
8272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; } &&
8278 { ac_try
='test -s conftest$ac_exeext'
8279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); }; }; then
8284 ac_cv_search_opendir
="-l$ac_lib"
8287 echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.
$ac_ext >&5
8291 rm -f conftest.err conftest.
$ac_objext \
8292 conftest
$ac_exeext conftest.
$ac_ext
8295 LIBS
=$ac_func_search_save_LIBS
8297 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8298 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8299 if test "$ac_cv_search_opendir" != no
; then
8300 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8305 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8306 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8307 if test "${ac_cv_search_opendir+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 ac_func_search_save_LIBS
=$LIBS
8311 ac_cv_search_opendir
=no
8312 cat >conftest.
$ac_ext <<_ACEOF
8315 cat confdefs.h
>>conftest.
$ac_ext
8316 cat >>conftest.
$ac_ext <<_ACEOF
8317 /* end confdefs.h. */
8319 /* Override any gcc2 internal prototype to avoid an error. */
8323 /* We use char because int might match the return type of a gcc2
8324 builtin and then its argument prototype would still apply. */
8334 rm -f conftest.
$ac_objext conftest
$ac_exeext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8336 (eval $ac_link) 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; } &&
8349 { ac_try
='test -s conftest$ac_exeext'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; }; then
8355 ac_cv_search_opendir
="none required"
8357 echo "$as_me: failed program was:" >&5
8358 sed 's/^/| /' conftest.
$ac_ext >&5
8361 rm -f conftest.err conftest.
$ac_objext \
8362 conftest
$ac_exeext conftest.
$ac_ext
8363 if test "$ac_cv_search_opendir" = no
; then
8365 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8366 cat >conftest.
$ac_ext <<_ACEOF
8369 cat confdefs.h
>>conftest.
$ac_ext
8370 cat >>conftest.
$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8373 /* Override any gcc2 internal prototype to avoid an error. */
8377 /* We use char because int might match the return type of a gcc2
8378 builtin and then its argument prototype would still apply. */
8388 rm -f conftest.
$ac_objext conftest
$ac_exeext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8390 (eval $ac_link) 2>conftest.er1
8392 grep -v '^ *+' conftest.er1
>conftest.err
8394 cat conftest.err
>&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } &&
8397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; } &&
8403 { ac_try
='test -s conftest$ac_exeext'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; }; then
8409 ac_cv_search_opendir
="-l$ac_lib"
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.
$ac_ext >&5
8416 rm -f conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8420 LIBS
=$ac_func_search_save_LIBS
8422 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8423 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8424 if test "$ac_cv_search_opendir" != no
; then
8425 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8433 echo "$as_me:$LINENO: checking for struct termios" >&5
8434 echo $ECHO_N "checking for struct termios... $ECHO_C" >&6
8435 if test "${ac_cv_termios_struct+set}" = set; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 cat >conftest.
$ac_ext <<_ACEOF
8441 cat confdefs.h
>>conftest.
$ac_ext
8442 cat >>conftest.
$ac_ext <<_ACEOF
8443 /* end confdefs.h. */
8444 #include <sys/types.h>
8445 #include <sys/termios.h>
8449 static struct termios x;
8459 rm -f conftest.
$ac_objext
8460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8461 (eval $ac_compile) 2>conftest.er1
8463 grep -v '^ *+' conftest.er1
>conftest.err
8465 cat conftest.err
>&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); } &&
8468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; } &&
8474 { ac_try
='test -s conftest.$ac_objext'
8475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); }; }; then
8480 ac_cv_termios_struct
=yes
8482 echo "$as_me: failed program was:" >&5
8483 sed 's/^/| /' conftest.
$ac_ext >&5
8485 ac_cv_termios_struct
=no
8487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8490 echo "$as_me:$LINENO: result: $ac_cv_termios_struct" >&5
8491 echo "${ECHO_T}$ac_cv_termios_struct" >&6
8492 if test $ac_cv_termios_struct = yes; then
8493 sim_termio
="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
8496 if test "$ac_cv_termios_struct" = "yes"; then
8497 echo "$as_me:$LINENO: checking for c_line field in struct termios" >&5
8498 echo $ECHO_N "checking for c_line field in struct termios... $ECHO_C" >&6
8499 if test "${ac_cv_termios_cline+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 cat >conftest.
$ac_ext <<_ACEOF
8505 cat confdefs.h
>>conftest.
$ac_ext
8506 cat >>conftest.
$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 #include <sys/types.h>
8509 #include <sys/termios.h>
8513 static struct termios x; x.c_line = 0;
8518 rm -f conftest.
$ac_objext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8520 (eval $ac_compile) 2>conftest.er1
8522 grep -v '^ *+' conftest.er1
>conftest.err
8524 cat conftest.err
>&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try
='test -s conftest.$ac_objext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 ac_cv_termios_cline
=yes
8541 echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.
$ac_ext >&5
8544 ac_cv_termios_cline
=no
8546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8550 echo "$as_me:$LINENO: result: $ac_cv_termios_cline" >&5
8551 echo "${ECHO_T}$ac_cv_termios_cline" >&6
8552 if test $ac_cv_termios_cline = yes; then
8553 sim_termio
="$sim_termio -DHAVE_TERMIOS_CLINE"
8556 ac_cv_termios_cline
=no
8559 if test "$ac_cv_termios_struct" != "yes"; then
8560 echo "$as_me:$LINENO: checking for struct termio" >&5
8561 echo $ECHO_N "checking for struct termio... $ECHO_C" >&6
8562 if test "${ac_cv_termio_struct+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 cat >conftest.
$ac_ext <<_ACEOF
8568 cat confdefs.h
>>conftest.
$ac_ext
8569 cat >>conftest.
$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8571 #include <sys/types.h>
8572 #include <sys/termio.h>
8576 static struct termio x;
8586 rm -f conftest.
$ac_objext
8587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8588 (eval $ac_compile) 2>conftest.er1
8590 grep -v '^ *+' conftest.er1
>conftest.err
8592 cat conftest.err
>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } &&
8595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; } &&
8601 { ac_try
='test -s conftest.$ac_objext'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; }; then
8607 ac_cv_termio_struct
=yes
8609 echo "$as_me: failed program was:" >&5
8610 sed 's/^/| /' conftest.
$ac_ext >&5
8612 ac_cv_termio_struct
=no
8614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8617 echo "$as_me:$LINENO: result: $ac_cv_termio_struct" >&5
8618 echo "${ECHO_T}$ac_cv_termio_struct" >&6
8619 if test $ac_cv_termio_struct = yes; then
8620 sim_termio
="$sim_termio -DHAVE_TERMIO_STRUCTURE"
8623 ac_cv_termio_struct
=no
8626 if test "$ac_cv_termio_struct" = "yes"; then
8627 echo "$as_me:$LINENO: checking for c_line field in struct termio" >&5
8628 echo $ECHO_N "checking for c_line field in struct termio... $ECHO_C" >&6
8629 if test "${ac_cv_termio_cline+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 cat >conftest.
$ac_ext <<_ACEOF
8635 cat confdefs.h
>>conftest.
$ac_ext
8636 cat >>conftest.
$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8638 #include <sys/types.h>
8639 #include <sys/termio.h>
8643 static struct termio x; x.c_line = 0;
8648 rm -f conftest.
$ac_objext
8649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8650 (eval $ac_compile) 2>conftest.er1
8652 grep -v '^ *+' conftest.er1
>conftest.err
8654 cat conftest.err
>&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } &&
8657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try
='test -s conftest.$ac_objext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_cv_termio_cline
=yes
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.
$ac_ext >&5
8674 ac_cv_termio_cline
=no
8676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8680 echo "$as_me:$LINENO: result: $ac_cv_termio_cline" >&5
8681 echo "${ECHO_T}$ac_cv_termio_cline" >&6
8682 if test $ac_cv_termio_cline = yes; then
8683 sim_termio
="$sim_termio -DHAVE_TERMIO_CLINE"
8686 ac_cv_termio_cline
=no
8689 echo "$as_me:$LINENO: checking for struct statfs" >&5
8690 echo $ECHO_N "checking for struct statfs... $ECHO_C" >&6
8691 if test "${ac_cv_struct_statfs+set}" = set; then
8692 echo $ECHO_N "(cached) $ECHO_C" >&6
8694 cat >conftest.
$ac_ext <<_ACEOF
8697 cat confdefs.h
>>conftest.
$ac_ext
8698 cat >>conftest.
$ac_ext <<_ACEOF
8699 /* end confdefs.h. */
8700 #include <sys/types.h>
8701 #ifdef HAVE_SYS_PARAM_H
8702 #include <sys/param.h>
8704 #ifdef HAVE_SYS_MOUNT_H
8705 #include <sys/mount.h>
8707 #ifdef HAVE_SYS_VFS_H
8708 #include <sys/vfs.h>
8710 #ifdef HAVE_SYS_STATFS_H
8711 #include <sys/statfs.h>
8716 static struct statfs s;
8721 rm -f conftest.
$ac_objext
8722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8723 (eval $ac_compile) 2>conftest.er1
8725 grep -v '^ *+' conftest.er1
>conftest.err
8727 cat conftest.err
>&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); } &&
8730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); }; } &&
8736 { ac_try
='test -s conftest.$ac_objext'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; }; then
8742 ac_cv_struct_statfs
=yes
8744 echo "$as_me: failed program was:" >&5
8745 sed 's/^/| /' conftest.
$ac_ext >&5
8747 ac_cv_struct_statfs
=no
8749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8752 echo "$as_me:$LINENO: result: $ac_cv_struct_statfs" >&5
8753 echo "${ECHO_T}$ac_cv_struct_statfs" >&6
8754 if test $ac_cv_struct_statfs = yes; then
8756 cat >>confdefs.h
<<\_ACEOF
8757 #define HAVE_STRUCT_STATFS 1
8762 echo "$as_me:$LINENO: checking for long long" >&5
8763 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8764 if test "${ac_cv_type_long_long+set}" = set; then
8765 echo $ECHO_N "(cached) $ECHO_C" >&6
8767 cat >conftest.
$ac_ext <<_ACEOF
8770 cat confdefs.h
>>conftest.
$ac_ext
8771 cat >>conftest.
$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8773 $ac_includes_default
8777 if ((long long *) 0)
8779 if (sizeof (long long))
8785 rm -f conftest.
$ac_objext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787 (eval $ac_compile) 2>conftest.er1
8789 grep -v '^ *+' conftest.er1
>conftest.err
8791 cat conftest.err
>&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); }; } &&
8800 { ac_try
='test -s conftest.$ac_objext'
8801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); }; }; then
8806 ac_cv_type_long_long
=yes
8808 echo "$as_me: failed program was:" >&5
8809 sed 's/^/| /' conftest.
$ac_ext >&5
8811 ac_cv_type_long_long
=no
8813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8815 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8816 echo "${ECHO_T}$ac_cv_type_long_long" >&6
8817 if test $ac_cv_type_long_long = yes; then
8819 cat >>confdefs.h
<<_ACEOF
8820 #define HAVE_LONG_LONG 1
8828 echo "$as_me:$LINENO: checking for /dev/zero" >&5
8829 echo $ECHO_N "checking for /dev/zero... $ECHO_C" >&6
8830 if test "${ac_cv_devzero+set}" = set; then
8831 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 if test "$cross_compiling" = yes; then
8836 cat >conftest.
$ac_ext <<_ACEOF
8839 cat confdefs.h
>>conftest.
$ac_ext
8840 cat >>conftest.
$ac_ext <<_ACEOF
8841 /* end confdefs.h. */
8846 int fd = open ("/dev/zero", O_RDONLY);
8849 for (i = 0; i < sizeof (buf); i++)
8851 if (read (fd, buf, sizeof (buf)) != sizeof (buf))
8853 for (i = 0; i < sizeof (buf); i++)
8859 rm -f conftest
$ac_exeext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8861 (eval $ac_link) 2>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8872 echo "$as_me: program exited with status $ac_status" >&5
8873 echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.
$ac_ext >&5
8879 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8883 echo "$as_me:$LINENO: result: $ac_cv_devzero" >&5
8884 echo "${ECHO_T}$ac_cv_devzero" >&6
8885 if test $ac_cv_devzero = yes; then
8886 sim_devzero
="-DHAVE_DEVZERO"
8891 echo "$as_me:$LINENO: checking for common simulator directory" >&5
8892 echo $ECHO_N "checking for common simulator directory... $ECHO_C" >&6
8893 if test -f "${srcdir}/../common/callback.c"; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8896 sim_callback
="callback.o targ-map.o"
8897 sim_targ_vals
="targ-vals.h targ-map.c targ-vals.def"
8899 echo "$as_me:$LINENO: result: no" >&5
8900 echo "${ECHO_T}no" >&6
8905 echo "$as_me:$LINENO: checking for common simulator directory fpu implementation" >&5
8906 echo $ECHO_N "checking for common simulator directory fpu implementation... $ECHO_C" >&6
8907 if test -f "${srcdir}/../common/sim-fpu.c"; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8910 sim_fpu_cflags
="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8926 if test -n "$ac_tool_prefix"; then
8927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8928 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8929 echo "$as_me:$LINENO: checking for $ac_word" >&5
8930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8931 if test "${ac_cv_prog_RANLIB+set}" = set; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 if test -n "$RANLIB"; then
8935 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir
=.
8942 for ac_exec_ext
in '' $ac_executable_extensions; do
8943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8944 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8953 RANLIB
=$ac_cv_prog_RANLIB
8954 if test -n "$RANLIB"; then
8955 echo "$as_me:$LINENO: result: $RANLIB" >&5
8956 echo "${ECHO_T}$RANLIB" >&6
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8963 if test -z "$ac_cv_prog_RANLIB"; then
8964 ac_ct_RANLIB
=$RANLIB
8965 # Extract the first word of "ranlib", so it can be a program name with args.
8966 set dummy ranlib
; ac_word
=$2
8967 echo "$as_me:$LINENO: checking for $ac_word" >&5
8968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 if test -n "$ac_ct_RANLIB"; then
8973 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8979 test -z "$as_dir" && as_dir
=.
8980 for ac_exec_ext
in '' $ac_executable_extensions; do
8981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8982 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8989 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8992 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8993 if test -n "$ac_ct_RANLIB"; then
8994 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8995 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8997 echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6
9001 RANLIB
=$ac_ct_RANLIB
9003 RANLIB
="$ac_cv_prog_RANLIB"
9051 ac_config_files
="$ac_config_files Makefile"
9052 ac_config_commands
="$ac_config_commands default"
9053 cat >confcache
<<\_ACEOF
9054 # This file is a shell script that caches the results of configure
9055 # tests run on this system so they can be shared between configure
9056 # scripts and configure runs, see configure's option --config-cache.
9057 # It is not useful on other systems. If it contains results you don't
9058 # want to keep, you may remove or edit it.
9060 # config.status only pays attention to the cache file if you give it
9061 # the --recheck option to rerun configure.
9063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9069 # The following way of writing the cache mishandles newlines in values,
9070 # but we know of no workaround that is simple, portable, and efficient.
9071 # So, don't put newlines in cache variables' values.
9072 # Ultrix sh set writes to stderr and can't be redirected directly,
9073 # and sets the high bit in the cache file unless we assign to the vars.
9076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9078 # `set' does not quote correctly, so add quotes (double-quote
9079 # substitution turns \\\\ into \\, and sed turns \\ into \).
9082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9085 # `set' quotes correctly as required by POSIX, so do not add quotes.
9087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9098 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9099 if test -w $cache_file; then
9100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9101 cat confcache
>$cache_file
9103 echo "not updating unwritable cache $cache_file"
9108 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9109 # Let make expand exec_prefix.
9110 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9112 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9113 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9114 # trailing colons and then remove the whole line if VPATH becomes empty
9115 # (actually we leave an empty line to preserve line numbers).
9116 if test "x$srcdir" = x.
; then
9117 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9118 s/:*\$(srcdir):*/:/;
9119 s/:*\${srcdir}:*/:/;
9121 s/^\([^=]*=[ ]*\):*/\1/;
9127 DEFS
=-DHAVE_CONFIG_H
9131 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9132 # 1. Remove the extension, and $U if already installed.
9133 ac_i
=`echo "$ac_i" |
9134 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9136 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9137 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9141 LTLIBOBJS
=$ac_ltlibobjs
9145 : ${CONFIG_STATUS=./config.status}
9146 ac_clean_files_save
=$ac_clean_files
9147 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9148 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9149 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9150 cat >$CONFIG_STATUS <<_ACEOF
9152 # Generated by $as_me.
9153 # Run this file to recreate the current configuration.
9154 # Compiler output produced by configure, useful for debugging
9155 # configure, is in config.log if it exists.
9160 SHELL=\${CONFIG_SHELL-$SHELL}
9163 cat >>$CONFIG_STATUS <<\_ACEOF
9164 ## --------------------- ##
9165 ## M4sh Initialization. ##
9166 ## --------------------- ##
9168 # Be Bourne compatible
9169 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9172 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9173 # is contrary to our usage. Disable this feature.
9174 alias -g '${1+"$@"}'='"$@"'
9175 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9178 DUALCASE
=1; export DUALCASE
# for MKS sh
9180 # Support unset when possible.
9181 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9188 # Work around bugs in pre-3.0 UWIN ksh.
9189 $as_unset ENV MAIL MAILPATH
9196 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9197 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9198 LC_TELEPHONE LC_TIME
9200 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9201 eval $as_var=C
; export $as_var
9207 # Required to use basename.
9208 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9214 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9215 as_basename
=basename
9221 # Name of the executable.
9222 as_me
=`$as_basename "$0" ||
9223 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9224 X"$0" : 'X\(//\)$' \| \
9225 X"$0" : 'X\(/\)$' \| \
9226 . : '\(.\)' 2>/dev/null ||
9228 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9229 /^X\/\(\/\/\)$/{ s//\1/; q; }
9230 /^X\/\(\/\).*/{ s//\1/; q; }
9234 # PATH needs CR, and LINENO needs CR and PATH.
9235 # Avoid depending upon Character Ranges.
9236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9239 as_cr_digits
='0123456789'
9240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9242 # The user is always right.
9243 if test "${PATH_SEPARATOR+set}" != set; then
9244 echo "#! /bin/sh" >conf$$.sh
9245 echo "exit 0" >>conf$$.sh
9247 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9258 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9259 test "x$as_lineno_1" != "x$as_lineno_2" &&
9260 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9261 # Find who we are. Look in the path if we contain no path at all
9264 *[\\/]* ) as_myself
=$0 ;;
9265 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9269 test -z "$as_dir" && as_dir
=.
9270 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9275 # We did not find ourselves, most probably we were run as `sh COMMAND'
9276 # in which case we are not to be found in the path.
9277 if test "x$as_myself" = x
; then
9280 if test ! -f "$as_myself"; then
9281 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9282 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9283 { (exit 1); exit 1; }; }
9285 case $CONFIG_SHELL in
9287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9288 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9291 test -z "$as_dir" && as_dir
=.
9292 for as_base
in sh bash ksh sh5
; do
9295 if ("$as_dir/$as_base" -c '
9298 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9299 test "x$as_lineno_1" != "x$as_lineno_2" &&
9300 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9301 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9302 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9303 CONFIG_SHELL
=$as_dir/$as_base
9305 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9313 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9314 # uniformly replaced by the line number. The first 'sed' inserts a
9315 # line-number line before each line; the second 'sed' does the real
9316 # work. The second script uses 'N' to pair each line-number line
9317 # with the numbered line, and appends trailing '-' during
9318 # substitution so that $LINENO is not a special case at line end.
9319 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9320 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9321 sed '=' <$as_myself |
9326 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9329 s,^['$as_cr_digits']*\n,,
9331 chmod +x
$as_me.lineno ||
9332 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9333 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9334 { (exit 1); exit 1; }; }
9336 # Don't try to exec as it changes $[0], causing all sort of problems
9337 # (the dirname of $[0] is not the place where we might find the
9338 # original and so on. Autoconf is especially sensible to this).
9340 # Exit status is that of the last command.
9345 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9346 *c
*,-n*) ECHO_N
= ECHO_C
='
9348 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9349 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9352 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9358 rm -f conf$$ conf$$.exe conf$$.
file
9360 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9361 # We could just check for DJGPP; but this test a) works b) is more generic
9362 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9363 if test -f conf$$.exe
; then
9364 # Don't use ln at all; we don't have any links
9369 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9374 rm -f conf$$ conf$$.exe conf$$.
file
9376 if mkdir
-p .
2>/dev
/null
; then
9379 test -d .
/-p && rmdir .
/-p
9383 as_executable_p
="test -f"
9385 # Sed expression to map a string onto a valid CPP name.
9386 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9388 # Sed expression to map a string onto a valid variable name.
9389 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9393 # We need space, tab and new line, in precisely that order.
9403 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9404 # report actual input values of CONFIG_FILES etc. instead of their
9405 # values after options handling. Logging --version etc. is OK.
9409 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9410 ## Running $as_me. ##
9415 This file was extended by $as_me, which was
9416 generated by GNU Autoconf 2.59. Invocation command line was
9418 CONFIG_FILES = $CONFIG_FILES
9419 CONFIG_HEADERS = $CONFIG_HEADERS
9420 CONFIG_LINKS = $CONFIG_LINKS
9421 CONFIG_COMMANDS = $CONFIG_COMMANDS
9425 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9429 # Files that config.status was made for.
9430 if test -n "$ac_config_files"; then
9431 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9434 if test -n "$ac_config_headers"; then
9435 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9438 if test -n "$ac_config_links"; then
9439 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9442 if test -n "$ac_config_commands"; then
9443 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9446 cat >>$CONFIG_STATUS <<\_ACEOF
9449 \`$as_me' instantiates files from templates according to the
9450 current configuration.
9452 Usage: $0 [OPTIONS] [FILE]...
9454 -h, --help print this help, then exit
9455 -V, --version print version number, then exit
9456 -q, --quiet do not print progress messages
9457 -d, --debug don't remove temporary files
9458 --recheck update $as_me by reconfiguring in the same conditions
9459 --file=FILE[:TEMPLATE]
9460 instantiate the configuration file FILE
9461 --header=FILE[:TEMPLATE]
9462 instantiate the configuration header FILE
9464 Configuration files:
9467 Configuration headers:
9470 Configuration commands:
9473 Report bugs to <bug-autoconf@gnu.org>."
9476 cat >>$CONFIG_STATUS <<_ACEOF
9479 configured by $0, generated by GNU Autoconf 2.59,
9480 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9482 Copyright (C) 2003 Free Software Foundation, Inc.
9483 This config.status script is free software; the Free Software Foundation
9484 gives unlimited permission to copy, distribute and modify it."
9489 cat >>$CONFIG_STATUS <<\_ACEOF
9490 # If no file are specified by the user, then we need to provide default
9491 # value. By we need to know if files were specified by the user.
9497 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9498 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9506 *) # This is not an option, so the user has probably given explicit
9509 ac_need_defaults
=false
;;
9513 # Handling of the options.
9515 cat >>$CONFIG_STATUS <<\_ACEOF
9516 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9518 --version |
--vers* |
-V )
9519 echo "$ac_cs_version"; exit 0 ;;
9521 # Conflict between --help and --header
9522 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9523 Try \`$0 --help' for more information." >&5
9524 echo "$as_me: error: ambiguous option: $1
9525 Try \`$0 --help' for more information." >&2;}
9526 { (exit 1); exit 1; }; };;
9527 --help |
--hel |
-h )
9528 echo "$ac_cs_usage"; exit 0 ;;
9529 --debug |
--d* |
-d )
9531 --file |
--fil |
--fi |
--f )
9533 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9534 ac_need_defaults
=false
;;
9535 --header |
--heade |
--head |
--hea )
9537 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9538 ac_need_defaults
=false
;;
9539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9540 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9544 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9545 Try \`$0 --help' for more information." >&5
9546 echo "$as_me: error: unrecognized option: $1
9547 Try \`$0 --help' for more information." >&2;}
9548 { (exit 1); exit 1; }; } ;;
9550 *) ac_config_targets
="$ac_config_targets $1" ;;
9556 ac_configure_extra_args
=
9558 if $ac_cs_silent; then
9560 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9564 cat >>$CONFIG_STATUS <<_ACEOF
9565 if \$ac_cs_recheck; then
9566 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9567 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9576 cat >>$CONFIG_STATUS <<\_ACEOF
9577 for ac_config_target
in $ac_config_targets
9579 case "$ac_config_target" in
9580 # Handling of arguments.
9581 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9582 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9583 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9586 { (exit 1); exit 1; }; };;
9590 # If the user did not use the arguments to specify the items to instantiate,
9591 # then the envvar interface is used. Set only those that are not.
9592 # We use the long form for the default assignment because of an extremely
9593 # bizarre bug on SunOS 4.1.3.
9594 if $ac_need_defaults; then
9595 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9596 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9597 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9600 # Have a temporary directory for convenience. Make it in the build tree
9601 # simply because there is no reason to put it here, and in addition,
9602 # creating and moving files from /tmp can sometimes cause problems.
9603 # Create a temporary directory, and hook for its removal unless debugging.
9606 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9607 trap '{ (exit 1); exit 1; }' 1 2 13 15
9610 # Create a (secure) tmp directory for tmp files.
9613 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9614 test -n "$tmp" && test -d "$tmp"
9617 tmp
=.
/confstat$$
-$RANDOM
9618 (umask 077 && mkdir
$tmp)
9621 echo "$me: cannot create a temporary directory in ." >&2
9622 { (exit 1); exit 1; }
9627 cat >>$CONFIG_STATUS <<_ACEOF
9630 # CONFIG_FILES section.
9633 # No need to generate the scripts if there are no CONFIG_FILES.
9634 # This happens for instance when ./config.status config.h
9635 if test -n "\$CONFIG_FILES"; then
9636 # Protect against being on the right side of a sed subst in config.status.
9637 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9638 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9639 s,@sim_environment@,$sim_environment,;t t
9640 s,@sim_alignment@,$sim_alignment,;t t
9641 s,@sim_assert@,$sim_assert,;t t
9642 s,@sim_bitsize@,$sim_bitsize,;t t
9643 s,@sim_endian@,$sim_endian,;t t
9644 s,@sim_hostendian@,$sim_hostendian,;t t
9645 s,@sim_float@,$sim_float,;t t
9646 s,@sim_scache@,$sim_scache,;t t
9647 s,@sim_default_model@,$sim_default_model,;t t
9648 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
9649 s,@sim_hw_objs@,$sim_hw_objs,;t t
9650 s,@sim_hw@,$sim_hw,;t t
9651 s,@sim_inline@,$sim_inline,;t t
9652 s,@sim_packages@,$sim_packages,;t t
9653 s,@sim_regparm@,$sim_regparm,;t t
9654 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
9655 s,@sim_smp@,$sim_smp,;t t
9656 s,@sim_stdcall@,$sim_stdcall,;t t
9657 s,@sim_xor_endian@,$sim_xor_endian,;t t
9658 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9659 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9660 s,@SHELL@,$SHELL,;t t
9661 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9662 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9663 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9664 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9665 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9666 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9667 s,@exec_prefix@,$exec_prefix,;t t
9668 s,@prefix@,$prefix,;t t
9669 s,@program_transform_name@,$program_transform_name,;t t
9670 s,@bindir@,$bindir,;t t
9671 s,@sbindir@,$sbindir,;t t
9672 s,@libexecdir@,$libexecdir,;t t
9673 s,@datadir@,$datadir,;t t
9674 s,@sysconfdir@,$sysconfdir,;t t
9675 s,@sharedstatedir@,$sharedstatedir,;t t
9676 s,@localstatedir@,$localstatedir,;t t
9677 s,@libdir@,$libdir,;t t
9678 s,@includedir@,$includedir,;t t
9679 s,@oldincludedir@,$oldincludedir,;t t
9680 s,@infodir@,$infodir,;t t
9681 s,@mandir@,$mandir,;t t
9682 s,@build_alias@,$build_alias,;t t
9683 s,@host_alias@,$host_alias,;t t
9684 s,@target_alias@,$target_alias,;t t
9686 s,@ECHO_C@,$ECHO_C,;t t
9687 s,@ECHO_N@,$ECHO_N,;t t
9688 s,@ECHO_T@,$ECHO_T,;t t
9690 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9691 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9692 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9694 s,@CFLAGS@,$CFLAGS,;t t
9695 s,@LDFLAGS@,$LDFLAGS,;t t
9696 s,@CPPFLAGS@,$CPPFLAGS,;t t
9697 s,@ac_ct_CC@,$ac_ct_CC,;t t
9698 s,@EXEEXT@,$EXEEXT,;t t
9699 s,@OBJEXT@,$OBJEXT,;t t
9700 s,@SET_MAKE@,$SET_MAKE,;t t
9701 s,@RANLIB@,$RANLIB,;t t
9702 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9704 s,@EGREP@,$EGREP,;t t
9705 s,@ALLOCA@,$ALLOCA,;t t
9706 s,@USE_NLS@,$USE_NLS,;t t
9707 s,@MSGFMT@,$MSGFMT,;t t
9708 s,@GMSGFMT@,$GMSGFMT,;t t
9709 s,@XGETTEXT@,$XGETTEXT,;t t
9710 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9711 s,@CATALOGS@,$CATALOGS,;t t
9712 s,@CATOBJEXT@,$CATOBJEXT,;t t
9713 s,@DATADIRNAME@,$DATADIRNAME,;t t
9714 s,@GMOFILES@,$GMOFILES,;t t
9715 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9716 s,@INTLDEPS@,$INTLDEPS,;t t
9717 s,@INTLLIBS@,$INTLLIBS,;t t
9718 s,@INTLOBJS@,$INTLOBJS,;t t
9719 s,@POFILES@,$POFILES,;t t
9720 s,@POSUB@,$POSUB,;t t
9721 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9722 s,@GT_NO@,$GT_NO,;t t
9723 s,@GT_YES@,$GT_YES,;t t
9724 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9726 s,@build@,$build,;t t
9727 s,@build_cpu@,$build_cpu,;t t
9728 s,@build_vendor@,$build_vendor,;t t
9729 s,@build_os@,$build_os,;t t
9731 s,@host_cpu@,$host_cpu,;t t
9732 s,@host_vendor@,$host_vendor,;t t
9733 s,@host_os@,$host_os,;t t
9734 s,@target@,$target,;t t
9735 s,@target_cpu@,$target_cpu,;t t
9736 s,@target_vendor@,$target_vendor,;t t
9737 s,@target_os@,$target_os,;t t
9738 s,@LIBOBJS@,$LIBOBJS,;t t
9739 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9740 s,@HDEFINES@,$HDEFINES,;t t
9742 s,@sim_cflags@,$sim_cflags,;t t
9743 s,@sim_warnings@,$sim_warnings,;t t
9744 s,@sim_line_nr@,$sim_line_nr,;t t
9745 s,@sim_config@,$sim_config,;t t
9746 s,@sim_opcode@,$sim_opcode,;t t
9747 s,@sim_switch@,$sim_switch,;t t
9748 s,@sim_dup@,$sim_dup,;t t
9749 s,@sim_decode_mechanism@,$sim_decode_mechanism,;t t
9750 s,@sim_jump@,$sim_jump,;t t
9751 s,@sim_filter@,$sim_filter,;t t
9752 s,@sim_icache@,$sim_icache,;t t
9753 s,@sim_hw_src@,$sim_hw_src,;t t
9754 s,@sim_hw_obj@,$sim_hw_obj,;t t
9755 s,@sim_pk_src@,$sim_pk_src,;t t
9756 s,@sim_pk_obj@,$sim_pk_obj,;t t
9757 s,@sim_bswap@,$sim_bswap,;t t
9758 s,@sim_igen_smp@,$sim_igen_smp,;t t
9759 s,@sim_hostbitsize@,$sim_hostbitsize,;t t
9760 s,@sim_env@,$sim_env,;t t
9761 s,@sim_timebase@,$sim_timebase,;t t
9762 s,@sim_trace@,$sim_trace,;t t
9763 s,@sim_reserved@,$sim_reserved,;t t
9764 s,@sim_monitor@,$sim_monitor,;t t
9765 s,@sim_model@,$sim_model,;t t
9766 s,@sim_model_issue@,$sim_model_issue,;t t
9767 s,@sim_stdio@,$sim_stdio,;t t
9768 s,@sim_termio@,$sim_termio,;t t
9769 s,@sim_devzero@,$sim_devzero,;t t
9770 s,@sim_callback@,$sim_callback,;t t
9771 s,@sim_targ_vals@,$sim_targ_vals,;t t
9772 s,@sim_fpu_cflags@,$sim_fpu_cflags,;t t
9773 s,@sim_fpu@,$sim_fpu,;t t
9774 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9779 cat >>$CONFIG_STATUS <<\_ACEOF
9780 # Split the substitutions into bite-sized pieces for seds with
9781 # small command number limits, like on Digital OSF/1 and HP-UX.
9783 ac_sed_frag
=1 # Number of current file.
9784 ac_beg
=1 # First line for current file.
9785 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9788 while $ac_more_lines; do
9789 if test $ac_beg -gt 1; then
9790 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9792 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9794 if test ! -s $tmp/subs.frag
; then
9797 # The purpose of the label and of the branching condition is to
9798 # speed up the sed processing (if there are no `@' at all, there
9799 # is no need to browse any of the substitutions).
9800 # These are the two extra sed commands mentioned above.
9802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9803 if test -z "$ac_sed_cmds"; then
9804 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9806 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9808 ac_sed_frag
=`expr $ac_sed_frag + 1`
9810 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9813 if test -z "$ac_sed_cmds"; then
9816 fi # test -n "$CONFIG_FILES"
9819 cat >>$CONFIG_STATUS <<\_ACEOF
9820 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9821 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9823 - |
*:- |
*:-:* ) # input from stdin
9825 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9826 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9827 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9828 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9829 * ) ac_file_in
=$ac_file.
in ;;
9832 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9833 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9835 X"$ac_file" : 'X\(//\)[^/]' \| \
9836 X"$ac_file" : 'X\(//\)$' \| \
9837 X"$ac_file" : 'X\(/\)' \| \
9838 . : '\(.\)' 2>/dev/null ||
9840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9842 /^X\(\/\/\)$/{ s//\1/; q; }
9843 /^X\(\/\).*/{ s//\1/; q; }
9845 { if $as_mkdir_p; then
9850 while test ! -d "$as_dir"; do
9851 as_dirs
="$as_dir $as_dirs"
9852 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9854 X"$as_dir" : 'X\(//\)[^/]' \| \
9855 X"$as_dir" : 'X\(//\)$' \| \
9856 X"$as_dir" : '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; }
9865 test ! -n "$as_dirs" || mkdir
$as_dirs
9866 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9867 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9868 { (exit 1); exit 1; }; }; }
9872 if test "$ac_dir" != .
; then
9873 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9874 # A "../" for each directory in $ac_dir_suffix.
9875 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9877 ac_dir_suffix
= ac_top_builddir
=
9881 .
) # No --srcdir option. We are building in place.
9883 if test -z "$ac_top_builddir"; then
9886 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9888 [\\/]* | ?
:[\\/]* ) # Absolute path.
9889 ac_srcdir
=$srcdir$ac_dir_suffix;
9890 ac_top_srcdir
=$srcdir ;;
9892 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9893 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9896 # Do not use `cd foo && pwd` to compute absolute paths, because
9897 # the directories may not exist.
9899 .
) ac_abs_builddir
="$ac_dir";;
9902 .
) ac_abs_builddir
=`pwd`;;
9903 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9904 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9907 case $ac_abs_builddir in
9908 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9910 case ${ac_top_builddir}.
in
9911 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9912 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9913 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9916 case $ac_abs_builddir in
9917 .
) ac_abs_srcdir
=$ac_srcdir;;
9920 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9921 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9922 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9925 case $ac_abs_builddir in
9926 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9928 case $ac_top_srcdir in
9929 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9930 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9931 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9937 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9938 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9941 # Let's still pretend it is `configure' which instantiates (i.e., don't
9942 # use $as_me), people would be surprised to read:
9943 # /* config.h. Generated by config.status. */
9944 if test x
"$ac_file" = x-
; then
9947 configure_input
="$ac_file. "
9949 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9950 sed 's,.*/,,'` by configure."
9952 # First look for the input files in the build tree, otherwise in the
9954 ac_file_inputs
=`IFS=:
9955 for f in $ac_file_in; do
9957 -) echo $tmp/stdin ;;
9959 # Absolute (can't be DOS-style, as IFS=:)
9960 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9961 echo "$as_me: error: cannot find input file: $f" >&2;}
9962 { (exit 1); exit 1; }; }
9965 if test -f "$f"; then
9968 elif test -f "$srcdir/$f"; then
9973 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9974 echo "$as_me: error: cannot find input file: $f" >&2;}
9975 { (exit 1); exit 1; }; }
9978 done` ||
{ (exit 1); exit 1; }
9980 if test x
"$ac_file" != x-
; then
9981 { echo "$as_me:$LINENO: creating $ac_file" >&5
9982 echo "$as_me: creating $ac_file" >&6;}
9986 cat >>$CONFIG_STATUS <<_ACEOF
9990 cat >>$CONFIG_STATUS <<\_ACEOF
9992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9993 s
,@configure_input@
,$configure_input,;t t
9994 s
,@srcdir@
,$ac_srcdir,;t t
9995 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9996 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9997 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9998 s
,@builddir@
,$ac_builddir,;t t
9999 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10000 s
,@top_builddir@
,$ac_top_builddir,;t t
10001 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10002 s
,@INSTALL@
,$ac_INSTALL,;t t
10003 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10005 if test x"$ac_file" != x-; then
10006 mv $tmp/out $ac_file
10014 cat >>$CONFIG_STATUS <<\_ACEOF
10017 # CONFIG_HEADER section.
10020 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10021 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10023 # ac_d sets the value in "#define NAME VALUE" lines.
10024 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10025 ac_dB
='[ ].*$,\1#\2'
10028 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10029 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10030 ac_uB
='$,\1#\2define\3'
10034 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10035 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10037 - |
*:- |
*:-:* ) # input from stdin
10039 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10040 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10041 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10042 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10043 * ) ac_file_in
=$ac_file.
in ;;
10046 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10047 echo "$as_me: creating $ac_file" >&6;}
10049 # First look for the input files in the build tree, otherwise in the
10051 ac_file_inputs
=`IFS=:
10052 for f in $ac_file_in; do
10054 -) echo $tmp/stdin ;;
10056 # Absolute (can't be DOS-style, as IFS=:)
10057 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10058 echo "$as_me: error: cannot find input file: $f" >&2;}
10059 { (exit 1); exit 1; }; }
10060 # Do quote $f, to prevent DOS paths from being IFS'd.
10063 if test -f "$f"; then
10066 elif test -f "$srcdir/$f"; then
10071 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10072 echo "$as_me: error: cannot find input file: $f" >&2;}
10073 { (exit 1); exit 1; }; }
10076 done` ||
{ (exit 1); exit 1; }
10077 # Remove the trailing spaces.
10078 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10082 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10083 # `conftest.undefs', that substitutes the proper values into
10084 # config.h.in to produce config.h. The first handles `#define'
10085 # templates, and the second `#undef' templates.
10086 # And first: Protect against being on the right side of a sed subst in
10087 # config.status. Protect against being in an unquoted here document
10088 # in config.status.
10089 rm -f conftest.defines conftest.undefs
10090 # Using a here document instead of a string reduces the quoting nightmare.
10091 # Putting comments in sed scripts is not portable.
10093 # `end' is used to avoid that the second main sed command (meant for
10094 # 0-ary CPP macros) applies to n-ary macro definitions.
10095 # See the Autoconf documentation for `clear'.
10096 cat >confdef2sed.
sed <<\_ACEOF
10101 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10103 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10106 # If some macros were called several times there might be several times
10107 # the same #defines, which is useless. Nevertheless, we may not want to
10108 # sort them, since we want the *last* AC-DEFINE to be honored.
10109 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10110 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10111 rm -f confdef2sed.sed
10113 # This sed command replaces #undef with comments. This is necessary, for
10114 # example, in the case of _POSIX_SOURCE, which is predefined and required
10115 # on some systems where configure will not decide to define it.
10116 cat >>conftest.undefs <<\_ACEOF
10117 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10120 # Break up conftest.defines because some shells have a limit on the size
10121 # of here documents, and old seds have small limits too (100 cmds).
10122 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10123 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10124 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10125 echo ' :' >>$CONFIG_STATUS
10126 rm -f conftest.tail
10127 while grep . conftest.defines >/dev/null
10129 # Write a limited-size here document to $tmp/defines.sed.
10130 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10131 # Speed up: don't consider the non `#define' lines.
10132 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10133 # Work around the forget-to-reset-the-flag bug.
10134 echo 't clr' >>$CONFIG_STATUS
10135 echo ': clr' >>$CONFIG_STATUS
10136 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10138 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10140 mv $tmp/out $tmp/in
10142 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10143 rm -f conftest.defines
10144 mv conftest.
tail conftest.defines
10146 rm -f conftest.defines
10147 echo ' fi # grep' >>$CONFIG_STATUS
10148 echo >>$CONFIG_STATUS
10150 # Break up conftest.undefs because some shells have a limit on the size
10151 # of here documents, and old seds have small limits too (100 cmds).
10152 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10153 rm -f conftest.
tail
10154 while grep . conftest.undefs
>/dev
/null
10156 # Write a limited-size here document to $tmp/undefs.sed.
10157 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10158 # Speed up: don't consider the non
`#undef'
10159 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10160 # Work around the forget-to-reset-the-flag bug.
10161 echo 't clr' >>$CONFIG_STATUS
10162 echo ': clr' >>$CONFIG_STATUS
10163 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10165 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10167 mv $tmp/out $tmp/in
10169 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10170 rm -f conftest.undefs
10171 mv conftest.tail conftest.undefs
10173 rm -f conftest.undefs
10175 cat >>$CONFIG_STATUS <<\_ACEOF
10176 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10177 # use $as_me), people would be surprised to read:
10178 # /* config.h. Generated by config.status. */
10179 if test x
"$ac_file" = x-
; then
10180 echo "/* Generated by configure. */" >$tmp/config.h
10182 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10184 cat $tmp/in >>$tmp/config.h
10186 if test x
"$ac_file" != x-
; then
10187 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10188 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10189 echo "$as_me: $ac_file is unchanged" >&6;}
10191 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10192 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10193 X"$ac_file" : 'X\(//\)[^/]' \| \
10194 X"$ac_file" : 'X\(//\)$' \| \
10195 X"$ac_file" : 'X\(/\)' \| \
10196 . : '\(.\)' 2>/dev/null ||
10198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10200 /^X\(\/\/\)$/{ s//\1/; q; }
10201 /^X\(\/\).*/{ s//\1/; q; }
10203 { if $as_mkdir_p; then
10208 while test ! -d "$as_dir"; do
10209 as_dirs
="$as_dir $as_dirs"
10210 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10212 X"$as_dir" : 'X\(//\)[^/]' \| \
10213 X"$as_dir" : 'X\(//\)$' \| \
10214 X"$as_dir" : 'X\(/\)' \| \
10215 . : '\(.\)' 2>/dev/null ||
10217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10219 /^X\(\/\/\)$/{ s//\1/; q; }
10220 /^X\(\/\).*/{ s//\1/; q; }
10223 test ! -n "$as_dirs" || mkdir
$as_dirs
10224 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10225 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10226 { (exit 1); exit 1; }; }; }
10229 mv $tmp/config.h
$ac_file
10233 rm -f $tmp/config.h
10237 cat >>$CONFIG_STATUS <<\_ACEOF
10240 # CONFIG_COMMANDS section.
10242 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10243 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10244 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10245 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10246 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10247 X"$ac_dest" : 'X\(//\)[^/]' \| \
10248 X"$ac_dest" : 'X\(//\)$' \| \
10249 X"$ac_dest" : 'X\(/\)' \| \
10250 . : '\(.\)' 2>/dev/null ||
10252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10254 /^X\(\/\/\)$/{ s//\1/; q; }
10255 /^X\(\/\).*/{ s//\1/; q; }
10257 { if $as_mkdir_p; then
10262 while test ! -d "$as_dir"; do
10263 as_dirs
="$as_dir $as_dirs"
10264 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10266 X"$as_dir" : 'X\(//\)[^/]' \| \
10267 X"$as_dir" : 'X\(//\)$' \| \
10268 X"$as_dir" : 'X\(/\)' \| \
10269 . : '\(.\)' 2>/dev/null ||
10271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10273 /^X\(\/\/\)$/{ s//\1/; q; }
10274 /^X\(\/\).*/{ s//\1/; q; }
10277 test ! -n "$as_dirs" || mkdir
$as_dirs
10278 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10279 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10280 { (exit 1); exit 1; }; }; }
10284 if test "$ac_dir" != .
; then
10285 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10286 # A "../" for each directory in $ac_dir_suffix.
10287 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10289 ac_dir_suffix
= ac_top_builddir
=
10293 .
) # No --srcdir option. We are building in place.
10295 if test -z "$ac_top_builddir"; then
10298 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10300 [\\/]* | ?
:[\\/]* ) # Absolute path.
10301 ac_srcdir
=$srcdir$ac_dir_suffix;
10302 ac_top_srcdir
=$srcdir ;;
10303 *) # Relative path.
10304 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10305 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10308 # Do not use `cd foo && pwd` to compute absolute paths, because
10309 # the directories may not exist.
10311 .
) ac_abs_builddir
="$ac_dir";;
10314 .
) ac_abs_builddir
=`pwd`;;
10315 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10316 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10319 case $ac_abs_builddir in
10320 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10322 case ${ac_top_builddir}.
in
10323 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10324 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10325 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10328 case $ac_abs_builddir in
10329 .
) ac_abs_srcdir
=$ac_srcdir;;
10332 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10333 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10334 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10337 case $ac_abs_builddir in
10338 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10340 case $ac_top_srcdir in
10341 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10342 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10343 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10348 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10349 echo "$as_me: executing $ac_dest commands" >&6;}
10351 default
) case x
$CONFIG_HEADERS in xconfig.h
:config.
in) echo > stamp-h
;; esac ;;
10356 cat >>$CONFIG_STATUS <<\_ACEOF
10358 { (exit 0); exit 0; }
10360 chmod +x
$CONFIG_STATUS
10361 ac_clean_files
=$ac_clean_files_save
10364 # configure is writing to config.log, and then calls config.status.
10365 # config.status does its own redirection, appending to config.log.
10366 # Unfortunately, on DOS this fails, as config.log is still kept open
10367 # by configure, so config.status won't be able to write to it; its
10368 # output is simply discarded. So we exec the FD to /dev/null,
10369 # effectively closing config.log, so it can be properly (re)opened and
10370 # appended to by config.status. When coming back to configure, we
10371 # need to make the FD available again.
10372 if test "$no_create" != yes; then
10374 ac_config_status_args
=
10375 test "$silent" = yes &&
10376 ac_config_status_args
="$ac_config_status_args --quiet"
10378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10381 # would make configure fail if this is the last instruction.
10382 $ac_cs_success ||
{ (exit 1); exit 1; }