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
='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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB SET_MAKE CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-nls do not use Native Language Support
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
861 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
862 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-included-gettext use the GNU
gettext library included here
869 Some influential environment variables
:
870 CC C compiler
command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
873 nonstandard directory
<lib dir
>
874 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
875 headers
in a nonstandard directory
<include dir
>
878 Use these variables to override the choices made by
`configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
896 ac_dir_suffix= ac_top_builddir=
900 .) # No --srcdir option. We are building in place.
902 if test -z "$ac_top_builddir"; then
905 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
915 # Do not use `cd foo
&& pwd` to compute absolute paths, because
916 # the directories may not exist.
918 .) ac_abs_builddir="$ac_dir";;
921 .) ac_abs_builddir=`pwd`;;
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
926 case $ac_abs_builddir in
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
929 case ${ac_top_builddir}. in
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
935 case $ac_abs_builddir in
936 .) ac_abs_srcdir=$ac_srcdir;;
939 .) ac_abs_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
944 case $ac_abs_builddir in
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
947 case $ac_top_srcdir in
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 # Check for guested configure; otherwise get Cygnus style configure.
956 if test -f $ac_srcdir/configure.gnu; then
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
959 elif test -f $ac_srcdir/configure; then
961 $SHELL $ac_srcdir/configure --help=recursive
962 elif test -f $ac_srcdir/configure.ac ||
963 test -f $ac_srcdir/configure.in; then
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 test -n "$ac_init_help" && exit 0
974 if $ac_init_version; then
977 Copyright (C) 2003 Free Software Foundation, Inc.
978 This configure script is free software; the Free Software Foundation
979 gives unlimited permission to copy, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by $as_me, which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1001 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1002 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1003 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1004 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1007 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1009 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1011 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1012 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1013 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1015 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next=false
1054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1058 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true; then
1066 ac_must_keep_next=false # Got value, back to normal.
1069 *=* | --config-cache | -C | -disable-* | --disable-* \
1070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072 | -with-* | --with-* | -without-* | --without-* | --x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next=true ;;
1080 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close
' the trap.
1095 trap 'exit_status
=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var
in $ac_subst_vars
1131 eval ac_val
=$
`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var
in $ac_subst_files
1145 eval ac_val
=$
`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h
; then
1158 sed "/^$/d" confdefs.h |
sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core
*.core
&&
1166 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1169 for ac_signal in 1 2 13 15; do
1170 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE; then
1210 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's
/^
/|
/' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?:[\\/]* ) . $cache_file;;
1232 *) . ./$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted=false
1244 for ac_var in `(set) 2>&1 |
1245 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247 eval ac_new_set=\$ac_env_${ac_var}_set
1248 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1254 ac_cache_corrupted=: ;;
1256 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1263 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1264 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265 echo "$as_me: former value: $ac_old_val" >&2;}
1266 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267 echo "$as_me: current value: $ac_new_val" >&2;}
1268 ac_cache_corrupted=:
1271 # Pass precious variables to config.status.
1272 if test "$ac_new_set" = set; then
1274 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1276 *) ac_arg=$ac_var=$ac_new_val ;;
1278 case " $ac_configure_args " in
1279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 if $ac_cache_corrupted; then
1285 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1288 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289 { (exit 1); exit 1; }; }
1293 ac_cpp='$CPP $CPPFLAGS'
1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1295 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 ac_config_headers="$ac_config_headers config.h:config.in"
1319 # This file contains common code used by all simulators.
1321 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1322 # directory. It is intended to be invoked before any target specific stuff.
1323 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1324 # It is intended to be invoked last.
1326 # The simulator's configure.
in should
look like
:
1328 # dnl Process this file with autoconf to produce a configure script.
1329 # sinclude(../common/aclocal.m4)
1331 # AC_INIT(Makefile.in)
1335 # ... target specific stuff ...
1386 sim_inline
="-DDEFAULT_INLINE=0"
1423 # This file is derived from `gettext.m4'. The difference is that the
1424 # included macros assume Cygnus-style source and build trees.
1426 # Macro to add for using GNU gettext.
1427 # Ulrich Drepper <drepper@cygnus.com>, 1995.
1429 # This file file be copied and used freely without restrictions. It can
1430 # be used in projects which are not available under the GNU Public License
1431 # but which still want to provide support for the GNU gettext functionality.
1432 # Please note that the actual code is *not* freely available.
1440 # Search path for a program which passes the given test.
1441 # Ulrich Drepper <drepper@cygnus.com>, 1996.
1443 # This file file be copied and used freely without restrictions. It can
1444 # be used in projects which are not available under the GNU Public License
1445 # but which still want to provide support for the GNU gettext functionality.
1446 # Please note that the actual code is *not* freely available.
1452 # Check whether LC_MESSAGES is available in <locale.h>.
1453 # Ulrich Drepper <drepper@cygnus.com>, 1995.
1455 # This file file be copied and used freely without restrictions. It can
1456 # be used in projects which are not available under the GNU Public License
1457 # but which still want to provide support for the GNU gettext functionality.
1458 # Please note that the actual code is *not* freely available.
1468 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1469 # it by inlining the macro's contents.
1470 # This file contains common code used by all simulators.
1472 # common.m4 invokes AC macros used by all simulators and by the common
1473 # directory. It is intended to be included before any target specific
1474 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1475 # the Makefile. It is intended to be invoked last.
1477 # The simulator's configure.in should look like:
1479 # dnl Process this file with autoconf to produce a configure script.
1481 # AC_INIT(Makefile.in)
1482 # AC_CONFIG_HEADER(config.h:config.in)
1484 # sinclude(../common/aclocal.m4)
1485 # sinclude(../common/common.m4)
1487 # ... target specific stuff ...
1490 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1491 if test -f $ac_dir/install-sh
; then
1493 ac_install_sh
="$ac_aux_dir/install-sh -c"
1495 elif test -f $ac_dir/install.sh
; then
1497 ac_install_sh
="$ac_aux_dir/install.sh -c"
1499 elif test -f $ac_dir/shtool
; then
1501 ac_install_sh
="$ac_aux_dir/shtool install -c"
1505 if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1507 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1508 { (exit 1); exit 1; }; }
1510 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1511 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1512 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 # Make sure we can run config.sub.
1515 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1516 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1517 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1518 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: checking build system type" >&5
1521 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1522 if test "${ac_cv_build+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 ac_cv_build_alias
=$build_alias
1526 test -z "$ac_cv_build_alias" &&
1527 ac_cv_build_alias
=`$ac_config_guess`
1528 test -z "$ac_cv_build_alias" &&
1529 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1530 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1531 { (exit 1); exit 1; }; }
1532 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1539 echo "${ECHO_T}$ac_cv_build" >&6
1541 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1546 echo "$as_me:$LINENO: checking host system type" >&5
1547 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1548 if test "${ac_cv_host+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 ac_cv_host_alias
=$host_alias
1552 test -z "$ac_cv_host_alias" &&
1553 ac_cv_host_alias
=$ac_cv_build_alias
1554 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1556 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1561 echo "${ECHO_T}$ac_cv_host" >&6
1563 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1568 echo "$as_me:$LINENO: checking target system type" >&5
1569 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1570 if test "${ac_cv_target+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 ac_cv_target_alias
=$target_alias
1574 test "x$ac_cv_target_alias" = "x" &&
1575 ac_cv_target_alias
=$ac_cv_host_alias
1576 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1578 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1583 echo "${ECHO_T}$ac_cv_target" >&6
1584 target
=$ac_cv_target
1585 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590 # The aliases save the names the user supplied, while $host etc.
1591 # will get canonicalized.
1592 test -n "$target_alias" &&
1593 test "$program_prefix$program_suffix$program_transform_name" = \
1595 program_prefix
=${target_alias}-
1596 test "$program_prefix" != NONE
&&
1597 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1598 # Use a double $ so make ignores it.
1599 test "$program_suffix" != NONE
&&
1600 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1601 # Double any \ or $. echo might interpret backslashes.
1602 # By default was `s,x,x', remove it if useless.
1603 cat <<\_ACEOF
>conftest.
sed
1604 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1606 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1610 ac_cpp
='$CPP $CPPFLAGS'
1611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1614 if test -n "$ac_tool_prefix"; then
1615 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1616 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_CC+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$CC"; then
1623 ac_cv_prog_CC
="$CC" # Let the user override the test.
1625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir
=.
1630 for ac_exec_ext
in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$ac_cv_prog_CC"; then
1653 # Extract the first word of "gcc", so it can be a program name with args.
1654 set dummy gcc
; ac_word
=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$ac_ct_CC"; then
1661 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir
=.
1668 for ac_exec_ext
in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_ac_ct_CC
="gcc"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1680 if test -n "$ac_ct_CC"; then
1681 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1682 echo "${ECHO_T}$ac_ct_CC" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1693 if test -z "$CC"; then
1694 if test -n "$ac_tool_prefix"; then
1695 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1696 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$CC"; then
1703 ac_cv_prog_CC
="$CC" # Let the user override the test.
1705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir
=.
1710 for ac_exec_ext
in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 if test -n "$CC"; then
1723 echo "$as_me:$LINENO: result: $CC" >&5
1724 echo "${ECHO_T}$CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1731 if test -z "$ac_cv_prog_CC"; then
1733 # Extract the first word of "cc", so it can be a program name with args.
1734 set dummy cc
; ac_word
=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$ac_ct_CC"; then
1741 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 for ac_exec_ext
in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_ac_ct_CC
="cc"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1760 if test -n "$ac_ct_CC"; then
1761 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1762 echo "${ECHO_T}$ac_ct_CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1774 if test -z "$CC"; then
1775 # Extract the first word of "cc", so it can be a program name with args.
1776 set dummy cc
; ac_word
=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$CC"; then
1783 ac_cv_prog_CC
="$CC" # Let the user override the test.
1786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir
=.
1791 for ac_exec_ext
in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1794 ac_prog_rejected
=yes
1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1804 if test $ac_prog_rejected = yes; then
1805 # We found a bogon in the path, so make sure we never use it.
1806 set dummy
$ac_cv_prog_CC
1808 if test $# != 0; then
1809 # We chose a different compiler from the bogus one.
1810 # However, it has the same basename, so the bogon will be chosen
1811 # first if we set CC to just the basename; use the full file name.
1813 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1819 if test -n "$CC"; then
1820 echo "$as_me:$LINENO: result: $CC" >&5
1821 echo "${ECHO_T}$CC" >&6
1823 echo "$as_me:$LINENO: result: no" >&5
1824 echo "${ECHO_T}no" >&6
1828 if test -z "$CC"; then
1829 if test -n "$ac_tool_prefix"; then
1832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1833 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1834 echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836 if test "${ac_cv_prog_CC+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 if test -n "$CC"; then
1840 ac_cv_prog_CC
="$CC" # Let the user override the test.
1842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir
=.
1847 for ac_exec_ext
in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 if test -n "$CC"; then
1860 echo "$as_me:$LINENO: result: $CC" >&5
1861 echo "${ECHO_T}$CC" >&6
1863 echo "$as_me:$LINENO: result: no" >&5
1864 echo "${ECHO_T}no" >&6
1867 test -n "$CC" && break
1870 if test -z "$CC"; then
1874 # Extract the first word of "$ac_prog", so it can be a program name with args.
1875 set dummy
$ac_prog; ac_word
=$2
1876 echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1878 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 if test -n "$ac_ct_CC"; then
1882 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir
=.
1889 for ac_exec_ext
in '' $ac_executable_extensions; do
1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891 ac_cv_prog_ac_ct_CC
="$ac_prog"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1901 if test -n "$ac_ct_CC"; then
1902 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1903 echo "${ECHO_T}$ac_ct_CC" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1909 test -n "$ac_ct_CC" && break
1918 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1919 See \`config.log' for more details." >&5
1920 echo "$as_me: error: no acceptable C compiler found in \$PATH
1921 See \`config.log' for more details." >&2;}
1922 { (exit 1); exit 1; }; }
1924 # Provide some information about the compiler.
1925 echo "$as_me:$LINENO:" \
1926 "checking for C compiler version" >&5
1927 ac_compiler
=`set X $ac_compile; echo $2`
1928 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1929 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }
1933 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1934 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); }
1938 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1939 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }
1944 cat >conftest.
$ac_ext <<_ACEOF
1947 cat confdefs.h
>>conftest.
$ac_ext
1948 cat >>conftest.
$ac_ext <<_ACEOF
1949 /* end confdefs.h. */
1959 ac_clean_files_save
=$ac_clean_files
1960 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1961 # Try to create an executable without -o first, disregard a.out.
1962 # It will help us diagnose broken compilers, and finding out an intuition
1964 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1965 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1966 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1967 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1968 (eval $ac_link_default) 2>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); }; then
1972 # Find the output, starting from the most likely. This scheme is
1973 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1976 # Be careful to initialize this variable, since it used to be cached.
1977 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1979 # b.out is created by i960 compilers.
1980 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1982 test -f "$ac_file" ||
continue
1984 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1987 # This is the source file.
1990 # We found the default executable, but exeext='' is most
1994 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1995 # FIXME: I believe we export ac_cv_exeext for Libtool,
1996 # but it would be cool to find out if it's true. Does anybody
1997 # maintain Libtool? --akim.
2005 echo "$as_me: failed program was:" >&5
2006 sed 's/^/| /' conftest.
$ac_ext >&5
2008 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2009 See \`config.log' for more details." >&5
2010 echo "$as_me: error: C compiler cannot create executables
2011 See \`config.log' for more details." >&2;}
2012 { (exit 77); exit 77; }; }
2015 ac_exeext
=$ac_cv_exeext
2016 echo "$as_me:$LINENO: result: $ac_file" >&5
2017 echo "${ECHO_T}$ac_file" >&6
2019 # Check the compiler produces executables we can run. If not, either
2020 # the compiler is broken, or we cross compile.
2021 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2022 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2023 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2024 # If not cross compiling, check that we can run a simple program.
2025 if test "$cross_compiling" != yes; then
2026 if { ac_try
='./$ac_file'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; }; then
2034 if test "$cross_compiling" = maybe
; then
2037 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2038 If you meant to cross compile, use \`--host'.
2039 See \`config.log' for more details." >&5
2040 echo "$as_me: error: cannot run C compiled programs.
2041 If you meant to cross compile, use \`--host'.
2042 See \`config.log' for more details." >&2;}
2043 { (exit 1); exit 1; }; }
2047 echo "$as_me:$LINENO: result: yes" >&5
2048 echo "${ECHO_T}yes" >&6
2050 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2051 ac_clean_files
=$ac_clean_files_save
2052 # Check the compiler produces executables we can run. If not, either
2053 # the compiler is broken, or we cross compile.
2054 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2055 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2056 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2057 echo "${ECHO_T}$cross_compiling" >&6
2059 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2060 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2062 (eval $ac_link) 2>&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; then
2066 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2067 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2068 # work properly (i.e., refer to `conftest.exe'), while it won't with
2070 for ac_file
in conftest.exe conftest conftest.
*; do
2071 test -f "$ac_file" ||
continue
2073 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2074 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2081 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2082 See \`config.log' for more details." >&5
2083 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2084 See \`config.log' for more details." >&2;}
2085 { (exit 1); exit 1; }; }
2088 rm -f conftest
$ac_cv_exeext
2089 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2090 echo "${ECHO_T}$ac_cv_exeext" >&6
2092 rm -f conftest.
$ac_ext
2093 EXEEXT
=$ac_cv_exeext
2095 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2096 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2097 if test "${ac_cv_objext+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 cat >conftest.
$ac_ext <<_ACEOF
2103 cat confdefs.h
>>conftest.
$ac_ext
2104 cat >>conftest.
$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2115 rm -f conftest.o conftest.obj
2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2117 (eval $ac_compile) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; then
2121 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2124 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2129 echo "$as_me: failed program was:" >&5
2130 sed 's/^/| /' conftest.
$ac_ext >&5
2132 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2133 See \`config.log' for more details." >&5
2134 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2135 See \`config.log' for more details." >&2;}
2136 { (exit 1); exit 1; }; }
2139 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2141 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2142 echo "${ECHO_T}$ac_cv_objext" >&6
2143 OBJEXT
=$ac_cv_objext
2145 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2146 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2147 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 cat >conftest.
$ac_ext <<_ACEOF
2153 cat confdefs.h
>>conftest.
$ac_ext
2154 cat >>conftest.
$ac_ext <<_ACEOF
2155 /* end confdefs.h. */
2168 rm -f conftest.
$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1
>conftest.err
2174 cat conftest.err
>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try
='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2201 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2202 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2203 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2204 ac_test_CFLAGS
=${CFLAGS+set}
2205 ac_save_CFLAGS
=$CFLAGS
2207 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2208 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2209 if test "${ac_cv_prog_cc_g+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 cat >conftest.
$ac_ext <<_ACEOF
2215 cat confdefs.h
>>conftest.
$ac_ext
2216 cat >>conftest.
$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2227 rm -f conftest.
$ac_objext
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>conftest.er1
2231 grep -v '^ *+' conftest.er1
>conftest.err
2233 cat conftest.err
>&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); } &&
2236 { ac_try
='test -z "$ac_c_werror_flag"
2237 || test ! -s conftest.err'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; } &&
2243 { ac_try
='test -s conftest.$ac_objext'
2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; }; then
2251 echo "$as_me: failed program was:" >&5
2252 sed 's/^/| /' conftest.
$ac_ext >&5
2256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2260 if test "$ac_test_CFLAGS" = set; then
2261 CFLAGS
=$ac_save_CFLAGS
2262 elif test $ac_cv_prog_cc_g = yes; then
2263 if test "$GCC" = yes; then
2269 if test "$GCC" = yes; then
2275 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2276 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2277 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 ac_cv_prog_cc_stdc
=no
2282 cat >conftest.
$ac_ext <<_ACEOF
2285 cat confdefs.h
>>conftest.
$ac_ext
2286 cat >>conftest.
$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2290 #include <sys/types.h>
2291 #include <sys/stat.h>
2292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2293 struct buf { int x; };
2294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2295 static char *e (p, i)
2301 static char *f (char * (*g) (char **, int), char **p, ...)
2306 s = g (p, va_arg (v,int));
2311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2312 function prototypes and stuff, but not '\xHH' hex character constants.
2313 These don't provoke an error unfortunately, instead are silently treated
2314 as 'x'. The following induces an error, until -std1 is added to get
2315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2316 array size at least. It's necessary to write '\x00'==0 to get something
2317 that's true only with -std1. */
2318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2320 int test (int i, double x);
2321 struct s1 {int (*f) (int a);};
2322 struct s2 {int (*f) (double a);};
2323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2334 # Don't try gcc -ansi; that turns off useful extensions and
2335 # breaks some systems' header files.
2336 # AIX -qlanglvl=ansi
2337 # Ultrix and OSF/1 -std1
2338 # HP-UX 10.20 and later -Ae
2339 # HP-UX older versions -Aa -D_HPUX_SOURCE
2340 # SVR4 -Xc -D__EXTENSIONS__
2341 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2343 CC
="$ac_save_CC $ac_arg"
2344 rm -f conftest.
$ac_objext
2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>conftest.er1
2348 grep -v '^ *+' conftest.er1
>conftest.err
2350 cat conftest.err
>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
2353 { ac_try
='test -z "$ac_c_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try
='test -s conftest.$ac_objext'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2366 ac_cv_prog_cc_stdc
=$ac_arg
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2373 rm -f conftest.err conftest.
$ac_objext
2375 rm -f conftest.
$ac_ext conftest.
$ac_objext
2380 case "x$ac_cv_prog_cc_stdc" in
2382 echo "$as_me:$LINENO: result: none needed" >&5
2383 echo "${ECHO_T}none needed" >&6 ;;
2385 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2386 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2387 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2390 # Some people use a C++ compiler to compile C. Since we use `exit',
2391 # in C++ we need to declare it. In case someone uses the same compiler
2392 # for both compiling C and C++ we need to have the C++ compiler decide
2393 # the declaration of exit, since it's the most demanding environment.
2394 cat >conftest.
$ac_ext <<_ACEOF
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try
='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 for ac_declaration
in \
2423 'extern "C" void std::exit (int) throw (); using std::exit;' \
2424 'extern "C" void std::exit (int); using std::exit;' \
2425 'extern "C" void exit (int) throw ();' \
2426 'extern "C" void exit (int);' \
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2445 rm -f conftest.
$ac_objext
2446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2447 (eval $ac_compile) 2>conftest.er1
2449 grep -v '^ *+' conftest.er1
>conftest.err
2451 cat conftest.err
>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try
='test -z "$ac_c_werror_flag"
2455 || test ! -s conftest.err'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; } &&
2461 { ac_try
='test -s conftest.$ac_objext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2475 cat >conftest.
$ac_ext <<_ACEOF
2478 cat confdefs.h
>>conftest.
$ac_ext
2479 cat >>conftest.
$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2490 rm -f conftest.
$ac_objext
2491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2492 (eval $ac_compile) 2>conftest.er1
2494 grep -v '^ *+' conftest.er1
>conftest.err
2496 cat conftest.err
>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); } &&
2499 { ac_try
='test -z "$ac_c_werror_flag"
2500 || test ! -s conftest.err'
2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; } &&
2506 { ac_try
='test -s conftest.$ac_objext'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; }; then
2514 echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.
$ac_ext >&5
2518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2521 if test -n "$ac_declaration"; then
2522 echo '#ifdef __cplusplus' >>confdefs.h
2523 echo $ac_declaration >>confdefs.h
2524 echo '#endif' >>confdefs.h
2528 echo "$as_me: failed program was:" >&5
2529 sed 's/^/| /' conftest.
$ac_ext >&5
2532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2539 # Find a good install program. We prefer a C program (faster),
2540 # so one script is as good as another. But avoid the broken or
2541 # incompatible versions:
2542 # SysV /etc/install, /usr/sbin/install
2543 # SunOS /usr/etc/install
2544 # IRIX /sbin/install
2546 # AmigaOS /C/install, which installs bootblocks on floppy discs
2547 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2548 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2549 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2550 # OS/2's system install, which has a completely different semantic
2551 # ./install, which can be erroneously created by make from ./install.sh.
2552 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2553 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2554 if test -z "$INSTALL"; then
2555 if test "${ac_cv_path_install+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir
=.
2563 # Account for people who put trailing slashes in PATH elements.
2565 .
/ | .
// |
/cC
/* | \
2566 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2567 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2570 # OSF1 and SCO ODT 3.0 have their own names for install.
2571 # Don't use installbsd from OSF since it installs stuff as root
2573 for ac_prog
in ginstall scoinst
install; do
2574 for ac_exec_ext
in '' $ac_executable_extensions; do
2575 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2576 if test $ac_prog = install &&
2577 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2578 # AIX install. It has an incompatible calling convention.
2580 elif test $ac_prog = install &&
2581 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2582 # program-specific install script used by HP pwplus--don't use.
2585 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2597 if test "${ac_cv_path_install+set}" = set; then
2598 INSTALL
=$ac_cv_path_install
2600 # As a last resort, use the slow shell script. We don't cache a
2601 # path for INSTALL within a source directory, because that will
2602 # break other packages using the cache if that directory is
2603 # removed, or if the path is relative.
2604 INSTALL
=$ac_install_sh
2607 echo "$as_me:$LINENO: result: $INSTALL" >&5
2608 echo "${ECHO_T}$INSTALL" >&6
2610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2611 # It thinks the first close brace ends the variable substitution.
2612 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2614 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2616 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2619 # Put a plausible default for CC_FOR_BUILD in Makefile.
2620 if test "x$cross_compiling" = "xno"; then
2621 CC_FOR_BUILD
='$(CC)'
2631 if test -n "$ac_tool_prefix"; then
2632 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2633 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2634 echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2636 if test "${ac_cv_prog_RANLIB+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$RANLIB"; then
2640 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 RANLIB
=$ac_cv_prog_RANLIB
2659 if test -n "$RANLIB"; then
2660 echo "$as_me:$LINENO: result: $RANLIB" >&5
2661 echo "${ECHO_T}$RANLIB" >&6
2663 echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2668 if test -z "$ac_cv_prog_RANLIB"; then
2669 ac_ct_RANLIB
=$RANLIB
2670 # Extract the first word of "ranlib", so it can be a program name with args.
2671 set dummy ranlib
; ac_word
=$2
2672 echo "$as_me:$LINENO: checking for $ac_word" >&5
2673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2674 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 if test -n "$ac_ct_RANLIB"; then
2678 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2687 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2697 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2698 if test -n "$ac_ct_RANLIB"; then
2699 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2700 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2702 echo "$as_me:$LINENO: result: no" >&5
2703 echo "${ECHO_T}no" >&6
2706 RANLIB
=$ac_ct_RANLIB
2708 RANLIB
="$ac_cv_prog_RANLIB"
2713 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2714 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2715 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2716 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 cat >conftest.
make <<\_ACEOF
2721 @
echo 'ac_maketemp="$(MAKE)"'
2723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2724 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2725 if test -n "$ac_maketemp"; then
2726 eval ac_cv_prog_make_
${ac_make}_set
=yes
2728 eval ac_cv_prog_make_
${ac_make}_set
=no
2732 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2739 SET_MAKE
="MAKE=${MAKE-make}"
2743 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2744 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2745 if test "${ac_cv_search_strerror+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 ac_func_search_save_LIBS
=$LIBS
2749 ac_cv_search_strerror
=no
2750 cat >conftest.
$ac_ext <<_ACEOF
2753 cat confdefs.h
>>conftest.
$ac_ext
2754 cat >>conftest.
$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2757 /* Override any gcc2 internal prototype to avoid an error. */
2761 /* We use char because int might match the return type of a gcc2
2762 builtin and then its argument prototype would still apply. */
2772 rm -f conftest.
$ac_objext conftest
$ac_exeext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2774 (eval $ac_link) 2>conftest.er1
2776 grep -v '^ *+' conftest.er1
>conftest.err
2778 cat conftest.err
>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try
='test -z "$ac_c_werror_flag"
2782 || test ! -s conftest.err'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try
='test -s conftest$ac_exeext'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2794 ac_cv_search_strerror
="none required"
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.
$ac_ext >&5
2800 rm -f conftest.err conftest.
$ac_objext \
2801 conftest
$ac_exeext conftest.
$ac_ext
2802 if test "$ac_cv_search_strerror" = no
; then
2803 for ac_lib
in cposix
; do
2804 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2805 cat >conftest.
$ac_ext <<_ACEOF
2808 cat confdefs.h
>>conftest.
$ac_ext
2809 cat >>conftest.
$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2812 /* Override any gcc2 internal prototype to avoid an error. */
2816 /* We use char because int might match the return type of a gcc2
2817 builtin and then its argument prototype would still apply. */
2827 rm -f conftest.
$ac_objext conftest
$ac_exeext
2828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2829 (eval $ac_link) 2>conftest.er1
2831 grep -v '^ *+' conftest.er1
>conftest.err
2833 cat conftest.err
>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } &&
2836 { ac_try
='test -z "$ac_c_werror_flag"
2837 || test ! -s conftest.err'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; } &&
2843 { ac_try
='test -s conftest$ac_exeext'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; }; then
2849 ac_cv_search_strerror
="-l$ac_lib"
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.
$ac_ext >&5
2856 rm -f conftest.err conftest.
$ac_objext \
2857 conftest
$ac_exeext conftest.
$ac_ext
2860 LIBS
=$ac_func_search_save_LIBS
2862 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2863 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2864 if test "$ac_cv_search_strerror" != no
; then
2865 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2870 ac_cpp
='$CPP $CPPFLAGS'
2871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2874 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2875 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2876 # On Suns, sometimes $CPP names a directory.
2877 if test -n "$CPP" && test -d "$CPP"; then
2880 if test -z "$CPP"; then
2881 if test "${ac_cv_prog_CPP+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 # Double quotes because CPP needs to be expanded
2885 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2888 for ac_c_preproc_warn_flag
in '' yes
2890 # Use a header file that comes with gcc, so configuring glibc
2891 # with a fresh cross-compiler works.
2892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2893 # <limits.h> exists even on freestanding compilers.
2894 # On the NeXT, cc -E runs the code through the compiler's parser,
2895 # not just through cpp. "Syntax error" is here to catch this case.
2896 cat >conftest.
$ac_ext <<_ACEOF
2899 cat confdefs.h
>>conftest.
$ac_ext
2900 cat >>conftest.
$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2903 # include <limits.h>
2905 # include <assert.h>
2909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2912 grep -v '^ *+' conftest.er1
>conftest.err
2914 cat conftest.err
>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } >/dev
/null
; then
2917 if test -s conftest.err
; then
2918 ac_cpp_err
=$ac_c_preproc_warn_flag
2919 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2926 if test -z "$ac_cpp_err"; then
2929 echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.
$ac_ext >&5
2932 # Broken: fails on valid input.
2935 rm -f conftest.err conftest.
$ac_ext
2937 # OK, works on sane cases. Now check whether non-existent headers
2938 # can be detected and how.
2939 cat >conftest.
$ac_ext <<_ACEOF
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2945 #include <ac_nonexistent.h>
2947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2950 grep -v '^ *+' conftest.er1
>conftest.err
2952 cat conftest.err
>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } >/dev
/null
; then
2955 if test -s conftest.err
; then
2956 ac_cpp_err
=$ac_c_preproc_warn_flag
2957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2964 if test -z "$ac_cpp_err"; then
2965 # Broken: success on invalid input.
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2971 # Passes both tests.
2975 rm -f conftest.err conftest.
$ac_ext
2978 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2979 rm -f conftest.err conftest.
$ac_ext
2980 if $ac_preproc_ok; then
2992 echo "$as_me:$LINENO: result: $CPP" >&5
2993 echo "${ECHO_T}$CPP" >&6
2995 for ac_c_preproc_warn_flag
in '' yes
2997 # Use a header file that comes with gcc, so configuring glibc
2998 # with a fresh cross-compiler works.
2999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3000 # <limits.h> exists even on freestanding compilers.
3001 # On the NeXT, cc -E runs the code through the compiler's parser,
3002 # not just through cpp. "Syntax error" is here to catch this case.
3003 cat >conftest.
$ac_ext <<_ACEOF
3006 cat confdefs.h
>>conftest.
$ac_ext
3007 cat >>conftest.
$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3010 # include <limits.h>
3012 # include <assert.h>
3016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3017 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3019 grep -v '^ *+' conftest.er1
>conftest.err
3021 cat conftest.err
>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } >/dev
/null
; then
3024 if test -s conftest.err
; then
3025 ac_cpp_err
=$ac_c_preproc_warn_flag
3026 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3033 if test -z "$ac_cpp_err"; then
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.
$ac_ext >&5
3039 # Broken: fails on valid input.
3042 rm -f conftest.err conftest.
$ac_ext
3044 # OK, works on sane cases. Now check whether non-existent headers
3045 # can be detected and how.
3046 cat >conftest.
$ac_ext <<_ACEOF
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3052 #include <ac_nonexistent.h>
3054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3057 grep -v '^ *+' conftest.er1
>conftest.err
3059 cat conftest.err
>&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } >/dev
/null
; then
3062 if test -s conftest.err
; then
3063 ac_cpp_err
=$ac_c_preproc_warn_flag
3064 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3071 if test -z "$ac_cpp_err"; then
3072 # Broken: success on invalid input.
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.
$ac_ext >&5
3078 # Passes both tests.
3082 rm -f conftest.err conftest.
$ac_ext
3085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3086 rm -f conftest.err conftest.
$ac_ext
3087 if $ac_preproc_ok; then
3090 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3091 See \`config.log' for more details." >&5
3092 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3093 See \`config.log' for more details." >&2;}
3094 { (exit 1); exit 1; }; }
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3104 echo "$as_me:$LINENO: checking for egrep" >&5
3105 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3106 if test "${ac_cv_prog_egrep+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3110 then ac_cv_prog_egrep
='grep -E'
3111 else ac_cv_prog_egrep
='egrep'
3114 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3115 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3116 EGREP
=$ac_cv_prog_egrep
3119 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3120 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3121 if test "${ac_cv_header_stdc+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3143 rm -f conftest.
$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1
>conftest.err
3149 cat conftest.err
>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try
='test -z "$ac_c_werror_flag"
3153 || test ! -s conftest.err'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; } &&
3159 { ac_try
='test -s conftest.$ac_objext'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; }; then
3165 ac_cv_header_stdc
=yes
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.
$ac_ext >&5
3170 ac_cv_header_stdc
=no
3172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3174 if test $ac_cv_header_stdc = yes; then
3175 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3176 cat >conftest.
$ac_ext <<_ACEOF
3179 cat confdefs.h
>>conftest.
$ac_ext
3180 cat >>conftest.
$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3186 $EGREP "memchr" >/dev
/null
2>&1; then
3189 ac_cv_header_stdc
=no
3195 if test $ac_cv_header_stdc = yes; then
3196 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3197 cat >conftest.
$ac_ext <<_ACEOF
3200 cat confdefs.h
>>conftest.
$ac_ext
3201 cat >>conftest.
$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3207 $EGREP "free" >/dev
/null
2>&1; then
3210 ac_cv_header_stdc
=no
3216 if test $ac_cv_header_stdc = yes; then
3217 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3218 if test "$cross_compiling" = yes; then
3221 cat >conftest.
$ac_ext <<_ACEOF
3224 cat confdefs.h
>>conftest.
$ac_ext
3225 cat >>conftest.
$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3228 #if ((' ' & 0x0FF) == 0x020)
3229 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3230 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3232 # define ISLOWER(c) \
3233 (('a' <= (c) && (c) <= 'i') \
3234 || ('j' <= (c) && (c) <= 'r') \
3235 || ('s' <= (c) && (c) <= 'z'))
3236 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3239 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3244 for (i = 0; i < 256; i++)
3245 if (XOR (islower (i), ISLOWER (i))
3246 || toupper (i) != TOUPPER (i))
3251 rm -f conftest
$ac_exeext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3253 (eval $ac_link) 2>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3264 echo "$as_me: program exited with status $ac_status" >&5
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.
$ac_ext >&5
3269 ac_cv_header_stdc
=no
3271 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3275 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3276 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3277 if test $ac_cv_header_stdc = yes; then
3279 cat >>confdefs.h
<<\_ACEOF
3280 #define STDC_HEADERS 1
3285 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3286 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3287 if test "${ac_cv_c_const+set}" = set; then
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 cat >conftest.
$ac_ext <<_ACEOF
3293 cat confdefs.h
>>conftest.
$ac_ext
3294 cat >>conftest.
$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3300 /* FIXME: Include the comments suggested by Paul. */
3302 /* Ultrix mips cc rejects this. */
3303 typedef int charset[2];
3305 /* SunOS 4.1.1 cc rejects this. */
3306 char const *const *ccp;
3308 /* NEC SVR4.0.2 mips cc rejects this. */
3309 struct point {int x, y;};
3310 static struct point const zero = {0,0};
3311 /* AIX XL C 1.02.0.0 rejects this.
3312 It does not let you subtract one const X* pointer from another in
3313 an arm of an if-expression whose if-part is not a constant
3315 const char *g = "string";
3316 ccp = &g + (g ? g-g : 0);
3317 /* HPUX 7.0 cc rejects these. */
3320 ccp = (char const *const *) p;
3321 { /* SCO 3.2v4 cc rejects this. */
3323 char const *s = 0 ? (char *) 0 : (char const *) 0;
3327 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3329 const int *foo = &x[0];
3332 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3333 typedef const int *iptr;
3337 { /* AIX XL C 1.02.0.0 rejects this saying
3338 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3339 struct s { int j; const int *ap[3]; };
3340 struct s *b; b->j = 5;
3342 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3351 rm -f conftest.
$ac_objext
3352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3353 (eval $ac_compile) 2>conftest.er1
3355 grep -v '^ *+' conftest.er1
>conftest.err
3357 cat conftest.err
>&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } &&
3360 { ac_try
='test -z "$ac_c_werror_flag"
3361 || test ! -s conftest.err'
3362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; } &&
3367 { ac_try
='test -s conftest.$ac_objext'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; }; then
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.
$ac_ext >&5
3380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3382 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3383 echo "${ECHO_T}$ac_cv_c_const" >&6
3384 if test $ac_cv_c_const = no
; then
3386 cat >>confdefs.h
<<\_ACEOF
3392 echo "$as_me:$LINENO: checking for inline" >&5
3393 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3394 if test "${ac_cv_c_inline+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 for ac_kw
in inline __inline__ __inline
; do
3399 cat >conftest.
$ac_ext <<_ACEOF
3402 cat confdefs.h
>>conftest.
$ac_ext
3403 cat >>conftest.
$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3407 static $ac_kw foo_t static_foo () {return 0; }
3408 $ac_kw foo_t foo () {return 0; }
3412 rm -f conftest.
$ac_objext
3413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3414 (eval $ac_compile) 2>conftest.er1
3416 grep -v '^ *+' conftest.er1
>conftest.err
3418 cat conftest.err
>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } &&
3421 { ac_try
='test -z "$ac_c_werror_flag"
3422 || test ! -s conftest.err'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; } &&
3428 { ac_try
='test -s conftest.$ac_objext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3434 ac_cv_c_inline
=$ac_kw; break
3436 echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.
$ac_ext >&5
3440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3444 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3445 echo "${ECHO_T}$ac_cv_c_inline" >&6
3448 case $ac_cv_c_inline in
3451 case $ac_cv_c_inline in
3453 *) ac_val
=$ac_cv_c_inline;;
3455 cat >>confdefs.h
<<_ACEOF
3457 #define inline $ac_val
3463 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3473 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3474 inttypes.h stdint.h unistd.h
3476 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3477 echo "$as_me:$LINENO: checking for $ac_header" >&5
3478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 cat >conftest.
$ac_ext <<_ACEOF
3485 cat confdefs.h
>>conftest.
$ac_ext
3486 cat >>conftest.
$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3488 $ac_includes_default
3490 #include <$ac_header>
3492 rm -f conftest.
$ac_objext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494 (eval $ac_compile) 2>conftest.er1
3496 grep -v '^ *+' conftest.er1
>conftest.err
3498 cat conftest.err
>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } &&
3501 { ac_try
='test -z "$ac_c_werror_flag"
3502 || test ! -s conftest.err'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); }; } &&
3508 { ac_try
='test -s conftest.$ac_objext'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; }; then
3514 eval "$as_ac_Header=yes"
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.
$ac_ext >&5
3519 eval "$as_ac_Header=no"
3521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3526 cat >>confdefs.h
<<_ACEOF
3527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3535 echo "$as_me:$LINENO: checking for off_t" >&5
3536 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3537 if test "${ac_cv_type_off_t+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 cat >conftest.
$ac_ext <<_ACEOF
3543 cat confdefs.h
>>conftest.
$ac_ext
3544 cat >>conftest.
$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3546 $ac_includes_default
3558 rm -f conftest.
$ac_objext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3560 (eval $ac_compile) 2>conftest.er1
3562 grep -v '^ *+' conftest.er1
>conftest.err
3564 cat conftest.err
>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 { ac_try
='test -z "$ac_c_werror_flag"
3568 || test ! -s conftest.err'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; } &&
3574 { ac_try
='test -s conftest.$ac_objext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3580 ac_cv_type_off_t
=yes
3582 echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.
$ac_ext >&5
3587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3589 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3590 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3591 if test $ac_cv_type_off_t = yes; then
3595 cat >>confdefs.h
<<_ACEOF
3601 echo "$as_me:$LINENO: checking for size_t" >&5
3602 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3603 if test "${ac_cv_type_size_t+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3612 $ac_includes_default
3618 if (sizeof (size_t))
3624 rm -f conftest.
$ac_objext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 (eval $ac_compile) 2>conftest.er1
3628 grep -v '^ *+' conftest.er1
>conftest.err
3630 cat conftest.err
>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try
='test -z "$ac_c_werror_flag"
3634 || test ! -s conftest.err'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; } &&
3640 { ac_try
='test -s conftest.$ac_objext'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3646 ac_cv_type_size_t
=yes
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.
$ac_ext >&5
3651 ac_cv_type_size_t
=no
3653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3655 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3656 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3657 if test $ac_cv_type_size_t = yes; then
3661 cat >>confdefs.h
<<_ACEOF
3662 #define size_t unsigned
3667 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3668 # for constant arguments. Useless!
3669 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3670 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3671 if test "${ac_cv_working_alloca_h+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3684 char *p = (char *) alloca (2 * sizeof (int));
3689 rm -f conftest.
$ac_objext conftest
$ac_exeext
3690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3691 (eval $ac_link) 2>conftest.er1
3693 grep -v '^ *+' conftest.er1
>conftest.err
3695 cat conftest.err
>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } &&
3698 { ac_try
='test -z "$ac_c_werror_flag"
3699 || test ! -s conftest.err'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; } &&
3705 { ac_try
='test -s conftest$ac_exeext'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; }; then
3711 ac_cv_working_alloca_h
=yes
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.
$ac_ext >&5
3716 ac_cv_working_alloca_h
=no
3718 rm -f conftest.err conftest.
$ac_objext \
3719 conftest
$ac_exeext conftest.
$ac_ext
3721 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3722 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3723 if test $ac_cv_working_alloca_h = yes; then
3725 cat >>confdefs.h
<<\_ACEOF
3726 #define HAVE_ALLOCA_H 1
3731 echo "$as_me:$LINENO: checking for alloca" >&5
3732 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3733 if test "${ac_cv_func_alloca_works+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 cat >conftest.
$ac_ext <<_ACEOF
3739 cat confdefs.h
>>conftest.
$ac_ext
3740 cat >>conftest.
$ac_ext <<_ACEOF
3741 /* end confdefs.h. */
3743 # define alloca __builtin_alloca
3746 # include <malloc.h>
3747 # define alloca _alloca
3750 # include <alloca.h>
3755 # ifndef alloca /* predefined by HP cc +Olibcalls */
3766 char *p = (char *) alloca (1);
3771 rm -f conftest.
$ac_objext conftest
$ac_exeext
3772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3773 (eval $ac_link) 2>conftest.er1
3775 grep -v '^ *+' conftest.er1
>conftest.err
3777 cat conftest.err
>&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); } &&
3780 { ac_try
='test -z "$ac_c_werror_flag"
3781 || test ! -s conftest.err'
3782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); }; } &&
3787 { ac_try
='test -s conftest$ac_exeext'
3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }; }; then
3793 ac_cv_func_alloca_works
=yes
3795 echo "$as_me: failed program was:" >&5
3796 sed 's/^/| /' conftest.
$ac_ext >&5
3798 ac_cv_func_alloca_works
=no
3800 rm -f conftest.err conftest.
$ac_objext \
3801 conftest
$ac_exeext conftest.
$ac_ext
3803 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3804 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3806 if test $ac_cv_func_alloca_works = yes; then
3808 cat >>confdefs.h
<<\_ACEOF
3809 #define HAVE_ALLOCA 1
3813 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3814 # that cause trouble. Some versions do not even contain alloca or
3815 # contain a buggy version. If you still want to use their alloca,
3816 # use ar to extract alloca.o from them instead of compiling alloca.c.
3818 ALLOCA
=alloca.
$ac_objext
3820 cat >>confdefs.h
<<\_ACEOF
3825 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3826 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3827 if test "${ac_cv_os_cray+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 cat >conftest.
$ac_ext <<_ACEOF
3833 cat confdefs.h
>>conftest.
$ac_ext
3834 cat >>conftest.
$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 #if defined(CRAY) && ! defined(CRAY2)
3843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3844 $EGREP "webecray" >/dev
/null
2>&1; then
3852 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3853 echo "${ECHO_T}$ac_cv_os_cray" >&6
3854 if test $ac_cv_os_cray = yes; then
3855 for ac_func
in _getb67 GETB67 getb67
; do
3856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3857 echo "$as_me:$LINENO: checking for $ac_func" >&5
3858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3859 if eval "test \"\${$as_ac_var+set}\" = set"; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 cat >conftest.
$ac_ext <<_ACEOF
3865 cat confdefs.h
>>conftest.
$ac_ext
3866 cat >>conftest.
$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3870 #define $ac_func innocuous_$ac_func
3872 /* System header to define __stub macros and hopefully few prototypes,
3873 which can conflict with char $ac_func (); below.
3874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3875 <limits.h> exists even on freestanding compilers. */
3878 # include <limits.h>
3880 # include <assert.h>
3885 /* Override any gcc2 internal prototype to avoid an error. */
3890 /* We use char because int might match the return type of a gcc2
3891 builtin and then its argument prototype would still apply. */
3893 /* The GNU C library defines this for functions which it implements
3894 to always fail with ENOSYS. Some functions are actually named
3895 something starting with __ and the normal name is an alias. */
3896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3899 char (*f) () = $ac_func;
3908 return f != $ac_func;
3913 rm -f conftest.
$ac_objext conftest
$ac_exeext
3914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3915 (eval $ac_link) 2>conftest.er1
3917 grep -v '^ *+' conftest.er1
>conftest.err
3919 cat conftest.err
>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try
='test -z "$ac_c_werror_flag"
3923 || test ! -s conftest.err'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; } &&
3929 { ac_try
='test -s conftest$ac_exeext'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then
3935 eval "$as_ac_var=yes"
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.
$ac_ext >&5
3940 eval "$as_ac_var=no"
3942 rm -f conftest.err conftest.
$ac_objext \
3943 conftest
$ac_exeext conftest.
$ac_ext
3945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3947 if test `eval echo '${'$as_ac_var'}'` = yes; then
3949 cat >>confdefs.h
<<_ACEOF
3950 #define CRAY_STACKSEG_END $ac_func
3959 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3960 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3961 if test "${ac_cv_c_stack_direction+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 if test "$cross_compiling" = yes; then
3965 ac_cv_c_stack_direction
=0
3967 cat >conftest.
$ac_ext <<_ACEOF
3970 cat confdefs.h
>>conftest.
$ac_ext
3971 cat >>conftest.
$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3974 find_stack_direction ()
3976 static char *addr = 0;
3981 return find_stack_direction ();
3984 return (&dummy > addr) ? 1 : -1;
3990 exit (find_stack_direction () < 0);
3993 rm -f conftest
$ac_exeext
3994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3995 (eval $ac_link) 2>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; }; then
4004 ac_cv_c_stack_direction
=1
4006 echo "$as_me: program exited with status $ac_status" >&5
4007 echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.
$ac_ext >&5
4011 ac_cv_c_stack_direction
=-1
4013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4016 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4017 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4019 cat >>confdefs.h
<<_ACEOF
4020 #define STACK_DIRECTION $ac_cv_c_stack_direction
4028 for ac_header
in stdlib.h unistd.h
4030 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4032 echo "$as_me:$LINENO: checking for $ac_header" >&5
4033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4040 # Is the header compilable?
4041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4043 cat >conftest.
$ac_ext <<_ACEOF
4046 cat confdefs.h
>>conftest.
$ac_ext
4047 cat >>conftest.
$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4049 $ac_includes_default
4050 #include <$ac_header>
4052 rm -f conftest.
$ac_objext
4053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4054 (eval $ac_compile) 2>conftest.er1
4056 grep -v '^ *+' conftest.er1
>conftest.err
4058 cat conftest.err
>&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); } &&
4061 { ac_try
='test -z "$ac_c_werror_flag"
4062 || test ! -s conftest.err'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; } &&
4068 { ac_try
='test -s conftest.$ac_objext'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; }; then
4074 ac_header_compiler
=yes
4076 echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.
$ac_ext >&5
4079 ac_header_compiler
=no
4081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4083 echo "${ECHO_T}$ac_header_compiler" >&6
4085 # Is the header present?
4086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4088 cat >conftest.
$ac_ext <<_ACEOF
4091 cat confdefs.h
>>conftest.
$ac_ext
4092 cat >>conftest.
$ac_ext <<_ACEOF
4093 /* end confdefs.h. */
4094 #include <$ac_header>
4096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } >/dev
/null
; then
4104 if test -s conftest.err
; then
4105 ac_cpp_err
=$ac_c_preproc_warn_flag
4106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4113 if test -z "$ac_cpp_err"; then
4114 ac_header_preproc
=yes
4116 echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.
$ac_ext >&5
4119 ac_header_preproc
=no
4121 rm -f conftest.err conftest.
$ac_ext
4122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4123 echo "${ECHO_T}$ac_header_preproc" >&6
4125 # So? What about this header?
4126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4132 ac_header_preproc
=yes
4135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4149 ## ------------------------------------------ ##
4150 ## Report this to the AC_PACKAGE_NAME lists. ##
4151 ## ------------------------------------------ ##
4154 sed "s/^/$as_me: WARNING: /" >&2
4157 echo "$as_me:$LINENO: checking for $ac_header" >&5
4158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 eval "$as_ac_Header=\$ac_header_preproc"
4164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4169 cat >>confdefs.h
<<_ACEOF
4170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4178 for ac_func
in getpagesize
4180 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4181 echo "$as_me:$LINENO: checking for $ac_func" >&5
4182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4183 if eval "test \"\${$as_ac_var+set}\" = set"; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 cat >conftest.
$ac_ext <<_ACEOF
4189 cat confdefs.h
>>conftest.
$ac_ext
4190 cat >>conftest.
$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4194 #define $ac_func innocuous_$ac_func
4196 /* System header to define __stub macros and hopefully few prototypes,
4197 which can conflict with char $ac_func (); below.
4198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4199 <limits.h> exists even on freestanding compilers. */
4202 # include <limits.h>
4204 # include <assert.h>
4209 /* Override any gcc2 internal prototype to avoid an error. */
4214 /* We use char because int might match the return type of a gcc2
4215 builtin and then its argument prototype would still apply. */
4217 /* The GNU C library defines this for functions which it implements
4218 to always fail with ENOSYS. Some functions are actually named
4219 something starting with __ and the normal name is an alias. */
4220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4223 char (*f) () = $ac_func;
4232 return f != $ac_func;
4237 rm -f conftest.
$ac_objext conftest
$ac_exeext
4238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4239 (eval $ac_link) 2>conftest.er1
4241 grep -v '^ *+' conftest.er1
>conftest.err
4243 cat conftest.err
>&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); } &&
4246 { ac_try
='test -z "$ac_c_werror_flag"
4247 || test ! -s conftest.err'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; } &&
4253 { ac_try
='test -s conftest$ac_exeext'
4254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; }; then
4259 eval "$as_ac_var=yes"
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.
$ac_ext >&5
4264 eval "$as_ac_var=no"
4266 rm -f conftest.err conftest.
$ac_objext \
4267 conftest
$ac_exeext conftest.
$ac_ext
4269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4271 if test `eval echo '${'$as_ac_var'}'` = yes; then
4272 cat >>confdefs.h
<<_ACEOF
4273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4279 echo "$as_me:$LINENO: checking for working mmap" >&5
4280 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4281 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 if test "$cross_compiling" = yes; then
4285 ac_cv_func_mmap_fixed_mapped
=no
4287 cat >conftest.
$ac_ext <<_ACEOF
4290 cat confdefs.h
>>conftest.
$ac_ext
4291 cat >>conftest.
$ac_ext <<_ACEOF
4292 /* end confdefs.h. */
4293 $ac_includes_default
4294 /* malloc might have been renamed as rpl_malloc. */
4297 /* Thanks to Mike Haertel and Jim Avera for this test.
4298 Here is a matrix of mmap possibilities:
4299 mmap private not fixed
4300 mmap private fixed at somewhere currently unmapped
4301 mmap private fixed at somewhere already mapped
4302 mmap shared not fixed
4303 mmap shared fixed at somewhere currently unmapped
4304 mmap shared fixed at somewhere already mapped
4305 For private mappings, we should verify that changes cannot be read()
4306 back from the file, nor mmap's back from the file at a different
4307 address. (There have been systems where private was not correctly
4308 implemented like the infamous i386 svr4.0, and systems where the
4309 VM page cache was not coherent with the file system buffer cache
4310 like early versions of FreeBSD and possibly contemporary NetBSD.)
4311 For shared mappings, we should conversely verify that changes get
4312 propagated back to all the places they're supposed to be.
4314 Grep wants private fixed already mapped.
4315 The main things grep needs to know about mmap are:
4316 * does it exist and is it safe to write into the mmap'd area
4317 * how to use it (BSD variants) */
4320 #include <sys/mman.h>
4322 #if !STDC_HEADERS && !HAVE_STDLIB_H
4326 /* This mess was copied from the GNU getpagesize.h. */
4327 #if !HAVE_GETPAGESIZE
4328 /* Assume that all systems that can run configure have sys/param.h. */
4329 # if !HAVE_SYS_PARAM_H
4330 # define HAVE_SYS_PARAM_H 1
4333 # ifdef _SC_PAGESIZE
4334 # define getpagesize() sysconf(_SC_PAGESIZE)
4335 # else /* no _SC_PAGESIZE */
4336 # if HAVE_SYS_PARAM_H
4337 # include <sys/param.h>
4338 # ifdef EXEC_PAGESIZE
4339 # define getpagesize() EXEC_PAGESIZE
4340 # else /* no EXEC_PAGESIZE */
4342 # define getpagesize() NBPG * CLSIZE
4345 # endif /* no CLSIZE */
4346 # else /* no NBPG */
4348 # define getpagesize() NBPC
4349 # else /* no NBPC */
4351 # define getpagesize() PAGESIZE
4352 # endif /* PAGESIZE */
4353 # endif /* no NBPC */
4354 # endif /* no NBPG */
4355 # endif /* no EXEC_PAGESIZE */
4356 # else /* no HAVE_SYS_PARAM_H */
4357 # define getpagesize() 8192 /* punt totally */
4358 # endif /* no HAVE_SYS_PARAM_H */
4359 # endif /* no _SC_PAGESIZE */
4361 #endif /* no HAVE_GETPAGESIZE */
4366 char *data, *data2, *data3;
4370 pagesize = getpagesize ();
4372 /* First, make a file with some known garbage in it. */
4373 data = (char *) malloc (pagesize);
4376 for (i = 0; i < pagesize; ++i)
4377 *(data + i) = rand ();
4379 fd = creat ("conftest.mmap", 0600);
4382 if (write (fd, data, pagesize) != pagesize)
4386 /* Next, try to mmap the file at a fixed address which already has
4387 something else allocated at it. If we can, also make sure that
4388 we see the same garbage. */
4389 fd = open ("conftest.mmap", O_RDWR);
4392 data2 = (char *) malloc (2 * pagesize);
4395 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4396 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4397 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4399 for (i = 0; i < pagesize; ++i)
4400 if (*(data + i) != *(data2 + i))
4403 /* Finally, make sure that changes to the mapped area do not
4404 percolate back to the file as seen by read(). (This is a bug on
4405 some variants of i386 svr4.0.) */
4406 for (i = 0; i < pagesize; ++i)
4407 *(data2 + i) = *(data2 + i) + 1;
4408 data3 = (char *) malloc (pagesize);
4411 if (read (fd, data3, pagesize) != pagesize)
4413 for (i = 0; i < pagesize; ++i)
4414 if (*(data + i) != *(data3 + i))
4420 rm -f conftest
$ac_exeext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4422 (eval $ac_link) 2>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4431 ac_cv_func_mmap_fixed_mapped
=yes
4433 echo "$as_me: program exited with status $ac_status" >&5
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.
$ac_ext >&5
4438 ac_cv_func_mmap_fixed_mapped
=no
4440 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4443 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4444 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4445 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4447 cat >>confdefs.h
<<\_ACEOF
4464 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4465 unistd.h values.h sys
/param.h
4467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4469 echo "$as_me:$LINENO: checking for $ac_header" >&5
4470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4477 # Is the header compilable?
4478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4480 cat >conftest.
$ac_ext <<_ACEOF
4483 cat confdefs.h
>>conftest.
$ac_ext
4484 cat >>conftest.
$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486 $ac_includes_default
4487 #include <$ac_header>
4489 rm -f conftest.
$ac_objext
4490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4491 (eval $ac_compile) 2>conftest.er1
4493 grep -v '^ *+' conftest.er1
>conftest.err
4495 cat conftest.err
>&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } &&
4498 { ac_try
='test -z "$ac_c_werror_flag"
4499 || test ! -s conftest.err'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; } &&
4505 { ac_try
='test -s conftest.$ac_objext'
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; }; then
4511 ac_header_compiler
=yes
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.
$ac_ext >&5
4516 ac_header_compiler
=no
4518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4520 echo "${ECHO_T}$ac_header_compiler" >&6
4522 # Is the header present?
4523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4525 cat >conftest.
$ac_ext <<_ACEOF
4528 cat confdefs.h
>>conftest.
$ac_ext
4529 cat >>conftest.
$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4531 #include <$ac_header>
4533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4536 grep -v '^ *+' conftest.er1
>conftest.err
4538 cat conftest.err
>&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); } >/dev
/null
; then
4541 if test -s conftest.err
; then
4542 ac_cpp_err
=$ac_c_preproc_warn_flag
4543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4550 if test -z "$ac_cpp_err"; then
4551 ac_header_preproc
=yes
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.
$ac_ext >&5
4556 ac_header_preproc
=no
4558 rm -f conftest.err conftest.
$ac_ext
4559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4560 echo "${ECHO_T}$ac_header_preproc" >&6
4562 # So? What about this header?
4563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4569 ac_header_preproc
=yes
4572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4586 ## ------------------------------------------ ##
4587 ## Report this to the AC_PACKAGE_NAME lists. ##
4588 ## ------------------------------------------ ##
4591 sed "s/^/$as_me: WARNING: /" >&2
4594 echo "$as_me:$LINENO: checking for $ac_header" >&5
4595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 eval "$as_ac_Header=\$ac_header_preproc"
4601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4606 cat >>confdefs.h
<<_ACEOF
4607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4624 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4625 __argz_count __argz_stringify __argz_next
4627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4628 echo "$as_me:$LINENO: checking for $ac_func" >&5
4629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4630 if eval "test \"\${$as_ac_var+set}\" = set"; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 cat >conftest.
$ac_ext <<_ACEOF
4636 cat confdefs.h
>>conftest.
$ac_ext
4637 cat >>conftest.
$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4641 #define $ac_func innocuous_$ac_func
4643 /* System header to define __stub macros and hopefully few prototypes,
4644 which can conflict with char $ac_func (); below.
4645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4646 <limits.h> exists even on freestanding compilers. */
4649 # include <limits.h>
4651 # include <assert.h>
4656 /* Override any gcc2 internal prototype to avoid an error. */
4661 /* We use char because int might match the return type of a gcc2
4662 builtin and then its argument prototype would still apply. */
4664 /* The GNU C library defines this for functions which it implements
4665 to always fail with ENOSYS. Some functions are actually named
4666 something starting with __ and the normal name is an alias. */
4667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4670 char (*f) () = $ac_func;
4679 return f != $ac_func;
4684 rm -f conftest.
$ac_objext conftest
$ac_exeext
4685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4686 (eval $ac_link) 2>conftest.er1
4688 grep -v '^ *+' conftest.er1
>conftest.err
4690 cat conftest.err
>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } &&
4693 { ac_try
='test -z "$ac_c_werror_flag"
4694 || test ! -s conftest.err'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; } &&
4700 { ac_try
='test -s conftest$ac_exeext'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; }; then
4706 eval "$as_ac_var=yes"
4708 echo "$as_me: failed program was:" >&5
4709 sed 's/^/| /' conftest.
$ac_ext >&5
4711 eval "$as_ac_var=no"
4713 rm -f conftest.err conftest.
$ac_objext \
4714 conftest
$ac_exeext conftest.
$ac_ext
4716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4718 if test `eval echo '${'$as_ac_var'}'` = yes; then
4719 cat >>confdefs.h
<<_ACEOF
4720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4727 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4729 for ac_func
in stpcpy
4731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4732 echo "$as_me:$LINENO: checking for $ac_func" >&5
4733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4734 if eval "test \"\${$as_ac_var+set}\" = set"; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 cat >conftest.
$ac_ext <<_ACEOF
4740 cat confdefs.h
>>conftest.
$ac_ext
4741 cat >>conftest.
$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4745 #define $ac_func innocuous_$ac_func
4747 /* System header to define __stub macros and hopefully few prototypes,
4748 which can conflict with char $ac_func (); below.
4749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4750 <limits.h> exists even on freestanding compilers. */
4753 # include <limits.h>
4755 # include <assert.h>
4760 /* Override any gcc2 internal prototype to avoid an error. */
4765 /* We use char because int might match the return type of a gcc2
4766 builtin and then its argument prototype would still apply. */
4768 /* The GNU C library defines this for functions which it implements
4769 to always fail with ENOSYS. Some functions are actually named
4770 something starting with __ and the normal name is an alias. */
4771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4774 char (*f) () = $ac_func;
4783 return f != $ac_func;
4788 rm -f conftest.
$ac_objext conftest
$ac_exeext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4790 (eval $ac_link) 2>conftest.er1
4792 grep -v '^ *+' conftest.er1
>conftest.err
4794 cat conftest.err
>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } &&
4797 { ac_try
='test -z "$ac_c_werror_flag"
4798 || test ! -s conftest.err'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try
='test -s conftest$ac_exeext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4810 eval "$as_ac_var=yes"
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.
$ac_ext >&5
4815 eval "$as_ac_var=no"
4817 rm -f conftest.err conftest.
$ac_objext \
4818 conftest
$ac_exeext conftest.
$ac_ext
4820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4822 if test `eval echo '${'$as_ac_var'}'` = yes; then
4823 cat >>confdefs.h
<<_ACEOF
4824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4831 if test "${ac_cv_func_stpcpy}" = "yes"; then
4832 cat >>confdefs.h
<<\_ACEOF
4833 #define HAVE_STPCPY 1
4838 if test $ac_cv_header_locale_h = yes; then
4839 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4840 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4841 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 cat >conftest.
$ac_ext <<_ACEOF
4847 cat confdefs.h
>>conftest.
$ac_ext
4848 cat >>conftest.
$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4859 rm -f conftest.
$ac_objext conftest
$ac_exeext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4861 (eval $ac_link) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1
>conftest.err
4865 cat conftest.err
>&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try
='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try
='test -s conftest$ac_exeext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4881 am_cv_val_LC_MESSAGES
=yes
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.
$ac_ext >&5
4886 am_cv_val_LC_MESSAGES
=no
4888 rm -f conftest.err conftest.
$ac_objext \
4889 conftest
$ac_exeext conftest.
$ac_ext
4891 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4892 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4893 if test $am_cv_val_LC_MESSAGES = yes; then
4894 cat >>confdefs.h
<<\_ACEOF
4895 #define HAVE_LC_MESSAGES 1
4900 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4901 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4902 # Check whether --enable-nls or --disable-nls was given.
4903 if test "${enable_nls+set}" = set; then
4904 enableval
="$enable_nls"
4909 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4910 echo "${ECHO_T}$USE_NLS" >&6
4913 USE_INCLUDED_LIBINTL
=no
4915 if test "$USE_NLS" = "yes"; then
4916 cat >>confdefs.h
<<\_ACEOF
4917 #define ENABLE_NLS 1
4920 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4921 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4923 # Check whether --with-included-gettext or --without-included-gettext was given.
4924 if test "${with_included_gettext+set}" = set; then
4925 withval
="$with_included_gettext"
4926 nls_cv_force_use_gnu_gettext
=$withval
4928 nls_cv_force_use_gnu_gettext
=no
4930 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4931 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4933 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4934 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4936 nls_cv_header_libgt
=
4939 if test "${ac_cv_header_libintl_h+set}" = set; then
4940 echo "$as_me:$LINENO: checking for libintl.h" >&5
4941 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4942 if test "${ac_cv_header_libintl_h+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4946 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4948 # Is the header compilable?
4949 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4950 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4951 cat >conftest.
$ac_ext <<_ACEOF
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 $ac_includes_default
4958 #include <libintl.h>
4960 rm -f conftest.
$ac_objext
4961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4962 (eval $ac_compile) 2>conftest.er1
4964 grep -v '^ *+' conftest.er1
>conftest.err
4966 cat conftest.err
>&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } &&
4969 { ac_try
='test -z "$ac_c_werror_flag"
4970 || test ! -s conftest.err'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; } &&
4976 { ac_try
='test -s conftest.$ac_objext'
4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; }; then
4982 ac_header_compiler
=yes
4984 echo "$as_me: failed program was:" >&5
4985 sed 's/^/| /' conftest.
$ac_ext >&5
4987 ac_header_compiler
=no
4989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4991 echo "${ECHO_T}$ac_header_compiler" >&6
4993 # Is the header present?
4994 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4995 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4996 cat >conftest.
$ac_ext <<_ACEOF
4999 cat confdefs.h
>>conftest.
$ac_ext
5000 cat >>conftest.
$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 #include <libintl.h>
5004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1
>conftest.err
5009 cat conftest.err
>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } >/dev
/null
; then
5012 if test -s conftest.err
; then
5013 ac_cpp_err
=$ac_c_preproc_warn_flag
5014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5021 if test -z "$ac_cpp_err"; then
5022 ac_header_preproc
=yes
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.
$ac_ext >&5
5027 ac_header_preproc
=no
5029 rm -f conftest.err conftest.
$ac_ext
5030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5031 echo "${ECHO_T}$ac_header_preproc" >&6
5033 # So? What about this header?
5034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5036 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5037 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5038 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5039 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5040 ac_header_preproc
=yes
5043 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5044 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5045 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5046 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5047 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5048 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5049 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5050 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5051 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5052 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5053 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5054 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5057 ## ------------------------------------------ ##
5058 ## Report this to the AC_PACKAGE_NAME lists. ##
5059 ## ------------------------------------------ ##
5062 sed "s/^/$as_me: WARNING: /" >&2
5065 echo "$as_me:$LINENO: checking for libintl.h" >&5
5066 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5067 if test "${ac_cv_header_libintl_h+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 ac_cv_header_libintl_h
=$ac_header_preproc
5072 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5073 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5076 if test $ac_cv_header_libintl_h = yes; then
5077 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5078 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5079 if test "${gt_cv_func_gettext_libc+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 cat >conftest.
$ac_ext <<_ACEOF
5085 cat confdefs.h
>>conftest.
$ac_ext
5086 cat >>conftest.
$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5088 #include <libintl.h>
5092 return (int) gettext ("")
5097 rm -f conftest.
$ac_objext conftest
$ac_exeext
5098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5099 (eval $ac_link) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try
='test -z "$ac_c_werror_flag"
5107 || test ! -s conftest.err'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try
='test -s conftest$ac_exeext'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 gt_cv_func_gettext_libc
=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.
$ac_ext >&5
5124 gt_cv_func_gettext_libc
=no
5126 rm -f conftest.err conftest.
$ac_objext \
5127 conftest
$ac_exeext conftest.
$ac_ext
5129 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5130 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5132 if test "$gt_cv_func_gettext_libc" != "yes"; then
5133 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5134 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5135 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 ac_check_lib_save_LIBS
=$LIBS
5140 cat >conftest.
$ac_ext <<_ACEOF
5143 cat confdefs.h
>>conftest.
$ac_ext
5144 cat >>conftest.
$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5147 /* Override any gcc2 internal prototype to avoid an error. */
5151 /* We use char because int might match the return type of a gcc2
5152 builtin and then its argument prototype would still apply. */
5153 char bindtextdomain ();
5162 rm -f conftest.
$ac_objext conftest
$ac_exeext
5163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5164 (eval $ac_link) 2>conftest.er1
5166 grep -v '^ *+' conftest.er1
>conftest.err
5168 cat conftest.err
>&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); } &&
5171 { ac_try
='test -z "$ac_c_werror_flag"
5172 || test ! -s conftest.err'
5173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); }; } &&
5178 { ac_try
='test -s conftest$ac_exeext'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; }; then
5184 ac_cv_lib_intl_bindtextdomain
=yes
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.
$ac_ext >&5
5189 ac_cv_lib_intl_bindtextdomain
=no
5191 rm -f conftest.err conftest.
$ac_objext \
5192 conftest
$ac_exeext conftest.
$ac_ext
5193 LIBS
=$ac_check_lib_save_LIBS
5195 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5196 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5197 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5198 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5199 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5200 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 cat >conftest.
$ac_ext <<_ACEOF
5206 cat confdefs.h
>>conftest.
$ac_ext
5207 cat >>conftest.
$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5213 return (int) gettext ("")
5218 rm -f conftest.
$ac_objext conftest
$ac_exeext
5219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5220 (eval $ac_link) 2>conftest.er1
5222 grep -v '^ *+' conftest.er1
>conftest.err
5224 cat conftest.err
>&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } &&
5227 { ac_try
='test -z "$ac_c_werror_flag"
5228 || test ! -s conftest.err'
5229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; } &&
5234 { ac_try
='test -s conftest$ac_exeext'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; }; then
5240 gt_cv_func_gettext_libintl
=yes
5242 echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.
$ac_ext >&5
5245 gt_cv_func_gettext_libintl
=no
5247 rm -f conftest.err conftest.
$ac_objext \
5248 conftest
$ac_exeext conftest.
$ac_ext
5250 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5251 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5256 if test "$gt_cv_func_gettext_libc" = "yes" \
5257 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5258 cat >>confdefs.h
<<\_ACEOF
5259 #define HAVE_GETTEXT 1
5262 # Extract the first word of "msgfmt", so it can be a program name with args.
5263 set dummy msgfmt
; ac_word
=$2
5264 echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5266 if test "${ac_cv_path_MSGFMT+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5274 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5275 for ac_dir
in $PATH; do
5276 test -z "$ac_dir" && ac_dir
=.
5277 if test -f $ac_dir/$ac_word; then
5278 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5279 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5285 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5289 MSGFMT
="$ac_cv_path_MSGFMT"
5290 if test -n "$MSGFMT"; then
5291 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5292 echo "${ECHO_T}$MSGFMT" >&6
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5297 if test "$MSGFMT" != "no"; then
5299 for ac_func
in dcgettext
5301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5302 echo "$as_me:$LINENO: checking for $ac_func" >&5
5303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5304 if eval "test \"\${$as_ac_var+set}\" = set"; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 cat >conftest.
$ac_ext <<_ACEOF
5310 cat confdefs.h
>>conftest.
$ac_ext
5311 cat >>conftest.
$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5315 #define $ac_func innocuous_$ac_func
5317 /* System header to define __stub macros and hopefully few prototypes,
5318 which can conflict with char $ac_func (); below.
5319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5320 <limits.h> exists even on freestanding compilers. */
5323 # include <limits.h>
5325 # include <assert.h>
5330 /* Override any gcc2 internal prototype to avoid an error. */
5335 /* We use char because int might match the return type of a gcc2
5336 builtin and then its argument prototype would still apply. */
5338 /* The GNU C library defines this for functions which it implements
5339 to always fail with ENOSYS. Some functions are actually named
5340 something starting with __ and the normal name is an alias. */
5341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5344 char (*f) () = $ac_func;
5353 return f != $ac_func;
5358 rm -f conftest.
$ac_objext conftest
$ac_exeext
5359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5360 (eval $ac_link) 2>conftest.er1
5362 grep -v '^ *+' conftest.er1
>conftest.err
5364 cat conftest.err
>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } &&
5367 { ac_try
='test -z "$ac_c_werror_flag"
5368 || test ! -s conftest.err'
5369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); }; } &&
5374 { ac_try
='test -s conftest$ac_exeext'
5375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); }; }; then
5380 eval "$as_ac_var=yes"
5382 echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.
$ac_ext >&5
5385 eval "$as_ac_var=no"
5387 rm -f conftest.err conftest.
$ac_objext \
5388 conftest
$ac_exeext conftest.
$ac_ext
5390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5392 if test `eval echo '${'$as_ac_var'}'` = yes; then
5393 cat >>confdefs.h
<<_ACEOF
5394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5400 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5401 set dummy gmsgfmt
; ac_word
=$2
5402 echo "$as_me:$LINENO: checking for $ac_word" >&5
5403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5404 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir
=.
5417 for ac_exec_ext
in '' $ac_executable_extensions; do
5418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5430 GMSGFMT
=$ac_cv_path_GMSGFMT
5432 if test -n "$GMSGFMT"; then
5433 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5434 echo "${ECHO_T}$GMSGFMT" >&6
5436 echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6
5440 # Extract the first word of "xgettext", so it can be a program name with args.
5441 set dummy xgettext
; ac_word
=$2
5442 echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5444 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5449 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5452 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5453 for ac_dir
in $PATH; do
5454 test -z "$ac_dir" && ac_dir
=.
5455 if test -f $ac_dir/$ac_word; then
5456 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5457 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5463 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5467 XGETTEXT
="$ac_cv_path_XGETTEXT"
5468 if test -n "$XGETTEXT"; then
5469 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5470 echo "${ECHO_T}$XGETTEXT" >&6
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5476 cat >conftest.
$ac_ext <<_ACEOF
5479 cat confdefs.h
>>conftest.
$ac_ext
5480 cat >>conftest.
$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5486 extern int _nl_msg_cat_cntr;
5487 return _nl_msg_cat_cntr
5492 rm -f conftest.
$ac_objext conftest
$ac_exeext
5493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5494 (eval $ac_link) 2>conftest.er1
5496 grep -v '^ *+' conftest.er1
>conftest.err
5498 cat conftest.err
>&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); } &&
5501 { ac_try
='test -z "$ac_c_werror_flag"
5502 || 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_exeext'
5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; }; then
5517 echo "$as_me: failed program was:" >&5
5518 sed 's/^/| /' conftest.
$ac_ext >&5
5523 rm -f conftest.err conftest.
$ac_objext \
5524 conftest
$ac_exeext conftest.
$ac_ext
5534 if test "$CATOBJEXT" = "NONE"; then
5535 nls_cv_use_gnu_gettext
=yes
5539 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5540 INTLOBJS
="\$(GETTOBJS)"
5541 # Extract the first word of "msgfmt", so it can be a program name with args.
5542 set dummy msgfmt
; ac_word
=$2
5543 echo "$as_me:$LINENO: checking for $ac_word" >&5
5544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5545 if test "${ac_cv_path_MSGFMT+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5553 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5554 for ac_dir
in $PATH; do
5555 test -z "$ac_dir" && ac_dir
=.
5556 if test -f $ac_dir/$ac_word; then
5557 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5558 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5564 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5568 MSGFMT
="$ac_cv_path_MSGFMT"
5569 if test -n "$MSGFMT"; then
5570 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5571 echo "${ECHO_T}$MSGFMT" >&6
5573 echo "$as_me:$LINENO: result: no" >&5
5574 echo "${ECHO_T}no" >&6
5577 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5578 set dummy gmsgfmt
; ac_word
=$2
5579 echo "$as_me:$LINENO: checking for $ac_word" >&5
5580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5581 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5586 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir
=.
5594 for ac_exec_ext
in '' $ac_executable_extensions; do
5595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5596 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5607 GMSGFMT
=$ac_cv_path_GMSGFMT
5609 if test -n "$GMSGFMT"; then
5610 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5611 echo "${ECHO_T}$GMSGFMT" >&6
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5617 # Extract the first word of "xgettext", so it can be a program name with args.
5618 set dummy xgettext
; ac_word
=$2
5619 echo "$as_me:$LINENO: checking for $ac_word" >&5
5620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5621 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5629 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5630 for ac_dir
in $PATH; do
5631 test -z "$ac_dir" && ac_dir
=.
5632 if test -f $ac_dir/$ac_word; then
5633 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5634 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5640 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5644 XGETTEXT
="$ac_cv_path_XGETTEXT"
5645 if test -n "$XGETTEXT"; then
5646 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5647 echo "${ECHO_T}$XGETTEXT" >&6
5649 echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6
5654 USE_INCLUDED_LIBINTL
=yes
5658 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5660 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5661 nls_cv_header_intl
=libintl.h
5662 nls_cv_header_libgt
=libgettext.h
5665 if test "$XGETTEXT" != ":"; then
5666 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5669 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5670 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5675 # We need to process the po/ directory.
5679 nls_cv_header_intl
=libintl.h
5680 nls_cv_header_libgt
=libgettext.h
5683 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5684 # because some of the sources are only built for this goal.
5685 if test "$PACKAGE" = gettext; then
5687 USE_INCLUDED_LIBINTL
=yes
5690 for lang
in $ALL_LINGUAS; do
5691 GMOFILES
="$GMOFILES $lang.gmo"
5692 POFILES
="$POFILES $lang.po"
5708 if test "x$CATOBJEXT" != "x"; then
5709 if test "x$ALL_LINGUAS" = "x"; then
5712 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5713 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5715 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5716 case "$ALL_LINGUAS" in
5717 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5720 LINGUAS
=$NEW_LINGUAS
5721 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5722 echo "${ECHO_T}$LINGUAS" >&6
5725 if test -n "$LINGUAS"; then
5726 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5730 if test $ac_cv_header_locale_h = yes; then
5731 INCLUDE_LOCALE_H
="#include <locale.h>"
5734 /* The system does not provide the header <locale.h>. Take care yourself. */"
5738 if test -f $srcdir/po2tbl.
sed.
in; then
5739 if test "$CATOBJEXT" = ".cat"; then
5740 if test "${ac_cv_header_linux_version_h+set}" = set; then
5741 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5742 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5743 if test "${ac_cv_header_linux_version_h+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5746 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5747 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5749 # Is the header compilable?
5750 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5751 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5752 cat >conftest.
$ac_ext <<_ACEOF
5755 cat confdefs.h
>>conftest.
$ac_ext
5756 cat >>conftest.
$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5758 $ac_includes_default
5759 #include <linux/version.h>
5761 rm -f conftest.
$ac_objext
5762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5763 (eval $ac_compile) 2>conftest.er1
5765 grep -v '^ *+' conftest.er1
>conftest.err
5767 cat conftest.err
>&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); } &&
5770 { ac_try
='test -z "$ac_c_werror_flag"
5771 || test ! -s conftest.err'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; } &&
5777 { ac_try
='test -s conftest.$ac_objext'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; }; then
5783 ac_header_compiler
=yes
5785 echo "$as_me: failed program was:" >&5
5786 sed 's/^/| /' conftest.
$ac_ext >&5
5788 ac_header_compiler
=no
5790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5792 echo "${ECHO_T}$ac_header_compiler" >&6
5794 # Is the header present?
5795 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5796 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5797 cat >conftest.
$ac_ext <<_ACEOF
5800 cat confdefs.h
>>conftest.
$ac_ext
5801 cat >>conftest.
$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5803 #include <linux/version.h>
5805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } >/dev
/null
; then
5813 if test -s conftest.err
; then
5814 ac_cpp_err
=$ac_c_preproc_warn_flag
5815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5822 if test -z "$ac_cpp_err"; then
5823 ac_header_preproc
=yes
5825 echo "$as_me: failed program was:" >&5
5826 sed 's/^/| /' conftest.
$ac_ext >&5
5828 ac_header_preproc
=no
5830 rm -f conftest.err conftest.
$ac_ext
5831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5832 echo "${ECHO_T}$ac_header_preproc" >&6
5834 # So? What about this header?
5835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5837 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5838 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5839 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5840 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5841 ac_header_preproc
=yes
5844 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5845 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5846 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5847 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5848 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5849 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5850 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5851 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5852 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5853 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5854 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5855 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5858 ## ------------------------------------------ ##
5859 ## Report this to the AC_PACKAGE_NAME lists. ##
5860 ## ------------------------------------------ ##
5863 sed "s/^/$as_me: WARNING: /" >&2
5866 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5867 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5868 if test "${ac_cv_header_linux_version_h+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 ac_cv_header_linux_version_h
=$ac_header_preproc
5873 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5874 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5877 if test $ac_cv_header_linux_version_h = yes; then
5885 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5887 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5888 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5891 if test "$PACKAGE" = "gettext"; then
5901 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5907 if test -d $srcdir/po
; then
5908 test -d po || mkdir po
5909 if test "x$srcdir" != "x."; then
5910 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5911 posrcprefix
="$srcdir/"
5913 posrcprefix
="../$srcdir/"
5919 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5920 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5924 # Check for common headers.
5925 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5926 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5932 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
5934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5936 echo "$as_me:$LINENO: checking for $ac_header" >&5
5937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5944 # Is the header compilable?
5945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5947 cat >conftest.
$ac_ext <<_ACEOF
5950 cat confdefs.h
>>conftest.
$ac_ext
5951 cat >>conftest.
$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5953 $ac_includes_default
5954 #include <$ac_header>
5956 rm -f conftest.
$ac_objext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>conftest.er1
5960 grep -v '^ *+' conftest.er1
>conftest.err
5962 cat conftest.err
>&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } &&
5965 { ac_try
='test -z "$ac_c_werror_flag"
5966 || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try
='test -s conftest.$ac_objext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5978 ac_header_compiler
=yes
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5983 ac_header_compiler
=no
5985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5987 echo "${ECHO_T}$ac_header_compiler" >&6
5989 # Is the header present?
5990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5992 cat >conftest.
$ac_ext <<_ACEOF
5995 cat confdefs.h
>>conftest.
$ac_ext
5996 cat >>conftest.
$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 #include <$ac_header>
6000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6001 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
6008 if test -s conftest.err
; then
6009 ac_cpp_err
=$ac_c_preproc_warn_flag
6010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6017 if test -z "$ac_cpp_err"; then
6018 ac_header_preproc
=yes
6020 echo "$as_me: failed program was:" >&5
6021 sed 's/^/| /' conftest.
$ac_ext >&5
6023 ac_header_preproc
=no
6025 rm -f conftest.err conftest.
$ac_ext
6026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6027 echo "${ECHO_T}$ac_header_preproc" >&6
6029 # So? What about this header?
6030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6036 ac_header_preproc
=yes
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6053 ## ------------------------------------------ ##
6054 ## Report this to the AC_PACKAGE_NAME lists. ##
6055 ## ------------------------------------------ ##
6058 sed "s/^/$as_me: WARNING: /" >&2
6061 echo "$as_me:$LINENO: checking for $ac_header" >&5
6062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 eval "$as_ac_Header=\$ac_header_preproc"
6068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6073 cat >>confdefs.h
<<_ACEOF
6074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6083 for ac_header
in sys
/time.h sys
/resource.h
6085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6087 echo "$as_me:$LINENO: checking for $ac_header" >&5
6088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6095 # Is the header compilable?
6096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6098 cat >conftest.
$ac_ext <<_ACEOF
6101 cat confdefs.h
>>conftest.
$ac_ext
6102 cat >>conftest.
$ac_ext <<_ACEOF
6103 /* end confdefs.h. */
6104 $ac_includes_default
6105 #include <$ac_header>
6107 rm -f conftest.
$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>conftest.er1
6111 grep -v '^ *+' conftest.er1
>conftest.err
6113 cat conftest.err
>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try
='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try
='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_header_compiler
=yes
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6134 ac_header_compiler
=no
6136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6138 echo "${ECHO_T}$ac_header_compiler" >&6
6140 # Is the header present?
6141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6143 cat >conftest.
$ac_ext <<_ACEOF
6146 cat confdefs.h
>>conftest.
$ac_ext
6147 cat >>conftest.
$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6149 #include <$ac_header>
6151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6154 grep -v '^ *+' conftest.er1
>conftest.err
6156 cat conftest.err
>&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } >/dev
/null
; then
6159 if test -s conftest.err
; then
6160 ac_cpp_err
=$ac_c_preproc_warn_flag
6161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6168 if test -z "$ac_cpp_err"; then
6169 ac_header_preproc
=yes
6171 echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.
$ac_ext >&5
6174 ac_header_preproc
=no
6176 rm -f conftest.err conftest.
$ac_ext
6177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6178 echo "${ECHO_T}$ac_header_preproc" >&6
6180 # So? What about this header?
6181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6187 ac_header_preproc
=yes
6190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6204 ## ------------------------------------------ ##
6205 ## Report this to the AC_PACKAGE_NAME lists. ##
6206 ## ------------------------------------------ ##
6209 sed "s/^/$as_me: WARNING: /" >&2
6212 echo "$as_me:$LINENO: checking for $ac_header" >&5
6213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 eval "$as_ac_Header=\$ac_header_preproc"
6219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6224 cat >>confdefs.h
<<_ACEOF
6225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6234 for ac_header
in fcntl.h fpu_control.h
6236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6238 echo "$as_me:$LINENO: checking for $ac_header" >&5
6239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6246 # Is the header compilable?
6247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6249 cat >conftest.
$ac_ext <<_ACEOF
6252 cat confdefs.h
>>conftest.
$ac_ext
6253 cat >>conftest.
$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6255 $ac_includes_default
6256 #include <$ac_header>
6258 rm -f conftest.
$ac_objext
6259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6260 (eval $ac_compile) 2>conftest.er1
6262 grep -v '^ *+' conftest.er1
>conftest.err
6264 cat conftest.err
>&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); } &&
6267 { ac_try
='test -z "$ac_c_werror_flag"
6268 || test ! -s conftest.err'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; } &&
6274 { ac_try
='test -s conftest.$ac_objext'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; }; then
6280 ac_header_compiler
=yes
6282 echo "$as_me: failed program was:" >&5
6283 sed 's/^/| /' conftest.
$ac_ext >&5
6285 ac_header_compiler
=no
6287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6289 echo "${ECHO_T}$ac_header_compiler" >&6
6291 # Is the header present?
6292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6294 cat >conftest.
$ac_ext <<_ACEOF
6297 cat confdefs.h
>>conftest.
$ac_ext
6298 cat >>conftest.
$ac_ext <<_ACEOF
6299 /* end confdefs.h. */
6300 #include <$ac_header>
6302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6305 grep -v '^ *+' conftest.er1
>conftest.err
6307 cat conftest.err
>&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } >/dev
/null
; then
6310 if test -s conftest.err
; then
6311 ac_cpp_err
=$ac_c_preproc_warn_flag
6312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6319 if test -z "$ac_cpp_err"; then
6320 ac_header_preproc
=yes
6322 echo "$as_me: failed program was:" >&5
6323 sed 's/^/| /' conftest.
$ac_ext >&5
6325 ac_header_preproc
=no
6327 rm -f conftest.err conftest.
$ac_ext
6328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6329 echo "${ECHO_T}$ac_header_preproc" >&6
6331 # So? What about this header?
6332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6338 ac_header_preproc
=yes
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6355 ## ------------------------------------------ ##
6356 ## Report this to the AC_PACKAGE_NAME lists. ##
6357 ## ------------------------------------------ ##
6360 sed "s/^/$as_me: WARNING: /" >&2
6363 echo "$as_me:$LINENO: checking for $ac_header" >&5
6364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6368 eval "$as_ac_Header=\$ac_header_preproc"
6370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6375 cat >>confdefs.h
<<_ACEOF
6376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6386 for ac_header
in dlfcn.h errno.h sys
/stat.h
6388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6390 echo "$as_me:$LINENO: checking for $ac_header" >&5
6391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6398 # Is the header compilable?
6399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6401 cat >conftest.
$ac_ext <<_ACEOF
6404 cat confdefs.h
>>conftest.
$ac_ext
6405 cat >>conftest.
$ac_ext <<_ACEOF
6406 /* end confdefs.h. */
6407 $ac_includes_default
6408 #include <$ac_header>
6410 rm -f conftest.
$ac_objext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6412 (eval $ac_compile) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try
='test -z "$ac_c_werror_flag"
6420 || test ! -s conftest.err'
6421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); }; } &&
6426 { ac_try
='test -s conftest.$ac_objext'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; }; then
6432 ac_header_compiler
=yes
6434 echo "$as_me: failed program was:" >&5
6435 sed 's/^/| /' conftest.
$ac_ext >&5
6437 ac_header_compiler
=no
6439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6441 echo "${ECHO_T}$ac_header_compiler" >&6
6443 # Is the header present?
6444 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6446 cat >conftest.
$ac_ext <<_ACEOF
6449 cat confdefs.h
>>conftest.
$ac_ext
6450 cat >>conftest.
$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6452 #include <$ac_header>
6454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6457 grep -v '^ *+' conftest.er1
>conftest.err
6459 cat conftest.err
>&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); } >/dev
/null
; then
6462 if test -s conftest.err
; then
6463 ac_cpp_err
=$ac_c_preproc_warn_flag
6464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6471 if test -z "$ac_cpp_err"; then
6472 ac_header_preproc
=yes
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.
$ac_ext >&5
6477 ac_header_preproc
=no
6479 rm -f conftest.err conftest.
$ac_ext
6480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6481 echo "${ECHO_T}$ac_header_preproc" >&6
6483 # So? What about this header?
6484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6490 ac_header_preproc
=yes
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6507 ## ------------------------------------------ ##
6508 ## Report this to the AC_PACKAGE_NAME lists. ##
6509 ## ------------------------------------------ ##
6512 sed "s/^/$as_me: WARNING: /" >&2
6515 echo "$as_me:$LINENO: checking for $ac_header" >&5
6516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 eval "$as_ac_Header=\$ac_header_preproc"
6522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6527 cat >>confdefs.h
<<_ACEOF
6528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6539 for ac_func
in getrusage
time sigaction __setfpucw
6541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6542 echo "$as_me:$LINENO: checking for $ac_func" >&5
6543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6544 if eval "test \"\${$as_ac_var+set}\" = set"; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 cat >conftest.
$ac_ext <<_ACEOF
6550 cat confdefs.h
>>conftest.
$ac_ext
6551 cat >>conftest.
$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6555 #define $ac_func innocuous_$ac_func
6557 /* System header to define __stub macros and hopefully few prototypes,
6558 which can conflict with char $ac_func (); below.
6559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 <limits.h> exists even on freestanding compilers. */
6563 # include <limits.h>
6565 # include <assert.h>
6570 /* Override any gcc2 internal prototype to avoid an error. */
6575 /* We use char because int might match the return type of a gcc2
6576 builtin and then its argument prototype would still apply. */
6578 /* The GNU C library defines this for functions which it implements
6579 to always fail with ENOSYS. Some functions are actually named
6580 something starting with __ and the normal name is an alias. */
6581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6584 char (*f) () = $ac_func;
6593 return f != $ac_func;
6598 rm -f conftest.
$ac_objext conftest
$ac_exeext
6599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6600 (eval $ac_link) 2>conftest.er1
6602 grep -v '^ *+' conftest.er1
>conftest.err
6604 cat conftest.err
>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } &&
6607 { ac_try
='test -z "$ac_c_werror_flag"
6608 || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try
='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 eval "$as_ac_var=yes"
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.
$ac_ext >&5
6625 eval "$as_ac_var=no"
6627 rm -f conftest.err conftest.
$ac_objext \
6628 conftest
$ac_exeext conftest.
$ac_ext
6630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6632 if test `eval echo '${'$as_ac_var'}'` = yes; then
6633 cat >>confdefs.h
<<_ACEOF
6634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6641 # Check for socket libraries
6643 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6644 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6645 if test "${ac_cv_lib_socket_bind+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 ac_check_lib_save_LIBS
=$LIBS
6649 LIBS
="-lsocket $LIBS"
6650 cat >conftest.
$ac_ext <<_ACEOF
6653 cat confdefs.h
>>conftest.
$ac_ext
6654 cat >>conftest.
$ac_ext <<_ACEOF
6655 /* end confdefs.h. */
6657 /* Override any gcc2 internal prototype to avoid an error. */
6661 /* We use char because int might match the return type of a gcc2
6662 builtin and then its argument prototype would still apply. */
6672 rm -f conftest.
$ac_objext conftest
$ac_exeext
6673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6674 (eval $ac_link) 2>conftest.er1
6676 grep -v '^ *+' conftest.er1
>conftest.err
6678 cat conftest.err
>&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } &&
6681 { ac_try
='test -z "$ac_c_werror_flag"
6682 || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try
='test -s conftest$ac_exeext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 ac_cv_lib_socket_bind
=yes
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6699 ac_cv_lib_socket_bind
=no
6701 rm -f conftest.err conftest.
$ac_objext \
6702 conftest
$ac_exeext conftest.
$ac_ext
6703 LIBS
=$ac_check_lib_save_LIBS
6705 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6706 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6707 if test $ac_cv_lib_socket_bind = yes; then
6708 cat >>confdefs.h
<<_ACEOF
6709 #define HAVE_LIBSOCKET 1
6712 LIBS
="-lsocket $LIBS"
6717 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6718 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6719 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 ac_check_lib_save_LIBS
=$LIBS
6724 cat >conftest.
$ac_ext <<_ACEOF
6727 cat confdefs.h
>>conftest.
$ac_ext
6728 cat >>conftest.
$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6731 /* Override any gcc2 internal prototype to avoid an error. */
6735 /* We use char because int might match the return type of a gcc2
6736 builtin and then its argument prototype would still apply. */
6737 char gethostbyname ();
6746 rm -f conftest.
$ac_objext conftest
$ac_exeext
6747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6748 (eval $ac_link) 2>conftest.er1
6750 grep -v '^ *+' conftest.er1
>conftest.err
6752 cat conftest.err
>&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); } &&
6755 { ac_try
='test -z "$ac_c_werror_flag"
6756 || test ! -s conftest.err'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; } &&
6762 { ac_try
='test -s conftest$ac_exeext'
6763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); }; }; then
6768 ac_cv_lib_nsl_gethostbyname
=yes
6770 echo "$as_me: failed program was:" >&5
6771 sed 's/^/| /' conftest.
$ac_ext >&5
6773 ac_cv_lib_nsl_gethostbyname
=no
6775 rm -f conftest.err conftest.
$ac_objext \
6776 conftest
$ac_exeext conftest.
$ac_ext
6777 LIBS
=$ac_check_lib_save_LIBS
6779 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6780 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6781 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6782 cat >>confdefs.h
<<_ACEOF
6783 #define HAVE_LIBNSL 1
6791 .
${srcdir}/..
/..
/bfd
/configure.
host
6795 USE_MAINTAINER_MODE
=no
6796 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6797 if test "${enable_maintainer_mode+set}" = set; then
6798 enableval
="$enable_maintainer_mode"
6799 case "${enableval}" in
6800 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
6802 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6803 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6804 { (exit 1); exit 1; }; }; MAINT
="#" ;;
6806 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
6807 echo "Setting maintainer mode" 6>&1
6814 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6815 if test "${enable_sim_bswap+set}" = set; then
6816 enableval
="$enable_sim_bswap"
6817 case "${enableval}" in
6818 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6819 no
) sim_bswap
="-DWITH_BSWAP=0";;
6820 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6821 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6822 { (exit 1); exit 1; }; }; sim_bswap
="";;
6824 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
6825 echo "Setting bswap flags = $sim_bswap" 6>&1
6832 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6833 if test "${enable_sim_cflags+set}" = set; then
6834 enableval
="$enable_sim_cflags"
6835 case "${enableval}" in
6836 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
6837 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6838 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6839 { (exit 1); exit 1; }; }; sim_cflags
="";;
6841 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6843 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
6844 echo "Setting sim cflags = $sim_cflags" 6>&1
6851 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6852 if test "${enable_sim_debug+set}" = set; then
6853 enableval
="$enable_sim_debug"
6854 case "${enableval}" in
6855 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
6856 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
6857 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6859 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
6860 echo "Setting sim debug = $sim_debug" 6>&1
6867 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6868 if test "${enable_sim_stdio+set}" = set; then
6869 enableval
="$enable_sim_stdio"
6870 case "${enableval}" in
6871 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6872 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6873 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6874 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6875 { (exit 1); exit 1; }; }; sim_stdio
="";;
6877 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6878 echo "Setting stdio flags = $sim_stdio" 6>&1
6885 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6886 if test "${enable_sim_trace+set}" = set; then
6887 enableval
="$enable_sim_trace"
6888 case "${enableval}" in
6889 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
6890 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
6892 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6895 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6896 if test x
"$sim_trace" = x
; then
6897 sim_trace
="-DWITH_TRACE='(TRACE_$x"
6899 sim_trace
="${sim_trace}|TRACE_$x"
6902 sim_trace
="$sim_trace)'" ;;
6904 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6905 echo "Setting sim trace = $sim_trace" 6>&1
6912 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6913 if test "${enable_sim_profile+set}" = set; then
6914 enableval
="$enable_sim_profile"
6915 case "${enableval}" in
6916 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
6917 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
6919 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6922 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6923 if test x
"$sim_profile" = x
; then
6924 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
6926 sim_profile
="${sim_profile}|PROFILE_$x"
6929 sim_profile
="$sim_profile)'" ;;
6931 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
6932 echo "Setting sim profile = $sim_profile" 6>&1
6935 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
6939 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6940 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6941 if test "${ac_cv_type_signal+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 cat >conftest.
$ac_ext <<_ACEOF
6947 cat confdefs.h
>>conftest.
$ac_ext
6948 cat >>conftest.
$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <sys/types.h>
6956 extern "C" void (*signal (int, void (*)(int)))(int);
6958 void (*signal ()) ();
6969 rm -f conftest.
$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1
>conftest.err
6975 cat conftest.err
>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try
='test -z "$ac_c_werror_flag"
6979 || test ! -s conftest.err'
6980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; } &&
6985 { ac_try
='test -s conftest.$ac_objext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_type_signal
=void
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.
$ac_ext >&5
6996 ac_cv_type_signal
=int
6998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7000 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7001 echo "${ECHO_T}$ac_cv_type_signal" >&6
7003 cat >>confdefs.h
<<_ACEOF
7004 #define RETSIGTYPE $ac_cv_type_signal
7014 sim_link_links
=tconfig.h
7015 if test -f ${srcdir}/tconfig.
in
7017 sim_link_files
=tconfig.
in
7019 sim_link_files
=..
/common
/tconfig.
in
7022 # targ-vals.def points to the libc macro description file.
7024 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
7026 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
7027 sim_link_links
="${sim_link_links} targ-vals.def"
7031 # NOTE: Don't add -Wall or -Wunused, they both include
7032 # -Wunused-parameter which reports bogus warnings.
7033 # NOTE: If you add to this list, remember to update
7034 # gdb/doc/gdbint.texinfo.
7035 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
7036 -Wformat -Wparentheses -Wpointer-arith -Wuninitialized"
7037 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
7038 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
7039 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
7040 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
7041 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
7042 # -Woverloaded-virtual -Winline -Werror"
7043 # Check whether --enable-build-warnings or --disable-build-warnings was given.
7044 if test "${enable_build_warnings+set}" = set; then
7045 enableval
="$enable_build_warnings"
7046 case "${enableval}" in
7048 no
) build_warnings
="-w";;
7049 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
7050 build_warnings
="${build_warnings} ${t}";;
7051 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
7052 build_warnings
="${t} ${build_warnings}";;
7053 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
7055 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
7056 echo "Setting compiler warning flags = $build_warnings" 6>&1
7058 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
7059 if test "${enable_sim_build_warnings+set}" = set; then
7060 enableval
="$enable_sim_build_warnings"
7061 case "${enableval}" in
7063 no
) build_warnings
="-w";;
7064 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
7065 build_warnings
="${build_warnings} ${t}";;
7066 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
7067 build_warnings
="${t} ${build_warnings}";;
7068 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
7070 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
7071 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
7075 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
7077 echo "$as_me:$LINENO: checking compiler warning flags" >&5
7078 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
7079 # Separate out the -Werror flag as some files just cannot be
7080 # compiled with it enabled.
7081 for w
in ${build_warnings}; do
7083 -Werr*) WERROR_CFLAGS
=-Werror ;;
7084 *) # Check that GCC accepts it
7085 saved_CFLAGS
="$CFLAGS"
7087 cat >conftest.
$ac_ext <<_ACEOF
7090 cat confdefs.h
>>conftest.
$ac_ext
7091 cat >>conftest.
$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7102 rm -f conftest.
$ac_objext
7103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7104 (eval $ac_compile) 2>conftest.er1
7106 grep -v '^ *+' conftest.er1
>conftest.err
7108 cat conftest.err
>&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); } &&
7111 { ac_try
='test -z "$ac_c_werror_flag"
7112 || test ! -s conftest.err'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; } &&
7118 { ac_try
='test -s conftest.$ac_objext'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; }; then
7124 WARN_CFLAGS
="${WARN_CFLAGS} $w"
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.
$ac_ext >&5
7130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7131 CFLAGS
="$saved_CFLAGS"
7134 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
7135 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
7140 for ac_header
in unistd.h
7142 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7144 echo "$as_me:$LINENO: checking for $ac_header" >&5
7145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7152 # Is the header compilable?
7153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7155 cat >conftest.
$ac_ext <<_ACEOF
7158 cat confdefs.h
>>conftest.
$ac_ext
7159 cat >>conftest.
$ac_ext <<_ACEOF
7160 /* end confdefs.h. */
7161 $ac_includes_default
7162 #include <$ac_header>
7164 rm -f conftest.
$ac_objext
7165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7166 (eval $ac_compile) 2>conftest.er1
7168 grep -v '^ *+' conftest.er1
>conftest.err
7170 cat conftest.err
>&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } &&
7173 { ac_try
='test -z "$ac_c_werror_flag"
7174 || test ! -s conftest.err'
7175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); }; } &&
7180 { ac_try
='test -s conftest.$ac_objext'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7186 ac_header_compiler
=yes
7188 echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.
$ac_ext >&5
7191 ac_header_compiler
=no
7193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7195 echo "${ECHO_T}$ac_header_compiler" >&6
7197 # Is the header present?
7198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7200 cat >conftest.
$ac_ext <<_ACEOF
7203 cat confdefs.h
>>conftest.
$ac_ext
7204 cat >>conftest.
$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 #include <$ac_header>
7208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7211 grep -v '^ *+' conftest.er1
>conftest.err
7213 cat conftest.err
>&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); } >/dev
/null
; then
7216 if test -s conftest.err
; then
7217 ac_cpp_err
=$ac_c_preproc_warn_flag
7218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7225 if test -z "$ac_cpp_err"; then
7226 ac_header_preproc
=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 ac_header_preproc
=no
7233 rm -f conftest.err conftest.
$ac_ext
7234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7235 echo "${ECHO_T}$ac_header_preproc" >&6
7237 # So? What about this header?
7238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7244 ac_header_preproc
=yes
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7261 ## ------------------------------------------ ##
7262 ## Report this to the AC_PACKAGE_NAME lists. ##
7263 ## ------------------------------------------ ##
7266 sed "s/^/$as_me: WARNING: /" >&2
7269 echo "$as_me:$LINENO: checking for $ac_header" >&5
7270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7274 eval "$as_ac_Header=\$ac_header_preproc"
7276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7281 cat >>confdefs.h
<<_ACEOF
7282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7292 ac_sources
="$sim_link_files"
7293 ac_dests
="$sim_link_links"
7294 while test -n "$ac_sources"; do
7295 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
7296 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
7297 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
7299 ac_config_links
="$ac_config_links $ac_config_links_1"
7302 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
7303 cgen_breaks
="break cgen_rtx_error";
7306 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
7308 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
7310 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
7312 ac_config_commands
="$ac_config_commands Makefile"
7314 ac_config_commands
="$ac_config_commands stamp-h"
7316 cat >confcache
<<\_ACEOF
7317 # This file is a shell script that caches the results of configure
7318 # tests run on this system so they can be shared between configure
7319 # scripts and configure runs, see configure's option --config-cache.
7320 # It is not useful on other systems. If it contains results you don't
7321 # want to keep, you may remove or edit it.
7323 # config.status only pays attention to the cache file if you give it
7324 # the --recheck option to rerun configure.
7326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7332 # The following way of writing the cache mishandles newlines in values,
7333 # but we know of no workaround that is simple, portable, and efficient.
7334 # So, don't put newlines in cache variables' values.
7335 # Ultrix sh set writes to stderr and can't be redirected directly,
7336 # and sets the high bit in the cache file unless we assign to the vars.
7339 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7341 # `set' does not quote correctly, so add quotes (double-quote
7342 # substitution turns \\\\ into \\, and sed turns \\ into \).
7345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7348 # `set' quotes correctly as required by POSIX, so do not add quotes.
7350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7359 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7361 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7362 if test -w $cache_file; then
7363 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7364 cat confcache
>$cache_file
7366 echo "not updating unwritable cache $cache_file"
7371 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7372 # Let make expand exec_prefix.
7373 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7377 # trailing colons and then remove the whole line if VPATH becomes empty
7378 # (actually we leave an empty line to preserve line numbers).
7379 if test "x$srcdir" = x.
; then
7380 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7381 s/:*\$(srcdir):*/:/;
7382 s/:*\${srcdir}:*/:/;
7384 s/^\([^=]*=[ ]*\):*/\1/;
7390 DEFS
=-DHAVE_CONFIG_H
7394 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7395 # 1. Remove the extension, and $U if already installed.
7396 ac_i
=`echo "$ac_i" |
7397 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7399 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7400 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7404 LTLIBOBJS
=$ac_ltlibobjs
7408 : ${CONFIG_STATUS=./config.status}
7409 ac_clean_files_save
=$ac_clean_files
7410 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7411 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7412 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7413 cat >$CONFIG_STATUS <<_ACEOF
7415 # Generated by $as_me.
7416 # Run this file to recreate the current configuration.
7417 # Compiler output produced by configure, useful for debugging
7418 # configure, is in config.log if it exists.
7423 SHELL=\${CONFIG_SHELL-$SHELL}
7426 cat >>$CONFIG_STATUS <<\_ACEOF
7427 ## --------------------- ##
7428 ## M4sh Initialization. ##
7429 ## --------------------- ##
7431 # Be Bourne compatible
7432 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7435 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7436 # is contrary to our usage. Disable this feature.
7437 alias -g '${1+"$@"}'='"$@"'
7438 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7441 DUALCASE
=1; export DUALCASE
# for MKS sh
7443 # Support unset when possible.
7444 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7451 # Work around bugs in pre-3.0 UWIN ksh.
7452 $as_unset ENV MAIL MAILPATH
7459 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7460 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7461 LC_TELEPHONE LC_TIME
7463 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7464 eval $as_var=C
; export $as_var
7470 # Required to use basename.
7471 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7477 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7478 as_basename
=basename
7484 # Name of the executable.
7485 as_me
=`$as_basename "$0" ||
7486 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7487 X"$0" : 'X\(//\)$' \| \
7488 X"$0" : 'X\(/\)$' \| \
7489 . : '\(.\)' 2>/dev/null ||
7491 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7492 /^X\/\(\/\/\)$/{ s//\1/; q; }
7493 /^X\/\(\/\).*/{ s//\1/; q; }
7497 # PATH needs CR, and LINENO needs CR and PATH.
7498 # Avoid depending upon Character Ranges.
7499 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7500 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7501 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7502 as_cr_digits
='0123456789'
7503 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7505 # The user is always right.
7506 if test "${PATH_SEPARATOR+set}" != set; then
7507 echo "#! /bin/sh" >conf$$.sh
7508 echo "exit 0" >>conf$$.sh
7510 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7521 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7522 test "x$as_lineno_1" != "x$as_lineno_2" &&
7523 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7524 # Find who we are. Look in the path if we contain no path at all
7527 *[\\/]* ) as_myself
=$0 ;;
7528 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir
=.
7533 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7538 # We did not find ourselves, most probably we were run as `sh COMMAND'
7539 # in which case we are not to be found in the path.
7540 if test "x$as_myself" = x
; then
7543 if test ! -f "$as_myself"; then
7544 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7545 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7546 { (exit 1); exit 1; }; }
7548 case $CONFIG_SHELL in
7550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7551 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7554 test -z "$as_dir" && as_dir
=.
7555 for as_base
in sh bash ksh sh5
; do
7558 if ("$as_dir/$as_base" -c '
7561 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7562 test "x$as_lineno_1" != "x$as_lineno_2" &&
7563 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7564 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7565 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7566 CONFIG_SHELL
=$as_dir/$as_base
7568 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7576 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7577 # uniformly replaced by the line number. The first 'sed' inserts a
7578 # line-number line before each line; the second 'sed' does the real
7579 # work. The second script uses 'N' to pair each line-number line
7580 # with the numbered line, and appends trailing '-' during
7581 # substitution so that $LINENO is not a special case at line end.
7582 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7583 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7584 sed '=' <$as_myself |
7589 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7592 s,^['$as_cr_digits']*\n,,
7594 chmod +x
$as_me.lineno ||
7595 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7596 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7597 { (exit 1); exit 1; }; }
7599 # Don't try to exec as it changes $[0], causing all sort of problems
7600 # (the dirname of $[0] is not the place where we might find the
7601 # original and so on. Autoconf is especially sensible to this).
7603 # Exit status is that of the last command.
7608 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7609 *c
*,-n*) ECHO_N
= ECHO_C
='
7611 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7612 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7615 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7621 rm -f conf$$ conf$$.exe conf$$.
file
7623 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7624 # We could just check for DJGPP; but this test a) works b) is more generic
7625 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7626 if test -f conf$$.exe
; then
7627 # Don't use ln at all; we don't have any links
7632 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7637 rm -f conf$$ conf$$.exe conf$$.
file
7639 if mkdir
-p .
2>/dev
/null
; then
7642 test -d .
/-p && rmdir .
/-p
7646 as_executable_p
="test -f"
7648 # Sed expression to map a string onto a valid CPP name.
7649 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7651 # Sed expression to map a string onto a valid variable name.
7652 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7656 # We need space, tab and new line, in precisely that order.
7666 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7667 # report actual input values of CONFIG_FILES etc. instead of their
7668 # values after options handling. Logging --version etc. is OK.
7672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7673 ## Running $as_me. ##
7678 This file was extended by $as_me, which was
7679 generated by GNU Autoconf 2.59. Invocation command line was
7681 CONFIG_FILES = $CONFIG_FILES
7682 CONFIG_HEADERS = $CONFIG_HEADERS
7683 CONFIG_LINKS = $CONFIG_LINKS
7684 CONFIG_COMMANDS = $CONFIG_COMMANDS
7688 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7692 # Files that config.status was made for.
7693 if test -n "$ac_config_files"; then
7694 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7697 if test -n "$ac_config_headers"; then
7698 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7701 if test -n "$ac_config_links"; then
7702 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7705 if test -n "$ac_config_commands"; then
7706 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7709 cat >>$CONFIG_STATUS <<\_ACEOF
7712 \`$as_me' instantiates files from templates according to the
7713 current configuration.
7715 Usage: $0 [OPTIONS] [FILE]...
7717 -h, --help print this help, then exit
7718 -V, --version print version number, then exit
7719 -q, --quiet do not print progress messages
7720 -d, --debug don't remove temporary files
7721 --recheck update $as_me by reconfiguring in the same conditions
7722 --file=FILE[:TEMPLATE]
7723 instantiate the configuration file FILE
7724 --header=FILE[:TEMPLATE]
7725 instantiate the configuration header FILE
7727 Configuration files:
7730 Configuration headers:
7733 Configuration links:
7736 Configuration commands:
7739 Report bugs to <bug-autoconf@gnu.org>."
7742 cat >>$CONFIG_STATUS <<_ACEOF
7745 configured by $0, generated by GNU Autoconf 2.59,
7746 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7748 Copyright (C) 2003 Free Software Foundation, Inc.
7749 This config.status script is free software; the Free Software Foundation
7750 gives unlimited permission to copy, distribute and modify it."
7755 cat >>$CONFIG_STATUS <<\_ACEOF
7756 # If no file are specified by the user, then we need to provide default
7757 # value. By we need to know if files were specified by the user.
7763 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7764 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7772 *) # This is not an option, so the user has probably given explicit
7775 ac_need_defaults
=false
;;
7779 # Handling of the options.
7781 cat >>$CONFIG_STATUS <<\_ACEOF
7782 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7784 --version |
--vers* |
-V )
7785 echo "$ac_cs_version"; exit 0 ;;
7787 # Conflict between --help and --header
7788 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7789 Try \`$0 --help' for more information." >&5
7790 echo "$as_me: error: ambiguous option: $1
7791 Try \`$0 --help' for more information." >&2;}
7792 { (exit 1); exit 1; }; };;
7793 --help |
--hel |
-h )
7794 echo "$ac_cs_usage"; exit 0 ;;
7795 --debug |
--d* |
-d )
7797 --file |
--fil |
--fi |
--f )
7799 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7800 ac_need_defaults
=false
;;
7801 --header |
--heade |
--head |
--hea )
7803 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7804 ac_need_defaults
=false
;;
7805 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7806 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7810 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7811 Try \`$0 --help' for more information." >&5
7812 echo "$as_me: error: unrecognized option: $1
7813 Try \`$0 --help' for more information." >&2;}
7814 { (exit 1); exit 1; }; } ;;
7816 *) ac_config_targets
="$ac_config_targets $1" ;;
7822 ac_configure_extra_args
=
7824 if $ac_cs_silent; then
7826 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7830 cat >>$CONFIG_STATUS <<_ACEOF
7831 if \$ac_cs_recheck; then
7832 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7833 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7842 cat >>$CONFIG_STATUS <<\_ACEOF
7843 for ac_config_target
in $ac_config_targets
7845 case "$ac_config_target" in
7846 # Handling of arguments.
7847 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
7848 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
7849 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
7850 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
7851 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
7852 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
7853 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7854 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7855 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7856 { (exit 1); exit 1; }; };;
7860 # If the user did not use the arguments to specify the items to instantiate,
7861 # then the envvar interface is used. Set only those that are not.
7862 # We use the long form for the default assignment because of an extremely
7863 # bizarre bug on SunOS 4.1.3.
7864 if $ac_need_defaults; then
7865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7866 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7867 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7868 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7871 # Have a temporary directory for convenience. Make it in the build tree
7872 # simply because there is no reason to put it here, and in addition,
7873 # creating and moving files from /tmp can sometimes cause problems.
7874 # Create a temporary directory, and hook for its removal unless debugging.
7877 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7878 trap '{ (exit 1); exit 1; }' 1 2 13 15
7881 # Create a (secure) tmp directory for tmp files.
7884 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7885 test -n "$tmp" && test -d "$tmp"
7888 tmp
=.
/confstat$$
-$RANDOM
7889 (umask 077 && mkdir
$tmp)
7892 echo "$me: cannot create a temporary directory in ." >&2
7893 { (exit 1); exit 1; }
7898 cat >>$CONFIG_STATUS <<_ACEOF
7901 # CONFIG_FILES section.
7904 # No need to generate the scripts if there are no CONFIG_FILES.
7905 # This happens for instance when ./config.status config.h
7906 if test -n "\$CONFIG_FILES"; then
7907 # Protect against being on the right side of a sed subst in config.status.
7908 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7909 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7910 s,@SHELL@,$SHELL,;t t
7911 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7912 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7913 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7914 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7915 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7916 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7917 s,@exec_prefix@,$exec_prefix,;t t
7918 s,@prefix@,$prefix,;t t
7919 s,@program_transform_name@,$program_transform_name,;t t
7920 s,@bindir@,$bindir,;t t
7921 s,@sbindir@,$sbindir,;t t
7922 s,@libexecdir@,$libexecdir,;t t
7923 s,@datadir@,$datadir,;t t
7924 s,@sysconfdir@,$sysconfdir,;t t
7925 s,@sharedstatedir@,$sharedstatedir,;t t
7926 s,@localstatedir@,$localstatedir,;t t
7927 s,@libdir@,$libdir,;t t
7928 s,@includedir@,$includedir,;t t
7929 s,@oldincludedir@,$oldincludedir,;t t
7930 s,@infodir@,$infodir,;t t
7931 s,@mandir@,$mandir,;t t
7932 s,@build_alias@,$build_alias,;t t
7933 s,@host_alias@,$host_alias,;t t
7934 s,@target_alias@,$target_alias,;t t
7936 s,@ECHO_C@,$ECHO_C,;t t
7937 s,@ECHO_N@,$ECHO_N,;t t
7938 s,@ECHO_T@,$ECHO_T,;t t
7940 s,@sim_environment@,$sim_environment,;t t
7941 s,@sim_alignment@,$sim_alignment,;t t
7942 s,@sim_assert@,$sim_assert,;t t
7943 s,@sim_bitsize@,$sim_bitsize,;t t
7944 s,@sim_endian@,$sim_endian,;t t
7945 s,@sim_hostendian@,$sim_hostendian,;t t
7946 s,@sim_float@,$sim_float,;t t
7947 s,@sim_scache@,$sim_scache,;t t
7948 s,@sim_default_model@,$sim_default_model,;t t
7949 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
7950 s,@sim_hw_objs@,$sim_hw_objs,;t t
7951 s,@sim_hw@,$sim_hw,;t t
7952 s,@sim_inline@,$sim_inline,;t t
7953 s,@sim_packages@,$sim_packages,;t t
7954 s,@sim_regparm@,$sim_regparm,;t t
7955 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
7956 s,@sim_smp@,$sim_smp,;t t
7957 s,@sim_stdcall@,$sim_stdcall,;t t
7958 s,@sim_xor_endian@,$sim_xor_endian,;t t
7959 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7960 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
7961 s,@build@,$build,;t t
7962 s,@build_cpu@,$build_cpu,;t t
7963 s,@build_vendor@,$build_vendor,;t t
7964 s,@build_os@,$build_os,;t t
7966 s,@host_cpu@,$host_cpu,;t t
7967 s,@host_vendor@,$host_vendor,;t t
7968 s,@host_os@,$host_os,;t t
7969 s,@target@,$target,;t t
7970 s,@target_cpu@,$target_cpu,;t t
7971 s,@target_vendor@,$target_vendor,;t t
7972 s,@target_os@,$target_os,;t t
7974 s,@CFLAGS@,$CFLAGS,;t t
7975 s,@LDFLAGS@,$LDFLAGS,;t t
7976 s,@CPPFLAGS@,$CPPFLAGS,;t t
7977 s,@ac_ct_CC@,$ac_ct_CC,;t t
7978 s,@EXEEXT@,$EXEEXT,;t t
7979 s,@OBJEXT@,$OBJEXT,;t t
7980 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7981 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7982 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7983 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
7984 s,@HDEFINES@,$HDEFINES,;t t
7986 s,@RANLIB@,$RANLIB,;t t
7987 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7988 s,@SET_MAKE@,$SET_MAKE,;t t
7990 s,@EGREP@,$EGREP,;t t
7991 s,@ALLOCA@,$ALLOCA,;t t
7992 s,@USE_NLS@,$USE_NLS,;t t
7993 s,@MSGFMT@,$MSGFMT,;t t
7994 s,@GMSGFMT@,$GMSGFMT,;t t
7995 s,@XGETTEXT@,$XGETTEXT,;t t
7996 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7997 s,@CATALOGS@,$CATALOGS,;t t
7998 s,@CATOBJEXT@,$CATOBJEXT,;t t
7999 s,@DATADIRNAME@,$DATADIRNAME,;t t
8000 s,@GMOFILES@,$GMOFILES,;t t
8001 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8002 s,@INTLDEPS@,$INTLDEPS,;t t
8003 s,@INTLLIBS@,$INTLLIBS,;t t
8004 s,@INTLOBJS@,$INTLOBJS,;t t
8005 s,@POFILES@,$POFILES,;t t
8006 s,@POSUB@,$POSUB,;t t
8007 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
8008 s,@GT_NO@,$GT_NO,;t t
8009 s,@GT_YES@,$GT_YES,;t t
8010 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8012 s,@MAINT@,$MAINT,;t t
8013 s,@sim_bswap@,$sim_bswap,;t t
8014 s,@sim_cflags@,$sim_cflags,;t t
8015 s,@sim_debug@,$sim_debug,;t t
8016 s,@sim_stdio@,$sim_stdio,;t t
8017 s,@sim_trace@,$sim_trace,;t t
8018 s,@sim_profile@,$sim_profile,;t t
8019 s,@cgen_breaks@,$cgen_breaks,;t t
8020 s,@LIBOBJS@,$LIBOBJS,;t t
8021 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8026 cat >>$CONFIG_STATUS <<\_ACEOF
8027 # Split the substitutions into bite-sized pieces for seds with
8028 # small command number limits, like on Digital OSF/1 and HP-UX.
8030 ac_sed_frag
=1 # Number of current file.
8031 ac_beg
=1 # First line for current file.
8032 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8035 while $ac_more_lines; do
8036 if test $ac_beg -gt 1; then
8037 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8039 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8041 if test ! -s $tmp/subs.frag
; then
8044 # The purpose of the label and of the branching condition is to
8045 # speed up the sed processing (if there are no `@' at all, there
8046 # is no need to browse any of the substitutions).
8047 # These are the two extra sed commands mentioned above.
8049 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8050 if test -z "$ac_sed_cmds"; then
8051 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8053 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8055 ac_sed_frag
=`expr $ac_sed_frag + 1`
8057 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8060 if test -z "$ac_sed_cmds"; then
8063 fi # test -n "$CONFIG_FILES"
8066 cat >>$CONFIG_STATUS <<\_ACEOF
8067 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8068 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8070 - |
*:- |
*:-:* ) # input from stdin
8072 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8073 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8074 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8075 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8076 * ) ac_file_in
=$ac_file.
in ;;
8079 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8080 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8082 X"$ac_file" : 'X\(//\)[^/]' \| \
8083 X"$ac_file" : 'X\(//\)$' \| \
8084 X"$ac_file" : 'X\(/\)' \| \
8085 . : '\(.\)' 2>/dev/null ||
8087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8088 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8089 /^X\(\/\/\)$/{ s//\1/; q; }
8090 /^X\(\/\).*/{ s//\1/; q; }
8092 { if $as_mkdir_p; then
8097 while test ! -d "$as_dir"; do
8098 as_dirs
="$as_dir $as_dirs"
8099 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8100 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8101 X"$as_dir" : 'X\(//\)[^/]' \| \
8102 X"$as_dir" : 'X\(//\)$' \| \
8103 X"$as_dir" : 'X\(/\)' \| \
8104 . : '\(.\)' 2>/dev/null ||
8106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8108 /^X\(\/\/\)$/{ s//\1/; q; }
8109 /^X\(\/\).*/{ s//\1/; q; }
8112 test ! -n "$as_dirs" || mkdir
$as_dirs
8113 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8114 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8115 { (exit 1); exit 1; }; }; }
8119 if test "$ac_dir" != .
; then
8120 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8121 # A "../" for each directory in $ac_dir_suffix.
8122 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8124 ac_dir_suffix
= ac_top_builddir
=
8128 .
) # No --srcdir option. We are building in place.
8130 if test -z "$ac_top_builddir"; then
8133 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8135 [\\/]* | ?
:[\\/]* ) # Absolute path.
8136 ac_srcdir
=$srcdir$ac_dir_suffix;
8137 ac_top_srcdir
=$srcdir ;;
8139 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8140 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8143 # Do not use `cd foo && pwd` to compute absolute paths, because
8144 # the directories may not exist.
8146 .
) ac_abs_builddir
="$ac_dir";;
8149 .
) ac_abs_builddir
=`pwd`;;
8150 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8151 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8154 case $ac_abs_builddir in
8155 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8157 case ${ac_top_builddir}.
in
8158 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8159 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8160 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8163 case $ac_abs_builddir in
8164 .
) ac_abs_srcdir
=$ac_srcdir;;
8167 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8168 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8169 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8172 case $ac_abs_builddir in
8173 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8175 case $ac_top_srcdir in
8176 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8177 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8178 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8184 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8185 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8188 if test x
"$ac_file" != x-
; then
8189 { echo "$as_me:$LINENO: creating $ac_file" >&5
8190 echo "$as_me: creating $ac_file" >&6;}
8193 # Let's still pretend it is `configure' which instantiates (i.e., don't
8194 # use $as_me), people would be surprised to read:
8195 # /* config.h. Generated by config.status. */
8196 if test x
"$ac_file" = x-
; then
8199 configure_input
="$ac_file. "
8201 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8202 sed 's,.*/,,'` by configure."
8204 # First look for the input files in the build tree, otherwise in the
8206 ac_file_inputs
=`IFS=:
8207 for f in $ac_file_in; do
8209 -) echo $tmp/stdin ;;
8211 # Absolute (can't be DOS-style, as IFS=:)
8212 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8213 echo "$as_me: error: cannot find input file: $f" >&2;}
8214 { (exit 1); exit 1; }; }
8217 if test -f "$f"; then
8220 elif test -f "$srcdir/$f"; then
8225 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8226 echo "$as_me: error: cannot find input file: $f" >&2;}
8227 { (exit 1); exit 1; }; }
8230 done` ||
{ (exit 1); exit 1; }
8232 cat >>$CONFIG_STATUS <<_ACEOF
8236 cat >>$CONFIG_STATUS <<\_ACEOF
8238 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8239 s
,@configure_input@
,$configure_input,;t t
8240 s
,@srcdir@
,$ac_srcdir,;t t
8241 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8242 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8243 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8244 s
,@builddir@
,$ac_builddir,;t t
8245 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8246 s
,@top_builddir@
,$ac_top_builddir,;t t
8247 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8248 s
,@INSTALL@
,$ac_INSTALL,;t t
8249 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8251 if test x"$ac_file" != x-; then
8252 mv $tmp/out $ac_file
8260 cat >>$CONFIG_STATUS <<\_ACEOF
8263 # CONFIG_HEADER section.
8266 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8267 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8269 # ac_d sets the value in "#define NAME VALUE" lines.
8270 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8271 ac_dB
='[ ].*$,\1#\2'
8274 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8275 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8276 ac_uB
='$,\1#\2define\3'
8280 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8281 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8283 - |
*:- |
*:-:* ) # input from stdin
8285 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8286 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8287 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8288 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8289 * ) ac_file_in
=$ac_file.
in ;;
8292 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8293 echo "$as_me: creating $ac_file" >&6;}
8295 # First look for the input files in the build tree, otherwise in the
8297 ac_file_inputs
=`IFS=:
8298 for f in $ac_file_in; do
8300 -) echo $tmp/stdin ;;
8302 # Absolute (can't be DOS-style, as IFS=:)
8303 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8304 echo "$as_me: error: cannot find input file: $f" >&2;}
8305 { (exit 1); exit 1; }; }
8306 # Do quote $f, to prevent DOS paths from being IFS'd.
8309 if test -f "$f"; then
8312 elif test -f "$srcdir/$f"; then
8317 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8318 echo "$as_me: error: cannot find input file: $f" >&2;}
8319 { (exit 1); exit 1; }; }
8322 done` ||
{ (exit 1); exit 1; }
8323 # Remove the trailing spaces.
8324 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8328 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8329 # `conftest.undefs', that substitutes the proper values into
8330 # config.h.in to produce config.h. The first handles `#define'
8331 # templates, and the second `#undef' templates.
8332 # And first: Protect against being on the right side of a sed subst in
8333 # config.status. Protect against being in an unquoted here document
8335 rm -f conftest.defines conftest.undefs
8336 # Using a here document instead of a string reduces the quoting nightmare.
8337 # Putting comments in sed scripts is not portable.
8339 # `end' is used to avoid that the second main sed command (meant for
8340 # 0-ary CPP macros) applies to n-ary macro definitions.
8341 # See the Autoconf documentation for `clear'.
8342 cat >confdef2sed.
sed <<\_ACEOF
8347 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8349 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8352 # If some macros were called several times there might be several times
8353 # the same #defines, which is useless. Nevertheless, we may not want to
8354 # sort them, since we want the *last* AC-DEFINE to be honored.
8355 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8356 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8357 rm -f confdef2sed.sed
8359 # This sed command replaces #undef with comments. This is necessary, for
8360 # example, in the case of _POSIX_SOURCE, which is predefined and required
8361 # on some systems where configure will not decide to define it.
8362 cat >>conftest.undefs <<\_ACEOF
8363 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8366 # Break up conftest.defines because some shells have a limit on the size
8367 # of here documents, and old seds have small limits too (100 cmds).
8368 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8369 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8370 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8371 echo ' :' >>$CONFIG_STATUS
8373 while grep . conftest.defines >/dev/null
8375 # Write a limited-size here document to $tmp/defines.sed.
8376 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8377 # Speed up: don't consider the non `#define' lines.
8378 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8379 # Work around the forget-to-reset-the-flag bug.
8380 echo 't clr' >>$CONFIG_STATUS
8381 echo ': clr' >>$CONFIG_STATUS
8382 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8384 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8388 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8389 rm -f conftest.defines
8390 mv conftest.
tail conftest.defines
8392 rm -f conftest.defines
8393 echo ' fi # grep' >>$CONFIG_STATUS
8394 echo >>$CONFIG_STATUS
8396 # Break up conftest.undefs because some shells have a limit on the size
8397 # of here documents, and old seds have small limits too (100 cmds).
8398 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8400 while grep . conftest.undefs
>/dev
/null
8402 # Write a limited-size here document to $tmp/undefs.sed.
8403 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8404 # Speed up: don't consider the non
`#undef'
8405 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8406 # Work around the forget-to-reset-the-flag bug.
8407 echo 't clr' >>$CONFIG_STATUS
8408 echo ': clr' >>$CONFIG_STATUS
8409 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8411 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8415 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8416 rm -f conftest.undefs
8417 mv conftest.tail conftest.undefs
8419 rm -f conftest.undefs
8421 cat >>$CONFIG_STATUS <<\_ACEOF
8422 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8423 # use $as_me), people would be surprised to read:
8424 # /* config.h. Generated by config.status. */
8425 if test x
"$ac_file" = x-
; then
8426 echo "/* Generated by configure. */" >$tmp/config.h
8428 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8430 cat $tmp/in >>$tmp/config.h
8432 if test x
"$ac_file" != x-
; then
8433 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8434 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8435 echo "$as_me: $ac_file is unchanged" >&6;}
8437 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8438 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8439 X"$ac_file" : 'X\(//\)[^/]' \| \
8440 X"$ac_file" : 'X\(//\)$' \| \
8441 X"$ac_file" : 'X\(/\)' \| \
8442 . : '\(.\)' 2>/dev/null ||
8444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8445 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8446 /^X\(\/\/\)$/{ s//\1/; q; }
8447 /^X\(\/\).*/{ s//\1/; q; }
8449 { if $as_mkdir_p; then
8454 while test ! -d "$as_dir"; do
8455 as_dirs
="$as_dir $as_dirs"
8456 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8458 X"$as_dir" : 'X\(//\)[^/]' \| \
8459 X"$as_dir" : 'X\(//\)$' \| \
8460 X"$as_dir" : 'X\(/\)' \| \
8461 . : '\(.\)' 2>/dev/null ||
8463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8465 /^X\(\/\/\)$/{ s//\1/; q; }
8466 /^X\(\/\).*/{ s//\1/; q; }
8469 test ! -n "$as_dirs" || mkdir
$as_dirs
8470 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8471 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8472 { (exit 1); exit 1; }; }; }
8475 mv $tmp/config.h
$ac_file
8483 cat >>$CONFIG_STATUS <<\_ACEOF
8486 # CONFIG_LINKS section.
8489 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
8490 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8491 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8493 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
8494 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
8496 if test ! -r $srcdir/$ac_source; then
8497 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
8498 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
8499 { (exit 1); exit 1; }; }
8503 # Make relative symlinks.
8504 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8505 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8506 X"$ac_dest" : 'X\(//\)[^/]' \| \
8507 X"$ac_dest" : 'X\(//\)$' \| \
8508 X"$ac_dest" : 'X\(/\)' \| \
8509 . : '\(.\)' 2>/dev/null ||
8511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8512 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8513 /^X\(\/\/\)$/{ s//\1/; q; }
8514 /^X\(\/\).*/{ s//\1/; q; }
8516 { if $as_mkdir_p; then
8517 mkdir
-p "$ac_dest_dir"
8519 as_dir
="$ac_dest_dir"
8521 while test ! -d "$as_dir"; do
8522 as_dirs
="$as_dir $as_dirs"
8523 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8525 X"$as_dir" : 'X\(//\)[^/]' \| \
8526 X"$as_dir" : 'X\(//\)$' \| \
8527 X"$as_dir" : 'X\(/\)' \| \
8528 . : '\(.\)' 2>/dev/null ||
8530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8531 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8532 /^X\(\/\/\)$/{ s//\1/; q; }
8533 /^X\(\/\).*/{ s//\1/; q; }
8536 test ! -n "$as_dirs" || mkdir
$as_dirs
8537 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
8538 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
8539 { (exit 1); exit 1; }; }; }
8543 if test "$ac_dest_dir" != .
; then
8544 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
8545 # A "../" for each directory in $ac_dir_suffix.
8546 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8548 ac_dir_suffix
= ac_top_builddir
=
8552 .
) # No --srcdir option. We are building in place.
8554 if test -z "$ac_top_builddir"; then
8557 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8559 [\\/]* | ?
:[\\/]* ) # Absolute path.
8560 ac_srcdir
=$srcdir$ac_dir_suffix;
8561 ac_top_srcdir
=$srcdir ;;
8563 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8564 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8567 # Do not use `cd foo && pwd` to compute absolute paths, because
8568 # the directories may not exist.
8570 .
) ac_abs_builddir
="$ac_dest_dir";;
8572 case "$ac_dest_dir" in
8573 .
) ac_abs_builddir
=`pwd`;;
8574 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
8575 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
8578 case $ac_abs_builddir in
8579 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8581 case ${ac_top_builddir}.
in
8582 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8583 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8584 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8587 case $ac_abs_builddir in
8588 .
) ac_abs_srcdir
=$ac_srcdir;;
8591 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8592 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8593 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8596 case $ac_abs_builddir in
8597 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8599 case $ac_top_srcdir in
8600 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8601 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8602 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8608 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
8609 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
8612 # Try a symlink, then a hard link, then a copy.
8613 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
8614 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
8615 cp -p $srcdir/$ac_source $ac_dest ||
8616 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
8617 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
8618 { (exit 1); exit 1; }; }
8621 cat >>$CONFIG_STATUS <<\_ACEOF
8624 # CONFIG_COMMANDS section.
8626 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8627 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8628 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8629 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8630 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8631 X"$ac_dest" : 'X\(//\)[^/]' \| \
8632 X"$ac_dest" : 'X\(//\)$' \| \
8633 X"$ac_dest" : 'X\(/\)' \| \
8634 . : '\(.\)' 2>/dev/null ||
8636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8638 /^X\(\/\/\)$/{ s//\1/; q; }
8639 /^X\(\/\).*/{ s//\1/; q; }
8641 { if $as_mkdir_p; then
8646 while test ! -d "$as_dir"; do
8647 as_dirs
="$as_dir $as_dirs"
8648 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8650 X"$as_dir" : 'X\(//\)[^/]' \| \
8651 X"$as_dir" : 'X\(//\)$' \| \
8652 X"$as_dir" : 'X\(/\)' \| \
8653 . : '\(.\)' 2>/dev/null ||
8655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8657 /^X\(\/\/\)$/{ s//\1/; q; }
8658 /^X\(\/\).*/{ s//\1/; q; }
8661 test ! -n "$as_dirs" || mkdir
$as_dirs
8662 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8663 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8664 { (exit 1); exit 1; }; }; }
8668 if test "$ac_dir" != .
; then
8669 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8670 # A "../" for each directory in $ac_dir_suffix.
8671 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8673 ac_dir_suffix
= ac_top_builddir
=
8677 .
) # No --srcdir option. We are building in place.
8679 if test -z "$ac_top_builddir"; then
8682 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8684 [\\/]* | ?
:[\\/]* ) # Absolute path.
8685 ac_srcdir
=$srcdir$ac_dir_suffix;
8686 ac_top_srcdir
=$srcdir ;;
8688 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8689 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8692 # Do not use `cd foo && pwd` to compute absolute paths, because
8693 # the directories may not exist.
8695 .
) ac_abs_builddir
="$ac_dir";;
8698 .
) ac_abs_builddir
=`pwd`;;
8699 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8700 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8703 case $ac_abs_builddir in
8704 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8706 case ${ac_top_builddir}.
in
8707 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8708 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8709 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8712 case $ac_abs_builddir in
8713 .
) ac_abs_srcdir
=$ac_srcdir;;
8716 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8717 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8718 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8721 case $ac_abs_builddir in
8722 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8724 case $ac_top_srcdir in
8725 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8726 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8727 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8732 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8733 echo "$as_me: executing $ac_dest commands" >&6;}
8735 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
8736 rm -f Makesim1.tmp Makesim2.tmp Makefile
8737 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
8738 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
8739 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
8740 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
8741 <Makefile.sim
>Makefile
8742 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
8744 stamp-h
) echo > stamp-h
;;
8749 cat >>$CONFIG_STATUS <<\_ACEOF
8751 { (exit 0); exit 0; }
8753 chmod +x
$CONFIG_STATUS
8754 ac_clean_files
=$ac_clean_files_save
8757 # configure is writing to config.log, and then calls config.status.
8758 # config.status does its own redirection, appending to config.log.
8759 # Unfortunately, on DOS this fails, as config.log is still kept open
8760 # by configure, so config.status won't be able to write to it; its
8761 # output is simply discarded. So we exec the FD to /dev/null,
8762 # effectively closing config.log, so it can be properly (re)opened and
8763 # appended to by config.status. When coming back to configure, we
8764 # need to make the FD available again.
8765 if test "$no_create" != yes; then
8767 ac_config_status_args
=
8768 test "$silent" = yes &&
8769 ac_config_status_args
="$ac_config_status_args --quiet"
8771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8774 # would make configure fail if this is the last instruction.
8775 $ac_cs_success ||
{ (exit 1); exit 1; }