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
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
865 --with-included-gettext use the GNU
gettext library included here
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1314 ac_config_headers="$ac_config_headers config.h:config.in"
1317 # This file contains common code used by all simulators.
1319 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1320 # directory. It is intended to be invoked before any target specific stuff.
1321 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1322 # It is intended to be invoked last.
1324 # The simulator's configure.
in should
look like
:
1326 # dnl Process this file with autoconf to produce a configure script.
1327 # sinclude(../common/aclocal.m4)
1329 # AC_INIT(Makefile.in)
1333 # ... target specific stuff ...
1384 sim_inline
="-DDEFAULT_INLINE=0"
1421 # This file is derived from `gettext.m4'. The difference is that the
1422 # included macros assume Cygnus-style source and build trees.
1424 # Macro to add for using GNU gettext.
1425 # Ulrich Drepper <drepper@cygnus.com>, 1995.
1427 # This file file be copied and used freely without restrictions. It can
1428 # be used in projects which are not available under the GNU Public License
1429 # but which still want to provide support for the GNU gettext functionality.
1430 # Please note that the actual code is *not* freely available.
1438 # Search path for a program which passes the given test.
1439 # Ulrich Drepper <drepper@cygnus.com>, 1996.
1441 # This file file be copied and used freely without restrictions. It can
1442 # be used in projects which are not available under the GNU Public License
1443 # but which still want to provide support for the GNU gettext functionality.
1444 # Please note that the actual code is *not* freely available.
1450 # Check whether LC_MESSAGES is available in <locale.h>.
1451 # Ulrich Drepper <drepper@cygnus.com>, 1995.
1453 # This file file be copied and used freely without restrictions. It can
1454 # be used in projects which are not available under the GNU Public License
1455 # but which still want to provide support for the GNU gettext functionality.
1456 # Please note that the actual code is *not* freely available.
1466 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1467 # it by inlining the macro's contents.
1468 # This file contains common code used by all simulators.
1470 # common.m4 invokes AC macros used by all simulators and by the common
1471 # directory. It is intended to be included before any target specific
1472 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1473 # the Makefile. It is intended to be invoked last.
1475 # The simulator's configure.in should look like:
1477 # dnl Process this file with autoconf to produce a configure script.
1479 # AC_INIT(Makefile.in)
1480 # AC_CONFIG_HEADER(config.h:config.in)
1482 # sinclude(../common/aclocal.m4)
1483 # sinclude(../common/common.m4)
1485 # ... target specific stuff ...
1488 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1489 if test -f $ac_dir/install-sh
; then
1491 ac_install_sh
="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh
; then
1495 ac_install_sh
="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool
; then
1499 ac_install_sh
="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 # Make sure we can run config.sub.
1513 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1514 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1515 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1516 { (exit 1); exit 1; }; }
1518 echo "$as_me:$LINENO: checking build system type" >&5
1519 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1520 if test "${ac_cv_build+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 ac_cv_build_alias
=$build_alias
1524 test -z "$ac_cv_build_alias" &&
1525 ac_cv_build_alias
=`$ac_config_guess`
1526 test -z "$ac_cv_build_alias" &&
1527 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1528 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1529 { (exit 1); exit 1; }; }
1530 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1531 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1532 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1533 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1537 echo "${ECHO_T}$ac_cv_build" >&6
1539 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1540 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1541 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544 echo "$as_me:$LINENO: checking host system type" >&5
1545 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1546 if test "${ac_cv_host+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 ac_cv_host_alias
=$host_alias
1550 test -z "$ac_cv_host_alias" &&
1551 ac_cv_host_alias
=$ac_cv_build_alias
1552 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1553 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1554 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1555 { (exit 1); exit 1; }; }
1558 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1559 echo "${ECHO_T}$ac_cv_host" >&6
1561 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1562 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1563 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1566 echo "$as_me:$LINENO: checking target system type" >&5
1567 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1568 if test "${ac_cv_target+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 ac_cv_target_alias
=$target_alias
1572 test "x$ac_cv_target_alias" = "x" &&
1573 ac_cv_target_alias
=$ac_cv_host_alias
1574 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1581 echo "${ECHO_T}$ac_cv_target" >&6
1582 target
=$ac_cv_target
1583 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 # The aliases save the names the user supplied, while $host etc.
1589 # will get canonicalized.
1590 test -n "$target_alias" &&
1591 test "$program_prefix$program_suffix$program_transform_name" = \
1593 program_prefix
=${target_alias}-
1594 test "$program_prefix" != NONE
&&
1595 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1596 # Use a double $ so make ignores it.
1597 test "$program_suffix" != NONE
&&
1598 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1599 # Double any \ or $. echo might interpret backslashes.
1600 # By default was `s,x,x', remove it if useless.
1601 cat <<\_ACEOF
>conftest.
sed
1602 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1604 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1608 ac_cpp
='$CPP $CPPFLAGS'
1609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1612 if test -n "$ac_tool_prefix"; then
1613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1614 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1617 if test "${ac_cv_prog_CC+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 if test -n "$CC"; then
1621 ac_cv_prog_CC
="$CC" # Let the user override the test.
1623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1627 test -z "$as_dir" && as_dir
=.
1628 for ac_exec_ext
in '' $ac_executable_extensions; do
1629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1630 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1640 if test -n "$CC"; then
1641 echo "$as_me:$LINENO: result: $CC" >&5
1642 echo "${ECHO_T}$CC" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1649 if test -z "$ac_cv_prog_CC"; then
1651 # Extract the first word of "gcc", so it can be a program name with args.
1652 set dummy gcc
; ac_word
=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$ac_ct_CC"; then
1659 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir
=.
1666 for ac_exec_ext
in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_ac_ct_CC
="gcc"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1678 if test -n "$ac_ct_CC"; then
1679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1680 echo "${ECHO_T}$ac_ct_CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1691 if test -z "$CC"; then
1692 if test -n "$ac_tool_prefix"; then
1693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1694 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697 if test "${ac_cv_prog_CC+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 if test -n "$CC"; then
1701 ac_cv_prog_CC
="$CC" # Let the user override the test.
1703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1707 test -z "$as_dir" && as_dir
=.
1708 for ac_exec_ext
in '' $ac_executable_extensions; do
1709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$ac_cv_prog_CC"; then
1731 # Extract the first word of "cc", so it can be a program name with args.
1732 set dummy cc
; ac_word
=$2
1733 echo "$as_me:$LINENO: checking for $ac_word" >&5
1734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 if test -n "$ac_ct_CC"; then
1739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1745 test -z "$as_dir" && as_dir
=.
1746 for ac_exec_ext
in '' $ac_executable_extensions; do
1747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1748 ac_cv_prog_ac_ct_CC
="cc"
1749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1758 if test -n "$ac_ct_CC"; then
1759 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1760 echo "${ECHO_T}$ac_ct_CC" >&6
1762 echo "$as_me:$LINENO: result: no" >&5
1763 echo "${ECHO_T}no" >&6
1772 if test -z "$CC"; then
1773 # Extract the first word of "cc", so it can be a program name with args.
1774 set dummy cc
; ac_word
=$2
1775 echo "$as_me:$LINENO: checking for $ac_word" >&5
1776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777 if test "${ac_cv_prog_CC+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 if test -n "$CC"; then
1781 ac_cv_prog_CC
="$CC" # Let the user override the test.
1784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir
=.
1789 for ac_exec_ext
in '' $ac_executable_extensions; do
1790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1792 ac_prog_rejected
=yes
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 if test $ac_prog_rejected = yes; then
1803 # We found a bogon in the path, so make sure we never use it.
1804 set dummy
$ac_cv_prog_CC
1806 if test $# != 0; then
1807 # We chose a different compiler from the bogus one.
1808 # However, it has the same basename, so the bogon will be chosen
1809 # first if we set CC to just the basename; use the full file name.
1811 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1817 if test -n "$CC"; then
1818 echo "$as_me:$LINENO: result: $CC" >&5
1819 echo "${ECHO_T}$CC" >&6
1821 echo "$as_me:$LINENO: result: no" >&5
1822 echo "${ECHO_T}no" >&6
1826 if test -z "$CC"; then
1827 if test -n "$ac_tool_prefix"; then
1830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1831 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1832 echo "$as_me:$LINENO: checking for $ac_word" >&5
1833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1834 if test "${ac_cv_prog_CC+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 if test -n "$CC"; then
1838 ac_cv_prog_CC
="$CC" # Let the user override the test.
1840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1844 test -z "$as_dir" && as_dir
=.
1845 for ac_exec_ext
in '' $ac_executable_extensions; do
1846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1847 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 if test -n "$CC"; then
1858 echo "$as_me:$LINENO: result: $CC" >&5
1859 echo "${ECHO_T}$CC" >&6
1861 echo "$as_me:$LINENO: result: no" >&5
1862 echo "${ECHO_T}no" >&6
1865 test -n "$CC" && break
1868 if test -z "$CC"; then
1872 # Extract the first word of "$ac_prog", so it can be a program name with args.
1873 set dummy
$ac_prog; ac_word
=$2
1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 if test -n "$ac_ct_CC"; then
1880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir
=.
1887 for ac_exec_ext
in '' $ac_executable_extensions; do
1888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 ac_cv_prog_ac_ct_CC
="$ac_prog"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1899 if test -n "$ac_ct_CC"; then
1900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1901 echo "${ECHO_T}$ac_ct_CC" >&6
1903 echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6
1907 test -n "$ac_ct_CC" && break
1916 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1917 See \`config.log' for more details." >&5
1918 echo "$as_me: error: no acceptable C compiler found in \$PATH
1919 See \`config.log' for more details." >&2;}
1920 { (exit 1); exit 1; }; }
1922 # Provide some information about the compiler.
1923 echo "$as_me:$LINENO:" \
1924 "checking for C compiler version" >&5
1925 ac_compiler
=`set X $ac_compile; echo $2`
1926 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1927 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }
1931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1932 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }
1936 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1937 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }
1942 cat >conftest.
$ac_ext <<_ACEOF
1945 cat confdefs.h
>>conftest.
$ac_ext
1946 cat >>conftest.
$ac_ext <<_ACEOF
1947 /* end confdefs.h. */
1957 ac_clean_files_save
=$ac_clean_files
1958 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1959 # Try to create an executable without -o first, disregard a.out.
1960 # It will help us diagnose broken compilers, and finding out an intuition
1962 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1963 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1964 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1965 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1966 (eval $ac_link_default) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; then
1970 # Find the output, starting from the most likely. This scheme is
1971 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1974 # Be careful to initialize this variable, since it used to be cached.
1975 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1977 # b.out is created by i960 compilers.
1978 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1980 test -f "$ac_file" ||
continue
1982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1985 # This is the source file.
1988 # We found the default executable, but exeext='' is most
1992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1993 # FIXME: I believe we export ac_cv_exeext for Libtool,
1994 # but it would be cool to find out if it's true. Does anybody
1995 # maintain Libtool? --akim.
2003 echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.
$ac_ext >&5
2006 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: C compiler cannot create executables
2009 See \`config.log' for more details." >&2;}
2010 { (exit 77); exit 77; }; }
2013 ac_exeext
=$ac_cv_exeext
2014 echo "$as_me:$LINENO: result: $ac_file" >&5
2015 echo "${ECHO_T}$ac_file" >&6
2017 # Check the compiler produces executables we can run. If not, either
2018 # the compiler is broken, or we cross compile.
2019 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2020 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2021 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2022 # If not cross compiling, check that we can run a simple program.
2023 if test "$cross_compiling" != yes; then
2024 if { ac_try
='./$ac_file'
2025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; }; then
2032 if test "$cross_compiling" = maybe
; then
2035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2036 If you meant to cross compile, use \`--host'.
2037 See \`config.log' for more details." >&5
2038 echo "$as_me: error: cannot run C compiled programs.
2039 If you meant to cross compile, use \`--host'.
2040 See \`config.log' for more details." >&2;}
2041 { (exit 1); exit 1; }; }
2045 echo "$as_me:$LINENO: result: yes" >&5
2046 echo "${ECHO_T}yes" >&6
2048 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2049 ac_clean_files
=$ac_clean_files_save
2050 # Check the compiler produces executables we can run. If not, either
2051 # the compiler is broken, or we cross compile.
2052 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2054 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2055 echo "${ECHO_T}$cross_compiling" >&6
2057 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2060 (eval $ac_link) 2>&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; then
2064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2066 # work properly (i.e., refer to `conftest.exe'), while it won't with
2068 for ac_file
in conftest.exe conftest conftest.
*; do
2069 test -f "$ac_file" ||
continue
2071 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2072 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2080 See \`config.log' for more details." >&5
2081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2082 See \`config.log' for more details." >&2;}
2083 { (exit 1); exit 1; }; }
2086 rm -f conftest
$ac_cv_exeext
2087 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2088 echo "${ECHO_T}$ac_cv_exeext" >&6
2090 rm -f conftest.
$ac_ext
2091 EXEEXT
=$ac_cv_exeext
2093 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2095 if test "${ac_cv_objext+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 cat >conftest.
$ac_ext <<_ACEOF
2101 cat confdefs.h
>>conftest.
$ac_ext
2102 cat >>conftest.
$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2113 rm -f conftest.o conftest.obj
2114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2115 (eval $ac_compile) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; then
2119 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2121 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2122 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2127 echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.
$ac_ext >&5
2130 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2131 See \`config.log' for more details." >&5
2132 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2133 See \`config.log' for more details." >&2;}
2134 { (exit 1); exit 1; }; }
2137 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2139 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2140 echo "${ECHO_T}$ac_cv_objext" >&6
2141 OBJEXT
=$ac_cv_objext
2143 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2144 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2145 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 cat >conftest.
$ac_ext <<_ACEOF
2151 cat confdefs.h
>>conftest.
$ac_ext
2152 cat >>conftest.
$ac_ext <<_ACEOF
2153 /* end confdefs.h. */
2166 rm -f conftest.
$ac_objext
2167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 (eval $ac_compile) 2>conftest.er1
2170 grep -v '^ *+' conftest.er1
>conftest.err
2172 cat conftest.err
>&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); } &&
2175 { ac_try
='test -z "$ac_c_werror_flag"
2176 || test ! -s conftest.err'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; } &&
2182 { ac_try
='test -s conftest.$ac_objext'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; }; then
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2196 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2199 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2200 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2201 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2202 ac_test_CFLAGS
=${CFLAGS+set}
2203 ac_save_CFLAGS
=$CFLAGS
2205 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2206 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2207 if test "${ac_cv_prog_cc_g+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 cat >conftest.
$ac_ext <<_ACEOF
2213 cat confdefs.h
>>conftest.
$ac_ext
2214 cat >>conftest.
$ac_ext <<_ACEOF
2215 /* end confdefs.h. */
2225 rm -f conftest.
$ac_objext
2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227 (eval $ac_compile) 2>conftest.er1
2229 grep -v '^ *+' conftest.er1
>conftest.err
2231 cat conftest.err
>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); } &&
2234 { ac_try
='test -z "$ac_c_werror_flag"
2235 || test ! -s conftest.err'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; } &&
2241 { ac_try
='test -s conftest.$ac_objext'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; }; then
2249 echo "$as_me: failed program was:" >&5
2250 sed 's/^/| /' conftest.
$ac_ext >&5
2254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2256 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2257 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2258 if test "$ac_test_CFLAGS" = set; then
2259 CFLAGS
=$ac_save_CFLAGS
2260 elif test $ac_cv_prog_cc_g = yes; then
2261 if test "$GCC" = yes; then
2267 if test "$GCC" = yes; then
2273 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2274 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2275 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 ac_cv_prog_cc_stdc
=no
2280 cat >conftest.
$ac_ext <<_ACEOF
2283 cat confdefs.h
>>conftest.
$ac_ext
2284 cat >>conftest.
$ac_ext <<_ACEOF
2285 /* end confdefs.h. */
2288 #include <sys/types.h>
2289 #include <sys/stat.h>
2290 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2291 struct buf { int x; };
2292 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2293 static char *e (p, i)
2299 static char *f (char * (*g) (char **, int), char **p, ...)
2304 s = g (p, va_arg (v,int));
2309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2310 function prototypes and stuff, but not '\xHH' hex character constants.
2311 These don't provoke an error unfortunately, instead are silently treated
2312 as 'x'. The following induces an error, until -std1 is added to get
2313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2314 array size at least. It's necessary to write '\x00'==0 to get something
2315 that's true only with -std1. */
2316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2318 int test (int i, double x);
2319 struct s1 {int (*f) (int a);};
2320 struct s2 {int (*f) (double a);};
2321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2332 # Don't try gcc -ansi; that turns off useful extensions and
2333 # breaks some systems' header files.
2334 # AIX -qlanglvl=ansi
2335 # Ultrix and OSF/1 -std1
2336 # HP-UX 10.20 and later -Ae
2337 # HP-UX older versions -Aa -D_HPUX_SOURCE
2338 # SVR4 -Xc -D__EXTENSIONS__
2339 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2341 CC
="$ac_save_CC $ac_arg"
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -z "$ac_c_werror_flag"
2352 || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } &&
2358 { ac_try
='test -s conftest.$ac_objext'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2364 ac_cv_prog_cc_stdc
=$ac_arg
2367 echo "$as_me: failed program was:" >&5
2368 sed 's/^/| /' conftest.
$ac_ext >&5
2371 rm -f conftest.err conftest.
$ac_objext
2373 rm -f conftest.
$ac_ext conftest.
$ac_objext
2378 case "x$ac_cv_prog_cc_stdc" in
2380 echo "$as_me:$LINENO: result: none needed" >&5
2381 echo "${ECHO_T}none needed" >&6 ;;
2383 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2384 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2385 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2388 # Some people use a C++ compiler to compile C. Since we use `exit',
2389 # in C++ we need to declare it. In case someone uses the same compiler
2390 # for both compiling C and C++ we need to have the C++ compiler decide
2391 # the declaration of exit, since it's the most demanding environment.
2392 cat >conftest.
$ac_ext <<_ACEOF
2397 rm -f conftest.
$ac_objext
2398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2399 (eval $ac_compile) 2>conftest.er1
2401 grep -v '^ *+' conftest.er1
>conftest.err
2403 cat conftest.err
>&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); } &&
2406 { ac_try
='test -z "$ac_c_werror_flag"
2407 || test ! -s conftest.err'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; } &&
2413 { ac_try
='test -s conftest.$ac_objext'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; }; then
2419 for ac_declaration
in \
2421 'extern "C" void std::exit (int) throw (); using std::exit;' \
2422 'extern "C" void std::exit (int); using std::exit;' \
2423 'extern "C" void exit (int) throw ();' \
2424 'extern "C" void exit (int);' \
2427 cat >conftest.
$ac_ext <<_ACEOF
2430 cat confdefs.h
>>conftest.
$ac_ext
2431 cat >>conftest.
$ac_ext <<_ACEOF
2432 /* end confdefs.h. */
2443 rm -f conftest.
$ac_objext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2445 (eval $ac_compile) 2>conftest.er1
2447 grep -v '^ *+' conftest.er1
>conftest.err
2449 cat conftest.err
>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); } &&
2452 { ac_try
='test -z "$ac_c_werror_flag"
2453 || test ! -s conftest.err'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; } &&
2459 { ac_try
='test -s conftest.$ac_objext'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.
$ac_ext >&5
2472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2473 cat >conftest.
$ac_ext <<_ACEOF
2476 cat confdefs.h
>>conftest.
$ac_ext
2477 cat >>conftest.
$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2488 rm -f conftest.
$ac_objext
2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490 (eval $ac_compile) 2>conftest.er1
2492 grep -v '^ *+' conftest.er1
>conftest.err
2494 cat conftest.err
>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); } &&
2497 { ac_try
='test -z "$ac_c_werror_flag"
2498 || test ! -s conftest.err'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; } &&
2504 { ac_try
='test -s conftest.$ac_objext'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; }; then
2512 echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2519 if test -n "$ac_declaration"; then
2520 echo '#ifdef __cplusplus' >>confdefs.h
2521 echo $ac_declaration >>confdefs.h
2522 echo '#endif' >>confdefs.h
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2532 ac_cpp
='$CPP $CPPFLAGS'
2533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2537 # Find a good install program. We prefer a C program (faster),
2538 # so one script is as good as another. But avoid the broken or
2539 # incompatible versions:
2540 # SysV /etc/install, /usr/sbin/install
2541 # SunOS /usr/etc/install
2542 # IRIX /sbin/install
2544 # AmigaOS /C/install, which installs bootblocks on floppy discs
2545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2548 # OS/2's system install, which has a completely different semantic
2549 # ./install, which can be erroneously created by make from ./install.sh.
2550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2552 if test -z "$INSTALL"; then
2553 if test "${ac_cv_path_install+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir
=.
2561 # Account for people who put trailing slashes in PATH elements.
2563 .
/ | .
// |
/cC
/* | \
2564 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2565 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2568 # OSF1 and SCO ODT 3.0 have their own names for install.
2569 # Don't use installbsd from OSF since it installs stuff as root
2571 for ac_prog
in ginstall scoinst
install; do
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2574 if test $ac_prog = install &&
2575 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2576 # AIX install. It has an incompatible calling convention.
2578 elif test $ac_prog = install &&
2579 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2580 # program-specific install script used by HP pwplus--don't use.
2583 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2595 if test "${ac_cv_path_install+set}" = set; then
2596 INSTALL
=$ac_cv_path_install
2598 # As a last resort, use the slow shell script. We don't cache a
2599 # path for INSTALL within a source directory, because that will
2600 # break other packages using the cache if that directory is
2601 # removed, or if the path is relative.
2602 INSTALL
=$ac_install_sh
2605 echo "$as_me:$LINENO: result: $INSTALL" >&5
2606 echo "${ECHO_T}$INSTALL" >&6
2608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2609 # It thinks the first close brace ends the variable substitution.
2610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2614 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2617 # Put a plausible default for CC_FOR_BUILD in Makefile.
2618 if test "x$cross_compiling" = "xno"; then
2619 CC_FOR_BUILD
='$(CC)'
2629 if test -n "$ac_tool_prefix"; then
2630 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2631 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2632 echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2634 if test "${ac_cv_prog_RANLIB+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 if test -n "$RANLIB"; then
2638 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2647 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 RANLIB
=$ac_cv_prog_RANLIB
2657 if test -n "$RANLIB"; then
2658 echo "$as_me:$LINENO: result: $RANLIB" >&5
2659 echo "${ECHO_T}$RANLIB" >&6
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2666 if test -z "$ac_cv_prog_RANLIB"; then
2667 ac_ct_RANLIB
=$RANLIB
2668 # Extract the first word of "ranlib", so it can be a program name with args.
2669 set dummy ranlib
; ac_word
=$2
2670 echo "$as_me:$LINENO: checking for $ac_word" >&5
2671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 if test -n "$ac_ct_RANLIB"; then
2676 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir
=.
2683 for ac_exec_ext
in '' $ac_executable_extensions; do
2684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2695 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2696 if test -n "$ac_ct_RANLIB"; then
2697 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2698 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2700 echo "$as_me:$LINENO: result: no" >&5
2701 echo "${ECHO_T}no" >&6
2704 RANLIB
=$ac_ct_RANLIB
2706 RANLIB
="$ac_cv_prog_RANLIB"
2711 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2713 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2714 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 cat >conftest.
make <<\_ACEOF
2719 @
echo 'ac_maketemp="$(MAKE)"'
2721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2722 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2723 if test -n "$ac_maketemp"; then
2724 eval ac_cv_prog_make_
${ac_make}_set
=yes
2726 eval ac_cv_prog_make_
${ac_make}_set
=no
2730 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 SET_MAKE
="MAKE=${MAKE-make}"
2741 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2742 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2743 if test "${ac_cv_search_strerror+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 ac_func_search_save_LIBS
=$LIBS
2747 ac_cv_search_strerror
=no
2748 cat >conftest.
$ac_ext <<_ACEOF
2751 cat confdefs.h
>>conftest.
$ac_ext
2752 cat >>conftest.
$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2755 /* Override any gcc2 internal prototype to avoid an error. */
2759 /* We use char because int might match the return type of a gcc2
2760 builtin and then its argument prototype would still apply. */
2770 rm -f conftest.
$ac_objext conftest
$ac_exeext
2771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2772 (eval $ac_link) 2>conftest.er1
2774 grep -v '^ *+' conftest.er1
>conftest.err
2776 cat conftest.err
>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try
='test -z "$ac_c_werror_flag"
2780 || test ! -s conftest.err'
2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; } &&
2786 { ac_try
='test -s conftest$ac_exeext'
2787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; }; then
2792 ac_cv_search_strerror
="none required"
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.
$ac_ext >&5
2798 rm -f conftest.err conftest.
$ac_objext \
2799 conftest
$ac_exeext conftest.
$ac_ext
2800 if test "$ac_cv_search_strerror" = no
; then
2801 for ac_lib
in cposix
; do
2802 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2803 cat >conftest.
$ac_ext <<_ACEOF
2806 cat confdefs.h
>>conftest.
$ac_ext
2807 cat >>conftest.
$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2810 /* Override any gcc2 internal prototype to avoid an error. */
2814 /* We use char because int might match the return type of a gcc2
2815 builtin and then its argument prototype would still apply. */
2825 rm -f conftest.
$ac_objext conftest
$ac_exeext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2827 (eval $ac_link) 2>conftest.er1
2829 grep -v '^ *+' conftest.er1
>conftest.err
2831 cat conftest.err
>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try
='test -z "$ac_c_werror_flag"
2835 || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try
='test -s conftest$ac_exeext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_search_strerror
="-l$ac_lib"
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2854 rm -f conftest.err conftest.
$ac_objext \
2855 conftest
$ac_exeext conftest.
$ac_ext
2858 LIBS
=$ac_func_search_save_LIBS
2860 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2861 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2862 if test "$ac_cv_search_strerror" != no
; then
2863 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2868 ac_cpp
='$CPP $CPPFLAGS'
2869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2872 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2873 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2874 # On Suns, sometimes $CPP names a directory.
2875 if test -n "$CPP" && test -d "$CPP"; then
2878 if test -z "$CPP"; then
2879 if test "${ac_cv_prog_CPP+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 # Double quotes because CPP needs to be expanded
2883 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2886 for ac_c_preproc_warn_flag
in '' yes
2888 # Use a header file that comes with gcc, so configuring glibc
2889 # with a fresh cross-compiler works.
2890 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 # <limits.h> exists even on freestanding compilers.
2892 # On the NeXT, cc -E runs the code through the compiler's parser,
2893 # not just through cpp. "Syntax error" is here to catch this case.
2894 cat >conftest.
$ac_ext <<_ACEOF
2897 cat confdefs.h
>>conftest.
$ac_ext
2898 cat >>conftest.
$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2901 # include <limits.h>
2903 # include <assert.h>
2907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2910 grep -v '^ *+' conftest.er1
>conftest.err
2912 cat conftest.err
>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } >/dev
/null
; then
2915 if test -s conftest.err
; then
2916 ac_cpp_err
=$ac_c_preproc_warn_flag
2917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2924 if test -z "$ac_cpp_err"; then
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.
$ac_ext >&5
2930 # Broken: fails on valid input.
2933 rm -f conftest.err conftest.
$ac_ext
2935 # OK, works on sane cases. Now check whether non-existent headers
2936 # can be detected and how.
2937 cat >conftest.
$ac_ext <<_ACEOF
2940 cat confdefs.h
>>conftest.
$ac_ext
2941 cat >>conftest.
$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2943 #include <ac_nonexistent.h>
2945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2948 grep -v '^ *+' conftest.er1
>conftest.err
2950 cat conftest.err
>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } >/dev
/null
; then
2953 if test -s conftest.err
; then
2954 ac_cpp_err
=$ac_c_preproc_warn_flag
2955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2962 if test -z "$ac_cpp_err"; then
2963 # Broken: success on invalid input.
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.
$ac_ext >&5
2969 # Passes both tests.
2973 rm -f conftest.err conftest.
$ac_ext
2976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2977 rm -f conftest.err conftest.
$ac_ext
2978 if $ac_preproc_ok; then
2990 echo "$as_me:$LINENO: result: $CPP" >&5
2991 echo "${ECHO_T}$CPP" >&6
2993 for ac_c_preproc_warn_flag
in '' yes
2995 # Use a header file that comes with gcc, so configuring glibc
2996 # with a fresh cross-compiler works.
2997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2998 # <limits.h> exists even on freestanding compilers.
2999 # On the NeXT, cc -E runs the code through the compiler's parser,
3000 # not just through cpp. "Syntax error" is here to catch this case.
3001 cat >conftest.
$ac_ext <<_ACEOF
3004 cat confdefs.h
>>conftest.
$ac_ext
3005 cat >>conftest.
$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3008 # include <limits.h>
3010 # include <assert.h>
3014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3017 grep -v '^ *+' conftest.er1
>conftest.err
3019 cat conftest.err
>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } >/dev
/null
; then
3022 if test -s conftest.err
; then
3023 ac_cpp_err
=$ac_c_preproc_warn_flag
3024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3031 if test -z "$ac_cpp_err"; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3037 # Broken: fails on valid input.
3040 rm -f conftest.err conftest.
$ac_ext
3042 # OK, works on sane cases. Now check whether non-existent headers
3043 # can be detected and how.
3044 cat >conftest.
$ac_ext <<_ACEOF
3047 cat confdefs.h
>>conftest.
$ac_ext
3048 cat >>conftest.
$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3050 #include <ac_nonexistent.h>
3052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3055 grep -v '^ *+' conftest.er1
>conftest.err
3057 cat conftest.err
>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } >/dev
/null
; then
3060 if test -s conftest.err
; then
3061 ac_cpp_err
=$ac_c_preproc_warn_flag
3062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3069 if test -z "$ac_cpp_err"; then
3070 # Broken: success on invalid input.
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.
$ac_ext >&5
3076 # Passes both tests.
3080 rm -f conftest.err conftest.
$ac_ext
3083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3084 rm -f conftest.err conftest.
$ac_ext
3085 if $ac_preproc_ok; then
3088 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3089 See \`config.log' for more details." >&5
3090 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3091 See \`config.log' for more details." >&2;}
3092 { (exit 1); exit 1; }; }
3096 ac_cpp
='$CPP $CPPFLAGS'
3097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3102 echo "$as_me:$LINENO: checking for egrep" >&5
3103 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3104 if test "${ac_cv_prog_egrep+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3108 then ac_cv_prog_egrep
='grep -E'
3109 else ac_cv_prog_egrep
='egrep'
3112 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3113 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3114 EGREP
=$ac_cv_prog_egrep
3117 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3118 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3119 if test "${ac_cv_header_stdc+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 cat >conftest.
$ac_ext <<_ACEOF
3125 cat confdefs.h
>>conftest.
$ac_ext
3126 cat >>conftest.
$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3141 rm -f conftest.
$ac_objext
3142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3143 (eval $ac_compile) 2>conftest.er1
3145 grep -v '^ *+' conftest.er1
>conftest.err
3147 cat conftest.err
>&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } &&
3150 { ac_try
='test -z "$ac_c_werror_flag"
3151 || test ! -s conftest.err'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; } &&
3157 { ac_try
='test -s conftest.$ac_objext'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; }; then
3163 ac_cv_header_stdc
=yes
3165 echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.
$ac_ext >&5
3168 ac_cv_header_stdc
=no
3170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3172 if test $ac_cv_header_stdc = yes; then
3173 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3184 $EGREP "memchr" >/dev
/null
2>&1; then
3187 ac_cv_header_stdc
=no
3193 if test $ac_cv_header_stdc = yes; then
3194 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3195 cat >conftest.
$ac_ext <<_ACEOF
3198 cat confdefs.h
>>conftest.
$ac_ext
3199 cat >>conftest.
$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3205 $EGREP "free" >/dev
/null
2>&1; then
3208 ac_cv_header_stdc
=no
3214 if test $ac_cv_header_stdc = yes; then
3215 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3216 if test "$cross_compiling" = yes; then
3219 cat >conftest.
$ac_ext <<_ACEOF
3222 cat confdefs.h
>>conftest.
$ac_ext
3223 cat >>conftest.
$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3226 #if ((' ' & 0x0FF) == 0x020)
3227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3230 # define ISLOWER(c) \
3231 (('a' <= (c) && (c) <= 'i') \
3232 || ('j' <= (c) && (c) <= 'r') \
3233 || ('s' <= (c) && (c) <= 'z'))
3234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3242 for (i = 0; i < 256; i++)
3243 if (XOR (islower (i), ISLOWER (i))
3244 || toupper (i) != TOUPPER (i))
3249 rm -f conftest
$ac_exeext
3250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3251 (eval $ac_link) 2>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; }; then
3262 echo "$as_me: program exited with status $ac_status" >&5
3263 echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.
$ac_ext >&5
3267 ac_cv_header_stdc
=no
3269 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3273 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3274 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3275 if test $ac_cv_header_stdc = yes; then
3277 cat >>confdefs.h
<<\_ACEOF
3278 #define STDC_HEADERS 1
3283 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3284 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3285 if test "${ac_cv_c_const+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 cat >conftest.
$ac_ext <<_ACEOF
3291 cat confdefs.h
>>conftest.
$ac_ext
3292 cat >>conftest.
$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3298 /* FIXME: Include the comments suggested by Paul. */
3300 /* Ultrix mips cc rejects this. */
3301 typedef int charset[2];
3303 /* SunOS 4.1.1 cc rejects this. */
3304 char const *const *ccp;
3306 /* NEC SVR4.0.2 mips cc rejects this. */
3307 struct point {int x, y;};
3308 static struct point const zero = {0,0};
3309 /* AIX XL C 1.02.0.0 rejects this.
3310 It does not let you subtract one const X* pointer from another in
3311 an arm of an if-expression whose if-part is not a constant
3313 const char *g = "string";
3314 ccp = &g + (g ? g-g : 0);
3315 /* HPUX 7.0 cc rejects these. */
3318 ccp = (char const *const *) p;
3319 { /* SCO 3.2v4 cc rejects this. */
3321 char const *s = 0 ? (char *) 0 : (char const *) 0;
3325 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3327 const int *foo = &x[0];
3330 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3331 typedef const int *iptr;
3335 { /* AIX XL C 1.02.0.0 rejects this saying
3336 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3337 struct s { int j; const int *ap[3]; };
3338 struct s *b; b->j = 5;
3340 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3349 rm -f conftest.
$ac_objext
3350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3351 (eval $ac_compile) 2>conftest.er1
3353 grep -v '^ *+' conftest.er1
>conftest.err
3355 cat conftest.err
>&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } &&
3358 { ac_try
='test -z "$ac_c_werror_flag"
3359 || test ! -s conftest.err'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; } &&
3365 { ac_try
='test -s conftest.$ac_objext'
3366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; }; then
3373 echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.
$ac_ext >&5
3378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3380 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3381 echo "${ECHO_T}$ac_cv_c_const" >&6
3382 if test $ac_cv_c_const = no
; then
3384 cat >>confdefs.h
<<\_ACEOF
3390 echo "$as_me:$LINENO: checking for inline" >&5
3391 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3392 if test "${ac_cv_c_inline+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 for ac_kw
in inline __inline__ __inline
; do
3397 cat >conftest.
$ac_ext <<_ACEOF
3400 cat confdefs.h
>>conftest.
$ac_ext
3401 cat >>conftest.
$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3405 static $ac_kw foo_t static_foo () {return 0; }
3406 $ac_kw foo_t foo () {return 0; }
3410 rm -f conftest.
$ac_objext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3412 (eval $ac_compile) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_c_werror_flag"
3420 || test ! -s conftest.err'
3421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; } &&
3426 { ac_try
='test -s conftest.$ac_objext'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; }; then
3432 ac_cv_c_inline
=$ac_kw; break
3434 echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3442 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3443 echo "${ECHO_T}$ac_cv_c_inline" >&6
3446 case $ac_cv_c_inline in
3449 case $ac_cv_c_inline in
3451 *) ac_val
=$ac_cv_c_inline;;
3453 cat >>confdefs.h
<<_ACEOF
3455 #define inline $ac_val
3461 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3471 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3472 inttypes.h stdint.h unistd.h
3474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3475 echo "$as_me:$LINENO: checking for $ac_header" >&5
3476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 cat >conftest.
$ac_ext <<_ACEOF
3483 cat confdefs.h
>>conftest.
$ac_ext
3484 cat >>conftest.
$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3486 $ac_includes_default
3488 #include <$ac_header>
3490 rm -f conftest.
$ac_objext
3491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>conftest.er1
3494 grep -v '^ *+' conftest.er1
>conftest.err
3496 cat conftest.err
>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try
='test -z "$ac_c_werror_flag"
3500 || test ! -s conftest.err'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; } &&
3506 { ac_try
='test -s conftest.$ac_objext'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3512 eval "$as_ac_Header=yes"
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.
$ac_ext >&5
3517 eval "$as_ac_Header=no"
3519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3524 cat >>confdefs.h
<<_ACEOF
3525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3533 echo "$as_me:$LINENO: checking for off_t" >&5
3534 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3535 if test "${ac_cv_type_off_t+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 $ac_includes_default
3556 rm -f conftest.
$ac_objext
3557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 (eval $ac_compile) 2>conftest.er1
3560 grep -v '^ *+' conftest.er1
>conftest.err
3562 cat conftest.err
>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } &&
3565 { ac_try
='test -z "$ac_c_werror_flag"
3566 || test ! -s conftest.err'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; } &&
3572 { ac_try
='test -s conftest.$ac_objext'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_cv_type_off_t
=yes
3580 echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.
$ac_ext >&5
3585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3587 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3588 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3589 if test $ac_cv_type_off_t = yes; then
3593 cat >>confdefs.h
<<_ACEOF
3599 echo "$as_me:$LINENO: checking for size_t" >&5
3600 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3601 if test "${ac_cv_type_size_t+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 cat >conftest.
$ac_ext <<_ACEOF
3607 cat confdefs.h
>>conftest.
$ac_ext
3608 cat >>conftest.
$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3610 $ac_includes_default
3616 if (sizeof (size_t))
3622 rm -f conftest.
$ac_objext
3623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3624 (eval $ac_compile) 2>conftest.er1
3626 grep -v '^ *+' conftest.er1
>conftest.err
3628 cat conftest.err
>&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } &&
3631 { ac_try
='test -z "$ac_c_werror_flag"
3632 || test ! -s conftest.err'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; } &&
3638 { ac_try
='test -s conftest.$ac_objext'
3639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); }; }; then
3644 ac_cv_type_size_t
=yes
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.
$ac_ext >&5
3649 ac_cv_type_size_t
=no
3651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3653 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3654 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3655 if test $ac_cv_type_size_t = yes; then
3659 cat >>confdefs.h
<<_ACEOF
3660 #define size_t unsigned
3665 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3666 # for constant arguments. Useless!
3667 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3668 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3669 if test "${ac_cv_working_alloca_h+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 cat >conftest.
$ac_ext <<_ACEOF
3675 cat confdefs.h
>>conftest.
$ac_ext
3676 cat >>conftest.
$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3682 char *p = (char *) alloca (2 * sizeof (int));
3687 rm -f conftest.
$ac_objext conftest
$ac_exeext
3688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3689 (eval $ac_link) 2>conftest.er1
3691 grep -v '^ *+' conftest.er1
>conftest.err
3693 cat conftest.err
>&5
3694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); } &&
3696 { ac_try
='test -z "$ac_c_werror_flag"
3697 || test ! -s conftest.err'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; } &&
3703 { ac_try
='test -s conftest$ac_exeext'
3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; }; then
3709 ac_cv_working_alloca_h
=yes
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 ac_cv_working_alloca_h
=no
3716 rm -f conftest.err conftest.
$ac_objext \
3717 conftest
$ac_exeext conftest.
$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3720 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3721 if test $ac_cv_working_alloca_h = yes; then
3723 cat >>confdefs.h
<<\_ACEOF
3724 #define HAVE_ALLOCA_H 1
3729 echo "$as_me:$LINENO: checking for alloca" >&5
3730 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3731 if test "${ac_cv_func_alloca_works+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 cat >conftest.
$ac_ext <<_ACEOF
3737 cat confdefs.h
>>conftest.
$ac_ext
3738 cat >>conftest.
$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3741 # define alloca __builtin_alloca
3744 # include <malloc.h>
3745 # define alloca _alloca
3748 # include <alloca.h>
3753 # ifndef alloca /* predefined by HP cc +Olibcalls */
3764 char *p = (char *) alloca (1);
3769 rm -f conftest.
$ac_objext conftest
$ac_exeext
3770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3771 (eval $ac_link) 2>conftest.er1
3773 grep -v '^ *+' conftest.er1
>conftest.err
3775 cat conftest.err
>&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); } &&
3778 { ac_try
='test -z "$ac_c_werror_flag"
3779 || test ! -s conftest.err'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; } &&
3785 { ac_try
='test -s conftest$ac_exeext'
3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; }; then
3791 ac_cv_func_alloca_works
=yes
3793 echo "$as_me: failed program was:" >&5
3794 sed 's/^/| /' conftest.
$ac_ext >&5
3796 ac_cv_func_alloca_works
=no
3798 rm -f conftest.err conftest.
$ac_objext \
3799 conftest
$ac_exeext conftest.
$ac_ext
3801 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3802 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3804 if test $ac_cv_func_alloca_works = yes; then
3806 cat >>confdefs.h
<<\_ACEOF
3807 #define HAVE_ALLOCA 1
3811 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3812 # that cause trouble. Some versions do not even contain alloca or
3813 # contain a buggy version. If you still want to use their alloca,
3814 # use ar to extract alloca.o from them instead of compiling alloca.c.
3816 ALLOCA
=alloca.
$ac_objext
3818 cat >>confdefs.h
<<\_ACEOF
3823 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3824 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3825 if test "${ac_cv_os_cray+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 cat >conftest.
$ac_ext <<_ACEOF
3831 cat confdefs.h
>>conftest.
$ac_ext
3832 cat >>conftest.
$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #if defined(CRAY) && ! defined(CRAY2)
3841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3842 $EGREP "webecray" >/dev
/null
2>&1; then
3850 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3851 echo "${ECHO_T}$ac_cv_os_cray" >&6
3852 if test $ac_cv_os_cray = yes; then
3853 for ac_func
in _getb67 GETB67 getb67
; do
3854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3855 echo "$as_me:$LINENO: checking for $ac_func" >&5
3856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3857 if eval "test \"\${$as_ac_var+set}\" = set"; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 cat >conftest.
$ac_ext <<_ACEOF
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3868 #define $ac_func innocuous_$ac_func
3870 /* System header to define __stub macros and hopefully few prototypes,
3871 which can conflict with char $ac_func (); below.
3872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3873 <limits.h> exists even on freestanding compilers. */
3876 # include <limits.h>
3878 # include <assert.h>
3883 /* Override any gcc2 internal prototype to avoid an error. */
3888 /* We use char because int might match the return type of a gcc2
3889 builtin and then its argument prototype would still apply. */
3891 /* The GNU C library defines this for functions which it implements
3892 to always fail with ENOSYS. Some functions are actually named
3893 something starting with __ and the normal name is an alias. */
3894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3897 char (*f) () = $ac_func;
3906 return f != $ac_func;
3911 rm -f conftest.
$ac_objext conftest
$ac_exeext
3912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3913 (eval $ac_link) 2>conftest.er1
3915 grep -v '^ *+' conftest.er1
>conftest.err
3917 cat conftest.err
>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
3920 { ac_try
='test -z "$ac_c_werror_flag"
3921 || test ! -s conftest.err'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; } &&
3927 { ac_try
='test -s conftest$ac_exeext'
3928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 eval "$as_ac_var=yes"
3935 echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.
$ac_ext >&5
3938 eval "$as_ac_var=no"
3940 rm -f conftest.err conftest.
$ac_objext \
3941 conftest
$ac_exeext conftest.
$ac_ext
3943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3945 if test `eval echo '${'$as_ac_var'}'` = yes; then
3947 cat >>confdefs.h
<<_ACEOF
3948 #define CRAY_STACKSEG_END $ac_func
3957 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3958 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3959 if test "${ac_cv_c_stack_direction+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 if test "$cross_compiling" = yes; then
3963 ac_cv_c_stack_direction
=0
3965 cat >conftest.
$ac_ext <<_ACEOF
3968 cat confdefs.h
>>conftest.
$ac_ext
3969 cat >>conftest.
$ac_ext <<_ACEOF
3970 /* end confdefs.h. */
3972 find_stack_direction ()
3974 static char *addr = 0;
3979 return find_stack_direction ();
3982 return (&dummy > addr) ? 1 : -1;
3988 exit (find_stack_direction () < 0);
3991 rm -f conftest
$ac_exeext
3992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3993 (eval $ac_link) 2>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }; }; then
4002 ac_cv_c_stack_direction
=1
4004 echo "$as_me: program exited with status $ac_status" >&5
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.
$ac_ext >&5
4009 ac_cv_c_stack_direction
=-1
4011 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4014 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4015 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4017 cat >>confdefs.h
<<_ACEOF
4018 #define STACK_DIRECTION $ac_cv_c_stack_direction
4026 for ac_header
in stdlib.h unistd.h
4028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4030 echo "$as_me:$LINENO: checking for $ac_header" >&5
4031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4038 # Is the header compilable?
4039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4041 cat >conftest.
$ac_ext <<_ACEOF
4044 cat confdefs.h
>>conftest.
$ac_ext
4045 cat >>conftest.
$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4047 $ac_includes_default
4048 #include <$ac_header>
4050 rm -f conftest.
$ac_objext
4051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4052 (eval $ac_compile) 2>conftest.er1
4054 grep -v '^ *+' conftest.er1
>conftest.err
4056 cat conftest.err
>&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } &&
4059 { ac_try
='test -z "$ac_c_werror_flag"
4060 || test ! -s conftest.err'
4061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); }; } &&
4066 { ac_try
='test -s conftest.$ac_objext'
4067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); }; }; then
4072 ac_header_compiler
=yes
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.
$ac_ext >&5
4077 ac_header_compiler
=no
4079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4081 echo "${ECHO_T}$ac_header_compiler" >&6
4083 # Is the header present?
4084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4086 cat >conftest.
$ac_ext <<_ACEOF
4089 cat confdefs.h
>>conftest.
$ac_ext
4090 cat >>conftest.
$ac_ext <<_ACEOF
4091 /* end confdefs.h. */
4092 #include <$ac_header>
4094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4097 grep -v '^ *+' conftest.er1
>conftest.err
4099 cat conftest.err
>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } >/dev
/null
; then
4102 if test -s conftest.err
; then
4103 ac_cpp_err
=$ac_c_preproc_warn_flag
4104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4111 if test -z "$ac_cpp_err"; then
4112 ac_header_preproc
=yes
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 ac_header_preproc
=no
4119 rm -f conftest.err conftest.
$ac_ext
4120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4121 echo "${ECHO_T}$ac_header_preproc" >&6
4123 # So? What about this header?
4124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4130 ac_header_preproc
=yes
4133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4147 ## ------------------------------------------ ##
4148 ## Report this to the AC_PACKAGE_NAME lists. ##
4149 ## ------------------------------------------ ##
4152 sed "s/^/$as_me: WARNING: /" >&2
4155 echo "$as_me:$LINENO: checking for $ac_header" >&5
4156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 eval "$as_ac_Header=\$ac_header_preproc"
4162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4167 cat >>confdefs.h
<<_ACEOF
4168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4176 for ac_func
in getpagesize
4178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4179 echo "$as_me:$LINENO: checking for $ac_func" >&5
4180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4181 if eval "test \"\${$as_ac_var+set}\" = set"; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 cat >conftest.
$ac_ext <<_ACEOF
4187 cat confdefs.h
>>conftest.
$ac_ext
4188 cat >>conftest.
$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4192 #define $ac_func innocuous_$ac_func
4194 /* System header to define __stub macros and hopefully few prototypes,
4195 which can conflict with char $ac_func (); below.
4196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4197 <limits.h> exists even on freestanding compilers. */
4200 # include <limits.h>
4202 # include <assert.h>
4207 /* Override any gcc2 internal prototype to avoid an error. */
4212 /* We use char because int might match the return type of a gcc2
4213 builtin and then its argument prototype would still apply. */
4215 /* The GNU C library defines this for functions which it implements
4216 to always fail with ENOSYS. Some functions are actually named
4217 something starting with __ and the normal name is an alias. */
4218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4221 char (*f) () = $ac_func;
4230 return f != $ac_func;
4235 rm -f conftest.
$ac_objext conftest
$ac_exeext
4236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4237 (eval $ac_link) 2>conftest.er1
4239 grep -v '^ *+' conftest.er1
>conftest.err
4241 cat conftest.err
>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); } &&
4244 { ac_try
='test -z "$ac_c_werror_flag"
4245 || test ! -s conftest.err'
4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; } &&
4251 { ac_try
='test -s conftest$ac_exeext'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; }; then
4257 eval "$as_ac_var=yes"
4259 echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.
$ac_ext >&5
4262 eval "$as_ac_var=no"
4264 rm -f conftest.err conftest.
$ac_objext \
4265 conftest
$ac_exeext conftest.
$ac_ext
4267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4269 if test `eval echo '${'$as_ac_var'}'` = yes; then
4270 cat >>confdefs.h
<<_ACEOF
4271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4277 echo "$as_me:$LINENO: checking for working mmap" >&5
4278 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4279 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 if test "$cross_compiling" = yes; then
4283 ac_cv_func_mmap_fixed_mapped
=no
4285 cat >conftest.
$ac_ext <<_ACEOF
4288 cat confdefs.h
>>conftest.
$ac_ext
4289 cat >>conftest.
$ac_ext <<_ACEOF
4290 /* end confdefs.h. */
4291 $ac_includes_default
4292 /* malloc might have been renamed as rpl_malloc. */
4295 /* Thanks to Mike Haertel and Jim Avera for this test.
4296 Here is a matrix of mmap possibilities:
4297 mmap private not fixed
4298 mmap private fixed at somewhere currently unmapped
4299 mmap private fixed at somewhere already mapped
4300 mmap shared not fixed
4301 mmap shared fixed at somewhere currently unmapped
4302 mmap shared fixed at somewhere already mapped
4303 For private mappings, we should verify that changes cannot be read()
4304 back from the file, nor mmap's back from the file at a different
4305 address. (There have been systems where private was not correctly
4306 implemented like the infamous i386 svr4.0, and systems where the
4307 VM page cache was not coherent with the file system buffer cache
4308 like early versions of FreeBSD and possibly contemporary NetBSD.)
4309 For shared mappings, we should conversely verify that changes get
4310 propagated back to all the places they're supposed to be.
4312 Grep wants private fixed already mapped.
4313 The main things grep needs to know about mmap are:
4314 * does it exist and is it safe to write into the mmap'd area
4315 * how to use it (BSD variants) */
4318 #include <sys/mman.h>
4320 #if !STDC_HEADERS && !HAVE_STDLIB_H
4324 /* This mess was copied from the GNU getpagesize.h. */
4325 #if !HAVE_GETPAGESIZE
4326 /* Assume that all systems that can run configure have sys/param.h. */
4327 # if !HAVE_SYS_PARAM_H
4328 # define HAVE_SYS_PARAM_H 1
4331 # ifdef _SC_PAGESIZE
4332 # define getpagesize() sysconf(_SC_PAGESIZE)
4333 # else /* no _SC_PAGESIZE */
4334 # if HAVE_SYS_PARAM_H
4335 # include <sys/param.h>
4336 # ifdef EXEC_PAGESIZE
4337 # define getpagesize() EXEC_PAGESIZE
4338 # else /* no EXEC_PAGESIZE */
4340 # define getpagesize() NBPG * CLSIZE
4343 # endif /* no CLSIZE */
4344 # else /* no NBPG */
4346 # define getpagesize() NBPC
4347 # else /* no NBPC */
4349 # define getpagesize() PAGESIZE
4350 # endif /* PAGESIZE */
4351 # endif /* no NBPC */
4352 # endif /* no NBPG */
4353 # endif /* no EXEC_PAGESIZE */
4354 # else /* no HAVE_SYS_PARAM_H */
4355 # define getpagesize() 8192 /* punt totally */
4356 # endif /* no HAVE_SYS_PARAM_H */
4357 # endif /* no _SC_PAGESIZE */
4359 #endif /* no HAVE_GETPAGESIZE */
4364 char *data, *data2, *data3;
4368 pagesize = getpagesize ();
4370 /* First, make a file with some known garbage in it. */
4371 data = (char *) malloc (pagesize);
4374 for (i = 0; i < pagesize; ++i)
4375 *(data + i) = rand ();
4377 fd = creat ("conftest.mmap", 0600);
4380 if (write (fd, data, pagesize) != pagesize)
4384 /* Next, try to mmap the file at a fixed address which already has
4385 something else allocated at it. If we can, also make sure that
4386 we see the same garbage. */
4387 fd = open ("conftest.mmap", O_RDWR);
4390 data2 = (char *) malloc (2 * pagesize);
4393 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4394 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4395 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4397 for (i = 0; i < pagesize; ++i)
4398 if (*(data + i) != *(data2 + i))
4401 /* Finally, make sure that changes to the mapped area do not
4402 percolate back to the file as seen by read(). (This is a bug on
4403 some variants of i386 svr4.0.) */
4404 for (i = 0; i < pagesize; ++i)
4405 *(data2 + i) = *(data2 + i) + 1;
4406 data3 = (char *) malloc (pagesize);
4409 if (read (fd, data3, pagesize) != pagesize)
4411 for (i = 0; i < pagesize; ++i)
4412 if (*(data + i) != *(data3 + i))
4418 rm -f conftest
$ac_exeext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4420 (eval $ac_link) 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 ac_cv_func_mmap_fixed_mapped
=yes
4431 echo "$as_me: program exited with status $ac_status" >&5
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4436 ac_cv_func_mmap_fixed_mapped
=no
4438 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4441 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4442 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4443 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4445 cat >>confdefs.h
<<\_ACEOF
4462 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4463 unistd.h values.h sys
/param.h
4465 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4467 echo "$as_me:$LINENO: checking for $ac_header" >&5
4468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4475 # Is the header compilable?
4476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4478 cat >conftest.
$ac_ext <<_ACEOF
4481 cat confdefs.h
>>conftest.
$ac_ext
4482 cat >>conftest.
$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 $ac_includes_default
4485 #include <$ac_header>
4487 rm -f conftest.
$ac_objext
4488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4489 (eval $ac_compile) 2>conftest.er1
4491 grep -v '^ *+' conftest.er1
>conftest.err
4493 cat conftest.err
>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } &&
4496 { ac_try
='test -z "$ac_c_werror_flag"
4497 || test ! -s conftest.err'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; } &&
4503 { ac_try
='test -s conftest.$ac_objext'
4504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); }; }; then
4509 ac_header_compiler
=yes
4511 echo "$as_me: failed program was:" >&5
4512 sed 's/^/| /' conftest.
$ac_ext >&5
4514 ac_header_compiler
=no
4516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4518 echo "${ECHO_T}$ac_header_compiler" >&6
4520 # Is the header present?
4521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4523 cat >conftest.
$ac_ext <<_ACEOF
4526 cat confdefs.h
>>conftest.
$ac_ext
4527 cat >>conftest.
$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4529 #include <$ac_header>
4531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4534 grep -v '^ *+' conftest.er1
>conftest.err
4536 cat conftest.err
>&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); } >/dev
/null
; then
4539 if test -s conftest.err
; then
4540 ac_cpp_err
=$ac_c_preproc_warn_flag
4541 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4548 if test -z "$ac_cpp_err"; then
4549 ac_header_preproc
=yes
4551 echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.
$ac_ext >&5
4554 ac_header_preproc
=no
4556 rm -f conftest.err conftest.
$ac_ext
4557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4558 echo "${ECHO_T}$ac_header_preproc" >&6
4560 # So? What about this header?
4561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4567 ac_header_preproc
=yes
4570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4584 ## ------------------------------------------ ##
4585 ## Report this to the AC_PACKAGE_NAME lists. ##
4586 ## ------------------------------------------ ##
4589 sed "s/^/$as_me: WARNING: /" >&2
4592 echo "$as_me:$LINENO: checking for $ac_header" >&5
4593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 eval "$as_ac_Header=\$ac_header_preproc"
4599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4604 cat >>confdefs.h
<<_ACEOF
4605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4622 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4623 __argz_count __argz_stringify __argz_next
4625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4626 echo "$as_me:$LINENO: checking for $ac_func" >&5
4627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4628 if eval "test \"\${$as_ac_var+set}\" = set"; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 cat >conftest.
$ac_ext <<_ACEOF
4634 cat confdefs.h
>>conftest.
$ac_ext
4635 cat >>conftest.
$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4639 #define $ac_func innocuous_$ac_func
4641 /* System header to define __stub macros and hopefully few prototypes,
4642 which can conflict with char $ac_func (); below.
4643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4644 <limits.h> exists even on freestanding compilers. */
4647 # include <limits.h>
4649 # include <assert.h>
4654 /* Override any gcc2 internal prototype to avoid an error. */
4659 /* We use char because int might match the return type of a gcc2
4660 builtin and then its argument prototype would still apply. */
4662 /* The GNU C library defines this for functions which it implements
4663 to always fail with ENOSYS. Some functions are actually named
4664 something starting with __ and the normal name is an alias. */
4665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4668 char (*f) () = $ac_func;
4677 return f != $ac_func;
4682 rm -f conftest.
$ac_objext conftest
$ac_exeext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4684 (eval $ac_link) 2>conftest.er1
4686 grep -v '^ *+' conftest.er1
>conftest.err
4688 cat conftest.err
>&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try
='test -z "$ac_c_werror_flag"
4692 || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try
='test -s conftest$ac_exeext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4704 eval "$as_ac_var=yes"
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4709 eval "$as_ac_var=no"
4711 rm -f conftest.err conftest.
$ac_objext \
4712 conftest
$ac_exeext conftest.
$ac_ext
4714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4716 if test `eval echo '${'$as_ac_var'}'` = yes; then
4717 cat >>confdefs.h
<<_ACEOF
4718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4725 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4727 for ac_func
in stpcpy
4729 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4730 echo "$as_me:$LINENO: checking for $ac_func" >&5
4731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4732 if eval "test \"\${$as_ac_var+set}\" = set"; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 cat >conftest.
$ac_ext <<_ACEOF
4738 cat confdefs.h
>>conftest.
$ac_ext
4739 cat >>conftest.
$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4743 #define $ac_func innocuous_$ac_func
4745 /* System header to define __stub macros and hopefully few prototypes,
4746 which can conflict with char $ac_func (); below.
4747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4748 <limits.h> exists even on freestanding compilers. */
4751 # include <limits.h>
4753 # include <assert.h>
4758 /* Override any gcc2 internal prototype to avoid an error. */
4763 /* We use char because int might match the return type of a gcc2
4764 builtin and then its argument prototype would still apply. */
4766 /* The GNU C library defines this for functions which it implements
4767 to always fail with ENOSYS. Some functions are actually named
4768 something starting with __ and the normal name is an alias. */
4769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4772 char (*f) () = $ac_func;
4781 return f != $ac_func;
4786 rm -f conftest.
$ac_objext conftest
$ac_exeext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4788 (eval $ac_link) 2>conftest.er1
4790 grep -v '^ *+' conftest.er1
>conftest.err
4792 cat conftest.err
>&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 { ac_try
='test -z "$ac_c_werror_flag"
4796 || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try
='test -s conftest$ac_exeext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 eval "$as_ac_var=yes"
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4813 eval "$as_ac_var=no"
4815 rm -f conftest.err conftest.
$ac_objext \
4816 conftest
$ac_exeext conftest.
$ac_ext
4818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4820 if test `eval echo '${'$as_ac_var'}'` = yes; then
4821 cat >>confdefs.h
<<_ACEOF
4822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4829 if test "${ac_cv_func_stpcpy}" = "yes"; then
4830 cat >>confdefs.h
<<\_ACEOF
4831 #define HAVE_STPCPY 1
4836 if test $ac_cv_header_locale_h = yes; then
4837 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4838 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4839 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 cat >conftest.
$ac_ext <<_ACEOF
4845 cat confdefs.h
>>conftest.
$ac_ext
4846 cat >>conftest.
$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4857 rm -f conftest.
$ac_objext conftest
$ac_exeext
4858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4859 (eval $ac_link) 2>conftest.er1
4861 grep -v '^ *+' conftest.er1
>conftest.err
4863 cat conftest.err
>&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); } &&
4866 { ac_try
='test -z "$ac_c_werror_flag"
4867 || test ! -s conftest.err'
4868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; } &&
4873 { ac_try
='test -s conftest$ac_exeext'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; }; then
4879 am_cv_val_LC_MESSAGES
=yes
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.
$ac_ext >&5
4884 am_cv_val_LC_MESSAGES
=no
4886 rm -f conftest.err conftest.
$ac_objext \
4887 conftest
$ac_exeext conftest.
$ac_ext
4889 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4890 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4891 if test $am_cv_val_LC_MESSAGES = yes; then
4892 cat >>confdefs.h
<<\_ACEOF
4893 #define HAVE_LC_MESSAGES 1
4898 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4899 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4900 # Check whether --enable-nls or --disable-nls was given.
4901 if test "${enable_nls+set}" = set; then
4902 enableval
="$enable_nls"
4907 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4908 echo "${ECHO_T}$USE_NLS" >&6
4911 USE_INCLUDED_LIBINTL
=no
4913 if test "$USE_NLS" = "yes"; then
4914 cat >>confdefs.h
<<\_ACEOF
4915 #define ENABLE_NLS 1
4918 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4919 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4921 # Check whether --with-included-gettext or --without-included-gettext was given.
4922 if test "${with_included_gettext+set}" = set; then
4923 withval
="$with_included_gettext"
4924 nls_cv_force_use_gnu_gettext
=$withval
4926 nls_cv_force_use_gnu_gettext
=no
4928 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4929 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4931 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4932 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4934 nls_cv_header_libgt
=
4937 if test "${ac_cv_header_libintl_h+set}" = set; then
4938 echo "$as_me:$LINENO: checking for libintl.h" >&5
4939 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4940 if test "${ac_cv_header_libintl_h+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4944 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4946 # Is the header compilable?
4947 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4948 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4949 cat >conftest.
$ac_ext <<_ACEOF
4952 cat confdefs.h
>>conftest.
$ac_ext
4953 cat >>conftest.
$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4955 $ac_includes_default
4956 #include <libintl.h>
4958 rm -f conftest.
$ac_objext
4959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4960 (eval $ac_compile) 2>conftest.er1
4962 grep -v '^ *+' conftest.er1
>conftest.err
4964 cat conftest.err
>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try
='test -z "$ac_c_werror_flag"
4968 || test ! -s conftest.err'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; } &&
4974 { ac_try
='test -s conftest.$ac_objext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_header_compiler
=yes
4982 echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.
$ac_ext >&5
4985 ac_header_compiler
=no
4987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4989 echo "${ECHO_T}$ac_header_compiler" >&6
4991 # Is the header present?
4992 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4993 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 #include <libintl.h>
5002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5005 grep -v '^ *+' conftest.er1
>conftest.err
5007 cat conftest.err
>&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } >/dev
/null
; then
5010 if test -s conftest.err
; then
5011 ac_cpp_err
=$ac_c_preproc_warn_flag
5012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5019 if test -z "$ac_cpp_err"; then
5020 ac_header_preproc
=yes
5022 echo "$as_me: failed program was:" >&5
5023 sed 's/^/| /' conftest.
$ac_ext >&5
5025 ac_header_preproc
=no
5027 rm -f conftest.err conftest.
$ac_ext
5028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5029 echo "${ECHO_T}$ac_header_preproc" >&6
5031 # So? What about this header?
5032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5034 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5035 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5036 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5037 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5038 ac_header_preproc
=yes
5041 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5042 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5043 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5044 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5045 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5046 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5047 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5048 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5049 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5050 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5051 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5052 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5055 ## ------------------------------------------ ##
5056 ## Report this to the AC_PACKAGE_NAME lists. ##
5057 ## ------------------------------------------ ##
5060 sed "s/^/$as_me: WARNING: /" >&2
5063 echo "$as_me:$LINENO: checking for libintl.h" >&5
5064 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5065 if test "${ac_cv_header_libintl_h+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_cv_header_libintl_h
=$ac_header_preproc
5070 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5071 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5074 if test $ac_cv_header_libintl_h = yes; then
5075 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5076 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5077 if test "${gt_cv_func_gettext_libc+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 cat >conftest.
$ac_ext <<_ACEOF
5083 cat confdefs.h
>>conftest.
$ac_ext
5084 cat >>conftest.
$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5086 #include <libintl.h>
5090 return (int) gettext ("")
5095 rm -f conftest.
$ac_objext conftest
$ac_exeext
5096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5097 (eval $ac_link) 2>conftest.er1
5099 grep -v '^ *+' conftest.er1
>conftest.err
5101 cat conftest.err
>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try
='test -z "$ac_c_werror_flag"
5105 || test ! -s conftest.err'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; } &&
5111 { ac_try
='test -s conftest$ac_exeext'
5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); }; }; then
5117 gt_cv_func_gettext_libc
=yes
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.
$ac_ext >&5
5122 gt_cv_func_gettext_libc
=no
5124 rm -f conftest.err conftest.
$ac_objext \
5125 conftest
$ac_exeext conftest.
$ac_ext
5127 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5128 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5130 if test "$gt_cv_func_gettext_libc" != "yes"; then
5131 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5132 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5133 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5134 echo $ECHO_N "(cached) $ECHO_C" >&6
5136 ac_check_lib_save_LIBS
=$LIBS
5138 cat >conftest.
$ac_ext <<_ACEOF
5141 cat confdefs.h
>>conftest.
$ac_ext
5142 cat >>conftest.
$ac_ext <<_ACEOF
5143 /* end confdefs.h. */
5145 /* Override any gcc2 internal prototype to avoid an error. */
5149 /* We use char because int might match the return type of a gcc2
5150 builtin and then its argument prototype would still apply. */
5151 char bindtextdomain ();
5160 rm -f conftest.
$ac_objext conftest
$ac_exeext
5161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5162 (eval $ac_link) 2>conftest.er1
5164 grep -v '^ *+' conftest.er1
>conftest.err
5166 cat conftest.err
>&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } &&
5169 { ac_try
='test -z "$ac_c_werror_flag"
5170 || test ! -s conftest.err'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; } &&
5176 { ac_try
='test -s conftest$ac_exeext'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; }; then
5182 ac_cv_lib_intl_bindtextdomain
=yes
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.
$ac_ext >&5
5187 ac_cv_lib_intl_bindtextdomain
=no
5189 rm -f conftest.err conftest.
$ac_objext \
5190 conftest
$ac_exeext conftest.
$ac_ext
5191 LIBS
=$ac_check_lib_save_LIBS
5193 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5194 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5195 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5196 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5197 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5198 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 cat >conftest.
$ac_ext <<_ACEOF
5204 cat confdefs.h
>>conftest.
$ac_ext
5205 cat >>conftest.
$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5211 return (int) gettext ("")
5216 rm -f conftest.
$ac_objext conftest
$ac_exeext
5217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5218 (eval $ac_link) 2>conftest.er1
5220 grep -v '^ *+' conftest.er1
>conftest.err
5222 cat conftest.err
>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } &&
5225 { ac_try
='test -z "$ac_c_werror_flag"
5226 || test ! -s conftest.err'
5227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 (exit $ac_status); }; } &&
5232 { ac_try
='test -s conftest$ac_exeext'
5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); }; }; then
5238 gt_cv_func_gettext_libintl
=yes
5240 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.
$ac_ext >&5
5243 gt_cv_func_gettext_libintl
=no
5245 rm -f conftest.err conftest.
$ac_objext \
5246 conftest
$ac_exeext conftest.
$ac_ext
5248 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5249 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5254 if test "$gt_cv_func_gettext_libc" = "yes" \
5255 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5256 cat >>confdefs.h
<<\_ACEOF
5257 #define HAVE_GETTEXT 1
5260 # Extract the first word of "msgfmt", so it can be a program name with args.
5261 set dummy msgfmt
; ac_word
=$2
5262 echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5264 if test "${ac_cv_path_MSGFMT+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5273 for ac_dir
in $PATH; do
5274 test -z "$ac_dir" && ac_dir
=.
5275 if test -f $ac_dir/$ac_word; then
5276 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5277 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5283 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5287 MSGFMT
="$ac_cv_path_MSGFMT"
5288 if test -n "$MSGFMT"; then
5289 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5290 echo "${ECHO_T}$MSGFMT" >&6
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5295 if test "$MSGFMT" != "no"; then
5297 for ac_func
in dcgettext
5299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5300 echo "$as_me:$LINENO: checking for $ac_func" >&5
5301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5302 if eval "test \"\${$as_ac_var+set}\" = set"; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5313 #define $ac_func innocuous_$ac_func
5315 /* System header to define __stub macros and hopefully few prototypes,
5316 which can conflict with char $ac_func (); below.
5317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5318 <limits.h> exists even on freestanding compilers. */
5321 # include <limits.h>
5323 # include <assert.h>
5328 /* Override any gcc2 internal prototype to avoid an error. */
5333 /* We use char because int might match the return type of a gcc2
5334 builtin and then its argument prototype would still apply. */
5336 /* The GNU C library defines this for functions which it implements
5337 to always fail with ENOSYS. Some functions are actually named
5338 something starting with __ and the normal name is an alias. */
5339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5342 char (*f) () = $ac_func;
5351 return f != $ac_func;
5356 rm -f conftest.
$ac_objext conftest
$ac_exeext
5357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5358 (eval $ac_link) 2>conftest.er1
5360 grep -v '^ *+' conftest.er1
>conftest.err
5362 cat conftest.err
>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); } &&
5365 { ac_try
='test -z "$ac_c_werror_flag"
5366 || test ! -s conftest.err'
5367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; } &&
5372 { ac_try
='test -s conftest$ac_exeext'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; }; then
5378 eval "$as_ac_var=yes"
5380 echo "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.
$ac_ext >&5
5383 eval "$as_ac_var=no"
5385 rm -f conftest.err conftest.
$ac_objext \
5386 conftest
$ac_exeext conftest.
$ac_ext
5388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5390 if test `eval echo '${'$as_ac_var'}'` = yes; then
5391 cat >>confdefs.h
<<_ACEOF
5392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5398 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5399 set dummy gmsgfmt
; ac_word
=$2
5400 echo "$as_me:$LINENO: checking for $ac_word" >&5
5401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5402 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir
=.
5415 for ac_exec_ext
in '' $ac_executable_extensions; do
5416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5428 GMSGFMT
=$ac_cv_path_GMSGFMT
5430 if test -n "$GMSGFMT"; then
5431 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5432 echo "${ECHO_T}$GMSGFMT" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5438 # Extract the first word of "xgettext", so it can be a program name with args.
5439 set dummy xgettext
; ac_word
=$2
5440 echo "$as_me:$LINENO: checking for $ac_word" >&5
5441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5442 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5450 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5451 for ac_dir
in $PATH; do
5452 test -z "$ac_dir" && ac_dir
=.
5453 if test -f $ac_dir/$ac_word; then
5454 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5455 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5461 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5465 XGETTEXT
="$ac_cv_path_XGETTEXT"
5466 if test -n "$XGETTEXT"; then
5467 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5468 echo "${ECHO_T}$XGETTEXT" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5474 cat >conftest.
$ac_ext <<_ACEOF
5477 cat confdefs.h
>>conftest.
$ac_ext
5478 cat >>conftest.
$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5484 extern int _nl_msg_cat_cntr;
5485 return _nl_msg_cat_cntr
5490 rm -f conftest.
$ac_objext conftest
$ac_exeext
5491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5492 (eval $ac_link) 2>conftest.er1
5494 grep -v '^ *+' conftest.er1
>conftest.err
5496 cat conftest.err
>&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } &&
5499 { ac_try
='test -z "$ac_c_werror_flag"
5500 || test ! -s conftest.err'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; } &&
5506 { ac_try
='test -s conftest$ac_exeext'
5507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }; }; then
5515 echo "$as_me: failed program was:" >&5
5516 sed 's/^/| /' conftest.
$ac_ext >&5
5521 rm -f conftest.err conftest.
$ac_objext \
5522 conftest
$ac_exeext conftest.
$ac_ext
5532 if test "$CATOBJEXT" = "NONE"; then
5533 nls_cv_use_gnu_gettext
=yes
5537 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5538 INTLOBJS
="\$(GETTOBJS)"
5539 # Extract the first word of "msgfmt", so it can be a program name with args.
5540 set dummy msgfmt
; ac_word
=$2
5541 echo "$as_me:$LINENO: checking for $ac_word" >&5
5542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5543 if test "${ac_cv_path_MSGFMT+set}" = set; then
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5551 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5552 for ac_dir
in $PATH; do
5553 test -z "$ac_dir" && ac_dir
=.
5554 if test -f $ac_dir/$ac_word; then
5555 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5556 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5562 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5566 MSGFMT
="$ac_cv_path_MSGFMT"
5567 if test -n "$MSGFMT"; then
5568 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5569 echo "${ECHO_T}$MSGFMT" >&6
5571 echo "$as_me:$LINENO: result: no" >&5
5572 echo "${ECHO_T}no" >&6
5575 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5576 set dummy gmsgfmt
; ac_word
=$2
5577 echo "$as_me:$LINENO: checking for $ac_word" >&5
5578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5579 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5580 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_exec_ext
in '' $ac_executable_extensions; do
5593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5605 GMSGFMT
=$ac_cv_path_GMSGFMT
5607 if test -n "$GMSGFMT"; then
5608 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5609 echo "${ECHO_T}$GMSGFMT" >&6
5611 echo "$as_me:$LINENO: result: no" >&5
5612 echo "${ECHO_T}no" >&6
5615 # Extract the first word of "xgettext", so it can be a program name with args.
5616 set dummy xgettext
; ac_word
=$2
5617 echo "$as_me:$LINENO: checking for $ac_word" >&5
5618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5619 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5627 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5628 for ac_dir
in $PATH; do
5629 test -z "$ac_dir" && ac_dir
=.
5630 if test -f $ac_dir/$ac_word; then
5631 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5632 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5638 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5642 XGETTEXT
="$ac_cv_path_XGETTEXT"
5643 if test -n "$XGETTEXT"; then
5644 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5645 echo "${ECHO_T}$XGETTEXT" >&6
5647 echo "$as_me:$LINENO: result: no" >&5
5648 echo "${ECHO_T}no" >&6
5652 USE_INCLUDED_LIBINTL
=yes
5656 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5658 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5659 nls_cv_header_intl
=libintl.h
5660 nls_cv_header_libgt
=libgettext.h
5663 if test "$XGETTEXT" != ":"; then
5664 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5667 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5668 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5673 # We need to process the po/ directory.
5677 nls_cv_header_intl
=libintl.h
5678 nls_cv_header_libgt
=libgettext.h
5681 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5682 # because some of the sources are only built for this goal.
5683 if test "$PACKAGE" = gettext; then
5685 USE_INCLUDED_LIBINTL
=yes
5688 for lang
in $ALL_LINGUAS; do
5689 GMOFILES
="$GMOFILES $lang.gmo"
5690 POFILES
="$POFILES $lang.po"
5706 if test "x$CATOBJEXT" != "x"; then
5707 if test "x$ALL_LINGUAS" = "x"; then
5710 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5711 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5713 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5714 case "$ALL_LINGUAS" in
5715 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5718 LINGUAS
=$NEW_LINGUAS
5719 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5720 echo "${ECHO_T}$LINGUAS" >&6
5723 if test -n "$LINGUAS"; then
5724 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5728 if test $ac_cv_header_locale_h = yes; then
5729 INCLUDE_LOCALE_H
="#include <locale.h>"
5732 /* The system does not provide the header <locale.h>. Take care yourself. */"
5736 if test -f $srcdir/po2tbl.
sed.
in; then
5737 if test "$CATOBJEXT" = ".cat"; then
5738 if test "${ac_cv_header_linux_version_h+set}" = set; then
5739 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5740 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5741 if test "${ac_cv_header_linux_version_h+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5745 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5747 # Is the header compilable?
5748 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5749 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5750 cat >conftest.
$ac_ext <<_ACEOF
5753 cat confdefs.h
>>conftest.
$ac_ext
5754 cat >>conftest.
$ac_ext <<_ACEOF
5755 /* end confdefs.h. */
5756 $ac_includes_default
5757 #include <linux/version.h>
5759 rm -f conftest.
$ac_objext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5761 (eval $ac_compile) 2>conftest.er1
5763 grep -v '^ *+' conftest.er1
>conftest.err
5765 cat conftest.err
>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try
='test -z "$ac_c_werror_flag"
5769 || test ! -s conftest.err'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; } &&
5775 { ac_try
='test -s conftest.$ac_objext'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; }; then
5781 ac_header_compiler
=yes
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.
$ac_ext >&5
5786 ac_header_compiler
=no
5788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5790 echo "${ECHO_T}$ac_header_compiler" >&6
5792 # Is the header present?
5793 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5794 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5795 cat >conftest.
$ac_ext <<_ACEOF
5798 cat confdefs.h
>>conftest.
$ac_ext
5799 cat >>conftest.
$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5801 #include <linux/version.h>
5803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5806 grep -v '^ *+' conftest.er1
>conftest.err
5808 cat conftest.err
>&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } >/dev
/null
; then
5811 if test -s conftest.err
; then
5812 ac_cpp_err
=$ac_c_preproc_warn_flag
5813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5820 if test -z "$ac_cpp_err"; then
5821 ac_header_preproc
=yes
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.
$ac_ext >&5
5826 ac_header_preproc
=no
5828 rm -f conftest.err conftest.
$ac_ext
5829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5830 echo "${ECHO_T}$ac_header_preproc" >&6
5832 # So? What about this header?
5833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5835 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5836 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5837 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5838 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5839 ac_header_preproc
=yes
5842 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5843 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5844 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5845 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5846 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5847 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5848 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5849 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5850 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5851 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5852 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5853 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5856 ## ------------------------------------------ ##
5857 ## Report this to the AC_PACKAGE_NAME lists. ##
5858 ## ------------------------------------------ ##
5861 sed "s/^/$as_me: WARNING: /" >&2
5864 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5865 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5866 if test "${ac_cv_header_linux_version_h+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 ac_cv_header_linux_version_h
=$ac_header_preproc
5871 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5872 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5875 if test $ac_cv_header_linux_version_h = yes; then
5883 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5885 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5886 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5889 if test "$PACKAGE" = "gettext"; then
5899 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5905 if test -d $srcdir/po
; then
5906 test -d po || mkdir po
5907 if test "x$srcdir" != "x."; then
5908 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5909 posrcprefix
="$srcdir/"
5911 posrcprefix
="../$srcdir/"
5917 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5918 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5922 # Check for common headers.
5923 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5924 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5930 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
5932 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5934 echo "$as_me:$LINENO: checking for $ac_header" >&5
5935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5942 # Is the header compilable?
5943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5945 cat >conftest.
$ac_ext <<_ACEOF
5948 cat confdefs.h
>>conftest.
$ac_ext
5949 cat >>conftest.
$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5951 $ac_includes_default
5952 #include <$ac_header>
5954 rm -f conftest.
$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956 (eval $ac_compile) 2>conftest.er1
5958 grep -v '^ *+' conftest.er1
>conftest.err
5960 cat conftest.err
>&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } &&
5963 { ac_try
='test -z "$ac_c_werror_flag"
5964 || test ! -s conftest.err'
5965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); }; } &&
5970 { ac_try
='test -s conftest.$ac_objext'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; }; then
5976 ac_header_compiler
=yes
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.
$ac_ext >&5
5981 ac_header_compiler
=no
5983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5985 echo "${ECHO_T}$ac_header_compiler" >&6
5987 # Is the header present?
5988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5990 cat >conftest.
$ac_ext <<_ACEOF
5993 cat confdefs.h
>>conftest.
$ac_ext
5994 cat >>conftest.
$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5996 #include <$ac_header>
5998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6001 grep -v '^ *+' conftest.er1
>conftest.err
6003 cat conftest.err
>&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); } >/dev
/null
; then
6006 if test -s conftest.err
; then
6007 ac_cpp_err
=$ac_c_preproc_warn_flag
6008 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6015 if test -z "$ac_cpp_err"; then
6016 ac_header_preproc
=yes
6018 echo "$as_me: failed program was:" >&5
6019 sed 's/^/| /' conftest.
$ac_ext >&5
6021 ac_header_preproc
=no
6023 rm -f conftest.err conftest.
$ac_ext
6024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6025 echo "${ECHO_T}$ac_header_preproc" >&6
6027 # So? What about this header?
6028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6034 ac_header_preproc
=yes
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6051 ## ------------------------------------------ ##
6052 ## Report this to the AC_PACKAGE_NAME lists. ##
6053 ## ------------------------------------------ ##
6056 sed "s/^/$as_me: WARNING: /" >&2
6059 echo "$as_me:$LINENO: checking for $ac_header" >&5
6060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 eval "$as_ac_Header=\$ac_header_preproc"
6066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6071 cat >>confdefs.h
<<_ACEOF
6072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6081 for ac_header
in sys
/time.h sys
/resource.h
6083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6085 echo "$as_me:$LINENO: checking for $ac_header" >&5
6086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6093 # Is the header compilable?
6094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6096 cat >conftest.
$ac_ext <<_ACEOF
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6102 $ac_includes_default
6103 #include <$ac_header>
6105 rm -f conftest.
$ac_objext
6106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107 (eval $ac_compile) 2>conftest.er1
6109 grep -v '^ *+' conftest.er1
>conftest.err
6111 cat conftest.err
>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } &&
6114 { ac_try
='test -z "$ac_c_werror_flag"
6115 || test ! -s conftest.err'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; } &&
6121 { ac_try
='test -s conftest.$ac_objext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 ac_header_compiler
=yes
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.
$ac_ext >&5
6132 ac_header_compiler
=no
6134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6136 echo "${ECHO_T}$ac_header_compiler" >&6
6138 # Is the header present?
6139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6141 cat >conftest.
$ac_ext <<_ACEOF
6144 cat confdefs.h
>>conftest.
$ac_ext
6145 cat >>conftest.
$ac_ext <<_ACEOF
6146 /* end confdefs.h. */
6147 #include <$ac_header>
6149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6152 grep -v '^ *+' conftest.er1
>conftest.err
6154 cat conftest.err
>&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } >/dev
/null
; then
6157 if test -s conftest.err
; then
6158 ac_cpp_err
=$ac_c_preproc_warn_flag
6159 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6166 if test -z "$ac_cpp_err"; then
6167 ac_header_preproc
=yes
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.
$ac_ext >&5
6172 ac_header_preproc
=no
6174 rm -f conftest.err conftest.
$ac_ext
6175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6176 echo "${ECHO_T}$ac_header_preproc" >&6
6178 # So? What about this header?
6179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6185 ac_header_preproc
=yes
6188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6202 ## ------------------------------------------ ##
6203 ## Report this to the AC_PACKAGE_NAME lists. ##
6204 ## ------------------------------------------ ##
6207 sed "s/^/$as_me: WARNING: /" >&2
6210 echo "$as_me:$LINENO: checking for $ac_header" >&5
6211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 eval "$as_ac_Header=\$ac_header_preproc"
6217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6222 cat >>confdefs.h
<<_ACEOF
6223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6232 for ac_header
in fcntl.h fpu_control.h
6234 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6236 echo "$as_me:$LINENO: checking for $ac_header" >&5
6237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6244 # Is the header compilable?
6245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6247 cat >conftest.
$ac_ext <<_ACEOF
6250 cat confdefs.h
>>conftest.
$ac_ext
6251 cat >>conftest.
$ac_ext <<_ACEOF
6252 /* end confdefs.h. */
6253 $ac_includes_default
6254 #include <$ac_header>
6256 rm -f conftest.
$ac_objext
6257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6258 (eval $ac_compile) 2>conftest.er1
6260 grep -v '^ *+' conftest.er1
>conftest.err
6262 cat conftest.err
>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } &&
6265 { ac_try
='test -z "$ac_c_werror_flag"
6266 || test ! -s conftest.err'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; } &&
6272 { ac_try
='test -s conftest.$ac_objext'
6273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); }; }; then
6278 ac_header_compiler
=yes
6280 echo "$as_me: failed program was:" >&5
6281 sed 's/^/| /' conftest.
$ac_ext >&5
6283 ac_header_compiler
=no
6285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6287 echo "${ECHO_T}$ac_header_compiler" >&6
6289 # Is the header present?
6290 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6292 cat >conftest.
$ac_ext <<_ACEOF
6295 cat confdefs.h
>>conftest.
$ac_ext
6296 cat >>conftest.
$ac_ext <<_ACEOF
6297 /* end confdefs.h. */
6298 #include <$ac_header>
6300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6303 grep -v '^ *+' conftest.er1
>conftest.err
6305 cat conftest.err
>&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); } >/dev
/null
; then
6308 if test -s conftest.err
; then
6309 ac_cpp_err
=$ac_c_preproc_warn_flag
6310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6317 if test -z "$ac_cpp_err"; then
6318 ac_header_preproc
=yes
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.
$ac_ext >&5
6323 ac_header_preproc
=no
6325 rm -f conftest.err conftest.
$ac_ext
6326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6327 echo "${ECHO_T}$ac_header_preproc" >&6
6329 # So? What about this header?
6330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6332 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6333 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6335 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6336 ac_header_preproc
=yes
6339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6344 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6346 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6349 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6350 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6353 ## ------------------------------------------ ##
6354 ## Report this to the AC_PACKAGE_NAME lists. ##
6355 ## ------------------------------------------ ##
6358 sed "s/^/$as_me: WARNING: /" >&2
6361 echo "$as_me:$LINENO: checking for $ac_header" >&5
6362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 eval "$as_ac_Header=\$ac_header_preproc"
6368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6373 cat >>confdefs.h
<<_ACEOF
6374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6384 for ac_header
in dlfcn.h errno.h sys
/stat.h
6386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6388 echo "$as_me:$LINENO: checking for $ac_header" >&5
6389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6396 # Is the header compilable?
6397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6399 cat >conftest.
$ac_ext <<_ACEOF
6402 cat confdefs.h
>>conftest.
$ac_ext
6403 cat >>conftest.
$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6405 $ac_includes_default
6406 #include <$ac_header>
6408 rm -f conftest.
$ac_objext
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410 (eval $ac_compile) 2>conftest.er1
6412 grep -v '^ *+' conftest.er1
>conftest.err
6414 cat conftest.err
>&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try
='test -z "$ac_c_werror_flag"
6418 || test ! -s conftest.err'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; } &&
6424 { ac_try
='test -s conftest.$ac_objext'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_header_compiler
=yes
6432 echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.
$ac_ext >&5
6435 ac_header_compiler
=no
6437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6439 echo "${ECHO_T}$ac_header_compiler" >&6
6441 # Is the header present?
6442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6444 cat >conftest.
$ac_ext <<_ACEOF
6447 cat confdefs.h
>>conftest.
$ac_ext
6448 cat >>conftest.
$ac_ext <<_ACEOF
6449 /* end confdefs.h. */
6450 #include <$ac_header>
6452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6455 grep -v '^ *+' conftest.er1
>conftest.err
6457 cat conftest.err
>&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } >/dev
/null
; then
6460 if test -s conftest.err
; then
6461 ac_cpp_err
=$ac_c_preproc_warn_flag
6462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6469 if test -z "$ac_cpp_err"; then
6470 ac_header_preproc
=yes
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6475 ac_header_preproc
=no
6477 rm -f conftest.err conftest.
$ac_ext
6478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6479 echo "${ECHO_T}$ac_header_preproc" >&6
6481 # So? What about this header?
6482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6488 ac_header_preproc
=yes
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6505 ## ------------------------------------------ ##
6506 ## Report this to the AC_PACKAGE_NAME lists. ##
6507 ## ------------------------------------------ ##
6510 sed "s/^/$as_me: WARNING: /" >&2
6513 echo "$as_me:$LINENO: checking for $ac_header" >&5
6514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 eval "$as_ac_Header=\$ac_header_preproc"
6520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6525 cat >>confdefs.h
<<_ACEOF
6526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6537 for ac_func
in getrusage
time sigaction __setfpucw
6539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6540 echo "$as_me:$LINENO: checking for $ac_func" >&5
6541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_var+set}\" = set"; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 cat >conftest.
$ac_ext <<_ACEOF
6548 cat confdefs.h
>>conftest.
$ac_ext
6549 cat >>conftest.
$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6553 #define $ac_func innocuous_$ac_func
6555 /* System header to define __stub macros and hopefully few prototypes,
6556 which can conflict with char $ac_func (); below.
6557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6558 <limits.h> exists even on freestanding compilers. */
6561 # include <limits.h>
6563 # include <assert.h>
6568 /* Override any gcc2 internal prototype to avoid an error. */
6573 /* We use char because int might match the return type of a gcc2
6574 builtin and then its argument prototype would still apply. */
6576 /* The GNU C library defines this for functions which it implements
6577 to always fail with ENOSYS. Some functions are actually named
6578 something starting with __ and the normal name is an alias. */
6579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6582 char (*f) () = $ac_func;
6591 return f != $ac_func;
6596 rm -f conftest.
$ac_objext conftest
$ac_exeext
6597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6598 (eval $ac_link) 2>conftest.er1
6600 grep -v '^ *+' conftest.er1
>conftest.err
6602 cat conftest.err
>&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } &&
6605 { ac_try
='test -z "$ac_c_werror_flag"
6606 || test ! -s conftest.err'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; } &&
6612 { ac_try
='test -s conftest$ac_exeext'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; }; then
6618 eval "$as_ac_var=yes"
6620 echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.
$ac_ext >&5
6623 eval "$as_ac_var=no"
6625 rm -f conftest.err conftest.
$ac_objext \
6626 conftest
$ac_exeext conftest.
$ac_ext
6628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6630 if test `eval echo '${'$as_ac_var'}'` = yes; then
6631 cat >>confdefs.h
<<_ACEOF
6632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6639 # Check for socket libraries
6641 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6642 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6643 if test "${ac_cv_lib_socket_bind+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 ac_check_lib_save_LIBS
=$LIBS
6647 LIBS
="-lsocket $LIBS"
6648 cat >conftest.
$ac_ext <<_ACEOF
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6655 /* Override any gcc2 internal prototype to avoid an error. */
6659 /* We use char because int might match the return type of a gcc2
6660 builtin and then its argument prototype would still apply. */
6670 rm -f conftest.
$ac_objext conftest
$ac_exeext
6671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6672 (eval $ac_link) 2>conftest.er1
6674 grep -v '^ *+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try
='test -z "$ac_c_werror_flag"
6680 || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try
='test -s conftest$ac_exeext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6692 ac_cv_lib_socket_bind
=yes
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.
$ac_ext >&5
6697 ac_cv_lib_socket_bind
=no
6699 rm -f conftest.err conftest.
$ac_objext \
6700 conftest
$ac_exeext conftest.
$ac_ext
6701 LIBS
=$ac_check_lib_save_LIBS
6703 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6704 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6705 if test $ac_cv_lib_socket_bind = yes; then
6706 cat >>confdefs.h
<<_ACEOF
6707 #define HAVE_LIBSOCKET 1
6710 LIBS
="-lsocket $LIBS"
6715 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6716 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6717 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 ac_check_lib_save_LIBS
=$LIBS
6722 cat >conftest.
$ac_ext <<_ACEOF
6725 cat confdefs.h
>>conftest.
$ac_ext
6726 cat >>conftest.
$ac_ext <<_ACEOF
6727 /* end confdefs.h. */
6729 /* Override any gcc2 internal prototype to avoid an error. */
6733 /* We use char because int might match the return type of a gcc2
6734 builtin and then its argument prototype would still apply. */
6735 char gethostbyname ();
6744 rm -f conftest.
$ac_objext conftest
$ac_exeext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6746 (eval $ac_link) 2>conftest.er1
6748 grep -v '^ *+' conftest.er1
>conftest.err
6750 cat conftest.err
>&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } &&
6753 { ac_try
='test -z "$ac_c_werror_flag"
6754 || test ! -s conftest.err'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; } &&
6760 { ac_try
='test -s conftest$ac_exeext'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; }; then
6766 ac_cv_lib_nsl_gethostbyname
=yes
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.
$ac_ext >&5
6771 ac_cv_lib_nsl_gethostbyname
=no
6773 rm -f conftest.err conftest.
$ac_objext \
6774 conftest
$ac_exeext conftest.
$ac_ext
6775 LIBS
=$ac_check_lib_save_LIBS
6777 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6778 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6779 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6780 cat >>confdefs.h
<<_ACEOF
6781 #define HAVE_LIBNSL 1
6789 .
${srcdir}/..
/..
/bfd
/configure.
host
6793 USE_MAINTAINER_MODE
=no
6794 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6795 if test "${enable_maintainer_mode+set}" = set; then
6796 enableval
="$enable_maintainer_mode"
6797 case "${enableval}" in
6798 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
6800 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6801 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6802 { (exit 1); exit 1; }; }; MAINT
="#" ;;
6804 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
6805 echo "Setting maintainer mode" 6>&1
6812 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6813 if test "${enable_sim_bswap+set}" = set; then
6814 enableval
="$enable_sim_bswap"
6815 case "${enableval}" in
6816 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6817 no
) sim_bswap
="-DWITH_BSWAP=0";;
6818 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6819 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6820 { (exit 1); exit 1; }; }; sim_bswap
="";;
6822 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
6823 echo "Setting bswap flags = $sim_bswap" 6>&1
6830 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6831 if test "${enable_sim_cflags+set}" = set; then
6832 enableval
="$enable_sim_cflags"
6833 case "${enableval}" in
6834 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
6835 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6836 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6837 { (exit 1); exit 1; }; }; sim_cflags
="";;
6839 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6841 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
6842 echo "Setting sim cflags = $sim_cflags" 6>&1
6849 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6850 if test "${enable_sim_debug+set}" = set; then
6851 enableval
="$enable_sim_debug"
6852 case "${enableval}" in
6853 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
6854 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
6855 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6857 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
6858 echo "Setting sim debug = $sim_debug" 6>&1
6865 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6866 if test "${enable_sim_stdio+set}" = set; then
6867 enableval
="$enable_sim_stdio"
6868 case "${enableval}" in
6869 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6870 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6871 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6872 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6873 { (exit 1); exit 1; }; }; sim_stdio
="";;
6875 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6876 echo "Setting stdio flags = $sim_stdio" 6>&1
6883 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6884 if test "${enable_sim_trace+set}" = set; then
6885 enableval
="$enable_sim_trace"
6886 case "${enableval}" in
6887 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
6888 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
6890 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6893 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6894 if test x
"$sim_trace" = x
; then
6895 sim_trace
="-DWITH_TRACE='(TRACE_$x"
6897 sim_trace
="${sim_trace}|TRACE_$x"
6900 sim_trace
="$sim_trace)'" ;;
6902 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6903 echo "Setting sim trace = $sim_trace" 6>&1
6910 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6911 if test "${enable_sim_profile+set}" = set; then
6912 enableval
="$enable_sim_profile"
6913 case "${enableval}" in
6914 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
6915 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
6917 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6920 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6921 if test x
"$sim_profile" = x
; then
6922 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
6924 sim_profile
="${sim_profile}|PROFILE_$x"
6927 sim_profile
="$sim_profile)'" ;;
6929 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
6930 echo "Setting sim profile = $sim_profile" 6>&1
6933 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
6937 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6938 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6939 if test "${ac_cv_type_signal+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 cat >conftest.
$ac_ext <<_ACEOF
6945 cat confdefs.h
>>conftest.
$ac_ext
6946 cat >>conftest.
$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 #include <sys/types.h>
6954 extern "C" void (*signal (int, void (*)(int)))(int);
6956 void (*signal ()) ();
6967 rm -f conftest.
$ac_objext
6968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6969 (eval $ac_compile) 2>conftest.er1
6971 grep -v '^ *+' conftest.er1
>conftest.err
6973 cat conftest.err
>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } &&
6976 { ac_try
='test -z "$ac_c_werror_flag"
6977 || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest.$ac_objext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_type_signal
=void
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 ac_cv_type_signal
=int
6996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6998 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6999 echo "${ECHO_T}$ac_cv_type_signal" >&6
7001 cat >>confdefs.h
<<_ACEOF
7002 #define RETSIGTYPE $ac_cv_type_signal
7012 sim_link_links
=tconfig.h
7013 if test -f ${srcdir}/tconfig.
in
7015 sim_link_files
=tconfig.
in
7017 sim_link_files
=..
/common
/tconfig.
in
7020 # targ-vals.def points to the libc macro description file.
7022 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
7024 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
7025 sim_link_links
="${sim_link_links} targ-vals.def"
7029 for ac_header
in unistd.h
7031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7033 echo "$as_me:$LINENO: checking for $ac_header" >&5
7034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7041 # Is the header compilable?
7042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7044 cat >conftest.
$ac_ext <<_ACEOF
7047 cat confdefs.h
>>conftest.
$ac_ext
7048 cat >>conftest.
$ac_ext <<_ACEOF
7049 /* end confdefs.h. */
7050 $ac_includes_default
7051 #include <$ac_header>
7053 rm -f conftest.
$ac_objext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7055 (eval $ac_compile) 2>conftest.er1
7057 grep -v '^ *+' conftest.er1
>conftest.err
7059 cat conftest.err
>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try
='test -z "$ac_c_werror_flag"
7063 || test ! -s conftest.err'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try
='test -s conftest.$ac_objext'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; }; then
7075 ac_header_compiler
=yes
7077 echo "$as_me: failed program was:" >&5
7078 sed 's/^/| /' conftest.
$ac_ext >&5
7080 ac_header_compiler
=no
7082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7084 echo "${ECHO_T}$ac_header_compiler" >&6
7086 # Is the header present?
7087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7089 cat >conftest.
$ac_ext <<_ACEOF
7092 cat confdefs.h
>>conftest.
$ac_ext
7093 cat >>conftest.
$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7095 #include <$ac_header>
7097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7100 grep -v '^ *+' conftest.er1
>conftest.err
7102 cat conftest.err
>&5
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); } >/dev
/null
; then
7105 if test -s conftest.err
; then
7106 ac_cpp_err
=$ac_c_preproc_warn_flag
7107 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7114 if test -z "$ac_cpp_err"; then
7115 ac_header_preproc
=yes
7117 echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.
$ac_ext >&5
7120 ac_header_preproc
=no
7122 rm -f conftest.err conftest.
$ac_ext
7123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7124 echo "${ECHO_T}$ac_header_preproc" >&6
7126 # So? What about this header?
7127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7133 ac_header_preproc
=yes
7136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7150 ## ------------------------------------------ ##
7151 ## Report this to the AC_PACKAGE_NAME lists. ##
7152 ## ------------------------------------------ ##
7155 sed "s/^/$as_me: WARNING: /" >&2
7158 echo "$as_me:$LINENO: checking for $ac_header" >&5
7159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7161 echo $ECHO_N "(cached) $ECHO_C" >&6
7163 eval "$as_ac_Header=\$ac_header_preproc"
7165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7170 cat >>confdefs.h
<<_ACEOF
7171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180 ac_sources
="$sim_link_files"
7181 ac_dests
="$sim_link_links"
7182 while test -n "$ac_sources"; do
7183 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
7184 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
7185 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
7187 ac_config_links
="$ac_config_links $ac_config_links_1"
7190 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
7191 cgen_breaks
="break cgen_rtx_error";
7194 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
7196 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
7198 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
7200 ac_config_commands
="$ac_config_commands Makefile"
7202 ac_config_commands
="$ac_config_commands stamp-h"
7204 cat >confcache
<<\_ACEOF
7205 # This file is a shell script that caches the results of configure
7206 # tests run on this system so they can be shared between configure
7207 # scripts and configure runs, see configure's option --config-cache.
7208 # It is not useful on other systems. If it contains results you don't
7209 # want to keep, you may remove or edit it.
7211 # config.status only pays attention to the cache file if you give it
7212 # the --recheck option to rerun configure.
7214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7220 # The following way of writing the cache mishandles newlines in values,
7221 # but we know of no workaround that is simple, portable, and efficient.
7222 # So, don't put newlines in cache variables' values.
7223 # Ultrix sh set writes to stderr and can't be redirected directly,
7224 # and sets the high bit in the cache file unless we assign to the vars.
7227 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7229 # `set' does not quote correctly, so add quotes (double-quote
7230 # substitution turns \\\\ into \\, and sed turns \\ into \).
7233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7236 # `set' quotes correctly as required by POSIX, so do not add quotes.
7238 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7245 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7247 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7249 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7250 if test -w $cache_file; then
7251 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7252 cat confcache
>$cache_file
7254 echo "not updating unwritable cache $cache_file"
7259 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7260 # Let make expand exec_prefix.
7261 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7265 # trailing colons and then remove the whole line if VPATH becomes empty
7266 # (actually we leave an empty line to preserve line numbers).
7267 if test "x$srcdir" = x.
; then
7268 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7269 s/:*\$(srcdir):*/:/;
7270 s/:*\${srcdir}:*/:/;
7272 s/^\([^=]*=[ ]*\):*/\1/;
7278 DEFS
=-DHAVE_CONFIG_H
7282 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7283 # 1. Remove the extension, and $U if already installed.
7284 ac_i
=`echo "$ac_i" |
7285 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7287 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7288 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7292 LTLIBOBJS
=$ac_ltlibobjs
7296 : ${CONFIG_STATUS=./config.status}
7297 ac_clean_files_save
=$ac_clean_files
7298 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7299 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7300 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7301 cat >$CONFIG_STATUS <<_ACEOF
7303 # Generated by $as_me.
7304 # Run this file to recreate the current configuration.
7305 # Compiler output produced by configure, useful for debugging
7306 # configure, is in config.log if it exists.
7311 SHELL=\${CONFIG_SHELL-$SHELL}
7314 cat >>$CONFIG_STATUS <<\_ACEOF
7315 ## --------------------- ##
7316 ## M4sh Initialization. ##
7317 ## --------------------- ##
7319 # Be Bourne compatible
7320 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7323 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7324 # is contrary to our usage. Disable this feature.
7325 alias -g '${1+"$@"}'='"$@"'
7326 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7329 DUALCASE
=1; export DUALCASE
# for MKS sh
7331 # Support unset when possible.
7332 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7339 # Work around bugs in pre-3.0 UWIN ksh.
7340 $as_unset ENV MAIL MAILPATH
7347 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7348 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7349 LC_TELEPHONE LC_TIME
7351 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7352 eval $as_var=C
; export $as_var
7358 # Required to use basename.
7359 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7365 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7366 as_basename
=basename
7372 # Name of the executable.
7373 as_me
=`$as_basename "$0" ||
7374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7375 X"$0" : 'X\(//\)$' \| \
7376 X"$0" : 'X\(/\)$' \| \
7377 . : '\(.\)' 2>/dev/null ||
7379 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7380 /^X\/\(\/\/\)$/{ s//\1/; q; }
7381 /^X\/\(\/\).*/{ s//\1/; q; }
7385 # PATH needs CR, and LINENO needs CR and PATH.
7386 # Avoid depending upon Character Ranges.
7387 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7388 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7389 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7390 as_cr_digits
='0123456789'
7391 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7393 # The user is always right.
7394 if test "${PATH_SEPARATOR+set}" != set; then
7395 echo "#! /bin/sh" >conf$$.sh
7396 echo "exit 0" >>conf$$.sh
7398 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7409 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7410 test "x$as_lineno_1" != "x$as_lineno_2" &&
7411 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7412 # Find who we are. Look in the path if we contain no path at all
7415 *[\\/]* ) as_myself
=$0 ;;
7416 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7420 test -z "$as_dir" && as_dir
=.
7421 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7426 # We did not find ourselves, most probably we were run as `sh COMMAND'
7427 # in which case we are not to be found in the path.
7428 if test "x$as_myself" = x
; then
7431 if test ! -f "$as_myself"; then
7432 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7433 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7434 { (exit 1); exit 1; }; }
7436 case $CONFIG_SHELL in
7438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7442 test -z "$as_dir" && as_dir
=.
7443 for as_base
in sh bash ksh sh5
; do
7446 if ("$as_dir/$as_base" -c '
7449 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7450 test "x$as_lineno_1" != "x$as_lineno_2" &&
7451 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7452 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7453 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7454 CONFIG_SHELL
=$as_dir/$as_base
7456 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7464 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7465 # uniformly replaced by the line number. The first 'sed' inserts a
7466 # line-number line before each line; the second 'sed' does the real
7467 # work. The second script uses 'N' to pair each line-number line
7468 # with the numbered line, and appends trailing '-' during
7469 # substitution so that $LINENO is not a special case at line end.
7470 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7471 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7472 sed '=' <$as_myself |
7477 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7480 s,^['$as_cr_digits']*\n,,
7482 chmod +x
$as_me.lineno ||
7483 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7484 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7485 { (exit 1); exit 1; }; }
7487 # Don't try to exec as it changes $[0], causing all sort of problems
7488 # (the dirname of $[0] is not the place where we might find the
7489 # original and so on. Autoconf is especially sensible to this).
7491 # Exit status is that of the last command.
7496 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7497 *c
*,-n*) ECHO_N
= ECHO_C
='
7499 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7500 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7503 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7509 rm -f conf$$ conf$$.exe conf$$.
file
7511 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7512 # We could just check for DJGPP; but this test a) works b) is more generic
7513 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7514 if test -f conf$$.exe
; then
7515 # Don't use ln at all; we don't have any links
7520 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7525 rm -f conf$$ conf$$.exe conf$$.
file
7527 if mkdir
-p .
2>/dev
/null
; then
7530 test -d .
/-p && rmdir .
/-p
7534 as_executable_p
="test -f"
7536 # Sed expression to map a string onto a valid CPP name.
7537 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7539 # Sed expression to map a string onto a valid variable name.
7540 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7544 # We need space, tab and new line, in precisely that order.
7554 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7555 # report actual input values of CONFIG_FILES etc. instead of their
7556 # values after options handling. Logging --version etc. is OK.
7560 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7561 ## Running $as_me. ##
7566 This file was extended by $as_me, which was
7567 generated by GNU Autoconf 2.59. Invocation command line was
7569 CONFIG_FILES = $CONFIG_FILES
7570 CONFIG_HEADERS = $CONFIG_HEADERS
7571 CONFIG_LINKS = $CONFIG_LINKS
7572 CONFIG_COMMANDS = $CONFIG_COMMANDS
7576 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7580 # Files that config.status was made for.
7581 if test -n "$ac_config_files"; then
7582 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7585 if test -n "$ac_config_headers"; then
7586 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7589 if test -n "$ac_config_links"; then
7590 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7593 if test -n "$ac_config_commands"; then
7594 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7597 cat >>$CONFIG_STATUS <<\_ACEOF
7600 \`$as_me' instantiates files from templates according to the
7601 current configuration.
7603 Usage: $0 [OPTIONS] [FILE]...
7605 -h, --help print this help, then exit
7606 -V, --version print version number, then exit
7607 -q, --quiet do not print progress messages
7608 -d, --debug don't remove temporary files
7609 --recheck update $as_me by reconfiguring in the same conditions
7610 --file=FILE[:TEMPLATE]
7611 instantiate the configuration file FILE
7612 --header=FILE[:TEMPLATE]
7613 instantiate the configuration header FILE
7615 Configuration files:
7618 Configuration headers:
7621 Configuration links:
7624 Configuration commands:
7627 Report bugs to <bug-autoconf@gnu.org>."
7630 cat >>$CONFIG_STATUS <<_ACEOF
7633 configured by $0, generated by GNU Autoconf 2.59,
7634 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7636 Copyright (C) 2003 Free Software Foundation, Inc.
7637 This config.status script is free software; the Free Software Foundation
7638 gives unlimited permission to copy, distribute and modify it."
7643 cat >>$CONFIG_STATUS <<\_ACEOF
7644 # If no file are specified by the user, then we need to provide default
7645 # value. By we need to know if files were specified by the user.
7651 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7652 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7660 *) # This is not an option, so the user has probably given explicit
7663 ac_need_defaults
=false
;;
7667 # Handling of the options.
7669 cat >>$CONFIG_STATUS <<\_ACEOF
7670 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7672 --version |
--vers* |
-V )
7673 echo "$ac_cs_version"; exit 0 ;;
7675 # Conflict between --help and --header
7676 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7677 Try \`$0 --help' for more information." >&5
7678 echo "$as_me: error: ambiguous option: $1
7679 Try \`$0 --help' for more information." >&2;}
7680 { (exit 1); exit 1; }; };;
7681 --help |
--hel |
-h )
7682 echo "$ac_cs_usage"; exit 0 ;;
7683 --debug |
--d* |
-d )
7685 --file |
--fil |
--fi |
--f )
7687 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7688 ac_need_defaults
=false
;;
7689 --header |
--heade |
--head |
--hea )
7691 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7692 ac_need_defaults
=false
;;
7693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7694 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7698 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7699 Try \`$0 --help' for more information." >&5
7700 echo "$as_me: error: unrecognized option: $1
7701 Try \`$0 --help' for more information." >&2;}
7702 { (exit 1); exit 1; }; } ;;
7704 *) ac_config_targets
="$ac_config_targets $1" ;;
7710 ac_configure_extra_args
=
7712 if $ac_cs_silent; then
7714 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7718 cat >>$CONFIG_STATUS <<_ACEOF
7719 if \$ac_cs_recheck; then
7720 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7721 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7730 cat >>$CONFIG_STATUS <<\_ACEOF
7731 for ac_config_target
in $ac_config_targets
7733 case "$ac_config_target" in
7734 # Handling of arguments.
7735 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
7736 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
7737 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
7738 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
7739 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
7740 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
7741 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7742 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7743 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7744 { (exit 1); exit 1; }; };;
7748 # If the user did not use the arguments to specify the items to instantiate,
7749 # then the envvar interface is used. Set only those that are not.
7750 # We use the long form for the default assignment because of an extremely
7751 # bizarre bug on SunOS 4.1.3.
7752 if $ac_need_defaults; then
7753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7755 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7756 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7759 # Have a temporary directory for convenience. Make it in the build tree
7760 # simply because there is no reason to put it here, and in addition,
7761 # creating and moving files from /tmp can sometimes cause problems.
7762 # Create a temporary directory, and hook for its removal unless debugging.
7765 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7766 trap '{ (exit 1); exit 1; }' 1 2 13 15
7769 # Create a (secure) tmp directory for tmp files.
7772 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7773 test -n "$tmp" && test -d "$tmp"
7776 tmp
=.
/confstat$$
-$RANDOM
7777 (umask 077 && mkdir
$tmp)
7780 echo "$me: cannot create a temporary directory in ." >&2
7781 { (exit 1); exit 1; }
7786 cat >>$CONFIG_STATUS <<_ACEOF
7789 # CONFIG_FILES section.
7792 # No need to generate the scripts if there are no CONFIG_FILES.
7793 # This happens for instance when ./config.status config.h
7794 if test -n "\$CONFIG_FILES"; then
7795 # Protect against being on the right side of a sed subst in config.status.
7796 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7797 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7798 s,@SHELL@,$SHELL,;t t
7799 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7800 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7801 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7802 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7803 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7804 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7805 s,@exec_prefix@,$exec_prefix,;t t
7806 s,@prefix@,$prefix,;t t
7807 s,@program_transform_name@,$program_transform_name,;t t
7808 s,@bindir@,$bindir,;t t
7809 s,@sbindir@,$sbindir,;t t
7810 s,@libexecdir@,$libexecdir,;t t
7811 s,@datadir@,$datadir,;t t
7812 s,@sysconfdir@,$sysconfdir,;t t
7813 s,@sharedstatedir@,$sharedstatedir,;t t
7814 s,@localstatedir@,$localstatedir,;t t
7815 s,@libdir@,$libdir,;t t
7816 s,@includedir@,$includedir,;t t
7817 s,@oldincludedir@,$oldincludedir,;t t
7818 s,@infodir@,$infodir,;t t
7819 s,@mandir@,$mandir,;t t
7820 s,@build_alias@,$build_alias,;t t
7821 s,@host_alias@,$host_alias,;t t
7822 s,@target_alias@,$target_alias,;t t
7824 s,@ECHO_C@,$ECHO_C,;t t
7825 s,@ECHO_N@,$ECHO_N,;t t
7826 s,@ECHO_T@,$ECHO_T,;t t
7828 s,@sim_environment@,$sim_environment,;t t
7829 s,@sim_alignment@,$sim_alignment,;t t
7830 s,@sim_assert@,$sim_assert,;t t
7831 s,@sim_bitsize@,$sim_bitsize,;t t
7832 s,@sim_endian@,$sim_endian,;t t
7833 s,@sim_hostendian@,$sim_hostendian,;t t
7834 s,@sim_float@,$sim_float,;t t
7835 s,@sim_scache@,$sim_scache,;t t
7836 s,@sim_default_model@,$sim_default_model,;t t
7837 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
7838 s,@sim_hw_objs@,$sim_hw_objs,;t t
7839 s,@sim_hw@,$sim_hw,;t t
7840 s,@sim_inline@,$sim_inline,;t t
7841 s,@sim_packages@,$sim_packages,;t t
7842 s,@sim_regparm@,$sim_regparm,;t t
7843 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
7844 s,@sim_smp@,$sim_smp,;t t
7845 s,@sim_stdcall@,$sim_stdcall,;t t
7846 s,@sim_xor_endian@,$sim_xor_endian,;t t
7847 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7848 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
7849 s,@build@,$build,;t t
7850 s,@build_cpu@,$build_cpu,;t t
7851 s,@build_vendor@,$build_vendor,;t t
7852 s,@build_os@,$build_os,;t t
7854 s,@host_cpu@,$host_cpu,;t t
7855 s,@host_vendor@,$host_vendor,;t t
7856 s,@host_os@,$host_os,;t t
7857 s,@target@,$target,;t t
7858 s,@target_cpu@,$target_cpu,;t t
7859 s,@target_vendor@,$target_vendor,;t t
7860 s,@target_os@,$target_os,;t t
7862 s,@CFLAGS@,$CFLAGS,;t t
7863 s,@LDFLAGS@,$LDFLAGS,;t t
7864 s,@CPPFLAGS@,$CPPFLAGS,;t t
7865 s,@ac_ct_CC@,$ac_ct_CC,;t t
7866 s,@EXEEXT@,$EXEEXT,;t t
7867 s,@OBJEXT@,$OBJEXT,;t t
7868 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7869 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7870 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7871 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
7872 s,@HDEFINES@,$HDEFINES,;t t
7874 s,@RANLIB@,$RANLIB,;t t
7875 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7876 s,@SET_MAKE@,$SET_MAKE,;t t
7878 s,@EGREP@,$EGREP,;t t
7879 s,@ALLOCA@,$ALLOCA,;t t
7880 s,@USE_NLS@,$USE_NLS,;t t
7881 s,@MSGFMT@,$MSGFMT,;t t
7882 s,@GMSGFMT@,$GMSGFMT,;t t
7883 s,@XGETTEXT@,$XGETTEXT,;t t
7884 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7885 s,@CATALOGS@,$CATALOGS,;t t
7886 s,@CATOBJEXT@,$CATOBJEXT,;t t
7887 s,@DATADIRNAME@,$DATADIRNAME,;t t
7888 s,@GMOFILES@,$GMOFILES,;t t
7889 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7890 s,@INTLDEPS@,$INTLDEPS,;t t
7891 s,@INTLLIBS@,$INTLLIBS,;t t
7892 s,@INTLOBJS@,$INTLOBJS,;t t
7893 s,@POFILES@,$POFILES,;t t
7894 s,@POSUB@,$POSUB,;t t
7895 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
7896 s,@GT_NO@,$GT_NO,;t t
7897 s,@GT_YES@,$GT_YES,;t t
7898 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7900 s,@MAINT@,$MAINT,;t t
7901 s,@sim_bswap@,$sim_bswap,;t t
7902 s,@sim_cflags@,$sim_cflags,;t t
7903 s,@sim_debug@,$sim_debug,;t t
7904 s,@sim_stdio@,$sim_stdio,;t t
7905 s,@sim_trace@,$sim_trace,;t t
7906 s,@sim_profile@,$sim_profile,;t t
7907 s,@cgen_breaks@,$cgen_breaks,;t t
7908 s,@LIBOBJS@,$LIBOBJS,;t t
7909 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7914 cat >>$CONFIG_STATUS <<\_ACEOF
7915 # Split the substitutions into bite-sized pieces for seds with
7916 # small command number limits, like on Digital OSF/1 and HP-UX.
7918 ac_sed_frag
=1 # Number of current file.
7919 ac_beg
=1 # First line for current file.
7920 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7923 while $ac_more_lines; do
7924 if test $ac_beg -gt 1; then
7925 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7927 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7929 if test ! -s $tmp/subs.frag
; then
7932 # The purpose of the label and of the branching condition is to
7933 # speed up the sed processing (if there are no `@' at all, there
7934 # is no need to browse any of the substitutions).
7935 # These are the two extra sed commands mentioned above.
7937 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7938 if test -z "$ac_sed_cmds"; then
7939 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7941 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7943 ac_sed_frag
=`expr $ac_sed_frag + 1`
7945 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7948 if test -z "$ac_sed_cmds"; then
7951 fi # test -n "$CONFIG_FILES"
7954 cat >>$CONFIG_STATUS <<\_ACEOF
7955 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7956 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7958 - |
*:- |
*:-:* ) # input from stdin
7960 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7961 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7962 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7963 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7964 * ) ac_file_in
=$ac_file.
in ;;
7967 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7968 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7969 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7970 X"$ac_file" : 'X\(//\)[^/]' \| \
7971 X"$ac_file" : 'X\(//\)$' \| \
7972 X"$ac_file" : 'X\(/\)' \| \
7973 . : '\(.\)' 2>/dev/null ||
7975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7977 /^X\(\/\/\)$/{ s//\1/; q; }
7978 /^X\(\/\).*/{ s//\1/; q; }
7980 { if $as_mkdir_p; then
7985 while test ! -d "$as_dir"; do
7986 as_dirs
="$as_dir $as_dirs"
7987 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7989 X"$as_dir" : 'X\(//\)[^/]' \| \
7990 X"$as_dir" : 'X\(//\)$' \| \
7991 X"$as_dir" : 'X\(/\)' \| \
7992 . : '\(.\)' 2>/dev/null ||
7994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7996 /^X\(\/\/\)$/{ s//\1/; q; }
7997 /^X\(\/\).*/{ s//\1/; q; }
8000 test ! -n "$as_dirs" || mkdir
$as_dirs
8001 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8002 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8003 { (exit 1); exit 1; }; }; }
8007 if test "$ac_dir" != .
; then
8008 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8009 # A "../" for each directory in $ac_dir_suffix.
8010 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8012 ac_dir_suffix
= ac_top_builddir
=
8016 .
) # No --srcdir option. We are building in place.
8018 if test -z "$ac_top_builddir"; then
8021 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8023 [\\/]* | ?
:[\\/]* ) # Absolute path.
8024 ac_srcdir
=$srcdir$ac_dir_suffix;
8025 ac_top_srcdir
=$srcdir ;;
8027 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8028 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8031 # Do not use `cd foo && pwd` to compute absolute paths, because
8032 # the directories may not exist.
8034 .
) ac_abs_builddir
="$ac_dir";;
8037 .
) ac_abs_builddir
=`pwd`;;
8038 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8039 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8042 case $ac_abs_builddir in
8043 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8045 case ${ac_top_builddir}.
in
8046 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8047 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8048 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8051 case $ac_abs_builddir in
8052 .
) ac_abs_srcdir
=$ac_srcdir;;
8055 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8056 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8057 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8060 case $ac_abs_builddir in
8061 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8063 case $ac_top_srcdir in
8064 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8065 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8066 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8072 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8073 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8076 if test x
"$ac_file" != x-
; then
8077 { echo "$as_me:$LINENO: creating $ac_file" >&5
8078 echo "$as_me: creating $ac_file" >&6;}
8081 # Let's still pretend it is `configure' which instantiates (i.e., don't
8082 # use $as_me), people would be surprised to read:
8083 # /* config.h. Generated by config.status. */
8084 if test x
"$ac_file" = x-
; then
8087 configure_input
="$ac_file. "
8089 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8090 sed 's,.*/,,'` by configure."
8092 # First look for the input files in the build tree, otherwise in the
8094 ac_file_inputs
=`IFS=:
8095 for f in $ac_file_in; do
8097 -) echo $tmp/stdin ;;
8099 # Absolute (can't be DOS-style, as IFS=:)
8100 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8101 echo "$as_me: error: cannot find input file: $f" >&2;}
8102 { (exit 1); exit 1; }; }
8105 if test -f "$f"; then
8108 elif test -f "$srcdir/$f"; then
8113 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8114 echo "$as_me: error: cannot find input file: $f" >&2;}
8115 { (exit 1); exit 1; }; }
8118 done` ||
{ (exit 1); exit 1; }
8120 cat >>$CONFIG_STATUS <<_ACEOF
8124 cat >>$CONFIG_STATUS <<\_ACEOF
8126 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8127 s
,@configure_input@
,$configure_input,;t t
8128 s
,@srcdir@
,$ac_srcdir,;t t
8129 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8130 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8131 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8132 s
,@builddir@
,$ac_builddir,;t t
8133 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8134 s
,@top_builddir@
,$ac_top_builddir,;t t
8135 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8136 s
,@INSTALL@
,$ac_INSTALL,;t t
8137 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8139 if test x"$ac_file" != x-; then
8140 mv $tmp/out $ac_file
8148 cat >>$CONFIG_STATUS <<\_ACEOF
8151 # CONFIG_HEADER section.
8154 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8155 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8157 # ac_d sets the value in "#define NAME VALUE" lines.
8158 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8159 ac_dB
='[ ].*$,\1#\2'
8162 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8163 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8164 ac_uB
='$,\1#\2define\3'
8168 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8169 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8171 - |
*:- |
*:-:* ) # input from stdin
8173 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8174 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8175 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8176 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8177 * ) ac_file_in
=$ac_file.
in ;;
8180 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8181 echo "$as_me: creating $ac_file" >&6;}
8183 # First look for the input files in the build tree, otherwise in the
8185 ac_file_inputs
=`IFS=:
8186 for f in $ac_file_in; do
8188 -) echo $tmp/stdin ;;
8190 # Absolute (can't be DOS-style, as IFS=:)
8191 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8192 echo "$as_me: error: cannot find input file: $f" >&2;}
8193 { (exit 1); exit 1; }; }
8194 # Do quote $f, to prevent DOS paths from being IFS'd.
8197 if test -f "$f"; then
8200 elif test -f "$srcdir/$f"; then
8205 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8206 echo "$as_me: error: cannot find input file: $f" >&2;}
8207 { (exit 1); exit 1; }; }
8210 done` ||
{ (exit 1); exit 1; }
8211 # Remove the trailing spaces.
8212 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8216 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8217 # `conftest.undefs', that substitutes the proper values into
8218 # config.h.in to produce config.h. The first handles `#define'
8219 # templates, and the second `#undef' templates.
8220 # And first: Protect against being on the right side of a sed subst in
8221 # config.status. Protect against being in an unquoted here document
8223 rm -f conftest.defines conftest.undefs
8224 # Using a here document instead of a string reduces the quoting nightmare.
8225 # Putting comments in sed scripts is not portable.
8227 # `end' is used to avoid that the second main sed command (meant for
8228 # 0-ary CPP macros) applies to n-ary macro definitions.
8229 # See the Autoconf documentation for `clear'.
8230 cat >confdef2sed.
sed <<\_ACEOF
8235 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8237 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8240 # If some macros were called several times there might be several times
8241 # the same #defines, which is useless. Nevertheless, we may not want to
8242 # sort them, since we want the *last* AC-DEFINE to be honored.
8243 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8244 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8245 rm -f confdef2sed.sed
8247 # This sed command replaces #undef with comments. This is necessary, for
8248 # example, in the case of _POSIX_SOURCE, which is predefined and required
8249 # on some systems where configure will not decide to define it.
8250 cat >>conftest.undefs <<\_ACEOF
8251 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8254 # Break up conftest.defines because some shells have a limit on the size
8255 # of here documents, and old seds have small limits too (100 cmds).
8256 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8257 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8258 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8259 echo ' :' >>$CONFIG_STATUS
8261 while grep . conftest.defines >/dev/null
8263 # Write a limited-size here document to $tmp/defines.sed.
8264 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8265 # Speed up: don't consider the non `#define' lines.
8266 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8267 # Work around the forget-to-reset-the-flag bug.
8268 echo 't clr' >>$CONFIG_STATUS
8269 echo ': clr' >>$CONFIG_STATUS
8270 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8272 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8276 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8277 rm -f conftest.defines
8278 mv conftest.
tail conftest.defines
8280 rm -f conftest.defines
8281 echo ' fi # grep' >>$CONFIG_STATUS
8282 echo >>$CONFIG_STATUS
8284 # Break up conftest.undefs because some shells have a limit on the size
8285 # of here documents, and old seds have small limits too (100 cmds).
8286 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8288 while grep . conftest.undefs
>/dev
/null
8290 # Write a limited-size here document to $tmp/undefs.sed.
8291 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8292 # Speed up: don't consider the non
`#undef'
8293 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8294 # Work around the forget-to-reset-the-flag bug.
8295 echo 't clr' >>$CONFIG_STATUS
8296 echo ': clr' >>$CONFIG_STATUS
8297 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8299 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8303 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8304 rm -f conftest.undefs
8305 mv conftest.tail conftest.undefs
8307 rm -f conftest.undefs
8309 cat >>$CONFIG_STATUS <<\_ACEOF
8310 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8311 # use $as_me), people would be surprised to read:
8312 # /* config.h. Generated by config.status. */
8313 if test x
"$ac_file" = x-
; then
8314 echo "/* Generated by configure. */" >$tmp/config.h
8316 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8318 cat $tmp/in >>$tmp/config.h
8320 if test x
"$ac_file" != x-
; then
8321 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8322 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8323 echo "$as_me: $ac_file is unchanged" >&6;}
8325 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8327 X"$ac_file" : 'X\(//\)[^/]' \| \
8328 X"$ac_file" : 'X\(//\)$' \| \
8329 X"$ac_file" : 'X\(/\)' \| \
8330 . : '\(.\)' 2>/dev/null ||
8332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8334 /^X\(\/\/\)$/{ s//\1/; q; }
8335 /^X\(\/\).*/{ s//\1/; q; }
8337 { if $as_mkdir_p; then
8342 while test ! -d "$as_dir"; do
8343 as_dirs
="$as_dir $as_dirs"
8344 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8346 X"$as_dir" : 'X\(//\)[^/]' \| \
8347 X"$as_dir" : 'X\(//\)$' \| \
8348 X"$as_dir" : 'X\(/\)' \| \
8349 . : '\(.\)' 2>/dev/null ||
8351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8353 /^X\(\/\/\)$/{ s//\1/; q; }
8354 /^X\(\/\).*/{ s//\1/; q; }
8357 test ! -n "$as_dirs" || mkdir
$as_dirs
8358 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8359 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8360 { (exit 1); exit 1; }; }; }
8363 mv $tmp/config.h
$ac_file
8371 cat >>$CONFIG_STATUS <<\_ACEOF
8374 # CONFIG_LINKS section.
8377 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
8378 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8379 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8381 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
8382 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
8384 if test ! -r $srcdir/$ac_source; then
8385 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
8386 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
8387 { (exit 1); exit 1; }; }
8391 # Make relative symlinks.
8392 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8393 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8394 X"$ac_dest" : 'X\(//\)[^/]' \| \
8395 X"$ac_dest" : 'X\(//\)$' \| \
8396 X"$ac_dest" : 'X\(/\)' \| \
8397 . : '\(.\)' 2>/dev/null ||
8399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8401 /^X\(\/\/\)$/{ s//\1/; q; }
8402 /^X\(\/\).*/{ s//\1/; q; }
8404 { if $as_mkdir_p; then
8405 mkdir
-p "$ac_dest_dir"
8407 as_dir
="$ac_dest_dir"
8409 while test ! -d "$as_dir"; do
8410 as_dirs
="$as_dir $as_dirs"
8411 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8413 X"$as_dir" : 'X\(//\)[^/]' \| \
8414 X"$as_dir" : 'X\(//\)$' \| \
8415 X"$as_dir" : 'X\(/\)' \| \
8416 . : '\(.\)' 2>/dev/null ||
8418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8420 /^X\(\/\/\)$/{ s//\1/; q; }
8421 /^X\(\/\).*/{ s//\1/; q; }
8424 test ! -n "$as_dirs" || mkdir
$as_dirs
8425 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
8426 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
8427 { (exit 1); exit 1; }; }; }
8431 if test "$ac_dest_dir" != .
; then
8432 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
8433 # A "../" for each directory in $ac_dir_suffix.
8434 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8436 ac_dir_suffix
= ac_top_builddir
=
8440 .
) # No --srcdir option. We are building in place.
8442 if test -z "$ac_top_builddir"; then
8445 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8447 [\\/]* | ?
:[\\/]* ) # Absolute path.
8448 ac_srcdir
=$srcdir$ac_dir_suffix;
8449 ac_top_srcdir
=$srcdir ;;
8451 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8452 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8455 # Do not use `cd foo && pwd` to compute absolute paths, because
8456 # the directories may not exist.
8458 .
) ac_abs_builddir
="$ac_dest_dir";;
8460 case "$ac_dest_dir" in
8461 .
) ac_abs_builddir
=`pwd`;;
8462 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
8463 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
8466 case $ac_abs_builddir in
8467 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8469 case ${ac_top_builddir}.
in
8470 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8471 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8472 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8475 case $ac_abs_builddir in
8476 .
) ac_abs_srcdir
=$ac_srcdir;;
8479 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8480 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8481 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8484 case $ac_abs_builddir in
8485 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8487 case $ac_top_srcdir in
8488 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8489 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8490 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8496 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
8497 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
8500 # Try a symlink, then a hard link, then a copy.
8501 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
8502 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
8503 cp -p $srcdir/$ac_source $ac_dest ||
8504 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
8505 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
8506 { (exit 1); exit 1; }; }
8509 cat >>$CONFIG_STATUS <<\_ACEOF
8512 # CONFIG_COMMANDS section.
8514 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8515 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8516 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8517 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8518 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8519 X"$ac_dest" : 'X\(//\)[^/]' \| \
8520 X"$ac_dest" : 'X\(//\)$' \| \
8521 X"$ac_dest" : 'X\(/\)' \| \
8522 . : '\(.\)' 2>/dev/null ||
8524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8526 /^X\(\/\/\)$/{ s//\1/; q; }
8527 /^X\(\/\).*/{ s//\1/; q; }
8529 { if $as_mkdir_p; then
8534 while test ! -d "$as_dir"; do
8535 as_dirs
="$as_dir $as_dirs"
8536 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8538 X"$as_dir" : 'X\(//\)[^/]' \| \
8539 X"$as_dir" : 'X\(//\)$' \| \
8540 X"$as_dir" : 'X\(/\)' \| \
8541 . : '\(.\)' 2>/dev/null ||
8543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8544 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8545 /^X\(\/\/\)$/{ s//\1/; q; }
8546 /^X\(\/\).*/{ s//\1/; q; }
8549 test ! -n "$as_dirs" || mkdir
$as_dirs
8550 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8551 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8552 { (exit 1); exit 1; }; }; }
8556 if test "$ac_dir" != .
; then
8557 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8558 # A "../" for each directory in $ac_dir_suffix.
8559 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8561 ac_dir_suffix
= ac_top_builddir
=
8565 .
) # No --srcdir option. We are building in place.
8567 if test -z "$ac_top_builddir"; then
8570 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8572 [\\/]* | ?
:[\\/]* ) # Absolute path.
8573 ac_srcdir
=$srcdir$ac_dir_suffix;
8574 ac_top_srcdir
=$srcdir ;;
8576 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8577 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8580 # Do not use `cd foo && pwd` to compute absolute paths, because
8581 # the directories may not exist.
8583 .
) ac_abs_builddir
="$ac_dir";;
8586 .
) ac_abs_builddir
=`pwd`;;
8587 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8588 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8591 case $ac_abs_builddir in
8592 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8594 case ${ac_top_builddir}.
in
8595 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8596 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8597 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8600 case $ac_abs_builddir in
8601 .
) ac_abs_srcdir
=$ac_srcdir;;
8604 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8605 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8606 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8609 case $ac_abs_builddir in
8610 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8612 case $ac_top_srcdir in
8613 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8614 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8615 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8620 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8621 echo "$as_me: executing $ac_dest commands" >&6;}
8623 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
8624 rm -f Makesim1.tmp Makesim2.tmp Makefile
8625 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
8626 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
8627 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
8628 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
8629 <Makefile.sim
>Makefile
8630 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
8632 stamp-h
) echo > stamp-h
;;
8637 cat >>$CONFIG_STATUS <<\_ACEOF
8639 { (exit 0); exit 0; }
8641 chmod +x
$CONFIG_STATUS
8642 ac_clean_files
=$ac_clean_files_save
8645 # configure is writing to config.log, and then calls config.status.
8646 # config.status does its own redirection, appending to config.log.
8647 # Unfortunately, on DOS this fails, as config.log is still kept open
8648 # by configure, so config.status won't be able to write to it; its
8649 # output is simply discarded. So we exec the FD to /dev/null,
8650 # effectively closing config.log, so it can be properly (re)opened and
8651 # appended to by config.status. When coming back to configure, we
8652 # need to make the FD available again.
8653 if test "$no_create" != yes; then
8655 ac_config_status_args
=
8656 test "$silent" = yes &&
8657 ac_config_status_args
="$ac_config_status_args --quiet"
8659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8662 # would make configure fail if this is the last instruction.
8663 $ac_cs_success ||
{ (exit 1); exit 1; }