2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB SET_MAKE CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-nls do not use Native Language Support
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
861 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
862 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-included-gettext use the GNU
gettext library included here
869 Some influential environment variables
:
870 CC C compiler
command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
873 nonstandard directory
<lib dir
>
874 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
875 headers
in a nonstandard directory
<include dir
>
878 Use these variables to override the choices made by
`configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
896 ac_dir_suffix= ac_top_builddir=
900 .) # No --srcdir option. We are building in place.
902 if test -z "$ac_top_builddir"; then
905 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
915 # Do not use `cd foo
&& pwd` to compute absolute paths, because
916 # the directories may not exist.
918 .) ac_abs_builddir="$ac_dir";;
921 .) ac_abs_builddir=`pwd`;;
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
926 case $ac_abs_builddir in
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
929 case ${ac_top_builddir}. in
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
935 case $ac_abs_builddir in
936 .) ac_abs_srcdir=$ac_srcdir;;
939 .) ac_abs_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
944 case $ac_abs_builddir in
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
947 case $ac_top_srcdir in
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 # Check for guested configure; otherwise get Cygnus style configure.
956 if test -f $ac_srcdir/configure.gnu; then
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
959 elif test -f $ac_srcdir/configure; then
961 $SHELL $ac_srcdir/configure --help=recursive
962 elif test -f $ac_srcdir/configure.ac ||
963 test -f $ac_srcdir/configure.in; then
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 test -n "$ac_init_help" && exit 0
974 if $ac_init_version; then
977 Copyright (C) 2003 Free Software Foundation, Inc.
978 This configure script is free software; the Free Software Foundation
979 gives unlimited permission to copy, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by $as_me, which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1001 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1002 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1003 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1004 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1007 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1009 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1011 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1012 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1013 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1015 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next=false
1054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1058 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true; then
1066 ac_must_keep_next=false # Got value, back to normal.
1069 *=* | --config-cache | -C | -disable-* | --disable-* \
1070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072 | -with-* | --with-* | -without-* | --without-* | --x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next=true ;;
1080 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close
' the trap.
1095 trap 'exit_status
=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var
in $ac_subst_vars
1131 eval ac_val
=$
`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var
in $ac_subst_files
1145 eval ac_val
=$
`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h
; then
1158 sed "/^$/d" confdefs.h |
sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core
*.core
&&
1166 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1169 for ac_signal in 1 2 13 15; do
1170 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE; then
1210 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's
/^
/|
/' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?:[\\/]* ) . $cache_file;;
1232 *) . ./$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted=false
1244 for ac_var in `(set) 2>&1 |
1245 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247 eval ac_new_set=\$ac_env_${ac_var}_set
1248 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1254 ac_cache_corrupted=: ;;
1256 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1263 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1264 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265 echo "$as_me: former value: $ac_old_val" >&2;}
1266 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267 echo "$as_me: current value: $ac_new_val" >&2;}
1268 ac_cache_corrupted=:
1271 # Pass precious variables to config.status.
1272 if test "$ac_new_set" = set; then
1274 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1276 *) ac_arg=$ac_var=$ac_new_val ;;
1278 case " $ac_configure_args " in
1279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 if $ac_cache_corrupted; then
1285 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1288 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289 { (exit 1); exit 1; }; }
1293 ac_cpp='$CPP $CPPFLAGS'
1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1295 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1319 if test -f $ac_dir/install-sh; then
1321 ac_install_sh="$ac_aux_dir/install-sh -c"
1323 elif test -f $ac_dir/install.sh; then
1325 ac_install_sh="$ac_aux_dir/install.sh -c"
1327 elif test -f $ac_dir/shtool; then
1329 ac_install_sh="$ac_aux_dir/shtool install -c"
1333 if test -z "$ac_aux_dir"; then
1334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1335 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1336 { (exit 1); exit 1; }; }
1338 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1339 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1340 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1342 # Make sure we can run config.sub.
1343 $ac_config_sub sun4 >/dev/null 2>&1 ||
1344 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1345 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1346 { (exit 1); exit 1; }; }
1348 echo "$as_me:$LINENO: checking build system type" >&5
1349 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1350 if test "${ac_cv_build+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 ac_cv_build_alias=$build_alias
1354 test -z "$ac_cv_build_alias" &&
1355 ac_cv_build_alias=`$ac_config_guess`
1356 test -z "$ac_cv_build_alias" &&
1357 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1358 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1359 { (exit 1); exit 1; }; }
1360 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1361 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1362 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1363 { (exit 1); exit 1; }; }
1366 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1367 echo "${ECHO_T}$ac_cv_build" >&6
1369 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1370 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1371 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1374 echo "$as_me:$LINENO: checking host system type" >&5
1375 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1376 if test "${ac_cv_host+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 ac_cv_host_alias=$host_alias
1380 test -z "$ac_cv_host_alias" &&
1381 ac_cv_host_alias=$ac_cv_build_alias
1382 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1385 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1389 echo "${ECHO_T}$ac_cv_host" >&6
1391 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1392 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1393 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1396 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1397 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1398 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1399 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 cat >conftest.make <<\_ACEOF
1404 @echo 'ac_maketemp
="$(MAKE)"'
1406 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1407 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1408 if test -n "$ac_maketemp"; then
1409 eval ac_cv_prog_make_${ac_make}_set=yes
1411 eval ac_cv_prog_make_${ac_make}_set=no
1415 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1416 echo "$as_me:$LINENO: result: yes" >&5
1417 echo "${ECHO_T}yes" >&6
1420 echo "$as_me:$LINENO: result: no" >&5
1421 echo "${ECHO_T}no" >&6
1422 SET_MAKE="MAKE=${MAKE-make}"
1426 echo "$as_me:$LINENO: checking for library containing strerror" >&5
1427 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
1428 if test "${ac_cv_search_strerror+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 ac_func_search_save_LIBS=$LIBS
1432 ac_cv_search_strerror=no
1433 cat >conftest.$ac_ext <<_ACEOF
1436 cat confdefs.h >>conftest.$ac_ext
1437 cat >>conftest.$ac_ext <<_ACEOF
1438 /* end confdefs.h. */
1440 /* Override any gcc2 internal prototype to avoid an error. */
1444 /* We use char because int might match the return type of a gcc2
1445 builtin and then its argument prototype would still apply. */
1455 rm -f conftest.$ac_objext conftest$ac_exeext
1456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1457 (eval $ac_link) 2>conftest.er1
1459 grep -v '^
*+' conftest.er1 >conftest.err
1461 cat conftest.err >&5
1462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1463 (exit $ac_status); } &&
1464 { ac_try='test -z "$ac_c_werror_flag"
1465 ||
test ! -s conftest.err
'
1466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1470 (exit $ac_status); }; } &&
1471 { ac_try='test -s conftest
$ac_exeext'
1472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1476 (exit $ac_status); }; }; then
1477 ac_cv_search_strerror="none required"
1479 echo "$as_me: failed program was:" >&5
1480 sed 's
/^
/|
/' conftest.$ac_ext >&5
1483 rm -f conftest.err conftest.$ac_objext \
1484 conftest$ac_exeext conftest.$ac_ext
1485 if test "$ac_cv_search_strerror" = no; then
1486 for ac_lib in cposix; do
1487 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1488 cat >conftest.$ac_ext <<_ACEOF
1491 cat confdefs.h >>conftest.$ac_ext
1492 cat >>conftest.$ac_ext <<_ACEOF
1493 /* end confdefs.h. */
1495 /* Override any gcc2 internal prototype to avoid an error. */
1499 /* We use char because int might match the return type of a gcc2
1500 builtin and then its argument prototype would still apply. */
1510 rm -f conftest.$ac_objext conftest$ac_exeext
1511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1512 (eval $ac_link) 2>conftest.er1
1514 grep -v '^
*+' conftest.er1 >conftest.err
1516 cat conftest.err >&5
1517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1518 (exit $ac_status); } &&
1519 { ac_try='test -z "$ac_c_werror_flag"
1520 ||
test ! -s conftest.err
'
1521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1525 (exit $ac_status); }; } &&
1526 { ac_try='test -s conftest
$ac_exeext'
1527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1531 (exit $ac_status); }; }; then
1532 ac_cv_search_strerror="-l$ac_lib"
1535 echo "$as_me: failed program was:" >&5
1536 sed 's
/^
/|
/' conftest.$ac_ext >&5
1539 rm -f conftest.err conftest.$ac_objext \
1540 conftest$ac_exeext conftest.$ac_ext
1543 LIBS=$ac_func_search_save_LIBS
1545 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
1546 echo "${ECHO_T}$ac_cv_search_strerror" >&6
1547 if test "$ac_cv_search_strerror" != no; then
1548 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
1553 ac_cpp='$CPP $CPPFLAGS'
1554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1555 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1557 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1558 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1559 # On Suns, sometimes $CPP names a directory.
1560 if test -n "$CPP" && test -d "$CPP"; then
1563 if test -z "$CPP"; then
1564 if test "${ac_cv_prog_CPP+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 # Double quotes because CPP needs to be expanded
1568 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1571 for ac_c_preproc_warn_flag in '' yes
1573 # Use a header file that comes with gcc, so configuring glibc
1574 # with a fresh cross-compiler works.
1575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1576 # <limits.h> exists even on freestanding compilers.
1577 # On the NeXT, cc -E runs the code through the compiler's parser
,
1578 # not just through cpp. "Syntax error" is here to catch this case.
1579 cat >conftest.
$ac_ext <<_ACEOF
1582 cat confdefs.h
>>conftest.
$ac_ext
1583 cat >>conftest.
$ac_ext <<_ACEOF
1584 /* end confdefs.h. */
1586 # include <limits.h>
1588 # include <assert.h>
1592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1595 grep -v '^ *+' conftest.er1
>conftest.err
1597 cat conftest.err
>&5
1598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1599 (exit $ac_status); } >/dev
/null
; then
1600 if test -s conftest.err
; then
1601 ac_cpp_err
=$ac_c_preproc_warn_flag
1602 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
1609 if test -z "$ac_cpp_err"; then
1612 echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.
$ac_ext >&5
1615 # Broken: fails on valid input.
1618 rm -f conftest.err conftest.
$ac_ext
1620 # OK, works on sane cases. Now check whether non-existent headers
1621 # can be detected and how.
1622 cat >conftest.
$ac_ext <<_ACEOF
1625 cat confdefs.h
>>conftest.
$ac_ext
1626 cat >>conftest.
$ac_ext <<_ACEOF
1627 /* end confdefs.h. */
1628 #include <ac_nonexistent.h>
1630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1633 grep -v '^ *+' conftest.er1
>conftest.err
1635 cat conftest.err
>&5
1636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637 (exit $ac_status); } >/dev
/null
; then
1638 if test -s conftest.err
; then
1639 ac_cpp_err
=$ac_c_preproc_warn_flag
1640 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
1647 if test -z "$ac_cpp_err"; then
1648 # Broken: success on invalid input.
1651 echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.
$ac_ext >&5
1654 # Passes both tests.
1658 rm -f conftest.err conftest.
$ac_ext
1661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1662 rm -f conftest.err conftest.
$ac_ext
1663 if $ac_preproc_ok; then
1675 echo "$as_me:$LINENO: result: $CPP" >&5
1676 echo "${ECHO_T}$CPP" >&6
1678 for ac_c_preproc_warn_flag
in '' yes
1680 # Use a header file that comes with gcc, so configuring glibc
1681 # with a fresh cross-compiler works.
1682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1683 # <limits.h> exists even on freestanding compilers.
1684 # On the NeXT, cc -E runs the code through the compiler's parser,
1685 # not just through cpp. "Syntax error" is here to catch this case.
1686 cat >conftest.
$ac_ext <<_ACEOF
1689 cat confdefs.h
>>conftest.
$ac_ext
1690 cat >>conftest.
$ac_ext <<_ACEOF
1691 /* end confdefs.h. */
1693 # include <limits.h>
1695 # include <assert.h>
1699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1702 grep -v '^ *+' conftest.er1
>conftest.err
1704 cat conftest.err
>&5
1705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1706 (exit $ac_status); } >/dev
/null
; then
1707 if test -s conftest.err
; then
1708 ac_cpp_err
=$ac_c_preproc_warn_flag
1709 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
1716 if test -z "$ac_cpp_err"; then
1719 echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1722 # Broken: fails on valid input.
1725 rm -f conftest.err conftest.
$ac_ext
1727 # OK, works on sane cases. Now check whether non-existent headers
1728 # can be detected and how.
1729 cat >conftest.
$ac_ext <<_ACEOF
1732 cat confdefs.h
>>conftest.
$ac_ext
1733 cat >>conftest.
$ac_ext <<_ACEOF
1734 /* end confdefs.h. */
1735 #include <ac_nonexistent.h>
1737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1740 grep -v '^ *+' conftest.er1
>conftest.err
1742 cat conftest.err
>&5
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744 (exit $ac_status); } >/dev
/null
; then
1745 if test -s conftest.err
; then
1746 ac_cpp_err
=$ac_c_preproc_warn_flag
1747 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
1754 if test -z "$ac_cpp_err"; then
1755 # Broken: success on invalid input.
1758 echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1761 # Passes both tests.
1765 rm -f conftest.err conftest.
$ac_ext
1768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1769 rm -f conftest.err conftest.
$ac_ext
1770 if $ac_preproc_ok; then
1773 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1774 See \`config.log' for more details." >&5
1775 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1776 See \`config.log' for more details." >&2;}
1777 { (exit 1); exit 1; }; }
1781 ac_cpp
='$CPP $CPPFLAGS'
1782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1787 echo "$as_me:$LINENO: checking for egrep" >&5
1788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1789 if test "${ac_cv_prog_egrep+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
1793 then ac_cv_prog_egrep
='grep -E'
1794 else ac_cv_prog_egrep
='egrep'
1797 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1798 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1799 EGREP
=$ac_cv_prog_egrep
1802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1804 if test "${ac_cv_header_stdc+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 cat >conftest.
$ac_ext <<_ACEOF
1810 cat confdefs.h
>>conftest.
$ac_ext
1811 cat >>conftest.
$ac_ext <<_ACEOF
1812 /* end confdefs.h. */
1826 rm -f conftest.
$ac_objext
1827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1828 (eval $ac_compile) 2>conftest.er1
1830 grep -v '^ *+' conftest.er1
>conftest.err
1832 cat conftest.err
>&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); } &&
1835 { ac_try
='test -z "$ac_c_werror_flag"
1836 || test ! -s conftest.err'
1837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1841 (exit $ac_status); }; } &&
1842 { ac_try
='test -s conftest.$ac_objext'
1843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }; }; then
1848 ac_cv_header_stdc
=yes
1850 echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.
$ac_ext >&5
1853 ac_cv_header_stdc
=no
1855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1857 if test $ac_cv_header_stdc = yes; then
1858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1859 cat >conftest.
$ac_ext <<_ACEOF
1862 cat confdefs.h
>>conftest.
$ac_ext
1863 cat >>conftest.
$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1869 $EGREP "memchr" >/dev
/null
2>&1; then
1872 ac_cv_header_stdc
=no
1878 if test $ac_cv_header_stdc = yes; then
1879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1880 cat >conftest.
$ac_ext <<_ACEOF
1883 cat confdefs.h
>>conftest.
$ac_ext
1884 cat >>conftest.
$ac_ext <<_ACEOF
1885 /* end confdefs.h. */
1889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1890 $EGREP "free" >/dev
/null
2>&1; then
1893 ac_cv_header_stdc
=no
1899 if test $ac_cv_header_stdc = yes; then
1900 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1901 if test "$cross_compiling" = yes; then
1904 cat >conftest.
$ac_ext <<_ACEOF
1907 cat confdefs.h
>>conftest.
$ac_ext
1908 cat >>conftest.
$ac_ext <<_ACEOF
1909 /* end confdefs.h. */
1911 #if ((' ' & 0x0FF) == 0x020)
1912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1915 # define ISLOWER(c) \
1916 (('a' <= (c) && (c) <= 'i') \
1917 || ('j' <= (c) && (c) <= 'r') \
1918 || ('s' <= (c) && (c) <= 'z'))
1919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1927 for (i = 0; i < 256; i++)
1928 if (XOR (islower (i), ISLOWER (i))
1929 || toupper (i) != TOUPPER (i))
1934 rm -f conftest
$ac_exeext
1935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1936 (eval $ac_link) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
1940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; }; then
1947 echo "$as_me: program exited with status $ac_status" >&5
1948 echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1952 ac_cv_header_stdc
=no
1954 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
1958 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1959 echo "${ECHO_T}$ac_cv_header_stdc" >&6
1960 if test $ac_cv_header_stdc = yes; then
1962 cat >>confdefs.h
<<\_ACEOF
1963 #define STDC_HEADERS 1
1968 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
1969 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
1970 if test "${ac_cv_c_const+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1983 /* FIXME: Include the comments suggested by Paul. */
1985 /* Ultrix mips cc rejects this. */
1986 typedef int charset[2];
1988 /* SunOS 4.1.1 cc rejects this. */
1989 char const *const *ccp;
1991 /* NEC SVR4.0.2 mips cc rejects this. */
1992 struct point {int x, y;};
1993 static struct point const zero = {0,0};
1994 /* AIX XL C 1.02.0.0 rejects this.
1995 It does not let you subtract one const X* pointer from another in
1996 an arm of an if-expression whose if-part is not a constant
1998 const char *g = "string";
1999 ccp = &g + (g ? g-g : 0);
2000 /* HPUX 7.0 cc rejects these. */
2003 ccp = (char const *const *) p;
2004 { /* SCO 3.2v4 cc rejects this. */
2006 char const *s = 0 ? (char *) 0 : (char const *) 0;
2010 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2012 const int *foo = &x[0];
2015 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2016 typedef const int *iptr;
2020 { /* AIX XL C 1.02.0.0 rejects this saying
2021 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2022 struct s { int j; const int *ap[3]; };
2023 struct s *b; b->j = 5;
2025 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2034 rm -f conftest.
$ac_objext
2035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2036 (eval $ac_compile) 2>conftest.er1
2038 grep -v '^ *+' conftest.er1
>conftest.err
2040 cat conftest.err
>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); } &&
2043 { ac_try
='test -z "$ac_c_werror_flag"
2044 || test ! -s conftest.err'
2045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }; } &&
2050 { ac_try
='test -s conftest.$ac_objext'
2051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }; }; then
2058 echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.
$ac_ext >&5
2063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2065 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2066 echo "${ECHO_T}$ac_cv_c_const" >&6
2067 if test $ac_cv_c_const = no
; then
2069 cat >>confdefs.h
<<\_ACEOF
2075 echo "$as_me:$LINENO: checking for inline" >&5
2076 echo $ECHO_N "checking for inline... $ECHO_C" >&6
2077 if test "${ac_cv_c_inline+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2081 for ac_kw
in inline __inline__ __inline
; do
2082 cat >conftest.
$ac_ext <<_ACEOF
2085 cat confdefs.h
>>conftest.
$ac_ext
2086 cat >>conftest.
$ac_ext <<_ACEOF
2087 /* end confdefs.h. */
2090 static $ac_kw foo_t static_foo () {return 0; }
2091 $ac_kw foo_t foo () {return 0; }
2095 rm -f conftest.
$ac_objext
2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2097 (eval $ac_compile) 2>conftest.er1
2099 grep -v '^ *+' conftest.er1
>conftest.err
2101 cat conftest.err
>&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); } &&
2104 { ac_try
='test -z "$ac_c_werror_flag"
2105 || test ! -s conftest.err'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; } &&
2111 { ac_try
='test -s conftest.$ac_objext'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; }; then
2117 ac_cv_c_inline
=$ac_kw; break
2119 echo "$as_me: failed program was:" >&5
2120 sed 's/^/| /' conftest.
$ac_ext >&5
2123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2127 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
2128 echo "${ECHO_T}$ac_cv_c_inline" >&6
2131 case $ac_cv_c_inline in
2134 case $ac_cv_c_inline in
2136 *) ac_val
=$ac_cv_c_inline;;
2138 cat >>confdefs.h
<<_ACEOF
2140 #define inline $ac_val
2146 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2156 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2157 inttypes.h stdint.h unistd.h
2159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2160 echo "$as_me:$LINENO: checking for $ac_header" >&5
2161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 cat >conftest.
$ac_ext <<_ACEOF
2168 cat confdefs.h
>>conftest.
$ac_ext
2169 cat >>conftest.
$ac_ext <<_ACEOF
2170 /* end confdefs.h. */
2171 $ac_includes_default
2173 #include <$ac_header>
2175 rm -f conftest.
$ac_objext
2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2177 (eval $ac_compile) 2>conftest.er1
2179 grep -v '^ *+' conftest.er1
>conftest.err
2181 cat conftest.err
>&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); } &&
2184 { ac_try
='test -z "$ac_c_werror_flag"
2185 || test ! -s conftest.err'
2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; } &&
2191 { ac_try
='test -s conftest.$ac_objext'
2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; }; then
2197 eval "$as_ac_Header=yes"
2199 echo "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.
$ac_ext >&5
2202 eval "$as_ac_Header=no"
2204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2209 cat >>confdefs.h
<<_ACEOF
2210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2218 echo "$as_me:$LINENO: checking for off_t" >&5
2219 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
2220 if test "${ac_cv_type_off_t+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 cat >conftest.
$ac_ext <<_ACEOF
2226 cat confdefs.h
>>conftest.
$ac_ext
2227 cat >>conftest.
$ac_ext <<_ACEOF
2228 /* end confdefs.h. */
2229 $ac_includes_default
2241 rm -f conftest.
$ac_objext
2242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243 (eval $ac_compile) 2>conftest.er1
2245 grep -v '^ *+' conftest.er1
>conftest.err
2247 cat conftest.err
>&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); } &&
2250 { ac_try
='test -z "$ac_c_werror_flag"
2251 || test ! -s conftest.err'
2252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }; } &&
2257 { ac_try
='test -s conftest.$ac_objext'
2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; }; then
2263 ac_cv_type_off_t
=yes
2265 echo "$as_me: failed program was:" >&5
2266 sed 's/^/| /' conftest.
$ac_ext >&5
2270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2272 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
2273 echo "${ECHO_T}$ac_cv_type_off_t" >&6
2274 if test $ac_cv_type_off_t = yes; then
2278 cat >>confdefs.h
<<_ACEOF
2284 echo "$as_me:$LINENO: checking for size_t" >&5
2285 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2286 if test "${ac_cv_type_size_t+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 cat >conftest.
$ac_ext <<_ACEOF
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2295 $ac_includes_default
2301 if (sizeof (size_t))
2307 rm -f conftest.
$ac_objext
2308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2309 (eval $ac_compile) 2>conftest.er1
2311 grep -v '^ *+' conftest.er1
>conftest.err
2313 cat conftest.err
>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } &&
2316 { ac_try
='test -z "$ac_c_werror_flag"
2317 || test ! -s conftest.err'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; } &&
2323 { ac_try
='test -s conftest.$ac_objext'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2329 ac_cv_type_size_t
=yes
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2334 ac_cv_type_size_t
=no
2336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2338 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
2339 echo "${ECHO_T}$ac_cv_type_size_t" >&6
2340 if test $ac_cv_type_size_t = yes; then
2344 cat >>confdefs.h
<<_ACEOF
2345 #define size_t unsigned
2350 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
2351 # for constant arguments. Useless!
2352 echo "$as_me:$LINENO: checking for working alloca.h" >&5
2353 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
2354 if test "${ac_cv_working_alloca_h+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 cat >conftest.
$ac_ext <<_ACEOF
2360 cat confdefs.h
>>conftest.
$ac_ext
2361 cat >>conftest.
$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2367 char *p = (char *) alloca (2 * sizeof (int));
2372 rm -f conftest.
$ac_objext conftest
$ac_exeext
2373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2374 (eval $ac_link) 2>conftest.er1
2376 grep -v '^ *+' conftest.er1
>conftest.err
2378 cat conftest.err
>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); } &&
2381 { ac_try
='test -z "$ac_c_werror_flag"
2382 || test ! -s conftest.err'
2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; } &&
2388 { ac_try
='test -s conftest$ac_exeext'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; }; then
2394 ac_cv_working_alloca_h
=yes
2396 echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.
$ac_ext >&5
2399 ac_cv_working_alloca_h
=no
2401 rm -f conftest.err conftest.
$ac_objext \
2402 conftest
$ac_exeext conftest.
$ac_ext
2404 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
2405 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
2406 if test $ac_cv_working_alloca_h = yes; then
2408 cat >>confdefs.h
<<\_ACEOF
2409 #define HAVE_ALLOCA_H 1
2414 echo "$as_me:$LINENO: checking for alloca" >&5
2415 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
2416 if test "${ac_cv_func_alloca_works+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2419 cat >conftest.
$ac_ext <<_ACEOF
2422 cat confdefs.h
>>conftest.
$ac_ext
2423 cat >>conftest.
$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2426 # define alloca __builtin_alloca
2429 # include <malloc.h>
2430 # define alloca _alloca
2433 # include <alloca.h>
2438 # ifndef alloca /* predefined by HP cc +Olibcalls */
2449 char *p = (char *) alloca (1);
2454 rm -f conftest.
$ac_objext conftest
$ac_exeext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try
='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try
='test -s conftest$ac_exeext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2476 ac_cv_func_alloca_works
=yes
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.
$ac_ext >&5
2481 ac_cv_func_alloca_works
=no
2483 rm -f conftest.err conftest.
$ac_objext \
2484 conftest
$ac_exeext conftest.
$ac_ext
2486 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
2487 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
2489 if test $ac_cv_func_alloca_works = yes; then
2491 cat >>confdefs.h
<<\_ACEOF
2492 #define HAVE_ALLOCA 1
2496 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
2497 # that cause trouble. Some versions do not even contain alloca or
2498 # contain a buggy version. If you still want to use their alloca,
2499 # use ar to extract alloca.o from them instead of compiling alloca.c.
2501 ALLOCA
=alloca.
$ac_objext
2503 cat >>confdefs.h
<<\_ACEOF
2508 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
2509 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
2510 if test "${ac_cv_os_cray+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 cat >conftest.
$ac_ext <<_ACEOF
2516 cat confdefs.h
>>conftest.
$ac_ext
2517 cat >>conftest.
$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2519 #if defined(CRAY) && ! defined(CRAY2)
2526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2527 $EGREP "webecray" >/dev
/null
2>&1; then
2535 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
2536 echo "${ECHO_T}$ac_cv_os_cray" >&6
2537 if test $ac_cv_os_cray = yes; then
2538 for ac_func
in _getb67 GETB67 getb67
; do
2539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2540 echo "$as_me:$LINENO: checking for $ac_func" >&5
2541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2542 if eval "test \"\${$as_ac_var+set}\" = set"; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 cat >conftest.
$ac_ext <<_ACEOF
2548 cat confdefs.h
>>conftest.
$ac_ext
2549 cat >>conftest.
$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2553 #define $ac_func innocuous_$ac_func
2555 /* System header to define __stub macros and hopefully few prototypes,
2556 which can conflict with char $ac_func (); below.
2557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2558 <limits.h> exists even on freestanding compilers. */
2561 # include <limits.h>
2563 # include <assert.h>
2568 /* Override any gcc2 internal prototype to avoid an error. */
2573 /* We use char because int might match the return type of a gcc2
2574 builtin and then its argument prototype would still apply. */
2576 /* The GNU C library defines this for functions which it implements
2577 to always fail with ENOSYS. Some functions are actually named
2578 something starting with __ and the normal name is an alias. */
2579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2582 char (*f) () = $ac_func;
2591 return f != $ac_func;
2596 rm -f conftest.
$ac_objext conftest
$ac_exeext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2598 (eval $ac_link) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1
>conftest.err
2602 cat conftest.err
>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try
='test -z "$ac_c_werror_flag"
2606 || test ! -s conftest.err'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; } &&
2612 { ac_try
='test -s conftest$ac_exeext'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2618 eval "$as_ac_var=yes"
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.
$ac_ext >&5
2623 eval "$as_ac_var=no"
2625 rm -f conftest.err conftest.
$ac_objext \
2626 conftest
$ac_exeext conftest.
$ac_ext
2628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2630 if test `eval echo '${'$as_ac_var'}'` = yes; then
2632 cat >>confdefs.h
<<_ACEOF
2633 #define CRAY_STACKSEG_END $ac_func
2642 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
2643 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
2644 if test "${ac_cv_c_stack_direction+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 if test "$cross_compiling" = yes; then
2648 ac_cv_c_stack_direction
=0
2650 cat >conftest.
$ac_ext <<_ACEOF
2653 cat confdefs.h
>>conftest.
$ac_ext
2654 cat >>conftest.
$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2657 find_stack_direction ()
2659 static char *addr = 0;
2664 return find_stack_direction ();
2667 return (&dummy > addr) ? 1 : -1;
2673 exit (find_stack_direction () < 0);
2676 rm -f conftest
$ac_exeext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2678 (eval $ac_link) 2>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; }; then
2687 ac_cv_c_stack_direction
=1
2689 echo "$as_me: program exited with status $ac_status" >&5
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.
$ac_ext >&5
2694 ac_cv_c_stack_direction
=-1
2696 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2699 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
2700 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
2702 cat >>confdefs.h
<<_ACEOF
2703 #define STACK_DIRECTION $ac_cv_c_stack_direction
2711 for ac_header
in stdlib.h unistd.h
2713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2715 echo "$as_me:$LINENO: checking for $ac_header" >&5
2716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2723 # Is the header compilable?
2724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2726 cat >conftest.
$ac_ext <<_ACEOF
2729 cat confdefs.h
>>conftest.
$ac_ext
2730 cat >>conftest.
$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2732 $ac_includes_default
2733 #include <$ac_header>
2735 rm -f conftest.
$ac_objext
2736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2737 (eval $ac_compile) 2>conftest.er1
2739 grep -v '^ *+' conftest.er1
>conftest.err
2741 cat conftest.err
>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try
='test -z "$ac_c_werror_flag"
2745 || test ! -s conftest.err'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; } &&
2751 { ac_try
='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2757 ac_header_compiler
=yes
2759 echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.
$ac_ext >&5
2762 ac_header_compiler
=no
2764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2766 echo "${ECHO_T}$ac_header_compiler" >&6
2768 # Is the header present?
2769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2771 cat >conftest.
$ac_ext <<_ACEOF
2774 cat confdefs.h
>>conftest.
$ac_ext
2775 cat >>conftest.
$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2777 #include <$ac_header>
2779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } >/dev
/null
; then
2787 if test -s conftest.err
; then
2788 ac_cpp_err
=$ac_c_preproc_warn_flag
2789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2796 if test -z "$ac_cpp_err"; then
2797 ac_header_preproc
=yes
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2802 ac_header_preproc
=no
2804 rm -f conftest.err conftest.
$ac_ext
2805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2806 echo "${ECHO_T}$ac_header_preproc" >&6
2808 # So? What about this header?
2809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2815 ac_header_preproc
=yes
2818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2832 ## ------------------------------------------ ##
2833 ## Report this to the AC_PACKAGE_NAME lists. ##
2834 ## ------------------------------------------ ##
2837 sed "s/^/$as_me: WARNING: /" >&2
2840 echo "$as_me:$LINENO: checking for $ac_header" >&5
2841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 eval "$as_ac_Header=\$ac_header_preproc"
2847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2852 cat >>confdefs.h
<<_ACEOF
2853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2861 for ac_func
in getpagesize
2863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2864 echo "$as_me:$LINENO: checking for $ac_func" >&5
2865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2866 if eval "test \"\${$as_ac_var+set}\" = set"; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 cat >conftest.
$ac_ext <<_ACEOF
2872 cat confdefs.h
>>conftest.
$ac_ext
2873 cat >>conftest.
$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2877 #define $ac_func innocuous_$ac_func
2879 /* System header to define __stub macros and hopefully few prototypes,
2880 which can conflict with char $ac_func (); below.
2881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2882 <limits.h> exists even on freestanding compilers. */
2885 # include <limits.h>
2887 # include <assert.h>
2892 /* Override any gcc2 internal prototype to avoid an error. */
2897 /* We use char because int might match the return type of a gcc2
2898 builtin and then its argument prototype would still apply. */
2900 /* The GNU C library defines this for functions which it implements
2901 to always fail with ENOSYS. Some functions are actually named
2902 something starting with __ and the normal name is an alias. */
2903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2906 char (*f) () = $ac_func;
2915 return f != $ac_func;
2920 rm -f conftest.
$ac_objext conftest
$ac_exeext
2921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2922 (eval $ac_link) 2>conftest.er1
2924 grep -v '^ *+' conftest.er1
>conftest.err
2926 cat conftest.err
>&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); } &&
2929 { ac_try
='test -z "$ac_c_werror_flag"
2930 || test ! -s conftest.err'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; } &&
2936 { ac_try
='test -s conftest$ac_exeext'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; }; then
2942 eval "$as_ac_var=yes"
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.
$ac_ext >&5
2947 eval "$as_ac_var=no"
2949 rm -f conftest.err conftest.
$ac_objext \
2950 conftest
$ac_exeext conftest.
$ac_ext
2952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2954 if test `eval echo '${'$as_ac_var'}'` = yes; then
2955 cat >>confdefs.h
<<_ACEOF
2956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2962 echo "$as_me:$LINENO: checking for working mmap" >&5
2963 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
2964 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 if test "$cross_compiling" = yes; then
2968 ac_cv_func_mmap_fixed_mapped
=no
2970 cat >conftest.
$ac_ext <<_ACEOF
2973 cat confdefs.h
>>conftest.
$ac_ext
2974 cat >>conftest.
$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2976 $ac_includes_default
2977 /* malloc might have been renamed as rpl_malloc. */
2980 /* Thanks to Mike Haertel and Jim Avera for this test.
2981 Here is a matrix of mmap possibilities:
2982 mmap private not fixed
2983 mmap private fixed at somewhere currently unmapped
2984 mmap private fixed at somewhere already mapped
2985 mmap shared not fixed
2986 mmap shared fixed at somewhere currently unmapped
2987 mmap shared fixed at somewhere already mapped
2988 For private mappings, we should verify that changes cannot be read()
2989 back from the file, nor mmap's back from the file at a different
2990 address. (There have been systems where private was not correctly
2991 implemented like the infamous i386 svr4.0, and systems where the
2992 VM page cache was not coherent with the file system buffer cache
2993 like early versions of FreeBSD and possibly contemporary NetBSD.)
2994 For shared mappings, we should conversely verify that changes get
2995 propagated back to all the places they're supposed to be.
2997 Grep wants private fixed already mapped.
2998 The main things grep needs to know about mmap are:
2999 * does it exist and is it safe to write into the mmap'd area
3000 * how to use it (BSD variants) */
3003 #include <sys/mman.h>
3005 #if !STDC_HEADERS && !HAVE_STDLIB_H
3009 /* This mess was copied from the GNU getpagesize.h. */
3010 #if !HAVE_GETPAGESIZE
3011 /* Assume that all systems that can run configure have sys/param.h. */
3012 # if !HAVE_SYS_PARAM_H
3013 # define HAVE_SYS_PARAM_H 1
3016 # ifdef _SC_PAGESIZE
3017 # define getpagesize() sysconf(_SC_PAGESIZE)
3018 # else /* no _SC_PAGESIZE */
3019 # if HAVE_SYS_PARAM_H
3020 # include <sys/param.h>
3021 # ifdef EXEC_PAGESIZE
3022 # define getpagesize() EXEC_PAGESIZE
3023 # else /* no EXEC_PAGESIZE */
3025 # define getpagesize() NBPG * CLSIZE
3028 # endif /* no CLSIZE */
3029 # else /* no NBPG */
3031 # define getpagesize() NBPC
3032 # else /* no NBPC */
3034 # define getpagesize() PAGESIZE
3035 # endif /* PAGESIZE */
3036 # endif /* no NBPC */
3037 # endif /* no NBPG */
3038 # endif /* no EXEC_PAGESIZE */
3039 # else /* no HAVE_SYS_PARAM_H */
3040 # define getpagesize() 8192 /* punt totally */
3041 # endif /* no HAVE_SYS_PARAM_H */
3042 # endif /* no _SC_PAGESIZE */
3044 #endif /* no HAVE_GETPAGESIZE */
3049 char *data, *data2, *data3;
3053 pagesize = getpagesize ();
3055 /* First, make a file with some known garbage in it. */
3056 data = (char *) malloc (pagesize);
3059 for (i = 0; i < pagesize; ++i)
3060 *(data + i) = rand ();
3062 fd = creat ("conftest.mmap", 0600);
3065 if (write (fd, data, pagesize) != pagesize)
3069 /* Next, try to mmap the file at a fixed address which already has
3070 something else allocated at it. If we can, also make sure that
3071 we see the same garbage. */
3072 fd = open ("conftest.mmap", O_RDWR);
3075 data2 = (char *) malloc (2 * pagesize);
3078 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
3079 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3080 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3082 for (i = 0; i < pagesize; ++i)
3083 if (*(data + i) != *(data2 + i))
3086 /* Finally, make sure that changes to the mapped area do not
3087 percolate back to the file as seen by read(). (This is a bug on
3088 some variants of i386 svr4.0.) */
3089 for (i = 0; i < pagesize; ++i)
3090 *(data2 + i) = *(data2 + i) + 1;
3091 data3 = (char *) malloc (pagesize);
3094 if (read (fd, data3, pagesize) != pagesize)
3096 for (i = 0; i < pagesize; ++i)
3097 if (*(data + i) != *(data3 + i))
3103 rm -f conftest
$ac_exeext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3105 (eval $ac_link) 2>&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; }; then
3114 ac_cv_func_mmap_fixed_mapped
=yes
3116 echo "$as_me: program exited with status $ac_status" >&5
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.
$ac_ext >&5
3121 ac_cv_func_mmap_fixed_mapped
=no
3123 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3126 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3127 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
3128 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3130 cat >>confdefs.h
<<\_ACEOF
3138 # autoconf.info says this should be called right after AC_INIT.
3139 ac_config_headers
="$ac_config_headers config.h:config.in"
3141 echo "$as_me:$LINENO: checking target system type" >&5
3142 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3143 if test "${ac_cv_target+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 ac_cv_target_alias
=$target_alias
3147 test "x$ac_cv_target_alias" = "x" &&
3148 ac_cv_target_alias
=$ac_cv_host_alias
3149 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3150 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3151 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3152 { (exit 1); exit 1; }; }
3155 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3156 echo "${ECHO_T}$ac_cv_target" >&6
3157 target
=$ac_cv_target
3158 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3159 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3160 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3163 # The aliases save the names the user supplied, while $host etc.
3164 # will get canonicalized.
3165 test -n "$target_alias" &&
3166 test "$program_prefix$program_suffix$program_transform_name" = \
3168 program_prefix
=${target_alias}-
3169 test "$program_prefix" != NONE
&&
3170 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3171 # Use a double $ so make ignores it.
3172 test "$program_suffix" != NONE
&&
3173 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3174 # Double any \ or $. echo might interpret backslashes.
3175 # By default was `s,x,x', remove it if useless.
3176 cat <<\_ACEOF
>conftest.
sed
3177 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3179 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3183 ac_cpp
='$CPP $CPPFLAGS'
3184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3187 if test -n "$ac_tool_prefix"; then
3188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3189 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3190 echo "$as_me:$LINENO: checking for $ac_word" >&5
3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3192 if test "${ac_cv_prog_CC+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 if test -n "$CC"; then
3196 ac_cv_prog_CC
="$CC" # Let the user override the test.
3198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir
=.
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 if test -n "$CC"; then
3216 echo "$as_me:$LINENO: result: $CC" >&5
3217 echo "${ECHO_T}$CC" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3224 if test -z "$ac_cv_prog_CC"; then
3226 # Extract the first word of "gcc", so it can be a program name with args.
3227 set dummy gcc
; ac_word
=$2
3228 echo "$as_me:$LINENO: checking for $ac_word" >&5
3229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 if test -n "$ac_ct_CC"; then
3234 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir
=.
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243 ac_cv_prog_ac_ct_CC
="gcc"
3244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3253 if test -n "$ac_ct_CC"; then
3254 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3255 echo "${ECHO_T}$ac_ct_CC" >&6
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3270 echo "$as_me:$LINENO: checking for $ac_word" >&5
3271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3272 if test "${ac_cv_prog_CC+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC
="$CC" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3295 if test -n "$CC"; then
3296 echo "$as_me:$LINENO: result: $CC" >&5
3297 echo "${ECHO_T}$CC" >&6
3299 echo "$as_me:$LINENO: result: no" >&5
3300 echo "${ECHO_T}no" >&6
3304 if test -z "$ac_cv_prog_CC"; then
3306 # Extract the first word of "cc", so it can be a program name with args.
3307 set dummy cc
; ac_word
=$2
3308 echo "$as_me:$LINENO: checking for $ac_word" >&5
3309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 if test -n "$ac_ct_CC"; then
3314 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3320 test -z "$as_dir" && as_dir
=.
3321 for ac_exec_ext
in '' $ac_executable_extensions; do
3322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_ac_ct_CC
="cc"
3324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3333 if test -n "$ac_ct_CC"; then
3334 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3335 echo "${ECHO_T}$ac_ct_CC" >&6
3337 echo "$as_me:$LINENO: result: no" >&5
3338 echo "${ECHO_T}no" >&6
3347 if test -z "$CC"; then
3348 # Extract the first word of "cc", so it can be a program name with args.
3349 set dummy cc
; ac_word
=$2
3350 echo "$as_me:$LINENO: checking for $ac_word" >&5
3351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3352 if test "${ac_cv_prog_CC+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if test -n "$CC"; then
3356 ac_cv_prog_CC
="$CC" # Let the user override the test.
3359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir
=.
3364 for ac_exec_ext
in '' $ac_executable_extensions; do
3365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3367 ac_prog_rejected
=yes
3371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 if test $ac_prog_rejected = yes; then
3378 # We found a bogon in the path, so make sure we never use it.
3379 set dummy
$ac_cv_prog_CC
3381 if test $# != 0; then
3382 # We chose a different compiler from the bogus one.
3383 # However, it has the same basename, so the bogon will be chosen
3384 # first if we set CC to just the basename; use the full file name.
3386 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3392 if test -n "$CC"; then
3393 echo "$as_me:$LINENO: result: $CC" >&5
3394 echo "${ECHO_T}$CC" >&6
3396 echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6
3401 if test -z "$CC"; then
3402 if test -n "$ac_tool_prefix"; then
3405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3406 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3407 echo "$as_me:$LINENO: checking for $ac_word" >&5
3408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3409 if test "${ac_cv_prog_CC+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 if test -n "$CC"; then
3413 ac_cv_prog_CC
="$CC" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test -n "$CC"; then
3433 echo "$as_me:$LINENO: result: $CC" >&5
3434 echo "${ECHO_T}$CC" >&6
3436 echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6
3440 test -n "$CC" && break
3443 if test -z "$CC"; then
3447 # Extract the first word of "$ac_prog", so it can be a program name with args.
3448 set dummy
$ac_prog; ac_word
=$2
3449 echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if test -n "$ac_ct_CC"; then
3455 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3461 test -z "$as_dir" && as_dir
=.
3462 for ac_exec_ext
in '' $ac_executable_extensions; do
3463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464 ac_cv_prog_ac_ct_CC
="$ac_prog"
3465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3474 if test -n "$ac_ct_CC"; then
3475 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3476 echo "${ECHO_T}$ac_ct_CC" >&6
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3482 test -n "$ac_ct_CC" && break
3491 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3492 See \`config.log' for more details." >&5
3493 echo "$as_me: error: no acceptable C compiler found in \$PATH
3494 See \`config.log' for more details." >&2;}
3495 { (exit 1); exit 1; }; }
3497 # Provide some information about the compiler.
3498 echo "$as_me:$LINENO:" \
3499 "checking for C compiler version" >&5
3500 ac_compiler
=`set X $ac_compile; echo $2`
3501 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3502 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }
3506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3507 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); }
3511 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3512 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); }
3517 cat >conftest.
$ac_ext <<_ACEOF
3520 cat confdefs.h
>>conftest.
$ac_ext
3521 cat >>conftest.
$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3532 ac_clean_files_save
=$ac_clean_files
3533 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3534 # Try to create an executable without -o first, disregard a.out.
3535 # It will help us diagnose broken compilers, and finding out an intuition
3537 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3538 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3539 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3540 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3541 (eval $ac_link_default) 2>&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; then
3545 # Find the output, starting from the most likely. This scheme is
3546 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3549 # Be careful to initialize this variable, since it used to be cached.
3550 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3552 # b.out is created by i960 compilers.
3553 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3555 test -f "$ac_file" ||
continue
3557 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3560 # This is the source file.
3563 # We found the default executable, but exeext='' is most
3567 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3568 # FIXME: I believe we export ac_cv_exeext for Libtool,
3569 # but it would be cool to find out if it's true. Does anybody
3570 # maintain Libtool? --akim.
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3582 See \`config.log' for more details." >&5
3583 echo "$as_me: error: C compiler cannot create executables
3584 See \`config.log' for more details." >&2;}
3585 { (exit 77); exit 77; }; }
3588 ac_exeext
=$ac_cv_exeext
3589 echo "$as_me:$LINENO: result: $ac_file" >&5
3590 echo "${ECHO_T}$ac_file" >&6
3592 # Check the compiler produces executables we can run. If not, either
3593 # the compiler is broken, or we cross compile.
3594 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3595 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3596 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3597 # If not cross compiling, check that we can run a simple program.
3598 if test "$cross_compiling" != yes; then
3599 if { ac_try
='./$ac_file'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3607 if test "$cross_compiling" = maybe
; then
3610 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3611 If you meant to cross compile, use \`--host'.
3612 See \`config.log' for more details." >&5
3613 echo "$as_me: error: cannot run C compiled programs.
3614 If you meant to cross compile, use \`--host'.
3615 See \`config.log' for more details." >&2;}
3616 { (exit 1); exit 1; }; }
3620 echo "$as_me:$LINENO: result: yes" >&5
3621 echo "${ECHO_T}yes" >&6
3623 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3624 ac_clean_files
=$ac_clean_files_save
3625 # Check the compiler produces executables we can run. If not, either
3626 # the compiler is broken, or we cross compile.
3627 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3628 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3629 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3630 echo "${ECHO_T}$cross_compiling" >&6
3632 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3633 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3635 (eval $ac_link) 2>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; then
3639 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3640 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3641 # work properly (i.e., refer to `conftest.exe'), while it won't with
3643 for ac_file
in conftest.exe conftest conftest.
*; do
3644 test -f "$ac_file" ||
continue
3646 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3647 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3654 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3655 See \`config.log' for more details." >&5
3656 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3657 See \`config.log' for more details." >&2;}
3658 { (exit 1); exit 1; }; }
3661 rm -f conftest
$ac_cv_exeext
3662 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3663 echo "${ECHO_T}$ac_cv_exeext" >&6
3665 rm -f conftest.
$ac_ext
3666 EXEEXT
=$ac_cv_exeext
3668 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3669 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3670 if test "${ac_cv_objext+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 cat >conftest.
$ac_ext <<_ACEOF
3676 cat confdefs.h
>>conftest.
$ac_ext
3677 cat >>conftest.
$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3688 rm -f conftest.o conftest.obj
3689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3690 (eval $ac_compile) 2>&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; then
3694 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3696 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3697 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.
$ac_ext >&5
3705 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3706 See \`config.log' for more details." >&5
3707 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3708 See \`config.log' for more details." >&2;}
3709 { (exit 1); exit 1; }; }
3712 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3714 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3715 echo "${ECHO_T}$ac_cv_objext" >&6
3716 OBJEXT
=$ac_cv_objext
3718 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3719 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3720 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 cat >conftest.
$ac_ext <<_ACEOF
3726 cat confdefs.h
>>conftest.
$ac_ext
3727 cat >>conftest.
$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3741 rm -f conftest.
$ac_objext
3742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3743 (eval $ac_compile) 2>conftest.er1
3745 grep -v '^ *+' conftest.er1
>conftest.err
3747 cat conftest.err
>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } &&
3750 { ac_try
='test -z "$ac_c_werror_flag"
3751 || test ! -s conftest.err'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; } &&
3757 { ac_try
='test -s conftest.$ac_objext'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; }; then
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.
$ac_ext >&5
3770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3771 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3774 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3775 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3776 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3777 ac_test_CFLAGS
=${CFLAGS+set}
3778 ac_save_CFLAGS
=$CFLAGS
3780 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3781 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3782 if test "${ac_cv_prog_cc_g+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 cat >conftest.
$ac_ext <<_ACEOF
3788 cat confdefs.h
>>conftest.
$ac_ext
3789 cat >>conftest.
$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3800 rm -f conftest.
$ac_objext
3801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3802 (eval $ac_compile) 2>conftest.er1
3804 grep -v '^ *+' conftest.er1
>conftest.err
3806 cat conftest.err
>&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } &&
3809 { ac_try
='test -z "$ac_c_werror_flag"
3810 || test ! -s conftest.err'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; } &&
3816 { ac_try
='test -s conftest.$ac_objext'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; }; then
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.
$ac_ext >&5
3829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3831 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3832 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3833 if test "$ac_test_CFLAGS" = set; then
3834 CFLAGS
=$ac_save_CFLAGS
3835 elif test $ac_cv_prog_cc_g = yes; then
3836 if test "$GCC" = yes; then
3842 if test "$GCC" = yes; then
3848 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3849 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3850 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 ac_cv_prog_cc_stdc
=no
3855 cat >conftest.
$ac_ext <<_ACEOF
3858 cat confdefs.h
>>conftest.
$ac_ext
3859 cat >>conftest.
$ac_ext <<_ACEOF
3860 /* end confdefs.h. */
3863 #include <sys/types.h>
3864 #include <sys/stat.h>
3865 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3866 struct buf { int x; };
3867 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3868 static char *e (p, i)
3874 static char *f (char * (*g) (char **, int), char **p, ...)
3879 s = g (p, va_arg (v,int));
3884 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3885 function prototypes and stuff, but not '\xHH' hex character constants.
3886 These don't provoke an error unfortunately, instead are silently treated
3887 as 'x'. The following induces an error, until -std1 is added to get
3888 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3889 array size at least. It's necessary to write '\x00'==0 to get something
3890 that's true only with -std1. */
3891 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3893 int test (int i, double x);
3894 struct s1 {int (*f) (int a);};
3895 struct s2 {int (*f) (double a);};
3896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3907 # Don't try gcc -ansi; that turns off useful extensions and
3908 # breaks some systems' header files.
3909 # AIX -qlanglvl=ansi
3910 # Ultrix and OSF/1 -std1
3911 # HP-UX 10.20 and later -Ae
3912 # HP-UX older versions -Aa -D_HPUX_SOURCE
3913 # SVR4 -Xc -D__EXTENSIONS__
3914 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3916 CC
="$ac_save_CC $ac_arg"
3917 rm -f conftest.
$ac_objext
3918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3919 (eval $ac_compile) 2>conftest.er1
3921 grep -v '^ *+' conftest.er1
>conftest.err
3923 cat conftest.err
>&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } &&
3926 { ac_try
='test -z "$ac_c_werror_flag"
3927 || test ! -s conftest.err'
3928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; } &&
3933 { ac_try
='test -s conftest.$ac_objext'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; }; then
3939 ac_cv_prog_cc_stdc
=$ac_arg
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.
$ac_ext >&5
3946 rm -f conftest.err conftest.
$ac_objext
3948 rm -f conftest.
$ac_ext conftest.
$ac_objext
3953 case "x$ac_cv_prog_cc_stdc" in
3955 echo "$as_me:$LINENO: result: none needed" >&5
3956 echo "${ECHO_T}none needed" >&6 ;;
3958 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3959 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3960 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3963 # Some people use a C++ compiler to compile C. Since we use `exit',
3964 # in C++ we need to declare it. In case someone uses the same compiler
3965 # for both compiling C and C++ we need to have the C++ compiler decide
3966 # the declaration of exit, since it's the most demanding environment.
3967 cat >conftest.
$ac_ext <<_ACEOF
3972 rm -f conftest.
$ac_objext
3973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3974 (eval $ac_compile) 2>conftest.er1
3976 grep -v '^ *+' conftest.er1
>conftest.err
3978 cat conftest.err
>&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } &&
3981 { ac_try
='test -z "$ac_c_werror_flag"
3982 || test ! -s conftest.err'
3983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; } &&
3988 { ac_try
='test -s conftest.$ac_objext'
3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; }; then
3994 for ac_declaration
in \
3996 'extern "C" void std::exit (int) throw (); using std::exit;' \
3997 'extern "C" void std::exit (int); using std::exit;' \
3998 'extern "C" void exit (int) throw ();' \
3999 'extern "C" void exit (int);' \
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4018 rm -f conftest.
$ac_objext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020 (eval $ac_compile) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1
>conftest.err
4024 cat conftest.err
>&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try
='test -z "$ac_c_werror_flag"
4028 || test ! -s conftest.err'
4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; } &&
4034 { ac_try
='test -s conftest.$ac_objext'
4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; }; then
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.
$ac_ext >&5
4047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4048 cat >conftest.
$ac_ext <<_ACEOF
4051 cat confdefs.h
>>conftest.
$ac_ext
4052 cat >>conftest.
$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4063 rm -f conftest.
$ac_objext
4064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4065 (eval $ac_compile) 2>conftest.er1
4067 grep -v '^ *+' conftest.er1
>conftest.err
4069 cat conftest.err
>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try
='test -z "$ac_c_werror_flag"
4073 || test ! -s conftest.err'
4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; } &&
4079 { ac_try
='test -s conftest.$ac_objext'
4080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; }; then
4087 echo "$as_me: failed program was:" >&5
4088 sed 's/^/| /' conftest.
$ac_ext >&5
4091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4094 if test -n "$ac_declaration"; then
4095 echo '#ifdef __cplusplus' >>confdefs.h
4096 echo $ac_declaration >>confdefs.h
4097 echo '#endif' >>confdefs.h
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.
$ac_ext >&5
4105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4107 ac_cpp
='$CPP $CPPFLAGS'
4108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4112 # Find a good install program. We prefer a C program (faster),
4113 # so one script is as good as another. But avoid the broken or
4114 # incompatible versions:
4115 # SysV /etc/install, /usr/sbin/install
4116 # SunOS /usr/etc/install
4117 # IRIX /sbin/install
4119 # AmigaOS /C/install, which installs bootblocks on floppy discs
4120 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4121 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4122 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4123 # OS/2's system install, which has a completely different semantic
4124 # ./install, which can be erroneously created by make from ./install.sh.
4125 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4126 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4127 if test -z "$INSTALL"; then
4128 if test "${ac_cv_path_install+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 # Account for people who put trailing slashes in PATH elements.
4138 .
/ | .
// |
/cC
/* | \
4139 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4140 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4143 # OSF1 and SCO ODT 3.0 have their own names for install.
4144 # Don't use installbsd from OSF since it installs stuff as root
4146 for ac_prog
in ginstall scoinst
install; do
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4149 if test $ac_prog = install &&
4150 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4151 # AIX install. It has an incompatible calling convention.
4153 elif test $ac_prog = install &&
4154 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4155 # program-specific install script used by HP pwplus--don't use.
4158 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4170 if test "${ac_cv_path_install+set}" = set; then
4171 INSTALL
=$ac_cv_path_install
4173 # As a last resort, use the slow shell script. We don't cache a
4174 # path for INSTALL within a source directory, because that will
4175 # break other packages using the cache if that directory is
4176 # removed, or if the path is relative.
4177 INSTALL
=$ac_install_sh
4180 echo "$as_me:$LINENO: result: $INSTALL" >&5
4181 echo "${ECHO_T}$INSTALL" >&6
4183 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4184 # It thinks the first close brace ends the variable substitution.
4185 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4187 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4189 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4192 # Put a plausible default for CC_FOR_BUILD in Makefile.
4193 if test "x$cross_compiling" = "xno"; then
4194 CC_FOR_BUILD
='$(CC)'
4204 if test -n "$ac_tool_prefix"; then
4205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4206 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4207 echo "$as_me:$LINENO: checking for $ac_word" >&5
4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4209 if test "${ac_cv_prog_RANLIB+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 if test -n "$RANLIB"; then
4213 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_exec_ext
in '' $ac_executable_extensions; do
4221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 RANLIB
=$ac_cv_prog_RANLIB
4232 if test -n "$RANLIB"; then
4233 echo "$as_me:$LINENO: result: $RANLIB" >&5
4234 echo "${ECHO_T}$RANLIB" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4241 if test -z "$ac_cv_prog_RANLIB"; then
4242 ac_ct_RANLIB
=$RANLIB
4243 # Extract the first word of "ranlib", so it can be a program name with args.
4244 set dummy ranlib
; ac_word
=$2
4245 echo "$as_me:$LINENO: checking for $ac_word" >&5
4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4247 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if test -n "$ac_ct_RANLIB"; then
4251 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4270 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4271 if test -n "$ac_ct_RANLIB"; then
4272 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4273 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4275 echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6
4279 RANLIB
=$ac_ct_RANLIB
4281 RANLIB
="$ac_cv_prog_RANLIB"
4296 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4297 unistd.h values.h sys
/param.h
4299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4301 echo "$as_me:$LINENO: checking for $ac_header" >&5
4302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4309 # Is the header compilable?
4310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4312 cat >conftest.
$ac_ext <<_ACEOF
4315 cat confdefs.h
>>conftest.
$ac_ext
4316 cat >>conftest.
$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4318 $ac_includes_default
4319 #include <$ac_header>
4321 rm -f conftest.
$ac_objext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323 (eval $ac_compile) 2>conftest.er1
4325 grep -v '^ *+' conftest.er1
>conftest.err
4327 cat conftest.err
>&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } &&
4330 { ac_try
='test -z "$ac_c_werror_flag"
4331 || test ! -s conftest.err'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; } &&
4337 { ac_try
='test -s conftest.$ac_objext'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; }; then
4343 ac_header_compiler
=yes
4345 echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.
$ac_ext >&5
4348 ac_header_compiler
=no
4350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4352 echo "${ECHO_T}$ac_header_compiler" >&6
4354 # Is the header present?
4355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4357 cat >conftest.
$ac_ext <<_ACEOF
4360 cat confdefs.h
>>conftest.
$ac_ext
4361 cat >>conftest.
$ac_ext <<_ACEOF
4362 /* end confdefs.h. */
4363 #include <$ac_header>
4365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4368 grep -v '^ *+' conftest.er1
>conftest.err
4370 cat conftest.err
>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } >/dev
/null
; then
4373 if test -s conftest.err
; then
4374 ac_cpp_err
=$ac_c_preproc_warn_flag
4375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4382 if test -z "$ac_cpp_err"; then
4383 ac_header_preproc
=yes
4385 echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.
$ac_ext >&5
4388 ac_header_preproc
=no
4390 rm -f conftest.err conftest.
$ac_ext
4391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4392 echo "${ECHO_T}$ac_header_preproc" >&6
4394 # So? What about this header?
4395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4401 ac_header_preproc
=yes
4404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4418 ## ------------------------------------------ ##
4419 ## Report this to the AC_PACKAGE_NAME lists. ##
4420 ## ------------------------------------------ ##
4423 sed "s/^/$as_me: WARNING: /" >&2
4426 echo "$as_me:$LINENO: checking for $ac_header" >&5
4427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 eval "$as_ac_Header=\$ac_header_preproc"
4433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4438 cat >>confdefs.h
<<_ACEOF
4439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4456 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4457 __argz_count __argz_stringify __argz_next
4459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4460 echo "$as_me:$LINENO: checking for $ac_func" >&5
4461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4462 if eval "test \"\${$as_ac_var+set}\" = set"; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 cat >conftest.
$ac_ext <<_ACEOF
4468 cat confdefs.h
>>conftest.
$ac_ext
4469 cat >>conftest.
$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4473 #define $ac_func innocuous_$ac_func
4475 /* System header to define __stub macros and hopefully few prototypes,
4476 which can conflict with char $ac_func (); below.
4477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4478 <limits.h> exists even on freestanding compilers. */
4481 # include <limits.h>
4483 # include <assert.h>
4488 /* Override any gcc2 internal prototype to avoid an error. */
4493 /* We use char because int might match the return type of a gcc2
4494 builtin and then its argument prototype would still apply. */
4496 /* The GNU C library defines this for functions which it implements
4497 to always fail with ENOSYS. Some functions are actually named
4498 something starting with __ and the normal name is an alias. */
4499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4502 char (*f) () = $ac_func;
4511 return f != $ac_func;
4516 rm -f conftest.
$ac_objext conftest
$ac_exeext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4518 (eval $ac_link) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1
>conftest.err
4522 cat conftest.err
>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try
='test -z "$ac_c_werror_flag"
4526 || test ! -s conftest.err'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; } &&
4532 { ac_try
='test -s conftest$ac_exeext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4538 eval "$as_ac_var=yes"
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.
$ac_ext >&5
4543 eval "$as_ac_var=no"
4545 rm -f conftest.err conftest.
$ac_objext \
4546 conftest
$ac_exeext conftest.
$ac_ext
4548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4550 if test `eval echo '${'$as_ac_var'}'` = yes; then
4551 cat >>confdefs.h
<<_ACEOF
4552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4559 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4561 for ac_func
in stpcpy
4563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4564 echo "$as_me:$LINENO: checking for $ac_func" >&5
4565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4566 if eval "test \"\${$as_ac_var+set}\" = set"; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 cat >conftest.
$ac_ext <<_ACEOF
4572 cat confdefs.h
>>conftest.
$ac_ext
4573 cat >>conftest.
$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4577 #define $ac_func innocuous_$ac_func
4579 /* System header to define __stub macros and hopefully few prototypes,
4580 which can conflict with char $ac_func (); below.
4581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4582 <limits.h> exists even on freestanding compilers. */
4585 # include <limits.h>
4587 # include <assert.h>
4592 /* Override any gcc2 internal prototype to avoid an error. */
4597 /* We use char because int might match the return type of a gcc2
4598 builtin and then its argument prototype would still apply. */
4600 /* The GNU C library defines this for functions which it implements
4601 to always fail with ENOSYS. Some functions are actually named
4602 something starting with __ and the normal name is an alias. */
4603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4606 char (*f) () = $ac_func;
4615 return f != $ac_func;
4620 rm -f conftest.
$ac_objext conftest
$ac_exeext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4622 (eval $ac_link) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1
>conftest.err
4626 cat conftest.err
>&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try
='test -z "$ac_c_werror_flag"
4630 || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try
='test -s conftest$ac_exeext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 eval "$as_ac_var=yes"
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4647 eval "$as_ac_var=no"
4649 rm -f conftest.err conftest.
$ac_objext \
4650 conftest
$ac_exeext conftest.
$ac_ext
4652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4654 if test `eval echo '${'$as_ac_var'}'` = yes; then
4655 cat >>confdefs.h
<<_ACEOF
4656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4663 if test "${ac_cv_func_stpcpy}" = "yes"; then
4664 cat >>confdefs.h
<<\_ACEOF
4665 #define HAVE_STPCPY 1
4670 if test $ac_cv_header_locale_h = yes; then
4671 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4672 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4673 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4674 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4691 rm -f conftest.
$ac_objext conftest
$ac_exeext
4692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4693 (eval $ac_link) 2>conftest.er1
4695 grep -v '^ *+' conftest.er1
>conftest.err
4697 cat conftest.err
>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } &&
4700 { ac_try
='test -z "$ac_c_werror_flag"
4701 || test ! -s conftest.err'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; } &&
4707 { ac_try
='test -s conftest$ac_exeext'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then
4713 am_cv_val_LC_MESSAGES
=yes
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4718 am_cv_val_LC_MESSAGES
=no
4720 rm -f conftest.err conftest.
$ac_objext \
4721 conftest
$ac_exeext conftest.
$ac_ext
4723 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4724 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4725 if test $am_cv_val_LC_MESSAGES = yes; then
4726 cat >>confdefs.h
<<\_ACEOF
4727 #define HAVE_LC_MESSAGES 1
4732 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4733 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4734 # Check whether --enable-nls or --disable-nls was given.
4735 if test "${enable_nls+set}" = set; then
4736 enableval
="$enable_nls"
4741 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4742 echo "${ECHO_T}$USE_NLS" >&6
4745 USE_INCLUDED_LIBINTL
=no
4747 if test "$USE_NLS" = "yes"; then
4748 cat >>confdefs.h
<<\_ACEOF
4749 #define ENABLE_NLS 1
4752 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4753 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4755 # Check whether --with-included-gettext or --without-included-gettext was given.
4756 if test "${with_included_gettext+set}" = set; then
4757 withval
="$with_included_gettext"
4758 nls_cv_force_use_gnu_gettext
=$withval
4760 nls_cv_force_use_gnu_gettext
=no
4762 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4763 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4765 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4766 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4768 nls_cv_header_libgt
=
4771 if test "${ac_cv_header_libintl_h+set}" = set; then
4772 echo "$as_me:$LINENO: checking for libintl.h" >&5
4773 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4774 if test "${ac_cv_header_libintl_h+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4778 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4780 # Is the header compilable?
4781 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4782 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4783 cat >conftest.
$ac_ext <<_ACEOF
4786 cat confdefs.h
>>conftest.
$ac_ext
4787 cat >>conftest.
$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 $ac_includes_default
4790 #include <libintl.h>
4792 rm -f conftest.
$ac_objext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest.$ac_objext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 ac_header_compiler
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 ac_header_compiler
=no
4821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4823 echo "${ECHO_T}$ac_header_compiler" >&6
4825 # Is the header present?
4826 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4827 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4828 cat >conftest.
$ac_ext <<_ACEOF
4831 cat confdefs.h
>>conftest.
$ac_ext
4832 cat >>conftest.
$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4834 #include <libintl.h>
4836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } >/dev
/null
; then
4844 if test -s conftest.err
; then
4845 ac_cpp_err
=$ac_c_preproc_warn_flag
4846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4853 if test -z "$ac_cpp_err"; then
4854 ac_header_preproc
=yes
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4859 ac_header_preproc
=no
4861 rm -f conftest.err conftest.
$ac_ext
4862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4863 echo "${ECHO_T}$ac_header_preproc" >&6
4865 # So? What about this header?
4866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4868 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4869 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4871 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4872 ac_header_preproc
=yes
4875 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4876 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4878 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4880 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4882 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4884 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4886 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4889 ## ------------------------------------------ ##
4890 ## Report this to the AC_PACKAGE_NAME lists. ##
4891 ## ------------------------------------------ ##
4894 sed "s/^/$as_me: WARNING: /" >&2
4897 echo "$as_me:$LINENO: checking for libintl.h" >&5
4898 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4899 if test "${ac_cv_header_libintl_h+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 ac_cv_header_libintl_h
=$ac_header_preproc
4904 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4905 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4908 if test $ac_cv_header_libintl_h = yes; then
4909 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4910 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4911 if test "${gt_cv_func_gettext_libc+set}" = set; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 #include <libintl.h>
4924 return (int) gettext ("")
4929 rm -f conftest.
$ac_objext conftest
$ac_exeext
4930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4931 (eval $ac_link) 2>conftest.er1
4933 grep -v '^ *+' conftest.er1
>conftest.err
4935 cat conftest.err
>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } &&
4938 { ac_try
='test -z "$ac_c_werror_flag"
4939 || test ! -s conftest.err'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; } &&
4945 { ac_try
='test -s conftest$ac_exeext'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; }; then
4951 gt_cv_func_gettext_libc
=yes
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.
$ac_ext >&5
4956 gt_cv_func_gettext_libc
=no
4958 rm -f conftest.err conftest.
$ac_objext \
4959 conftest
$ac_exeext conftest.
$ac_ext
4961 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
4962 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
4964 if test "$gt_cv_func_gettext_libc" != "yes"; then
4965 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4966 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4967 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4968 echo $ECHO_N "(cached) $ECHO_C" >&6
4970 ac_check_lib_save_LIBS
=$LIBS
4972 cat >conftest.
$ac_ext <<_ACEOF
4975 cat confdefs.h
>>conftest.
$ac_ext
4976 cat >>conftest.
$ac_ext <<_ACEOF
4977 /* end confdefs.h. */
4979 /* Override any gcc2 internal prototype to avoid an error. */
4983 /* We use char because int might match the return type of a gcc2
4984 builtin and then its argument prototype would still apply. */
4985 char bindtextdomain ();
4994 rm -f conftest.
$ac_objext conftest
$ac_exeext
4995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4996 (eval $ac_link) 2>conftest.er1
4998 grep -v '^ *+' conftest.er1
>conftest.err
5000 cat conftest.err
>&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } &&
5003 { ac_try
='test -z "$ac_c_werror_flag"
5004 || test ! -s conftest.err'
5005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); }; } &&
5010 { ac_try
='test -s conftest$ac_exeext'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5016 ac_cv_lib_intl_bindtextdomain
=yes
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5021 ac_cv_lib_intl_bindtextdomain
=no
5023 rm -f conftest.err conftest.
$ac_objext \
5024 conftest
$ac_exeext conftest.
$ac_ext
5025 LIBS
=$ac_check_lib_save_LIBS
5027 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5028 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5029 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5030 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5031 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5032 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 cat >conftest.
$ac_ext <<_ACEOF
5038 cat confdefs.h
>>conftest.
$ac_ext
5039 cat >>conftest.
$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5045 return (int) gettext ("")
5050 rm -f conftest.
$ac_objext conftest
$ac_exeext
5051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5052 (eval $ac_link) 2>conftest.er1
5054 grep -v '^ *+' conftest.er1
>conftest.err
5056 cat conftest.err
>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } &&
5059 { ac_try
='test -z "$ac_c_werror_flag"
5060 || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; } &&
5066 { ac_try
='test -s conftest$ac_exeext'
5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; }; then
5072 gt_cv_func_gettext_libintl
=yes
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.
$ac_ext >&5
5077 gt_cv_func_gettext_libintl
=no
5079 rm -f conftest.err conftest.
$ac_objext \
5080 conftest
$ac_exeext conftest.
$ac_ext
5082 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5083 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5088 if test "$gt_cv_func_gettext_libc" = "yes" \
5089 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5090 cat >>confdefs.h
<<\_ACEOF
5091 #define HAVE_GETTEXT 1
5094 # Extract the first word of "msgfmt", so it can be a program name with args.
5095 set dummy msgfmt
; ac_word
=$2
5096 echo "$as_me:$LINENO: checking for $ac_word" >&5
5097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5098 if test "${ac_cv_path_MSGFMT+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5106 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5107 for ac_dir
in $PATH; do
5108 test -z "$ac_dir" && ac_dir
=.
5109 if test -f $ac_dir/$ac_word; then
5110 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5111 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5117 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5121 MSGFMT
="$ac_cv_path_MSGFMT"
5122 if test -n "$MSGFMT"; then
5123 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5124 echo "${ECHO_T}$MSGFMT" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5129 if test "$MSGFMT" != "no"; then
5131 for ac_func
in dcgettext
5133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5134 echo "$as_me:$LINENO: checking for $ac_func" >&5
5135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5136 if eval "test \"\${$as_ac_var+set}\" = set"; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 cat >conftest.
$ac_ext <<_ACEOF
5142 cat confdefs.h
>>conftest.
$ac_ext
5143 cat >>conftest.
$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5147 #define $ac_func innocuous_$ac_func
5149 /* System header to define __stub macros and hopefully few prototypes,
5150 which can conflict with char $ac_func (); below.
5151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5152 <limits.h> exists even on freestanding compilers. */
5155 # include <limits.h>
5157 # include <assert.h>
5162 /* Override any gcc2 internal prototype to avoid an error. */
5167 /* We use char because int might match the return type of a gcc2
5168 builtin and then its argument prototype would still apply. */
5170 /* The GNU C library defines this for functions which it implements
5171 to always fail with ENOSYS. Some functions are actually named
5172 something starting with __ and the normal name is an alias. */
5173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5176 char (*f) () = $ac_func;
5185 return f != $ac_func;
5190 rm -f conftest.
$ac_objext conftest
$ac_exeext
5191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5192 (eval $ac_link) 2>conftest.er1
5194 grep -v '^ *+' conftest.er1
>conftest.err
5196 cat conftest.err
>&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); } &&
5199 { ac_try
='test -z "$ac_c_werror_flag"
5200 || test ! -s conftest.err'
5201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); }; } &&
5206 { ac_try
='test -s conftest$ac_exeext'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; }; then
5212 eval "$as_ac_var=yes"
5214 echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.
$ac_ext >&5
5217 eval "$as_ac_var=no"
5219 rm -f conftest.err conftest.
$ac_objext \
5220 conftest
$ac_exeext conftest.
$ac_ext
5222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5224 if test `eval echo '${'$as_ac_var'}'` = yes; then
5225 cat >>confdefs.h
<<_ACEOF
5226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5232 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5233 set dummy gmsgfmt
; ac_word
=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5262 GMSGFMT
=$ac_cv_path_GMSGFMT
5264 if test -n "$GMSGFMT"; then
5265 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5266 echo "${ECHO_T}$GMSGFMT" >&6
5268 echo "$as_me:$LINENO: result: no" >&5
5269 echo "${ECHO_T}no" >&6
5272 # Extract the first word of "xgettext", so it can be a program name with args.
5273 set dummy xgettext
; ac_word
=$2
5274 echo "$as_me:$LINENO: checking for $ac_word" >&5
5275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5276 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5284 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5285 for ac_dir
in $PATH; do
5286 test -z "$ac_dir" && ac_dir
=.
5287 if test -f $ac_dir/$ac_word; then
5288 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5289 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5295 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5299 XGETTEXT
="$ac_cv_path_XGETTEXT"
5300 if test -n "$XGETTEXT"; then
5301 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5302 echo "${ECHO_T}$XGETTEXT" >&6
5304 echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6
5308 cat >conftest.
$ac_ext <<_ACEOF
5311 cat confdefs.h
>>conftest.
$ac_ext
5312 cat >>conftest.
$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5318 extern int _nl_msg_cat_cntr;
5319 return _nl_msg_cat_cntr
5324 rm -f conftest.
$ac_objext conftest
$ac_exeext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5326 (eval $ac_link) 2>conftest.er1
5328 grep -v '^ *+' conftest.er1
>conftest.err
5330 cat conftest.err
>&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } &&
5333 { ac_try
='test -z "$ac_c_werror_flag"
5334 || test ! -s conftest.err'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; } &&
5340 { ac_try
='test -s conftest$ac_exeext'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; }; then
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.
$ac_ext >&5
5355 rm -f conftest.err conftest.
$ac_objext \
5356 conftest
$ac_exeext conftest.
$ac_ext
5366 if test "$CATOBJEXT" = "NONE"; then
5367 nls_cv_use_gnu_gettext
=yes
5371 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5372 INTLOBJS
="\$(GETTOBJS)"
5373 # Extract the first word of "msgfmt", so it can be a program name with args.
5374 set dummy msgfmt
; ac_word
=$2
5375 echo "$as_me:$LINENO: checking for $ac_word" >&5
5376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5377 if test "${ac_cv_path_MSGFMT+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5385 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5386 for ac_dir
in $PATH; do
5387 test -z "$ac_dir" && ac_dir
=.
5388 if test -f $ac_dir/$ac_word; then
5389 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5390 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5396 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5400 MSGFMT
="$ac_cv_path_MSGFMT"
5401 if test -n "$MSGFMT"; then
5402 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5403 echo "${ECHO_T}$MSGFMT" >&6
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5409 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5410 set dummy gmsgfmt
; ac_word
=$2
5411 echo "$as_me:$LINENO: checking for $ac_word" >&5
5412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5413 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir
=.
5426 for ac_exec_ext
in '' $ac_executable_extensions; do
5427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5439 GMSGFMT
=$ac_cv_path_GMSGFMT
5441 if test -n "$GMSGFMT"; then
5442 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5443 echo "${ECHO_T}$GMSGFMT" >&6
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5449 # Extract the first word of "xgettext", so it can be a program name with args.
5450 set dummy xgettext
; ac_word
=$2
5451 echo "$as_me:$LINENO: checking for $ac_word" >&5
5452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5453 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5461 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5462 for ac_dir
in $PATH; do
5463 test -z "$ac_dir" && ac_dir
=.
5464 if test -f $ac_dir/$ac_word; then
5465 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5466 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5472 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5476 XGETTEXT
="$ac_cv_path_XGETTEXT"
5477 if test -n "$XGETTEXT"; then
5478 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5479 echo "${ECHO_T}$XGETTEXT" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5486 USE_INCLUDED_LIBINTL
=yes
5490 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5492 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5493 nls_cv_header_intl
=libintl.h
5494 nls_cv_header_libgt
=libgettext.h
5497 if test "$XGETTEXT" != ":"; then
5498 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5501 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5502 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5507 # We need to process the po/ directory.
5511 nls_cv_header_intl
=libintl.h
5512 nls_cv_header_libgt
=libgettext.h
5515 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5516 # because some of the sources are only built for this goal.
5517 if test "$PACKAGE" = gettext; then
5519 USE_INCLUDED_LIBINTL
=yes
5522 for lang
in $ALL_LINGUAS; do
5523 GMOFILES
="$GMOFILES $lang.gmo"
5524 POFILES
="$POFILES $lang.po"
5540 if test "x$CATOBJEXT" != "x"; then
5541 if test "x$ALL_LINGUAS" = "x"; then
5544 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5545 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5547 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5548 case "$ALL_LINGUAS" in
5549 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5552 LINGUAS
=$NEW_LINGUAS
5553 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5554 echo "${ECHO_T}$LINGUAS" >&6
5557 if test -n "$LINGUAS"; then
5558 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5562 if test $ac_cv_header_locale_h = yes; then
5563 INCLUDE_LOCALE_H
="#include <locale.h>"
5566 /* The system does not provide the header <locale.h>. Take care yourself. */"
5570 if test -f $srcdir/po2tbl.
sed.
in; then
5571 if test "$CATOBJEXT" = ".cat"; then
5572 if test "${ac_cv_header_linux_version_h+set}" = set; then
5573 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5574 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5575 if test "${ac_cv_header_linux_version_h+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5579 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5581 # Is the header compilable?
5582 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5583 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5584 cat >conftest.
$ac_ext <<_ACEOF
5587 cat confdefs.h
>>conftest.
$ac_ext
5588 cat >>conftest.
$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5590 $ac_includes_default
5591 #include <linux/version.h>
5593 rm -f conftest.
$ac_objext
5594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5595 (eval $ac_compile) 2>conftest.er1
5597 grep -v '^ *+' conftest.er1
>conftest.err
5599 cat conftest.err
>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); } &&
5602 { ac_try
='test -z "$ac_c_werror_flag"
5603 || test ! -s conftest.err'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; } &&
5609 { ac_try
='test -s conftest.$ac_objext'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; }; then
5615 ac_header_compiler
=yes
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.
$ac_ext >&5
5620 ac_header_compiler
=no
5622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5624 echo "${ECHO_T}$ac_header_compiler" >&6
5626 # Is the header present?
5627 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5628 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5629 cat >conftest.
$ac_ext <<_ACEOF
5632 cat confdefs.h
>>conftest.
$ac_ext
5633 cat >>conftest.
$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5635 #include <linux/version.h>
5637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5640 grep -v '^ *+' conftest.er1
>conftest.err
5642 cat conftest.err
>&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } >/dev
/null
; then
5645 if test -s conftest.err
; then
5646 ac_cpp_err
=$ac_c_preproc_warn_flag
5647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5654 if test -z "$ac_cpp_err"; then
5655 ac_header_preproc
=yes
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.
$ac_ext >&5
5660 ac_header_preproc
=no
5662 rm -f conftest.err conftest.
$ac_ext
5663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5664 echo "${ECHO_T}$ac_header_preproc" >&6
5666 # So? What about this header?
5667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5669 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5670 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5671 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5672 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5673 ac_header_preproc
=yes
5676 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5677 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5678 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5679 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5680 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5681 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5682 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5683 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5684 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5685 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5686 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5687 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5690 ## ------------------------------------------ ##
5691 ## Report this to the AC_PACKAGE_NAME lists. ##
5692 ## ------------------------------------------ ##
5695 sed "s/^/$as_me: WARNING: /" >&2
5698 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5699 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5700 if test "${ac_cv_header_linux_version_h+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 ac_cv_header_linux_version_h
=$ac_header_preproc
5705 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5706 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5709 if test $ac_cv_header_linux_version_h = yes; then
5717 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5719 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5720 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5723 if test "$PACKAGE" = "gettext"; then
5733 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5739 if test -d $srcdir/po
; then
5740 test -d po || mkdir po
5741 if test "x$srcdir" != "x."; then
5742 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5743 posrcprefix
="$srcdir/"
5745 posrcprefix
="../$srcdir/"
5751 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5752 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5756 # Check for common headers.
5757 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5758 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5764 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
5766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5768 echo "$as_me:$LINENO: checking for $ac_header" >&5
5769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5776 # Is the header compilable?
5777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5779 cat >conftest.
$ac_ext <<_ACEOF
5782 cat confdefs.h
>>conftest.
$ac_ext
5783 cat >>conftest.
$ac_ext <<_ACEOF
5784 /* end confdefs.h. */
5785 $ac_includes_default
5786 #include <$ac_header>
5788 rm -f conftest.
$ac_objext
5789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5790 (eval $ac_compile) 2>conftest.er1
5792 grep -v '^ *+' conftest.er1
>conftest.err
5794 cat conftest.err
>&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } &&
5797 { ac_try
='test -z "$ac_c_werror_flag"
5798 || test ! -s conftest.err'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; } &&
5804 { ac_try
='test -s conftest.$ac_objext'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; }; then
5810 ac_header_compiler
=yes
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.
$ac_ext >&5
5815 ac_header_compiler
=no
5817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5819 echo "${ECHO_T}$ac_header_compiler" >&6
5821 # Is the header present?
5822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5824 cat >conftest.
$ac_ext <<_ACEOF
5827 cat confdefs.h
>>conftest.
$ac_ext
5828 cat >>conftest.
$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5830 #include <$ac_header>
5832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5833 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5835 grep -v '^ *+' conftest.er1
>conftest.err
5837 cat conftest.err
>&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } >/dev
/null
; then
5840 if test -s conftest.err
; then
5841 ac_cpp_err
=$ac_c_preproc_warn_flag
5842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5849 if test -z "$ac_cpp_err"; then
5850 ac_header_preproc
=yes
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.
$ac_ext >&5
5855 ac_header_preproc
=no
5857 rm -f conftest.err conftest.
$ac_ext
5858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5859 echo "${ECHO_T}$ac_header_preproc" >&6
5861 # So? What about this header?
5862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5868 ac_header_preproc
=yes
5871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5885 ## ------------------------------------------ ##
5886 ## Report this to the AC_PACKAGE_NAME lists. ##
5887 ## ------------------------------------------ ##
5890 sed "s/^/$as_me: WARNING: /" >&2
5893 echo "$as_me:$LINENO: checking for $ac_header" >&5
5894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 eval "$as_ac_Header=\$ac_header_preproc"
5900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5905 cat >>confdefs.h
<<_ACEOF
5906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5915 for ac_header
in sys
/time.h sys
/resource.h
5917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5919 echo "$as_me:$LINENO: checking for $ac_header" >&5
5920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5927 # Is the header compilable?
5928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5930 cat >conftest.
$ac_ext <<_ACEOF
5933 cat confdefs.h
>>conftest.
$ac_ext
5934 cat >>conftest.
$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5936 $ac_includes_default
5937 #include <$ac_header>
5939 rm -f conftest.
$ac_objext
5940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5941 (eval $ac_compile) 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } &&
5948 { ac_try
='test -z "$ac_c_werror_flag"
5949 || test ! -s conftest.err'
5950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); }; } &&
5955 { ac_try
='test -s conftest.$ac_objext'
5956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); }; }; then
5961 ac_header_compiler
=yes
5963 echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.
$ac_ext >&5
5966 ac_header_compiler
=no
5968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5970 echo "${ECHO_T}$ac_header_compiler" >&6
5972 # Is the header present?
5973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5975 cat >conftest.
$ac_ext <<_ACEOF
5978 cat confdefs.h
>>conftest.
$ac_ext
5979 cat >>conftest.
$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 #include <$ac_header>
5983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5986 grep -v '^ *+' conftest.er1
>conftest.err
5988 cat conftest.err
>&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } >/dev
/null
; then
5991 if test -s conftest.err
; then
5992 ac_cpp_err
=$ac_c_preproc_warn_flag
5993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6000 if test -z "$ac_cpp_err"; then
6001 ac_header_preproc
=yes
6003 echo "$as_me: failed program was:" >&5
6004 sed 's/^/| /' conftest.
$ac_ext >&5
6006 ac_header_preproc
=no
6008 rm -f conftest.err conftest.
$ac_ext
6009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6010 echo "${ECHO_T}$ac_header_preproc" >&6
6012 # So? What about this header?
6013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6019 ac_header_preproc
=yes
6022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6036 ## ------------------------------------------ ##
6037 ## Report this to the AC_PACKAGE_NAME lists. ##
6038 ## ------------------------------------------ ##
6041 sed "s/^/$as_me: WARNING: /" >&2
6044 echo "$as_me:$LINENO: checking for $ac_header" >&5
6045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6049 eval "$as_ac_Header=\$ac_header_preproc"
6051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6056 cat >>confdefs.h
<<_ACEOF
6057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6066 for ac_header
in fcntl.h fpu_control.h
6068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo "$as_me:$LINENO: checking for $ac_header" >&5
6071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6078 # Is the header compilable?
6079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6081 cat >conftest.
$ac_ext <<_ACEOF
6084 cat confdefs.h
>>conftest.
$ac_ext
6085 cat >>conftest.
$ac_ext <<_ACEOF
6086 /* end confdefs.h. */
6087 $ac_includes_default
6088 #include <$ac_header>
6090 rm -f conftest.
$ac_objext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6092 (eval $ac_compile) 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } &&
6099 { ac_try
='test -z "$ac_c_werror_flag"
6100 || test ! -s conftest.err'
6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; } &&
6106 { ac_try
='test -s conftest.$ac_objext'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; }; then
6112 ac_header_compiler
=yes
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6117 ac_header_compiler
=no
6119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6121 echo "${ECHO_T}$ac_header_compiler" >&6
6123 # Is the header present?
6124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6126 cat >conftest.
$ac_ext <<_ACEOF
6129 cat confdefs.h
>>conftest.
$ac_ext
6130 cat >>conftest.
$ac_ext <<_ACEOF
6131 /* end confdefs.h. */
6132 #include <$ac_header>
6134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6137 grep -v '^ *+' conftest.er1
>conftest.err
6139 cat conftest.err
>&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 (exit $ac_status); } >/dev
/null
; then
6142 if test -s conftest.err
; then
6143 ac_cpp_err
=$ac_c_preproc_warn_flag
6144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6151 if test -z "$ac_cpp_err"; then
6152 ac_header_preproc
=yes
6154 echo "$as_me: failed program was:" >&5
6155 sed 's/^/| /' conftest.
$ac_ext >&5
6157 ac_header_preproc
=no
6159 rm -f conftest.err conftest.
$ac_ext
6160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6161 echo "${ECHO_T}$ac_header_preproc" >&6
6163 # So? What about this header?
6164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6170 ac_header_preproc
=yes
6173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6187 ## ------------------------------------------ ##
6188 ## Report this to the AC_PACKAGE_NAME lists. ##
6189 ## ------------------------------------------ ##
6192 sed "s/^/$as_me: WARNING: /" >&2
6195 echo "$as_me:$LINENO: checking for $ac_header" >&5
6196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 eval "$as_ac_Header=\$ac_header_preproc"
6202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6207 cat >>confdefs.h
<<_ACEOF
6208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6218 for ac_header
in dlfcn.h errno.h sys
/stat.h
6220 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6222 echo "$as_me:$LINENO: checking for $ac_header" >&5
6223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6225 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6230 # Is the header compilable?
6231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6233 cat >conftest.
$ac_ext <<_ACEOF
6236 cat confdefs.h
>>conftest.
$ac_ext
6237 cat >>conftest.
$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 $ac_includes_default
6240 #include <$ac_header>
6242 rm -f conftest.
$ac_objext
6243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6244 (eval $ac_compile) 2>conftest.er1
6246 grep -v '^ *+' conftest.er1
>conftest.err
6248 cat conftest.err
>&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } &&
6251 { ac_try
='test -z "$ac_c_werror_flag"
6252 || test ! -s conftest.err'
6253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; } &&
6258 { ac_try
='test -s conftest.$ac_objext'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; }; then
6264 ac_header_compiler
=yes
6266 echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.
$ac_ext >&5
6269 ac_header_compiler
=no
6271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6273 echo "${ECHO_T}$ac_header_compiler" >&6
6275 # Is the header present?
6276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6278 cat >conftest.
$ac_ext <<_ACEOF
6281 cat confdefs.h
>>conftest.
$ac_ext
6282 cat >>conftest.
$ac_ext <<_ACEOF
6283 /* end confdefs.h. */
6284 #include <$ac_header>
6286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6287 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } >/dev
/null
; then
6294 if test -s conftest.err
; then
6295 ac_cpp_err
=$ac_c_preproc_warn_flag
6296 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6303 if test -z "$ac_cpp_err"; then
6304 ac_header_preproc
=yes
6306 echo "$as_me: failed program was:" >&5
6307 sed 's/^/| /' conftest.
$ac_ext >&5
6309 ac_header_preproc
=no
6311 rm -f conftest.err conftest.
$ac_ext
6312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6313 echo "${ECHO_T}$ac_header_preproc" >&6
6315 # So? What about this header?
6316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6321 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6322 ac_header_preproc
=yes
6325 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6326 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6327 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6328 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6329 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6330 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6331 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6332 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6335 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6336 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6339 ## ------------------------------------------ ##
6340 ## Report this to the AC_PACKAGE_NAME lists. ##
6341 ## ------------------------------------------ ##
6344 sed "s/^/$as_me: WARNING: /" >&2
6347 echo "$as_me:$LINENO: checking for $ac_header" >&5
6348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6352 eval "$as_ac_Header=\$ac_header_preproc"
6354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6359 cat >>confdefs.h
<<_ACEOF
6360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6371 for ac_func
in getrusage
time sigaction __setfpucw
6373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6374 echo "$as_me:$LINENO: checking for $ac_func" >&5
6375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6376 if eval "test \"\${$as_ac_var+set}\" = set"; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 cat >conftest.
$ac_ext <<_ACEOF
6382 cat confdefs.h
>>conftest.
$ac_ext
6383 cat >>conftest.
$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6387 #define $ac_func innocuous_$ac_func
6389 /* System header to define __stub macros and hopefully few prototypes,
6390 which can conflict with char $ac_func (); below.
6391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6392 <limits.h> exists even on freestanding compilers. */
6395 # include <limits.h>
6397 # include <assert.h>
6402 /* Override any gcc2 internal prototype to avoid an error. */
6407 /* We use char because int might match the return type of a gcc2
6408 builtin and then its argument prototype would still apply. */
6410 /* The GNU C library defines this for functions which it implements
6411 to always fail with ENOSYS. Some functions are actually named
6412 something starting with __ and the normal name is an alias. */
6413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6416 char (*f) () = $ac_func;
6425 return f != $ac_func;
6430 rm -f conftest.
$ac_objext conftest
$ac_exeext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6432 (eval $ac_link) 2>conftest.er1
6434 grep -v '^ *+' conftest.er1
>conftest.err
6436 cat conftest.err
>&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } &&
6439 { ac_try
='test -z "$ac_c_werror_flag"
6440 || test ! -s conftest.err'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; } &&
6446 { ac_try
='test -s conftest$ac_exeext'
6447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }; }; then
6452 eval "$as_ac_var=yes"
6454 echo "$as_me: failed program was:" >&5
6455 sed 's/^/| /' conftest.
$ac_ext >&5
6457 eval "$as_ac_var=no"
6459 rm -f conftest.err conftest.
$ac_objext \
6460 conftest
$ac_exeext conftest.
$ac_ext
6462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6464 if test `eval echo '${'$as_ac_var'}'` = yes; then
6465 cat >>confdefs.h
<<_ACEOF
6466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6473 # Check for socket libraries
6475 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6476 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6477 if test "${ac_cv_lib_socket_bind+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 ac_check_lib_save_LIBS
=$LIBS
6481 LIBS
="-lsocket $LIBS"
6482 cat >conftest.
$ac_ext <<_ACEOF
6485 cat confdefs.h
>>conftest.
$ac_ext
6486 cat >>conftest.
$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6489 /* Override any gcc2 internal prototype to avoid an error. */
6493 /* We use char because int might match the return type of a gcc2
6494 builtin and then its argument prototype would still apply. */
6504 rm -f conftest.
$ac_objext conftest
$ac_exeext
6505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6506 (eval $ac_link) 2>conftest.er1
6508 grep -v '^ *+' conftest.er1
>conftest.err
6510 cat conftest.err
>&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } &&
6513 { ac_try
='test -z "$ac_c_werror_flag"
6514 || test ! -s conftest.err'
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; } &&
6520 { ac_try
='test -s conftest$ac_exeext'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; }; then
6526 ac_cv_lib_socket_bind
=yes
6528 echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.
$ac_ext >&5
6531 ac_cv_lib_socket_bind
=no
6533 rm -f conftest.err conftest.
$ac_objext \
6534 conftest
$ac_exeext conftest.
$ac_ext
6535 LIBS
=$ac_check_lib_save_LIBS
6537 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6538 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6539 if test $ac_cv_lib_socket_bind = yes; then
6540 cat >>confdefs.h
<<_ACEOF
6541 #define HAVE_LIBSOCKET 1
6544 LIBS
="-lsocket $LIBS"
6549 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6550 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6551 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6552 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 ac_check_lib_save_LIBS
=$LIBS
6556 cat >conftest.
$ac_ext <<_ACEOF
6559 cat confdefs.h
>>conftest.
$ac_ext
6560 cat >>conftest.
$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6563 /* Override any gcc2 internal prototype to avoid an error. */
6567 /* We use char because int might match the return type of a gcc2
6568 builtin and then its argument prototype would still apply. */
6569 char gethostbyname ();
6578 rm -f conftest.
$ac_objext conftest
$ac_exeext
6579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6580 (eval $ac_link) 2>conftest.er1
6582 grep -v '^ *+' conftest.er1
>conftest.err
6584 cat conftest.err
>&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } &&
6587 { ac_try
='test -z "$ac_c_werror_flag"
6588 || test ! -s conftest.err'
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }; } &&
6594 { ac_try
='test -s conftest$ac_exeext'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; }; then
6600 ac_cv_lib_nsl_gethostbyname
=yes
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.
$ac_ext >&5
6605 ac_cv_lib_nsl_gethostbyname
=no
6607 rm -f conftest.err conftest.
$ac_objext \
6608 conftest
$ac_exeext conftest.
$ac_ext
6609 LIBS
=$ac_check_lib_save_LIBS
6611 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6612 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6613 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6614 cat >>confdefs.h
<<_ACEOF
6615 #define HAVE_LIBNSL 1
6623 .
${srcdir}/..
/..
/bfd
/configure.
host
6627 USE_MAINTAINER_MODE
=no
6628 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6629 if test "${enable_maintainer_mode+set}" = set; then
6630 enableval
="$enable_maintainer_mode"
6631 case "${enableval}" in
6632 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
6634 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6635 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6636 { (exit 1); exit 1; }; }; MAINT
="#" ;;
6638 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
6639 echo "Setting maintainer mode" 6>&1
6646 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6647 if test "${enable_sim_bswap+set}" = set; then
6648 enableval
="$enable_sim_bswap"
6649 case "${enableval}" in
6650 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6651 no
) sim_bswap
="-DWITH_BSWAP=0";;
6652 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6653 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6654 { (exit 1); exit 1; }; }; sim_bswap
="";;
6656 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
6657 echo "Setting bswap flags = $sim_bswap" 6>&1
6664 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6665 if test "${enable_sim_cflags+set}" = set; then
6666 enableval
="$enable_sim_cflags"
6667 case "${enableval}" in
6668 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
6669 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6670 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6671 { (exit 1); exit 1; }; }; sim_cflags
="";;
6673 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6675 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
6676 echo "Setting sim cflags = $sim_cflags" 6>&1
6683 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6684 if test "${enable_sim_debug+set}" = set; then
6685 enableval
="$enable_sim_debug"
6686 case "${enableval}" in
6687 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
6688 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
6689 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6691 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
6692 echo "Setting sim debug = $sim_debug" 6>&1
6699 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6700 if test "${enable_sim_stdio+set}" = set; then
6701 enableval
="$enable_sim_stdio"
6702 case "${enableval}" in
6703 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6704 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6705 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6706 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6707 { (exit 1); exit 1; }; }; sim_stdio
="";;
6709 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6710 echo "Setting stdio flags = $sim_stdio" 6>&1
6717 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6718 if test "${enable_sim_trace+set}" = set; then
6719 enableval
="$enable_sim_trace"
6720 case "${enableval}" in
6721 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
6722 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
6724 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6727 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6728 if test x
"$sim_trace" = x
; then
6729 sim_trace
="-DWITH_TRACE='(TRACE_$x"
6731 sim_trace
="${sim_trace}|TRACE_$x"
6734 sim_trace
="$sim_trace)'" ;;
6736 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6737 echo "Setting sim trace = $sim_trace" 6>&1
6744 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6745 if test "${enable_sim_profile+set}" = set; then
6746 enableval
="$enable_sim_profile"
6747 case "${enableval}" in
6748 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
6749 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
6751 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6754 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6755 if test x
"$sim_profile" = x
; then
6756 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
6758 sim_profile
="${sim_profile}|PROFILE_$x"
6761 sim_profile
="$sim_profile)'" ;;
6763 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
6764 echo "Setting sim profile = $sim_profile" 6>&1
6767 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
6771 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6772 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6773 if test "${ac_cv_type_signal+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 cat >conftest.
$ac_ext <<_ACEOF
6779 cat confdefs.h
>>conftest.
$ac_ext
6780 cat >>conftest.
$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6782 #include <sys/types.h>
6788 extern "C" void (*signal (int, void (*)(int)))(int);
6790 void (*signal ()) ();
6801 rm -f conftest.
$ac_objext
6802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6803 (eval $ac_compile) 2>conftest.er1
6805 grep -v '^ *+' conftest.er1
>conftest.err
6807 cat conftest.err
>&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); } &&
6810 { ac_try
='test -z "$ac_c_werror_flag"
6811 || test ! -s conftest.err'
6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; } &&
6817 { ac_try
='test -s conftest.$ac_objext'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); }; }; then
6823 ac_cv_type_signal
=void
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.
$ac_ext >&5
6828 ac_cv_type_signal
=int
6830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6832 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6833 echo "${ECHO_T}$ac_cv_type_signal" >&6
6835 cat >>confdefs.h
<<_ACEOF
6836 #define RETSIGTYPE $ac_cv_type_signal
6846 sim_link_links
=tconfig.h
6847 if test -f ${srcdir}/tconfig.
in
6849 sim_link_files
=tconfig.
in
6851 sim_link_files
=..
/common
/tconfig.
in
6854 # targ-vals.def points to the libc macro description file.
6856 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
6858 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
6859 sim_link_links
="${sim_link_links} targ-vals.def"
6864 # NOTE: Don't add -Wall or -Wunused, they both include
6865 # -Wunused-parameter which reports bogus warnings.
6866 # NOTE: If you add to this list, remember to update
6867 # gdb/doc/gdbint.texinfo.
6868 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
6869 -Wformat -Wparentheses -Wpointer-arith -Wuninitialized"
6870 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
6871 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
6872 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
6873 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
6874 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
6875 # -Woverloaded-virtual -Winline -Werror"
6876 # Check whether --enable-build-warnings or --disable-build-warnings was given.
6877 if test "${enable_build_warnings+set}" = set; then
6878 enableval
="$enable_build_warnings"
6879 case "${enableval}" in
6881 no
) build_warnings
="-w";;
6882 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6883 build_warnings
="${build_warnings} ${t}";;
6884 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6885 build_warnings
="${t} ${build_warnings}";;
6886 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6888 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
6889 echo "Setting compiler warning flags = $build_warnings" 6>&1
6891 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
6892 if test "${enable_sim_build_warnings+set}" = set; then
6893 enableval
="$enable_sim_build_warnings"
6894 case "${enableval}" in
6896 no
) build_warnings
="-w";;
6897 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6898 build_warnings
="${build_warnings} ${t}";;
6899 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6900 build_warnings
="${t} ${build_warnings}";;
6901 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6903 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
6904 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
6908 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
6910 echo "$as_me:$LINENO: checking compiler warning flags" >&5
6911 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
6912 # Separate out the -Werror flag as some files just cannot be
6913 # compiled with it enabled.
6914 for w
in ${build_warnings}; do
6916 -Werr*) WERROR_CFLAGS
=-Werror ;;
6917 *) # Check that GCC accepts it
6918 saved_CFLAGS
="$CFLAGS"
6920 cat >conftest.
$ac_ext <<_ACEOF
6923 cat confdefs.h
>>conftest.
$ac_ext
6924 cat >>conftest.
$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6935 rm -f conftest.
$ac_objext
6936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6937 (eval $ac_compile) 2>conftest.er1
6939 grep -v '^ *+' conftest.er1
>conftest.err
6941 cat conftest.err
>&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } &&
6944 { ac_try
='test -z "$ac_c_werror_flag"
6945 || test ! -s conftest.err'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; } &&
6951 { ac_try
='test -s conftest.$ac_objext'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; }; then
6957 WARN_CFLAGS
="${WARN_CFLAGS} $w"
6959 echo "$as_me: failed program was:" >&5
6960 sed 's/^/| /' conftest.
$ac_ext >&5
6963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6964 CFLAGS
="$saved_CFLAGS"
6967 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
6968 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
6973 for ac_header
in unistd.h
6975 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6977 echo "$as_me:$LINENO: checking for $ac_header" >&5
6978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6980 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6985 # Is the header compilable?
6986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6988 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
6994 $ac_includes_default
6995 #include <$ac_header>
6997 rm -f conftest.
$ac_objext
6998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6999 (eval $ac_compile) 2>conftest.er1
7001 grep -v '^ *+' conftest.er1
>conftest.err
7003 cat conftest.err
>&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } &&
7006 { ac_try
='test -z "$ac_c_werror_flag"
7007 || test ! -s conftest.err'
7008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); }; } &&
7013 { ac_try
='test -s conftest.$ac_objext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7019 ac_header_compiler
=yes
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7024 ac_header_compiler
=no
7026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7028 echo "${ECHO_T}$ac_header_compiler" >&6
7030 # Is the header present?
7031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7033 cat >conftest.
$ac_ext <<_ACEOF
7036 cat confdefs.h
>>conftest.
$ac_ext
7037 cat >>conftest.
$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 #include <$ac_header>
7041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7044 grep -v '^ *+' conftest.er1
>conftest.err
7046 cat conftest.err
>&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } >/dev
/null
; then
7049 if test -s conftest.err
; then
7050 ac_cpp_err
=$ac_c_preproc_warn_flag
7051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7058 if test -z "$ac_cpp_err"; then
7059 ac_header_preproc
=yes
7061 echo "$as_me: failed program was:" >&5
7062 sed 's/^/| /' conftest.
$ac_ext >&5
7064 ac_header_preproc
=no
7066 rm -f conftest.err conftest.
$ac_ext
7067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7068 echo "${ECHO_T}$ac_header_preproc" >&6
7070 # So? What about this header?
7071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7077 ac_header_preproc
=yes
7080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7094 ## ------------------------------------------ ##
7095 ## Report this to the AC_PACKAGE_NAME lists. ##
7096 ## ------------------------------------------ ##
7099 sed "s/^/$as_me: WARNING: /" >&2
7102 echo "$as_me:$LINENO: checking for $ac_header" >&5
7103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 eval "$as_ac_Header=\$ac_header_preproc"
7109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7114 cat >>confdefs.h
<<_ACEOF
7115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7125 ac_sources
="$sim_link_files"
7126 ac_dests
="$sim_link_links"
7127 while test -n "$ac_sources"; do
7128 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
7129 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
7130 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
7132 ac_config_links
="$ac_config_links $ac_config_links_1"
7135 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
7136 cgen_breaks
="break cgen_rtx_error";
7139 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
7141 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
7143 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
7145 ac_config_commands
="$ac_config_commands Makefile"
7147 ac_config_commands
="$ac_config_commands stamp-h"
7149 cat >confcache
<<\_ACEOF
7150 # This file is a shell script that caches the results of configure
7151 # tests run on this system so they can be shared between configure
7152 # scripts and configure runs, see configure's option --config-cache.
7153 # It is not useful on other systems. If it contains results you don't
7154 # want to keep, you may remove or edit it.
7156 # config.status only pays attention to the cache file if you give it
7157 # the --recheck option to rerun configure.
7159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7165 # The following way of writing the cache mishandles newlines in values,
7166 # but we know of no workaround that is simple, portable, and efficient.
7167 # So, don't put newlines in cache variables' values.
7168 # Ultrix sh set writes to stderr and can't be redirected directly,
7169 # and sets the high bit in the cache file unless we assign to the vars.
7172 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7174 # `set' does not quote correctly, so add quotes (double-quote
7175 # substitution turns \\\\ into \\, and sed turns \\ into \).
7178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7181 # `set' quotes correctly as required by POSIX, so do not add quotes.
7183 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7192 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7194 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7195 if test -w $cache_file; then
7196 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7197 cat confcache
>$cache_file
7199 echo "not updating unwritable cache $cache_file"
7204 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7205 # Let make expand exec_prefix.
7206 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7208 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7209 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7210 # trailing colons and then remove the whole line if VPATH becomes empty
7211 # (actually we leave an empty line to preserve line numbers).
7212 if test "x$srcdir" = x.
; then
7213 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7214 s/:*\$(srcdir):*/:/;
7215 s/:*\${srcdir}:*/:/;
7217 s/^\([^=]*=[ ]*\):*/\1/;
7223 DEFS
=-DHAVE_CONFIG_H
7227 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7228 # 1. Remove the extension, and $U if already installed.
7229 ac_i
=`echo "$ac_i" |
7230 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7232 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7233 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7237 LTLIBOBJS
=$ac_ltlibobjs
7241 : ${CONFIG_STATUS=./config.status}
7242 ac_clean_files_save
=$ac_clean_files
7243 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7244 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7245 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7246 cat >$CONFIG_STATUS <<_ACEOF
7248 # Generated by $as_me.
7249 # Run this file to recreate the current configuration.
7250 # Compiler output produced by configure, useful for debugging
7251 # configure, is in config.log if it exists.
7256 SHELL=\${CONFIG_SHELL-$SHELL}
7259 cat >>$CONFIG_STATUS <<\_ACEOF
7260 ## --------------------- ##
7261 ## M4sh Initialization. ##
7262 ## --------------------- ##
7264 # Be Bourne compatible
7265 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7268 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7269 # is contrary to our usage. Disable this feature.
7270 alias -g '${1+"$@"}'='"$@"'
7271 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7274 DUALCASE
=1; export DUALCASE
# for MKS sh
7276 # Support unset when possible.
7277 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7284 # Work around bugs in pre-3.0 UWIN ksh.
7285 $as_unset ENV MAIL MAILPATH
7292 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7293 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7294 LC_TELEPHONE LC_TIME
7296 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7297 eval $as_var=C
; export $as_var
7303 # Required to use basename.
7304 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7310 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7311 as_basename
=basename
7317 # Name of the executable.
7318 as_me
=`$as_basename "$0" ||
7319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7320 X"$0" : 'X\(//\)$' \| \
7321 X"$0" : 'X\(/\)$' \| \
7322 . : '\(.\)' 2>/dev/null ||
7324 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7325 /^X\/\(\/\/\)$/{ s//\1/; q; }
7326 /^X\/\(\/\).*/{ s//\1/; q; }
7330 # PATH needs CR, and LINENO needs CR and PATH.
7331 # Avoid depending upon Character Ranges.
7332 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7333 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7334 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7335 as_cr_digits
='0123456789'
7336 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7338 # The user is always right.
7339 if test "${PATH_SEPARATOR+set}" != set; then
7340 echo "#! /bin/sh" >conf$$.sh
7341 echo "exit 0" >>conf$$.sh
7343 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7354 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7355 test "x$as_lineno_1" != "x$as_lineno_2" &&
7356 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7357 # Find who we are. Look in the path if we contain no path at all
7360 *[\\/]* ) as_myself
=$0 ;;
7361 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir
=.
7366 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7371 # We did not find ourselves, most probably we were run as `sh COMMAND'
7372 # in which case we are not to be found in the path.
7373 if test "x$as_myself" = x
; then
7376 if test ! -f "$as_myself"; then
7377 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7378 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7379 { (exit 1); exit 1; }; }
7381 case $CONFIG_SHELL in
7383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7384 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7387 test -z "$as_dir" && as_dir
=.
7388 for as_base
in sh bash ksh sh5
; do
7391 if ("$as_dir/$as_base" -c '
7394 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7395 test "x$as_lineno_1" != "x$as_lineno_2" &&
7396 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7397 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7398 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7399 CONFIG_SHELL
=$as_dir/$as_base
7401 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7409 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7410 # uniformly replaced by the line number. The first 'sed' inserts a
7411 # line-number line before each line; the second 'sed' does the real
7412 # work. The second script uses 'N' to pair each line-number line
7413 # with the numbered line, and appends trailing '-' during
7414 # substitution so that $LINENO is not a special case at line end.
7415 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7416 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7417 sed '=' <$as_myself |
7422 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7425 s,^['$as_cr_digits']*\n,,
7427 chmod +x
$as_me.lineno ||
7428 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7429 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7430 { (exit 1); exit 1; }; }
7432 # Don't try to exec as it changes $[0], causing all sort of problems
7433 # (the dirname of $[0] is not the place where we might find the
7434 # original and so on. Autoconf is especially sensible to this).
7436 # Exit status is that of the last command.
7441 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7442 *c
*,-n*) ECHO_N
= ECHO_C
='
7444 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7445 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7448 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7454 rm -f conf$$ conf$$.exe conf$$.
file
7456 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7457 # We could just check for DJGPP; but this test a) works b) is more generic
7458 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7459 if test -f conf$$.exe
; then
7460 # Don't use ln at all; we don't have any links
7465 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7470 rm -f conf$$ conf$$.exe conf$$.
file
7472 if mkdir
-p .
2>/dev
/null
; then
7475 test -d .
/-p && rmdir .
/-p
7479 as_executable_p
="test -f"
7481 # Sed expression to map a string onto a valid CPP name.
7482 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7484 # Sed expression to map a string onto a valid variable name.
7485 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7489 # We need space, tab and new line, in precisely that order.
7499 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7500 # report actual input values of CONFIG_FILES etc. instead of their
7501 # values after options handling. Logging --version etc. is OK.
7505 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7506 ## Running $as_me. ##
7511 This file was extended by $as_me, which was
7512 generated by GNU Autoconf 2.59. Invocation command line was
7514 CONFIG_FILES = $CONFIG_FILES
7515 CONFIG_HEADERS = $CONFIG_HEADERS
7516 CONFIG_LINKS = $CONFIG_LINKS
7517 CONFIG_COMMANDS = $CONFIG_COMMANDS
7521 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7525 # Files that config.status was made for.
7526 if test -n "$ac_config_files"; then
7527 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7530 if test -n "$ac_config_headers"; then
7531 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7534 if test -n "$ac_config_links"; then
7535 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7538 if test -n "$ac_config_commands"; then
7539 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7542 cat >>$CONFIG_STATUS <<\_ACEOF
7545 \`$as_me' instantiates files from templates according to the
7546 current configuration.
7548 Usage: $0 [OPTIONS] [FILE]...
7550 -h, --help print this help, then exit
7551 -V, --version print version number, then exit
7552 -q, --quiet do not print progress messages
7553 -d, --debug don't remove temporary files
7554 --recheck update $as_me by reconfiguring in the same conditions
7555 --file=FILE[:TEMPLATE]
7556 instantiate the configuration file FILE
7557 --header=FILE[:TEMPLATE]
7558 instantiate the configuration header FILE
7560 Configuration files:
7563 Configuration headers:
7566 Configuration links:
7569 Configuration commands:
7572 Report bugs to <bug-autoconf@gnu.org>."
7575 cat >>$CONFIG_STATUS <<_ACEOF
7578 configured by $0, generated by GNU Autoconf 2.59,
7579 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7581 Copyright (C) 2003 Free Software Foundation, Inc.
7582 This config.status script is free software; the Free Software Foundation
7583 gives unlimited permission to copy, distribute and modify it."
7588 cat >>$CONFIG_STATUS <<\_ACEOF
7589 # If no file are specified by the user, then we need to provide default
7590 # value. By we need to know if files were specified by the user.
7596 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7597 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7605 *) # This is not an option, so the user has probably given explicit
7608 ac_need_defaults
=false
;;
7612 # Handling of the options.
7614 cat >>$CONFIG_STATUS <<\_ACEOF
7615 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7617 --version |
--vers* |
-V )
7618 echo "$ac_cs_version"; exit 0 ;;
7620 # Conflict between --help and --header
7621 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7622 Try \`$0 --help' for more information." >&5
7623 echo "$as_me: error: ambiguous option: $1
7624 Try \`$0 --help' for more information." >&2;}
7625 { (exit 1); exit 1; }; };;
7626 --help |
--hel |
-h )
7627 echo "$ac_cs_usage"; exit 0 ;;
7628 --debug |
--d* |
-d )
7630 --file |
--fil |
--fi |
--f )
7632 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7633 ac_need_defaults
=false
;;
7634 --header |
--heade |
--head |
--hea )
7636 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7637 ac_need_defaults
=false
;;
7638 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7639 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7643 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7644 Try \`$0 --help' for more information." >&5
7645 echo "$as_me: error: unrecognized option: $1
7646 Try \`$0 --help' for more information." >&2;}
7647 { (exit 1); exit 1; }; } ;;
7649 *) ac_config_targets
="$ac_config_targets $1" ;;
7655 ac_configure_extra_args
=
7657 if $ac_cs_silent; then
7659 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7663 cat >>$CONFIG_STATUS <<_ACEOF
7664 if \$ac_cs_recheck; then
7665 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7666 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7675 cat >>$CONFIG_STATUS <<\_ACEOF
7676 for ac_config_target
in $ac_config_targets
7678 case "$ac_config_target" in
7679 # Handling of arguments.
7680 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
7681 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
7682 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
7683 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
7684 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
7685 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
7686 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7687 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7688 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7689 { (exit 1); exit 1; }; };;
7693 # If the user did not use the arguments to specify the items to instantiate,
7694 # then the envvar interface is used. Set only those that are not.
7695 # We use the long form for the default assignment because of an extremely
7696 # bizarre bug on SunOS 4.1.3.
7697 if $ac_need_defaults; then
7698 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7699 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7700 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7701 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7704 # Have a temporary directory for convenience. Make it in the build tree
7705 # simply because there is no reason to put it here, and in addition,
7706 # creating and moving files from /tmp can sometimes cause problems.
7707 # Create a temporary directory, and hook for its removal unless debugging.
7710 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7711 trap '{ (exit 1); exit 1; }' 1 2 13 15
7714 # Create a (secure) tmp directory for tmp files.
7717 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7718 test -n "$tmp" && test -d "$tmp"
7721 tmp
=.
/confstat$$
-$RANDOM
7722 (umask 077 && mkdir
$tmp)
7725 echo "$me: cannot create a temporary directory in ." >&2
7726 { (exit 1); exit 1; }
7731 cat >>$CONFIG_STATUS <<_ACEOF
7734 # CONFIG_FILES section.
7737 # No need to generate the scripts if there are no CONFIG_FILES.
7738 # This happens for instance when ./config.status config.h
7739 if test -n "\$CONFIG_FILES"; then
7740 # Protect against being on the right side of a sed subst in config.status.
7741 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7742 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7743 s,@sim_environment@,$sim_environment,;t t
7744 s,@sim_alignment@,$sim_alignment,;t t
7745 s,@sim_assert@,$sim_assert,;t t
7746 s,@sim_bitsize@,$sim_bitsize,;t t
7747 s,@sim_endian@,$sim_endian,;t t
7748 s,@sim_hostendian@,$sim_hostendian,;t t
7749 s,@sim_float@,$sim_float,;t t
7750 s,@sim_scache@,$sim_scache,;t t
7751 s,@sim_default_model@,$sim_default_model,;t t
7752 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
7753 s,@sim_hw_objs@,$sim_hw_objs,;t t
7754 s,@sim_hw@,$sim_hw,;t t
7755 s,@sim_inline@,$sim_inline,;t t
7756 s,@sim_packages@,$sim_packages,;t t
7757 s,@sim_regparm@,$sim_regparm,;t t
7758 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
7759 s,@sim_smp@,$sim_smp,;t t
7760 s,@sim_stdcall@,$sim_stdcall,;t t
7761 s,@sim_xor_endian@,$sim_xor_endian,;t t
7762 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7763 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
7764 s,@SHELL@,$SHELL,;t t
7765 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7766 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7767 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7768 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7769 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7770 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7771 s,@exec_prefix@,$exec_prefix,;t t
7772 s,@prefix@,$prefix,;t t
7773 s,@program_transform_name@,$program_transform_name,;t t
7774 s,@bindir@,$bindir,;t t
7775 s,@sbindir@,$sbindir,;t t
7776 s,@libexecdir@,$libexecdir,;t t
7777 s,@datadir@,$datadir,;t t
7778 s,@sysconfdir@,$sysconfdir,;t t
7779 s,@sharedstatedir@,$sharedstatedir,;t t
7780 s,@localstatedir@,$localstatedir,;t t
7781 s,@libdir@,$libdir,;t t
7782 s,@includedir@,$includedir,;t t
7783 s,@oldincludedir@,$oldincludedir,;t t
7784 s,@infodir@,$infodir,;t t
7785 s,@mandir@,$mandir,;t t
7786 s,@build_alias@,$build_alias,;t t
7787 s,@host_alias@,$host_alias,;t t
7788 s,@target_alias@,$target_alias,;t t
7790 s,@ECHO_C@,$ECHO_C,;t t
7791 s,@ECHO_N@,$ECHO_N,;t t
7792 s,@ECHO_T@,$ECHO_T,;t t
7794 s,@build@,$build,;t t
7795 s,@build_cpu@,$build_cpu,;t t
7796 s,@build_vendor@,$build_vendor,;t t
7797 s,@build_os@,$build_os,;t t
7799 s,@host_cpu@,$host_cpu,;t t
7800 s,@host_vendor@,$host_vendor,;t t
7801 s,@host_os@,$host_os,;t t
7802 s,@target@,$target,;t t
7803 s,@target_cpu@,$target_cpu,;t t
7804 s,@target_vendor@,$target_vendor,;t t
7805 s,@target_os@,$target_os,;t t
7807 s,@CFLAGS@,$CFLAGS,;t t
7808 s,@LDFLAGS@,$LDFLAGS,;t t
7809 s,@CPPFLAGS@,$CPPFLAGS,;t t
7810 s,@ac_ct_CC@,$ac_ct_CC,;t t
7811 s,@EXEEXT@,$EXEEXT,;t t
7812 s,@OBJEXT@,$OBJEXT,;t t
7813 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7814 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7815 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7816 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
7817 s,@HDEFINES@,$HDEFINES,;t t
7819 s,@RANLIB@,$RANLIB,;t t
7820 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7821 s,@SET_MAKE@,$SET_MAKE,;t t
7823 s,@EGREP@,$EGREP,;t t
7824 s,@ALLOCA@,$ALLOCA,;t t
7825 s,@USE_NLS@,$USE_NLS,;t t
7826 s,@MSGFMT@,$MSGFMT,;t t
7827 s,@GMSGFMT@,$GMSGFMT,;t t
7828 s,@XGETTEXT@,$XGETTEXT,;t t
7829 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7830 s,@CATALOGS@,$CATALOGS,;t t
7831 s,@CATOBJEXT@,$CATOBJEXT,;t t
7832 s,@DATADIRNAME@,$DATADIRNAME,;t t
7833 s,@GMOFILES@,$GMOFILES,;t t
7834 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7835 s,@INTLDEPS@,$INTLDEPS,;t t
7836 s,@INTLLIBS@,$INTLLIBS,;t t
7837 s,@INTLOBJS@,$INTLOBJS,;t t
7838 s,@POFILES@,$POFILES,;t t
7839 s,@POSUB@,$POSUB,;t t
7840 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
7841 s,@GT_NO@,$GT_NO,;t t
7842 s,@GT_YES@,$GT_YES,;t t
7843 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7845 s,@MAINT@,$MAINT,;t t
7846 s,@sim_bswap@,$sim_bswap,;t t
7847 s,@sim_cflags@,$sim_cflags,;t t
7848 s,@sim_debug@,$sim_debug,;t t
7849 s,@sim_stdio@,$sim_stdio,;t t
7850 s,@sim_trace@,$sim_trace,;t t
7851 s,@sim_profile@,$sim_profile,;t t
7852 s,@cgen_breaks@,$cgen_breaks,;t t
7853 s,@LIBOBJS@,$LIBOBJS,;t t
7854 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7859 cat >>$CONFIG_STATUS <<\_ACEOF
7860 # Split the substitutions into bite-sized pieces for seds with
7861 # small command number limits, like on Digital OSF/1 and HP-UX.
7863 ac_sed_frag
=1 # Number of current file.
7864 ac_beg
=1 # First line for current file.
7865 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7868 while $ac_more_lines; do
7869 if test $ac_beg -gt 1; then
7870 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7872 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7874 if test ! -s $tmp/subs.frag
; then
7877 # The purpose of the label and of the branching condition is to
7878 # speed up the sed processing (if there are no `@' at all, there
7879 # is no need to browse any of the substitutions).
7880 # These are the two extra sed commands mentioned above.
7882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7883 if test -z "$ac_sed_cmds"; then
7884 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7886 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7888 ac_sed_frag
=`expr $ac_sed_frag + 1`
7890 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7893 if test -z "$ac_sed_cmds"; then
7896 fi # test -n "$CONFIG_FILES"
7899 cat >>$CONFIG_STATUS <<\_ACEOF
7900 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7901 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7903 - |
*:- |
*:-:* ) # input from stdin
7905 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7906 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7907 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7908 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7909 * ) ac_file_in
=$ac_file.
in ;;
7912 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7913 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7914 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7915 X"$ac_file" : 'X\(//\)[^/]' \| \
7916 X"$ac_file" : 'X\(//\)$' \| \
7917 X"$ac_file" : 'X\(/\)' \| \
7918 . : '\(.\)' 2>/dev/null ||
7920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7922 /^X\(\/\/\)$/{ s//\1/; q; }
7923 /^X\(\/\).*/{ s//\1/; q; }
7925 { if $as_mkdir_p; then
7930 while test ! -d "$as_dir"; do
7931 as_dirs
="$as_dir $as_dirs"
7932 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7934 X"$as_dir" : 'X\(//\)[^/]' \| \
7935 X"$as_dir" : 'X\(//\)$' \| \
7936 X"$as_dir" : 'X\(/\)' \| \
7937 . : '\(.\)' 2>/dev/null ||
7939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7940 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7941 /^X\(\/\/\)$/{ s//\1/; q; }
7942 /^X\(\/\).*/{ s//\1/; q; }
7945 test ! -n "$as_dirs" || mkdir
$as_dirs
7946 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7947 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7948 { (exit 1); exit 1; }; }; }
7952 if test "$ac_dir" != .
; then
7953 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7954 # A "../" for each directory in $ac_dir_suffix.
7955 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7957 ac_dir_suffix
= ac_top_builddir
=
7961 .
) # No --srcdir option. We are building in place.
7963 if test -z "$ac_top_builddir"; then
7966 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7968 [\\/]* | ?
:[\\/]* ) # Absolute path.
7969 ac_srcdir
=$srcdir$ac_dir_suffix;
7970 ac_top_srcdir
=$srcdir ;;
7972 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7973 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7976 # Do not use `cd foo && pwd` to compute absolute paths, because
7977 # the directories may not exist.
7979 .
) ac_abs_builddir
="$ac_dir";;
7982 .
) ac_abs_builddir
=`pwd`;;
7983 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7984 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7987 case $ac_abs_builddir in
7988 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7990 case ${ac_top_builddir}.
in
7991 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7992 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7993 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7996 case $ac_abs_builddir in
7997 .
) ac_abs_srcdir
=$ac_srcdir;;
8000 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8001 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8002 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8005 case $ac_abs_builddir in
8006 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8008 case $ac_top_srcdir in
8009 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8010 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8011 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8017 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8018 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8021 if test x
"$ac_file" != x-
; then
8022 { echo "$as_me:$LINENO: creating $ac_file" >&5
8023 echo "$as_me: creating $ac_file" >&6;}
8026 # Let's still pretend it is `configure' which instantiates (i.e., don't
8027 # use $as_me), people would be surprised to read:
8028 # /* config.h. Generated by config.status. */
8029 if test x
"$ac_file" = x-
; then
8032 configure_input
="$ac_file. "
8034 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8035 sed 's,.*/,,'` by configure."
8037 # First look for the input files in the build tree, otherwise in the
8039 ac_file_inputs
=`IFS=:
8040 for f in $ac_file_in; do
8042 -) echo $tmp/stdin ;;
8044 # Absolute (can't be DOS-style, as IFS=:)
8045 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8046 echo "$as_me: error: cannot find input file: $f" >&2;}
8047 { (exit 1); exit 1; }; }
8050 if test -f "$f"; then
8053 elif test -f "$srcdir/$f"; then
8058 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8059 echo "$as_me: error: cannot find input file: $f" >&2;}
8060 { (exit 1); exit 1; }; }
8063 done` ||
{ (exit 1); exit 1; }
8065 cat >>$CONFIG_STATUS <<_ACEOF
8069 cat >>$CONFIG_STATUS <<\_ACEOF
8071 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8072 s
,@configure_input@
,$configure_input,;t t
8073 s
,@srcdir@
,$ac_srcdir,;t t
8074 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8075 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8076 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8077 s
,@builddir@
,$ac_builddir,;t t
8078 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8079 s
,@top_builddir@
,$ac_top_builddir,;t t
8080 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8081 s
,@INSTALL@
,$ac_INSTALL,;t t
8082 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8084 if test x"$ac_file" != x-; then
8085 mv $tmp/out $ac_file
8093 cat >>$CONFIG_STATUS <<\_ACEOF
8096 # CONFIG_HEADER section.
8099 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8100 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8102 # ac_d sets the value in "#define NAME VALUE" lines.
8103 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8104 ac_dB
='[ ].*$,\1#\2'
8107 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8108 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8109 ac_uB
='$,\1#\2define\3'
8113 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8114 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8116 - |
*:- |
*:-:* ) # input from stdin
8118 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8119 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8120 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8121 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8122 * ) ac_file_in
=$ac_file.
in ;;
8125 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8126 echo "$as_me: creating $ac_file" >&6;}
8128 # First look for the input files in the build tree, otherwise in the
8130 ac_file_inputs
=`IFS=:
8131 for f in $ac_file_in; do
8133 -) echo $tmp/stdin ;;
8135 # Absolute (can't be DOS-style, as IFS=:)
8136 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8137 echo "$as_me: error: cannot find input file: $f" >&2;}
8138 { (exit 1); exit 1; }; }
8139 # Do quote $f, to prevent DOS paths from being IFS'd.
8142 if test -f "$f"; then
8145 elif test -f "$srcdir/$f"; then
8150 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8151 echo "$as_me: error: cannot find input file: $f" >&2;}
8152 { (exit 1); exit 1; }; }
8155 done` ||
{ (exit 1); exit 1; }
8156 # Remove the trailing spaces.
8157 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8161 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8162 # `conftest.undefs', that substitutes the proper values into
8163 # config.h.in to produce config.h. The first handles `#define'
8164 # templates, and the second `#undef' templates.
8165 # And first: Protect against being on the right side of a sed subst in
8166 # config.status. Protect against being in an unquoted here document
8168 rm -f conftest.defines conftest.undefs
8169 # Using a here document instead of a string reduces the quoting nightmare.
8170 # Putting comments in sed scripts is not portable.
8172 # `end' is used to avoid that the second main sed command (meant for
8173 # 0-ary CPP macros) applies to n-ary macro definitions.
8174 # See the Autoconf documentation for `clear'.
8175 cat >confdef2sed.
sed <<\_ACEOF
8180 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8182 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8185 # If some macros were called several times there might be several times
8186 # the same #defines, which is useless. Nevertheless, we may not want to
8187 # sort them, since we want the *last* AC-DEFINE to be honored.
8188 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8189 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8190 rm -f confdef2sed.sed
8192 # This sed command replaces #undef with comments. This is necessary, for
8193 # example, in the case of _POSIX_SOURCE, which is predefined and required
8194 # on some systems where configure will not decide to define it.
8195 cat >>conftest.undefs <<\_ACEOF
8196 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8199 # Break up conftest.defines because some shells have a limit on the size
8200 # of here documents, and old seds have small limits too (100 cmds).
8201 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8202 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8203 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8204 echo ' :' >>$CONFIG_STATUS
8206 while grep . conftest.defines >/dev/null
8208 # Write a limited-size here document to $tmp/defines.sed.
8209 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8210 # Speed up: don't consider the non `#define' lines.
8211 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8212 # Work around the forget-to-reset-the-flag bug.
8213 echo 't clr' >>$CONFIG_STATUS
8214 echo ': clr' >>$CONFIG_STATUS
8215 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8217 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8221 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8222 rm -f conftest.defines
8223 mv conftest.
tail conftest.defines
8225 rm -f conftest.defines
8226 echo ' fi # grep' >>$CONFIG_STATUS
8227 echo >>$CONFIG_STATUS
8229 # Break up conftest.undefs because some shells have a limit on the size
8230 # of here documents, and old seds have small limits too (100 cmds).
8231 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8233 while grep . conftest.undefs
>/dev
/null
8235 # Write a limited-size here document to $tmp/undefs.sed.
8236 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8237 # Speed up: don't consider the non
`#undef'
8238 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8239 # Work around the forget-to-reset-the-flag bug.
8240 echo 't clr' >>$CONFIG_STATUS
8241 echo ': clr' >>$CONFIG_STATUS
8242 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8244 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8248 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8249 rm -f conftest.undefs
8250 mv conftest.tail conftest.undefs
8252 rm -f conftest.undefs
8254 cat >>$CONFIG_STATUS <<\_ACEOF
8255 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8256 # use $as_me), people would be surprised to read:
8257 # /* config.h. Generated by config.status. */
8258 if test x
"$ac_file" = x-
; then
8259 echo "/* Generated by configure. */" >$tmp/config.h
8261 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8263 cat $tmp/in >>$tmp/config.h
8265 if test x
"$ac_file" != x-
; then
8266 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8267 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8268 echo "$as_me: $ac_file is unchanged" >&6;}
8270 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8272 X"$ac_file" : 'X\(//\)[^/]' \| \
8273 X"$ac_file" : 'X\(//\)$' \| \
8274 X"$ac_file" : 'X\(/\)' \| \
8275 . : '\(.\)' 2>/dev/null ||
8277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8278 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8279 /^X\(\/\/\)$/{ s//\1/; q; }
8280 /^X\(\/\).*/{ s//\1/; q; }
8282 { if $as_mkdir_p; then
8287 while test ! -d "$as_dir"; do
8288 as_dirs
="$as_dir $as_dirs"
8289 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8291 X"$as_dir" : 'X\(//\)[^/]' \| \
8292 X"$as_dir" : 'X\(//\)$' \| \
8293 X"$as_dir" : 'X\(/\)' \| \
8294 . : '\(.\)' 2>/dev/null ||
8296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8298 /^X\(\/\/\)$/{ s//\1/; q; }
8299 /^X\(\/\).*/{ s//\1/; q; }
8302 test ! -n "$as_dirs" || mkdir
$as_dirs
8303 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8304 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8305 { (exit 1); exit 1; }; }; }
8308 mv $tmp/config.h
$ac_file
8316 cat >>$CONFIG_STATUS <<\_ACEOF
8319 # CONFIG_LINKS section.
8322 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
8323 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8324 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8326 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
8327 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
8329 if test ! -r $srcdir/$ac_source; then
8330 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
8331 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
8332 { (exit 1); exit 1; }; }
8336 # Make relative symlinks.
8337 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8338 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8339 X"$ac_dest" : 'X\(//\)[^/]' \| \
8340 X"$ac_dest" : 'X\(//\)$' \| \
8341 X"$ac_dest" : 'X\(/\)' \| \
8342 . : '\(.\)' 2>/dev/null ||
8344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8346 /^X\(\/\/\)$/{ s//\1/; q; }
8347 /^X\(\/\).*/{ s//\1/; q; }
8349 { if $as_mkdir_p; then
8350 mkdir
-p "$ac_dest_dir"
8352 as_dir
="$ac_dest_dir"
8354 while test ! -d "$as_dir"; do
8355 as_dirs
="$as_dir $as_dirs"
8356 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8358 X"$as_dir" : 'X\(//\)[^/]' \| \
8359 X"$as_dir" : 'X\(//\)$' \| \
8360 X"$as_dir" : 'X\(/\)' \| \
8361 . : '\(.\)' 2>/dev/null ||
8363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8365 /^X\(\/\/\)$/{ s//\1/; q; }
8366 /^X\(\/\).*/{ s//\1/; q; }
8369 test ! -n "$as_dirs" || mkdir
$as_dirs
8370 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
8371 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
8372 { (exit 1); exit 1; }; }; }
8376 if test "$ac_dest_dir" != .
; then
8377 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
8378 # A "../" for each directory in $ac_dir_suffix.
8379 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8381 ac_dir_suffix
= ac_top_builddir
=
8385 .
) # No --srcdir option. We are building in place.
8387 if test -z "$ac_top_builddir"; then
8390 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8392 [\\/]* | ?
:[\\/]* ) # Absolute path.
8393 ac_srcdir
=$srcdir$ac_dir_suffix;
8394 ac_top_srcdir
=$srcdir ;;
8396 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8397 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8400 # Do not use `cd foo && pwd` to compute absolute paths, because
8401 # the directories may not exist.
8403 .
) ac_abs_builddir
="$ac_dest_dir";;
8405 case "$ac_dest_dir" in
8406 .
) ac_abs_builddir
=`pwd`;;
8407 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
8408 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
8411 case $ac_abs_builddir in
8412 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8414 case ${ac_top_builddir}.
in
8415 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8416 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8417 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8420 case $ac_abs_builddir in
8421 .
) ac_abs_srcdir
=$ac_srcdir;;
8424 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8425 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8426 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8429 case $ac_abs_builddir in
8430 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8432 case $ac_top_srcdir in
8433 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8434 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8435 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8441 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
8442 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
8445 # Try a symlink, then a hard link, then a copy.
8446 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
8447 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
8448 cp -p $srcdir/$ac_source $ac_dest ||
8449 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
8450 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
8451 { (exit 1); exit 1; }; }
8454 cat >>$CONFIG_STATUS <<\_ACEOF
8457 # CONFIG_COMMANDS section.
8459 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8460 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8461 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8462 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8463 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8464 X"$ac_dest" : 'X\(//\)[^/]' \| \
8465 X"$ac_dest" : 'X\(//\)$' \| \
8466 X"$ac_dest" : 'X\(/\)' \| \
8467 . : '\(.\)' 2>/dev/null ||
8469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8471 /^X\(\/\/\)$/{ s//\1/; q; }
8472 /^X\(\/\).*/{ s//\1/; q; }
8474 { if $as_mkdir_p; then
8479 while test ! -d "$as_dir"; do
8480 as_dirs
="$as_dir $as_dirs"
8481 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8483 X"$as_dir" : 'X\(//\)[^/]' \| \
8484 X"$as_dir" : 'X\(//\)$' \| \
8485 X"$as_dir" : 'X\(/\)' \| \
8486 . : '\(.\)' 2>/dev/null ||
8488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8490 /^X\(\/\/\)$/{ s//\1/; q; }
8491 /^X\(\/\).*/{ s//\1/; q; }
8494 test ! -n "$as_dirs" || mkdir
$as_dirs
8495 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8496 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8497 { (exit 1); exit 1; }; }; }
8501 if test "$ac_dir" != .
; then
8502 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8503 # A "../" for each directory in $ac_dir_suffix.
8504 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8506 ac_dir_suffix
= ac_top_builddir
=
8510 .
) # No --srcdir option. We are building in place.
8512 if test -z "$ac_top_builddir"; then
8515 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8517 [\\/]* | ?
:[\\/]* ) # Absolute path.
8518 ac_srcdir
=$srcdir$ac_dir_suffix;
8519 ac_top_srcdir
=$srcdir ;;
8521 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8522 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8525 # Do not use `cd foo && pwd` to compute absolute paths, because
8526 # the directories may not exist.
8528 .
) ac_abs_builddir
="$ac_dir";;
8531 .
) ac_abs_builddir
=`pwd`;;
8532 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8533 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8536 case $ac_abs_builddir in
8537 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8539 case ${ac_top_builddir}.
in
8540 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8541 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8542 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8545 case $ac_abs_builddir in
8546 .
) ac_abs_srcdir
=$ac_srcdir;;
8549 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8550 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8551 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8554 case $ac_abs_builddir in
8555 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8557 case $ac_top_srcdir in
8558 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8559 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8560 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8565 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8566 echo "$as_me: executing $ac_dest commands" >&6;}
8568 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
8569 rm -f Makesim1.tmp Makesim2.tmp Makefile
8570 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
8571 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
8572 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
8573 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
8574 <Makefile.sim
>Makefile
8575 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
8577 stamp-h
) echo > stamp-h
;;
8582 cat >>$CONFIG_STATUS <<\_ACEOF
8584 { (exit 0); exit 0; }
8586 chmod +x
$CONFIG_STATUS
8587 ac_clean_files
=$ac_clean_files_save
8590 # configure is writing to config.log, and then calls config.status.
8591 # config.status does its own redirection, appending to config.log.
8592 # Unfortunately, on DOS this fails, as config.log is still kept open
8593 # by configure, so config.status won't be able to write to it; its
8594 # output is simply discarded. So we exec the FD to /dev/null,
8595 # effectively closing config.log, so it can be properly (re)opened and
8596 # appended to by config.status. When coming back to configure, we
8597 # need to make the FD available again.
8598 if test "$no_create" != yes; then
8600 ac_config_status_args
=
8601 test "$silent" = yes &&
8602 ac_config_status_args
="$ac_config_status_args --quiet"
8604 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8606 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8607 # would make configure fail if this is the last instruction.
8608 $ac_cs_success ||
{ (exit 1); exit 1; }