2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI CGEN_MAINT cgendir cgen 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
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
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-sim-endian=endian Specify target byte endian orientation.
862 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
863 --enable-sim-hostendian=end Specify
host byte endian orientation.
864 --enable-sim-scache=size Specify simulator execution cache size.
865 --enable-sim-default-model=model Specify default model to simulate.
866 --enable-sim-environment=environment Specify mixed
, user
, virtual or operating environment.
867 --enable-sim-inline=inlines Specify
which functions should be inlined.
868 --enable-cgen-maint=DIR build cgen generated files
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
874 --with-bugurl=URL Direct users to URL to report a bug
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
885 Use these variables to override the choices made by
`configure' or to help
886 it to find libraries and programs with nonstandard names/locations.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix= ac_top_builddir=
907 .) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 # Do not use `cd foo
&& pwd` to compute absolute paths, because
923 # the directories may not exist.
925 .) ac_abs_builddir="$ac_dir";;
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
984 Copyright (C) 2003 Free Software Foundation, Inc.
985 This configure script is free software; the Free Software Foundation
986 gives unlimited permission to copy, distribute and modify it.
992 This file contains any messages produced by compilers while
993 running configure, to aid debugging if configure makes a mistake.
995 It was created by $as_me, which was
996 generated by GNU Autoconf 2.59. Invocation command line was
1007 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1008 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1009 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1010 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1011 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1016 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1019 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1020 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1022 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1046 # Keep a trace of the command line.
1047 # Strip out --no-create and --no-recursion so they do not pile up.
1048 # Strip out --silent because we don't want to record it for future runs.
1049 # Also quote any args containing shell meta-characters.
1050 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_must_keep_next=false
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 -* ) ac_must_keep_next=true ;;
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097 # When interrupted or exit'd, cleanup temporary files, and complete
1098 # config.log. We remove comments because anyway the quotes in there
1099 # would cause problems or look ugly.
1100 # WARNING: Be sure not to use single quotes in there, as some shells,
1101 # such as our DU 5.0 friend, will then `close
' the trap.
1102 trap 'exit_status
=$?
1103 # Save into config.log some information that might help in debugging.
1108 ## ---------------- ##
1109 ## Cache variables. ##
1110 ## ---------------- ##
1113 # The following way of writing the cache mishandles newlines in values,
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ## ----------------- ##
1132 ## Output variables. ##
1133 ## ----------------- ##
1136 for ac_var
in $ac_subst_vars
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -n "$ac_subst_files"; then
1150 for ac_var
in $ac_subst_files
1152 eval ac_val
=$
`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -s confdefs.h
; then
1165 sed "/^$/d" confdefs.h |
sort
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1172 rm -f core
*.core
&&
1173 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1176 for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1182 rm -rf conftest* confdefs.h
1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 # Predefined preprocessor variables.
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_NAME "$PACKAGE_NAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_STRING "$PACKAGE_STRING"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1213 # Let the site file select an alternate cache file if it wants to.
1214 # Prefer explicitly selected file to automatically selected ones.
1215 if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225 echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's
/^
/|
/' "$ac_site_file" >&5
1231 if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236 echo "$as_me: loading cache $cache_file" >&6;}
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244 echo "$as_me: creating cache $cache_file" >&6;}
1248 # Check that the precious variables saved in the cache have kept the same
1250 ac_cache_corrupted=false
1251 for ac_var in `(set) 2>&1 |
1252 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1261 ac_cache_corrupted=: ;;
1263 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1270 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272 echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274 echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1295 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 ac_config_headers="$ac_config_headers config.h:config.in"
1326 # This file contains common code used by all simulators.
1328 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1329 # directory. It is intended to be invoked before any target specific stuff.
1330 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1331 # It is intended to be invoked last.
1333 # The simulator's configure.
in should
look like
:
1335 # dnl Process this file with autoconf to produce a configure script.
1336 # sinclude(../common/aclocal.m4)
1338 # AC_INIT(Makefile.in)
1342 # ... target specific stuff ...
1346 # Include global overrides and fixes for Autoconf.
1377 # _AC_OUTPUT_SUBDIRS
1378 # ------------------
1379 # This is a subroutine of AC_OUTPUT, but it does not go into
1380 # config.status, rather, it is called after running config.status.
1381 # _AC_OUTPUT_SUBDIRS
1386 # _AC_ARG_VAR_VALIDATE
1387 # --------------------
1388 # The code is the same as autoconf 2.59, but with a more lenient check
1389 # on precious variables and an output of pwd that have been added in
1391 # _AC_ARG_VAR_VALIDATE
1396 # AC_MSG_FAILURE(ERROR, [EXIT-STATUS = 1])
1397 # ----------------------------------------
1398 # This is the same code as in 2.59 and 2.61, except it also outputs pwd.
1455 sim_inline
="-DDEFAULT_INLINE=0"
1492 # intl sister-directory configuration rules.
1495 # The idea behind this macro is that there's no need to repeat all the
1496 # autoconf probes done by the intl directory - it's already done them
1497 # for us. In fact, there's no need even to look at the cache for the
1498 # answers. All we need to do is nab a few pieces of information.
1499 # The intl directory is set up to make this easy, by generating a
1500 # small file which can be sourced as a shell script; then we produce
1501 # the necessary substitutions and definitions for this directory.
1505 # Autoconf M4 include file defining utility macros for complex Canadian
1517 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1519 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1522 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1523 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1527 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1528 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1532 # Backported from Autoconf 2.5x; can go away when and if
1533 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1538 # ACX_HAVE_GCC_FOR_TARGET
1539 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1542 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1543 # Searching for installed target binutils. We need to take extra care,
1544 # else we may find the wrong assembler, linker, etc., and lose.
1546 # First try --with-build-time-tools, if specified.
1548 # For build != host, we ask the installed GCC for the name of the tool it
1549 # uses, and accept it if it is an absolute path. This is because the
1550 # only good choice for a compiler is the same GCC version that is being
1551 # installed (or we couldn't make target libraries), and we assume that
1552 # on the host system we'll have not only the same GCC version, but also
1553 # the same binutils version.
1555 # For build == host, search the same directories that the installed
1556 # compiler will search. We used to do this for the assembler, linker,
1557 # and nm only; for simplicity of configuration, however, we extend this
1558 # criterion to tools (such as ar and ranlib) that are never invoked by
1559 # the compiler, to avoid mismatches.
1561 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1562 # if build == target. This makes the most sense only when bootstrapping,
1563 # but we also do so when build != host. In this case, we hope that the
1564 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1566 # If we do not find a suitable binary, then try the user's path.
1570 # AC_PROG_CPP_WERROR
1571 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1572 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1573 # For now, using this also overrides header checks to use only the
1574 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1575 # bit harder from here).
1576 # Eventually autoconf will default to checking headers with the compiler
1577 # instead, and we'll have to do this differently.
1579 # AC_PROG_CPP_WERROR
1582 # We require the gnatbind program, and a compiler driver that
1583 # understands Ada. We use the user's CC setting, already found,
1584 # and possibly add $1 to the command-line parameters.
1586 # Sets the shell variable have_gnat to yes or no as appropriate, and
1587 # substitutes GNATBIND and GNATMAKE.
1613 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1614 # it by inlining the macro's contents.
1615 # This file contains common code used by all simulators.
1617 # common.m4 invokes AC macros used by all simulators and by the common
1618 # directory. It is intended to be included before any target specific
1619 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1620 # the Makefile. It is intended to be invoked last.
1622 # The simulator's configure.in should look like:
1624 # dnl Process this file with autoconf to produce a configure script.
1626 # AC_INIT(Makefile.in)
1627 # AC_CONFIG_HEADER(config.h:config.in)
1629 # sinclude(../common/aclocal.m4)
1630 # sinclude(../common/common.m4)
1632 # ... target specific stuff ...
1635 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1636 if test -f $ac_dir/install-sh
; then
1638 ac_install_sh
="$ac_aux_dir/install-sh -c"
1640 elif test -f $ac_dir/install.sh
; then
1642 ac_install_sh
="$ac_aux_dir/install.sh -c"
1644 elif test -f $ac_dir/shtool
; then
1646 ac_install_sh
="$ac_aux_dir/shtool install -c"
1650 if test -z "$ac_aux_dir"; then
1651 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1652 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1653 { (exit 1); exit 1; }; }
1655 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1656 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1657 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1659 # Make sure we can run config.sub.
1660 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1661 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1662 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1663 { (exit 1); exit 1; }; }
1665 echo "$as_me:$LINENO: checking build system type" >&5
1666 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1667 if test "${ac_cv_build+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 ac_cv_build_alias
=$build_alias
1671 test -z "$ac_cv_build_alias" &&
1672 ac_cv_build_alias
=`$ac_config_guess`
1673 test -z "$ac_cv_build_alias" &&
1674 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1675 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1676 { (exit 1); exit 1; }; }
1677 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1678 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1679 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1680 { (exit 1); exit 1; }; }
1683 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1684 echo "${ECHO_T}$ac_cv_build" >&6
1686 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1687 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1688 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1691 echo "$as_me:$LINENO: checking host system type" >&5
1692 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1693 if test "${ac_cv_host+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 ac_cv_host_alias
=$host_alias
1697 test -z "$ac_cv_host_alias" &&
1698 ac_cv_host_alias
=$ac_cv_build_alias
1699 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1700 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1701 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1702 { (exit 1); exit 1; }; }
1705 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1706 echo "${ECHO_T}$ac_cv_host" >&6
1708 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1709 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1710 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1713 echo "$as_me:$LINENO: checking target system type" >&5
1714 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1715 if test "${ac_cv_target+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 ac_cv_target_alias
=$target_alias
1719 test "x$ac_cv_target_alias" = "x" &&
1720 ac_cv_target_alias
=$ac_cv_host_alias
1721 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1722 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1723 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1724 { (exit 1); exit 1; }; }
1727 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1728 echo "${ECHO_T}$ac_cv_target" >&6
1729 target
=$ac_cv_target
1730 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1731 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1732 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1735 # The aliases save the names the user supplied, while $host etc.
1736 # will get canonicalized.
1737 test -n "$target_alias" &&
1738 test "$program_prefix$program_suffix$program_transform_name" = \
1740 program_prefix
=${target_alias}-
1741 test "$program_prefix" != NONE
&&
1742 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1743 # Use a double $ so make ignores it.
1744 test "$program_suffix" != NONE
&&
1745 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1746 # Double any \ or $. echo might interpret backslashes.
1747 # By default was `s,x,x', remove it if useless.
1748 cat <<\_ACEOF
>conftest.
sed
1749 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1751 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1755 ac_cpp
='$CPP $CPPFLAGS'
1756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1759 if test -n "$ac_tool_prefix"; then
1760 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1761 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764 if test "${ac_cv_prog_CC+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 if test -n "$CC"; then
1768 ac_cv_prog_CC
="$CC" # Let the user override the test.
1770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1774 test -z "$as_dir" && as_dir
=.
1775 for ac_exec_ext
in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787 if test -n "$CC"; then
1788 echo "$as_me:$LINENO: result: $CC" >&5
1789 echo "${ECHO_T}$CC" >&6
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1796 if test -z "$ac_cv_prog_CC"; then
1798 # Extract the first word of "gcc", so it can be a program name with args.
1799 set dummy gcc
; ac_word
=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir
=.
1813 for ac_exec_ext
in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_ac_ct_CC
="gcc"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1838 if test -z "$CC"; then
1839 if test -n "$ac_tool_prefix"; then
1840 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1841 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1844 if test "${ac_cv_prog_CC+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 if test -n "$CC"; then
1848 ac_cv_prog_CC
="$CC" # Let the user override the test.
1850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1854 test -z "$as_dir" && as_dir
=.
1855 for ac_exec_ext
in '' $ac_executable_extensions; do
1856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1857 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1867 if test -n "$CC"; then
1868 echo "$as_me:$LINENO: result: $CC" >&5
1869 echo "${ECHO_T}$CC" >&6
1871 echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6
1876 if test -z "$ac_cv_prog_CC"; then
1878 # Extract the first word of "cc", so it can be a program name with args.
1879 set dummy cc
; ac_word
=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir
=.
1893 for ac_exec_ext
in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_ac_ct_CC
="cc"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1907 echo "${ECHO_T}$ac_ct_CC" >&6
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1919 if test -z "$CC"; then
1920 # Extract the first word of "cc", so it can be a program name with args.
1921 set dummy cc
; ac_word
=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC
="$CC" # Let the user override the test.
1931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir
=.
1936 for ac_exec_ext
in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1939 ac_prog_rejected
=yes
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 if test $ac_prog_rejected = yes; then
1950 # We found a bogon in the path, so make sure we never use it.
1951 set dummy
$ac_cv_prog_CC
1953 if test $# != 0; then
1954 # We chose a different compiler from the bogus one.
1955 # However, it has the same basename, so the bogon will be chosen
1956 # first if we set CC to just the basename; use the full file name.
1958 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1964 if test -n "$CC"; then
1965 echo "$as_me:$LINENO: result: $CC" >&5
1966 echo "${ECHO_T}$CC" >&6
1968 echo "$as_me:$LINENO: result: no" >&5
1969 echo "${ECHO_T}no" >&6
1973 if test -z "$CC"; then
1974 if test -n "$ac_tool_prefix"; then
1977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1978 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1979 echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1981 if test "${ac_cv_prog_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 if test -n "$CC"; then
1985 ac_cv_prog_CC
="$CC" # Let the user override the test.
1987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1991 test -z "$as_dir" && as_dir
=.
1992 for ac_exec_ext
in '' $ac_executable_extensions; do
1993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1994 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 if test -n "$CC"; then
2005 echo "$as_me:$LINENO: result: $CC" >&5
2006 echo "${ECHO_T}$CC" >&6
2008 echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6
2012 test -n "$CC" && break
2015 if test -z "$CC"; then
2019 # Extract the first word of "$ac_prog", so it can be a program name with args.
2020 set dummy
$ac_prog; ac_word
=$2
2021 echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 if test -n "$ac_ct_CC"; then
2027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir
=.
2034 for ac_exec_ext
in '' $ac_executable_extensions; do
2035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 ac_cv_prog_ac_ct_CC
="$ac_prog"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2046 if test -n "$ac_ct_CC"; then
2047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2048 echo "${ECHO_T}$ac_ct_CC" >&6
2050 echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6
2054 test -n "$ac_ct_CC" && break
2063 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2064 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2065 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2066 See \`config.log' for more details." >&5
2067 echo "$as_me: error: no acceptable C compiler found in \$PATH
2068 See \`config.log' for more details." >&2;}
2069 { (exit 1); exit 1; }; }; }
2071 # Provide some information about the compiler.
2072 echo "$as_me:$LINENO:" \
2073 "checking for C compiler version" >&5
2074 ac_compiler
=`set X $ac_compile; echo $2`
2075 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2076 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }
2080 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2081 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }
2085 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2086 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }
2091 cat >conftest.
$ac_ext <<_ACEOF
2094 cat confdefs.h
>>conftest.
$ac_ext
2095 cat >>conftest.
$ac_ext <<_ACEOF
2096 /* end confdefs.h. */
2106 ac_clean_files_save
=$ac_clean_files
2107 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2108 # Try to create an executable without -o first, disregard a.out.
2109 # It will help us diagnose broken compilers, and finding out an intuition
2111 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2112 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2113 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2114 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2115 (eval $ac_link_default) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; then
2119 # Find the output, starting from the most likely. This scheme is
2120 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2123 # Be careful to initialize this variable, since it used to be cached.
2124 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2126 # b.out is created by i960 compilers.
2127 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2129 test -f "$ac_file" ||
continue
2131 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2134 # This is the source file.
2137 # We found the default executable, but exeext='' is most
2141 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2142 # FIXME: I believe we export ac_cv_exeext for Libtool,
2143 # but it would be cool to find out if it's true. Does anybody
2144 # maintain Libtool? --akim.
2152 echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.
$ac_ext >&5
2155 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2156 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2157 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2158 See \`config.log' for more details." >&5
2159 echo "$as_me: error: C compiler cannot create executables
2160 See \`config.log' for more details." >&2;}
2161 { (exit 77); exit 77; }; }; }
2164 ac_exeext
=$ac_cv_exeext
2165 echo "$as_me:$LINENO: result: $ac_file" >&5
2166 echo "${ECHO_T}$ac_file" >&6
2168 # Check the compiler produces executables we can run. If not, either
2169 # the compiler is broken, or we cross compile.
2170 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2171 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2172 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2173 # If not cross compiling, check that we can run a simple program.
2174 if test "$cross_compiling" != yes; then
2175 if { ac_try
='./$ac_file'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2183 if test "$cross_compiling" = maybe
; then
2186 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2187 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2188 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2189 If you meant to cross compile, use \`--host'.
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: cannot run C compiled programs.
2192 If you meant to cross compile, use \`--host'.
2193 See \`config.log' for more details." >&2;}
2194 { (exit 1); exit 1; }; }; }
2198 echo "$as_me:$LINENO: result: yes" >&5
2199 echo "${ECHO_T}yes" >&6
2201 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2202 ac_clean_files
=$ac_clean_files_save
2203 # Check the compiler produces executables we can run. If not, either
2204 # the compiler is broken, or we cross compile.
2205 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2206 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2207 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2208 echo "${ECHO_T}$cross_compiling" >&6
2210 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2211 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2213 (eval $ac_link) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; then
2217 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2218 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2219 # work properly (i.e., refer to `conftest.exe'), while it won't with
2221 for ac_file
in conftest.exe conftest conftest.
*; do
2222 test -f "$ac_file" ||
continue
2224 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2225 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2232 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2233 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2235 See \`config.log' for more details." >&5
2236 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2237 See \`config.log' for more details." >&2;}
2238 { (exit 1); exit 1; }; }; }
2241 rm -f conftest
$ac_cv_exeext
2242 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2243 echo "${ECHO_T}$ac_cv_exeext" >&6
2245 rm -f conftest.
$ac_ext
2246 EXEEXT
=$ac_cv_exeext
2248 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2249 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2250 if test "${ac_cv_objext+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 cat >conftest.
$ac_ext <<_ACEOF
2256 cat confdefs.h
>>conftest.
$ac_ext
2257 cat >>conftest.
$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2268 rm -f conftest.o conftest.obj
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; then
2274 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2276 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2277 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2282 echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.
$ac_ext >&5
2285 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2286 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2288 See \`config.log' for more details." >&5
2289 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2290 See \`config.log' for more details." >&2;}
2291 { (exit 1); exit 1; }; }; }
2294 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2296 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2297 echo "${ECHO_T}$ac_cv_objext" >&6
2298 OBJEXT
=$ac_cv_objext
2300 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2301 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2302 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 cat >conftest.
$ac_ext <<_ACEOF
2308 cat confdefs.h
>>conftest.
$ac_ext
2309 cat >>conftest.
$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2323 rm -f conftest.
$ac_objext
2324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325 (eval $ac_compile) 2>conftest.er1
2327 grep -v '^ *+' conftest.er1
>conftest.err
2329 cat conftest.err
>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); } &&
2332 { ac_try
='test -z "$ac_c_werror_flag"
2333 || test ! -s conftest.err'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; } &&
2339 { ac_try
='test -s conftest.$ac_objext'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2356 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2357 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2358 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2359 ac_test_CFLAGS
=${CFLAGS+set}
2360 ac_save_CFLAGS
=$CFLAGS
2362 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2363 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2364 if test "${ac_cv_prog_cc_g+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 cat >conftest.
$ac_ext <<_ACEOF
2370 cat confdefs.h
>>conftest.
$ac_ext
2371 cat >>conftest.
$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2382 rm -f conftest.
$ac_objext
2383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2384 (eval $ac_compile) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1
>conftest.err
2388 cat conftest.err
>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } &&
2391 { ac_try
='test -z "$ac_c_werror_flag"
2392 || test ! -s conftest.err'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; } &&
2398 { ac_try
='test -s conftest.$ac_objext'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; }; then
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.
$ac_ext >&5
2411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2413 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2414 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2415 if test "$ac_test_CFLAGS" = set; then
2416 CFLAGS
=$ac_save_CFLAGS
2417 elif test $ac_cv_prog_cc_g = yes; then
2418 if test "$GCC" = yes; then
2424 if test "$GCC" = yes; then
2430 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2431 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2432 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 ac_cv_prog_cc_stdc
=no
2437 cat >conftest.
$ac_ext <<_ACEOF
2440 cat confdefs.h
>>conftest.
$ac_ext
2441 cat >>conftest.
$ac_ext <<_ACEOF
2442 /* end confdefs.h. */
2445 #include <sys/types.h>
2446 #include <sys/stat.h>
2447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2448 struct buf { int x; };
2449 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2450 static char *e (p, i)
2456 static char *f (char * (*g) (char **, int), char **p, ...)
2461 s = g (p, va_arg (v,int));
2466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2467 function prototypes and stuff, but not '\xHH' hex character constants.
2468 These don't provoke an error unfortunately, instead are silently treated
2469 as 'x'. The following induces an error, until -std1 is added to get
2470 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2471 array size at least. It's necessary to write '\x00'==0 to get something
2472 that's true only with -std1. */
2473 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2475 int test (int i, double x);
2476 struct s1 {int (*f) (int a);};
2477 struct s2 {int (*f) (double a);};
2478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2489 # Don't try gcc -ansi; that turns off useful extensions and
2490 # breaks some systems' header files.
2491 # AIX -qlanglvl=ansi
2492 # Ultrix and OSF/1 -std1
2493 # HP-UX 10.20 and later -Ae
2494 # HP-UX older versions -Aa -D_HPUX_SOURCE
2495 # SVR4 -Xc -D__EXTENSIONS__
2496 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2498 CC
="$ac_save_CC $ac_arg"
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2521 ac_cv_prog_cc_stdc
=$ac_arg
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.
$ac_ext >&5
2528 rm -f conftest.err conftest.
$ac_objext
2530 rm -f conftest.
$ac_ext conftest.
$ac_objext
2535 case "x$ac_cv_prog_cc_stdc" in
2537 echo "$as_me:$LINENO: result: none needed" >&5
2538 echo "${ECHO_T}none needed" >&6 ;;
2540 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2541 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2542 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2545 # Some people use a C++ compiler to compile C. Since we use `exit',
2546 # in C++ we need to declare it. In case someone uses the same compiler
2547 # for both compiling C and C++ we need to have the C++ compiler decide
2548 # the declaration of exit, since it's the most demanding environment.
2549 cat >conftest.
$ac_ext <<_ACEOF
2554 rm -f conftest.
$ac_objext
2555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556 (eval $ac_compile) 2>conftest.er1
2558 grep -v '^ *+' conftest.er1
>conftest.err
2560 cat conftest.err
>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); } &&
2563 { ac_try
='test -z "$ac_c_werror_flag"
2564 || test ! -s conftest.err'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; } &&
2570 { ac_try
='test -s conftest.$ac_objext'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; }; then
2576 for ac_declaration
in \
2578 'extern "C" void std::exit (int) throw (); using std::exit;' \
2579 'extern "C" void std::exit (int); using std::exit;' \
2580 'extern "C" void exit (int) throw ();' \
2581 'extern "C" void exit (int);' \
2584 cat >conftest.
$ac_ext <<_ACEOF
2587 cat confdefs.h
>>conftest.
$ac_ext
2588 cat >>conftest.
$ac_ext <<_ACEOF
2589 /* end confdefs.h. */
2600 rm -f conftest.
$ac_objext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602 (eval $ac_compile) 2>conftest.er1
2604 grep -v '^ *+' conftest.er1
>conftest.err
2606 cat conftest.err
>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); } &&
2609 { ac_try
='test -z "$ac_c_werror_flag"
2610 || test ! -s conftest.err'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; } &&
2616 { ac_try
='test -s conftest.$ac_objext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.
$ac_ext >&5
2629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2630 cat >conftest.
$ac_ext <<_ACEOF
2633 cat confdefs.h
>>conftest.
$ac_ext
2634 cat >>conftest.
$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 rm -f conftest.
$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>conftest.er1
2649 grep -v '^ *+' conftest.er1
>conftest.err
2651 cat conftest.err
>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } &&
2654 { ac_try
='test -z "$ac_c_werror_flag"
2655 || test ! -s conftest.err'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; } &&
2661 { ac_try
='test -s conftest.$ac_objext'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2676 if test -n "$ac_declaration"; then
2677 echo '#ifdef __cplusplus' >>confdefs.h
2678 echo $ac_declaration >>confdefs.h
2679 echo '#endif' >>confdefs.h
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.
$ac_ext >&5
2687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2689 ac_cpp
='$CPP $CPPFLAGS'
2690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2694 # Find a good install program. We prefer a C program (faster),
2695 # so one script is as good as another. But avoid the broken or
2696 # incompatible versions:
2697 # SysV /etc/install, /usr/sbin/install
2698 # SunOS /usr/etc/install
2699 # IRIX /sbin/install
2701 # AmigaOS /C/install, which installs bootblocks on floppy discs
2702 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2703 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2704 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2705 # OS/2's system install, which has a completely different semantic
2706 # ./install, which can be erroneously created by make from ./install.sh.
2707 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2708 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2709 if test -z "$INSTALL"; then
2710 if test "${ac_cv_path_install+set}" = set; then
2711 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 # Account for people who put trailing slashes in PATH elements.
2720 .
/ | .
// |
/cC
/* | \
2721 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2722 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2725 # OSF1 and SCO ODT 3.0 have their own names for install.
2726 # Don't use installbsd from OSF since it installs stuff as root
2728 for ac_prog
in ginstall scoinst
install; do
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2731 if test $ac_prog = install &&
2732 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2733 # AIX install. It has an incompatible calling convention.
2735 elif test $ac_prog = install &&
2736 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2737 # program-specific install script used by HP pwplus--don't use.
2740 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2752 if test "${ac_cv_path_install+set}" = set; then
2753 INSTALL
=$ac_cv_path_install
2755 # As a last resort, use the slow shell script. We don't cache a
2756 # path for INSTALL within a source directory, because that will
2757 # break other packages using the cache if that directory is
2758 # removed, or if the path is relative.
2759 INSTALL
=$ac_install_sh
2762 echo "$as_me:$LINENO: result: $INSTALL" >&5
2763 echo "${ECHO_T}$INSTALL" >&6
2765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2766 # It thinks the first close brace ends the variable substitution.
2767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2771 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2774 # Put a plausible default for CC_FOR_BUILD in Makefile.
2775 if test "x$cross_compiling" = "xno"; then
2776 CC_FOR_BUILD
='$(CC)'
2786 if test -n "$ac_tool_prefix"; then
2787 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2788 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2789 echo "$as_me:$LINENO: checking for $ac_word" >&5
2790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2791 if test "${ac_cv_prog_RANLIB+set}" = set; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 if test -n "$RANLIB"; then
2795 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 for ac_exec_ext
in '' $ac_executable_extensions; do
2803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 RANLIB
=$ac_cv_prog_RANLIB
2814 if test -n "$RANLIB"; then
2815 echo "$as_me:$LINENO: result: $RANLIB" >&5
2816 echo "${ECHO_T}$RANLIB" >&6
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2823 if test -z "$ac_cv_prog_RANLIB"; then
2824 ac_ct_RANLIB
=$RANLIB
2825 # Extract the first word of "ranlib", so it can be a program name with args.
2826 set dummy ranlib
; ac_word
=$2
2827 echo "$as_me:$LINENO: checking for $ac_word" >&5
2828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2829 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 if test -n "$ac_ct_RANLIB"; then
2833 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir
=.
2840 for ac_exec_ext
in '' $ac_executable_extensions; do
2841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2852 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2853 if test -n "$ac_ct_RANLIB"; then
2854 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2855 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2857 echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2861 RANLIB
=$ac_ct_RANLIB
2863 RANLIB
="$ac_cv_prog_RANLIB"
2868 # If we haven't got the data from the intl directory,
2869 # assume NLS is disabled.
2878 if test -f ..
/..
/intl
/config.intl
; then
2879 . ..
/..
/intl
/config.intl
2881 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2882 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2883 if test x
"$USE_NLS" != xyes
; then
2884 echo "$as_me:$LINENO: result: no" >&5
2885 echo "${ECHO_T}no" >&6
2887 echo "$as_me:$LINENO: result: yes" >&5
2888 echo "${ECHO_T}yes" >&6
2890 cat >>confdefs.h
<<\_ACEOF
2891 #define ENABLE_NLS 1
2895 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2896 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2897 # Look for .po and .gmo files in the source directory.
2900 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2901 # If there aren't any .gmo files the shell will give us the
2902 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2904 case "$cat" in *\
**)
2907 # The quadruple backslash is collapsed to a double backslash
2908 # by the backticks, then collapsed again by the double quotes,
2909 # leaving us with one backslash in the sed expression (right
2910 # before the dot that mustn't act as a wildcard).
2911 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2912 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2913 # The user is allowed to set LINGUAS to a list of languages to
2914 # install catalogs for. If it's empty that means "all of them."
2915 if test "x$LINGUAS" = x
; then
2916 CATALOGS
="$CATALOGS $cat"
2917 XLINGUAS
="$XLINGUAS $lang"
2919 case "$LINGUAS" in *$lang*)
2920 CATALOGS
="$CATALOGS $cat"
2921 XLINGUAS
="$XLINGUAS $lang"
2927 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2928 echo "${ECHO_T}$LINGUAS" >&6
2941 # Check for common headers.
2942 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2943 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2946 ac_cpp
='$CPP $CPPFLAGS'
2947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2950 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2951 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2952 # On Suns, sometimes $CPP names a directory.
2953 if test -n "$CPP" && test -d "$CPP"; then
2956 if test -z "$CPP"; then
2957 if test "${ac_cv_prog_CPP+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 # Double quotes because CPP needs to be expanded
2961 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2964 for ac_c_preproc_warn_flag
in '' yes
2966 # Use a header file that comes with gcc, so configuring glibc
2967 # with a fresh cross-compiler works.
2968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2969 # <limits.h> exists even on freestanding compilers.
2970 # On the NeXT, cc -E runs the code through the compiler's parser,
2971 # not just through cpp. "Syntax error" is here to catch this case.
2972 cat >conftest.
$ac_ext <<_ACEOF
2975 cat confdefs.h
>>conftest.
$ac_ext
2976 cat >>conftest.
$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2979 # include <limits.h>
2981 # include <assert.h>
2985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2988 grep -v '^ *+' conftest.er1
>conftest.err
2990 cat conftest.err
>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } >/dev
/null
; then
2993 if test -s conftest.err
; then
2994 ac_cpp_err
=$ac_c_preproc_warn_flag
2995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3002 if test -z "$ac_cpp_err"; then
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.
$ac_ext >&5
3008 # Broken: fails on valid input.
3011 rm -f conftest.err conftest.
$ac_ext
3013 # OK, works on sane cases. Now check whether non-existent headers
3014 # can be detected and how.
3015 cat >conftest.
$ac_ext <<_ACEOF
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3021 #include <ac_nonexistent.h>
3023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3026 grep -v '^ *+' conftest.er1
>conftest.err
3028 cat conftest.err
>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); } >/dev
/null
; then
3031 if test -s conftest.err
; then
3032 ac_cpp_err
=$ac_c_preproc_warn_flag
3033 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3040 if test -z "$ac_cpp_err"; then
3041 # Broken: success on invalid input.
3044 echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.
$ac_ext >&5
3047 # Passes both tests.
3051 rm -f conftest.err conftest.
$ac_ext
3054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3055 rm -f conftest.err conftest.
$ac_ext
3056 if $ac_preproc_ok; then
3068 echo "$as_me:$LINENO: result: $CPP" >&5
3069 echo "${ECHO_T}$CPP" >&6
3071 for ac_c_preproc_warn_flag
in '' yes
3073 # Use a header file that comes with gcc, so configuring glibc
3074 # with a fresh cross-compiler works.
3075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3076 # <limits.h> exists even on freestanding compilers.
3077 # On the NeXT, cc -E runs the code through the compiler's parser,
3078 # not just through cpp. "Syntax error" is here to catch this case.
3079 cat >conftest.
$ac_ext <<_ACEOF
3082 cat confdefs.h
>>conftest.
$ac_ext
3083 cat >>conftest.
$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3086 # include <limits.h>
3088 # include <assert.h>
3092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3095 grep -v '^ *+' conftest.er1
>conftest.err
3097 cat conftest.err
>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } >/dev
/null
; then
3100 if test -s conftest.err
; then
3101 ac_cpp_err
=$ac_c_preproc_warn_flag
3102 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3109 if test -z "$ac_cpp_err"; then
3112 echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.
$ac_ext >&5
3115 # Broken: fails on valid input.
3118 rm -f conftest.err conftest.
$ac_ext
3120 # OK, works on sane cases. Now check whether non-existent headers
3121 # can be detected and how.
3122 cat >conftest.
$ac_ext <<_ACEOF
3125 cat confdefs.h
>>conftest.
$ac_ext
3126 cat >>conftest.
$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3128 #include <ac_nonexistent.h>
3130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3133 grep -v '^ *+' conftest.er1
>conftest.err
3135 cat conftest.err
>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } >/dev
/null
; then
3138 if test -s conftest.err
; then
3139 ac_cpp_err
=$ac_c_preproc_warn_flag
3140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3147 if test -z "$ac_cpp_err"; then
3148 # Broken: success on invalid input.
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.
$ac_ext >&5
3154 # Passes both tests.
3158 rm -f conftest.err conftest.
$ac_ext
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3162 rm -f conftest.err conftest.
$ac_ext
3163 if $ac_preproc_ok; then
3166 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3167 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3169 See \`config.log' for more details." >&5
3170 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3171 See \`config.log' for more details." >&2;}
3172 { (exit 1); exit 1; }; }; }
3176 ac_cpp
='$CPP $CPPFLAGS'
3177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3182 echo "$as_me:$LINENO: checking for egrep" >&5
3183 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3184 if test "${ac_cv_prog_egrep+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3188 then ac_cv_prog_egrep
='grep -E'
3189 else ac_cv_prog_egrep
='egrep'
3192 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3193 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3194 EGREP
=$ac_cv_prog_egrep
3197 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3198 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3199 if test "${ac_cv_header_stdc+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 cat >conftest.
$ac_ext <<_ACEOF
3205 cat confdefs.h
>>conftest.
$ac_ext
3206 cat >>conftest.
$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3221 rm -f conftest.
$ac_objext
3222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3223 (eval $ac_compile) 2>conftest.er1
3225 grep -v '^ *+' conftest.er1
>conftest.err
3227 cat conftest.err
>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try
='test -z "$ac_c_werror_flag"
3231 || test ! -s conftest.err'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; } &&
3237 { ac_try
='test -s conftest.$ac_objext'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3243 ac_cv_header_stdc
=yes
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.
$ac_ext >&5
3248 ac_cv_header_stdc
=no
3250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3252 if test $ac_cv_header_stdc = yes; then
3253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3254 cat >conftest.
$ac_ext <<_ACEOF
3257 cat confdefs.h
>>conftest.
$ac_ext
3258 cat >>conftest.
$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3264 $EGREP "memchr" >/dev
/null
2>&1; then
3267 ac_cv_header_stdc
=no
3273 if test $ac_cv_header_stdc = yes; then
3274 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3275 cat >conftest.
$ac_ext <<_ACEOF
3278 cat confdefs.h
>>conftest.
$ac_ext
3279 cat >>conftest.
$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3285 $EGREP "free" >/dev
/null
2>&1; then
3288 ac_cv_header_stdc
=no
3294 if test $ac_cv_header_stdc = yes; then
3295 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3296 if test "$cross_compiling" = yes; then
3299 cat >conftest.
$ac_ext <<_ACEOF
3302 cat confdefs.h
>>conftest.
$ac_ext
3303 cat >>conftest.
$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3306 #if ((' ' & 0x0FF) == 0x020)
3307 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3308 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3310 # define ISLOWER(c) \
3311 (('a' <= (c) && (c) <= 'i') \
3312 || ('j' <= (c) && (c) <= 'r') \
3313 || ('s' <= (c) && (c) <= 'z'))
3314 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3317 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3322 for (i = 0; i < 256; i++)
3323 if (XOR (islower (i), ISLOWER (i))
3324 || toupper (i) != TOUPPER (i))
3329 rm -f conftest
$ac_exeext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3331 (eval $ac_link) 2>&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3342 echo "$as_me: program exited with status $ac_status" >&5
3343 echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.
$ac_ext >&5
3347 ac_cv_header_stdc
=no
3349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3353 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3354 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3355 if test $ac_cv_header_stdc = yes; then
3357 cat >>confdefs.h
<<\_ACEOF
3358 #define STDC_HEADERS 1
3363 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3373 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3374 inttypes.h stdint.h unistd.h
3376 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3377 echo "$as_me:$LINENO: checking for $ac_header" >&5
3378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 cat >conftest.
$ac_ext <<_ACEOF
3385 cat confdefs.h
>>conftest.
$ac_ext
3386 cat >>conftest.
$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 $ac_includes_default
3390 #include <$ac_header>
3392 rm -f conftest.
$ac_objext
3393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3394 (eval $ac_compile) 2>conftest.er1
3396 grep -v '^ *+' conftest.er1
>conftest.err
3398 cat conftest.err
>&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try
='test -z "$ac_c_werror_flag"
3402 || test ! -s conftest.err'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; } &&
3408 { ac_try
='test -s conftest.$ac_objext'
3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; }; then
3414 eval "$as_ac_Header=yes"
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.
$ac_ext >&5
3419 eval "$as_ac_Header=no"
3421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3426 cat >>confdefs.h
<<_ACEOF
3427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3440 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3444 echo "$as_me:$LINENO: checking for $ac_header" >&5
3445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3452 # Is the header compilable?
3453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3455 cat >conftest.
$ac_ext <<_ACEOF
3458 cat confdefs.h
>>conftest.
$ac_ext
3459 cat >>conftest.
$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3461 $ac_includes_default
3462 #include <$ac_header>
3464 rm -f conftest.
$ac_objext
3465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3466 (eval $ac_compile) 2>conftest.er1
3468 grep -v '^ *+' conftest.er1
>conftest.err
3470 cat conftest.err
>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } &&
3473 { ac_try
='test -z "$ac_c_werror_flag"
3474 || test ! -s conftest.err'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; } &&
3480 { ac_try
='test -s conftest.$ac_objext'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; }; then
3486 ac_header_compiler
=yes
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.
$ac_ext >&5
3491 ac_header_compiler
=no
3493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3495 echo "${ECHO_T}$ac_header_compiler" >&6
3497 # Is the header present?
3498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3500 cat >conftest.
$ac_ext <<_ACEOF
3503 cat confdefs.h
>>conftest.
$ac_ext
3504 cat >>conftest.
$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3506 #include <$ac_header>
3508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3511 grep -v '^ *+' conftest.er1
>conftest.err
3513 cat conftest.err
>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } >/dev
/null
; then
3516 if test -s conftest.err
; then
3517 ac_cpp_err
=$ac_c_preproc_warn_flag
3518 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3525 if test -z "$ac_cpp_err"; then
3526 ac_header_preproc
=yes
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.
$ac_ext >&5
3531 ac_header_preproc
=no
3533 rm -f conftest.err conftest.
$ac_ext
3534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3535 echo "${ECHO_T}$ac_header_preproc" >&6
3537 # So? What about this header?
3538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3544 ac_header_preproc
=yes
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3561 ## ------------------------------------------ ##
3562 ## Report this to the AC_PACKAGE_NAME lists. ##
3563 ## ------------------------------------------ ##
3566 sed "s/^/$as_me: WARNING: /" >&2
3569 echo "$as_me:$LINENO: checking for $ac_header" >&5
3570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 eval "$as_ac_Header=\$ac_header_preproc"
3576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3581 cat >>confdefs.h
<<_ACEOF
3582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3591 for ac_header
in sys
/time.h sys
/resource.h
3593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3595 echo "$as_me:$LINENO: checking for $ac_header" >&5
3596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3603 # Is the header compilable?
3604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3612 $ac_includes_default
3613 #include <$ac_header>
3615 rm -f conftest.
$ac_objext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3617 (eval $ac_compile) 2>conftest.er1
3619 grep -v '^ *+' conftest.er1
>conftest.err
3621 cat conftest.err
>&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try
='test -z "$ac_c_werror_flag"
3625 || test ! -s conftest.err'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; } &&
3631 { ac_try
='test -s conftest.$ac_objext'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; }; then
3637 ac_header_compiler
=yes
3639 echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.
$ac_ext >&5
3642 ac_header_compiler
=no
3644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3646 echo "${ECHO_T}$ac_header_compiler" >&6
3648 # Is the header present?
3649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 #include <$ac_header>
3659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3662 grep -v '^ *+' conftest.er1
>conftest.err
3664 cat conftest.err
>&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } >/dev
/null
; then
3667 if test -s conftest.err
; then
3668 ac_cpp_err
=$ac_c_preproc_warn_flag
3669 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3676 if test -z "$ac_cpp_err"; then
3677 ac_header_preproc
=yes
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.
$ac_ext >&5
3682 ac_header_preproc
=no
3684 rm -f conftest.err conftest.
$ac_ext
3685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3686 echo "${ECHO_T}$ac_header_preproc" >&6
3688 # So? What about this header?
3689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3695 ac_header_preproc
=yes
3698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3712 ## ------------------------------------------ ##
3713 ## Report this to the AC_PACKAGE_NAME lists. ##
3714 ## ------------------------------------------ ##
3717 sed "s/^/$as_me: WARNING: /" >&2
3720 echo "$as_me:$LINENO: checking for $ac_header" >&5
3721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 eval "$as_ac_Header=\$ac_header_preproc"
3727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3732 cat >>confdefs.h
<<_ACEOF
3733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3742 for ac_header
in fcntl.h fpu_control.h
3744 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3746 echo "$as_me:$LINENO: checking for $ac_header" >&5
3747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3754 # Is the header compilable?
3755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3757 cat >conftest.
$ac_ext <<_ACEOF
3760 cat confdefs.h
>>conftest.
$ac_ext
3761 cat >>conftest.
$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3763 $ac_includes_default
3764 #include <$ac_header>
3766 rm -f conftest.
$ac_objext
3767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3768 (eval $ac_compile) 2>conftest.er1
3770 grep -v '^ *+' conftest.er1
>conftest.err
3772 cat conftest.err
>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); } &&
3775 { ac_try
='test -z "$ac_c_werror_flag"
3776 || test ! -s conftest.err'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; } &&
3782 { ac_try
='test -s conftest.$ac_objext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; }; then
3788 ac_header_compiler
=yes
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.
$ac_ext >&5
3793 ac_header_compiler
=no
3795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3797 echo "${ECHO_T}$ac_header_compiler" >&6
3799 # Is the header present?
3800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3802 cat >conftest.
$ac_ext <<_ACEOF
3805 cat confdefs.h
>>conftest.
$ac_ext
3806 cat >>conftest.
$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <$ac_header>
3810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3813 grep -v '^ *+' conftest.er1
>conftest.err
3815 cat conftest.err
>&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } >/dev
/null
; then
3818 if test -s conftest.err
; then
3819 ac_cpp_err
=$ac_c_preproc_warn_flag
3820 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3827 if test -z "$ac_cpp_err"; then
3828 ac_header_preproc
=yes
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.
$ac_ext >&5
3833 ac_header_preproc
=no
3835 rm -f conftest.err conftest.
$ac_ext
3836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3837 echo "${ECHO_T}$ac_header_preproc" >&6
3839 # So? What about this header?
3840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3846 ac_header_preproc
=yes
3849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3863 ## ------------------------------------------ ##
3864 ## Report this to the AC_PACKAGE_NAME lists. ##
3865 ## ------------------------------------------ ##
3868 sed "s/^/$as_me: WARNING: /" >&2
3871 echo "$as_me:$LINENO: checking for $ac_header" >&5
3872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 eval "$as_ac_Header=\$ac_header_preproc"
3878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3883 cat >>confdefs.h
<<_ACEOF
3884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3894 for ac_header
in dlfcn.h errno.h sys
/stat.h
3896 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3898 echo "$as_me:$LINENO: checking for $ac_header" >&5
3899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3906 # Is the header compilable?
3907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3909 cat >conftest.
$ac_ext <<_ACEOF
3912 cat confdefs.h
>>conftest.
$ac_ext
3913 cat >>conftest.
$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3915 $ac_includes_default
3916 #include <$ac_header>
3918 rm -f conftest.
$ac_objext
3919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3920 (eval $ac_compile) 2>conftest.er1
3922 grep -v '^ *+' conftest.er1
>conftest.err
3924 cat conftest.err
>&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); } &&
3927 { ac_try
='test -z "$ac_c_werror_flag"
3928 || test ! -s conftest.err'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; } &&
3934 { ac_try
='test -s conftest.$ac_objext'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; }; then
3940 ac_header_compiler
=yes
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.
$ac_ext >&5
3945 ac_header_compiler
=no
3947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3949 echo "${ECHO_T}$ac_header_compiler" >&6
3951 # Is the header present?
3952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3954 cat >conftest.
$ac_ext <<_ACEOF
3957 cat confdefs.h
>>conftest.
$ac_ext
3958 cat >>conftest.
$ac_ext <<_ACEOF
3959 /* end confdefs.h. */
3960 #include <$ac_header>
3962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3965 grep -v '^ *+' conftest.er1
>conftest.err
3967 cat conftest.err
>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev
/null
; then
3970 if test -s conftest.err
; then
3971 ac_cpp_err
=$ac_c_preproc_warn_flag
3972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3979 if test -z "$ac_cpp_err"; then
3980 ac_header_preproc
=yes
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3985 ac_header_preproc
=no
3987 rm -f conftest.err conftest.
$ac_ext
3988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3989 echo "${ECHO_T}$ac_header_preproc" >&6
3991 # So? What about this header?
3992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3998 ac_header_preproc
=yes
4001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4015 ## ------------------------------------------ ##
4016 ## Report this to the AC_PACKAGE_NAME lists. ##
4017 ## ------------------------------------------ ##
4020 sed "s/^/$as_me: WARNING: /" >&2
4023 echo "$as_me:$LINENO: checking for $ac_header" >&5
4024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 eval "$as_ac_Header=\$ac_header_preproc"
4030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4035 cat >>confdefs.h
<<_ACEOF
4036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4047 for ac_func
in getrusage
time sigaction __setfpucw
4049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4050 echo "$as_me:$LINENO: checking for $ac_func" >&5
4051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4052 if eval "test \"\${$as_ac_var+set}\" = set"; then
4053 echo $ECHO_N "(cached) $ECHO_C" >&6
4055 cat >conftest.
$ac_ext <<_ACEOF
4058 cat confdefs.h
>>conftest.
$ac_ext
4059 cat >>conftest.
$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4063 #define $ac_func innocuous_$ac_func
4065 /* System header to define __stub macros and hopefully few prototypes,
4066 which can conflict with char $ac_func (); below.
4067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4068 <limits.h> exists even on freestanding compilers. */
4071 # include <limits.h>
4073 # include <assert.h>
4078 /* Override any gcc2 internal prototype to avoid an error. */
4083 /* We use char because int might match the return type of a gcc2
4084 builtin and then its argument prototype would still apply. */
4086 /* The GNU C library defines this for functions which it implements
4087 to always fail with ENOSYS. Some functions are actually named
4088 something starting with __ and the normal name is an alias. */
4089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4092 char (*f) () = $ac_func;
4101 return f != $ac_func;
4106 rm -f conftest.
$ac_objext conftest
$ac_exeext
4107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4108 (eval $ac_link) 2>conftest.er1
4110 grep -v '^ *+' conftest.er1
>conftest.err
4112 cat conftest.err
>&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } &&
4115 { ac_try
='test -z "$ac_c_werror_flag"
4116 || test ! -s conftest.err'
4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; } &&
4122 { ac_try
='test -s conftest$ac_exeext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; }; then
4128 eval "$as_ac_var=yes"
4130 echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.
$ac_ext >&5
4133 eval "$as_ac_var=no"
4135 rm -f conftest.err conftest.
$ac_objext \
4136 conftest
$ac_exeext conftest.
$ac_ext
4138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4140 if test `eval echo '${'$as_ac_var'}'` = yes; then
4141 cat >>confdefs.h
<<_ACEOF
4142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4149 # Check for socket libraries
4151 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4152 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4153 if test "${ac_cv_lib_socket_bind+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 ac_check_lib_save_LIBS
=$LIBS
4157 LIBS
="-lsocket $LIBS"
4158 cat >conftest.
$ac_ext <<_ACEOF
4161 cat confdefs.h
>>conftest.
$ac_ext
4162 cat >>conftest.
$ac_ext <<_ACEOF
4163 /* end confdefs.h. */
4165 /* Override any gcc2 internal prototype to avoid an error. */
4169 /* We use char because int might match the return type of a gcc2
4170 builtin and then its argument prototype would still apply. */
4180 rm -f conftest.
$ac_objext conftest
$ac_exeext
4181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4182 (eval $ac_link) 2>conftest.er1
4184 grep -v '^ *+' conftest.er1
>conftest.err
4186 cat conftest.err
>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } &&
4189 { ac_try
='test -z "$ac_c_werror_flag"
4190 || test ! -s conftest.err'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; } &&
4196 { ac_try
='test -s conftest$ac_exeext'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; }; then
4202 ac_cv_lib_socket_bind
=yes
4204 echo "$as_me: failed program was:" >&5
4205 sed 's/^/| /' conftest.
$ac_ext >&5
4207 ac_cv_lib_socket_bind
=no
4209 rm -f conftest.err conftest.
$ac_objext \
4210 conftest
$ac_exeext conftest.
$ac_ext
4211 LIBS
=$ac_check_lib_save_LIBS
4213 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4214 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4215 if test $ac_cv_lib_socket_bind = yes; then
4216 cat >>confdefs.h
<<_ACEOF
4217 #define HAVE_LIBSOCKET 1
4220 LIBS
="-lsocket $LIBS"
4225 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4226 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4227 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 ac_check_lib_save_LIBS
=$LIBS
4232 cat >conftest.
$ac_ext <<_ACEOF
4235 cat confdefs.h
>>conftest.
$ac_ext
4236 cat >>conftest.
$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4239 /* Override any gcc2 internal prototype to avoid an error. */
4243 /* We use char because int might match the return type of a gcc2
4244 builtin and then its argument prototype would still apply. */
4245 char gethostbyname ();
4254 rm -f conftest.
$ac_objext conftest
$ac_exeext
4255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4256 (eval $ac_link) 2>conftest.er1
4258 grep -v '^ *+' conftest.er1
>conftest.err
4260 cat conftest.err
>&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } &&
4263 { ac_try
='test -z "$ac_c_werror_flag"
4264 || test ! -s conftest.err'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; } &&
4270 { ac_try
='test -s conftest$ac_exeext'
4271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; }; then
4276 ac_cv_lib_nsl_gethostbyname
=yes
4278 echo "$as_me: failed program was:" >&5
4279 sed 's/^/| /' conftest.
$ac_ext >&5
4281 ac_cv_lib_nsl_gethostbyname
=no
4283 rm -f conftest.err conftest.
$ac_objext \
4284 conftest
$ac_exeext conftest.
$ac_ext
4285 LIBS
=$ac_check_lib_save_LIBS
4287 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4288 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4289 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4290 cat >>confdefs.h
<<_ACEOF
4291 #define HAVE_LIBNSL 1
4299 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4300 # using the same condition.
4301 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4302 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4303 if test "${ac_cv_search_zlibVersion+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 ac_func_search_save_LIBS
=$LIBS
4307 ac_cv_search_zlibVersion
=no
4308 cat >conftest.
$ac_ext <<_ACEOF
4311 cat confdefs.h
>>conftest.
$ac_ext
4312 cat >>conftest.
$ac_ext <<_ACEOF
4313 /* end confdefs.h. */
4315 /* Override any gcc2 internal prototype to avoid an error. */
4319 /* We use char because int might match the return type of a gcc2
4320 builtin and then its argument prototype would still apply. */
4321 char zlibVersion ();
4330 rm -f conftest.
$ac_objext conftest
$ac_exeext
4331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4332 (eval $ac_link) 2>conftest.er1
4334 grep -v '^ *+' conftest.er1
>conftest.err
4336 cat conftest.err
>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } &&
4339 { ac_try
='test -z "$ac_c_werror_flag"
4340 || test ! -s conftest.err'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; } &&
4346 { ac_try
='test -s conftest$ac_exeext'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; }; then
4352 ac_cv_search_zlibVersion
="none required"
4354 echo "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.
$ac_ext >&5
4358 rm -f conftest.err conftest.
$ac_objext \
4359 conftest
$ac_exeext conftest.
$ac_ext
4360 if test "$ac_cv_search_zlibVersion" = no
; then
4362 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4363 cat >conftest.
$ac_ext <<_ACEOF
4366 cat confdefs.h
>>conftest.
$ac_ext
4367 cat >>conftest.
$ac_ext <<_ACEOF
4368 /* end confdefs.h. */
4370 /* Override any gcc2 internal prototype to avoid an error. */
4374 /* We use char because int might match the return type of a gcc2
4375 builtin and then its argument prototype would still apply. */
4376 char zlibVersion ();
4385 rm -f conftest.
$ac_objext conftest
$ac_exeext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4387 (eval $ac_link) 2>conftest.er1
4389 grep -v '^ *+' conftest.er1
>conftest.err
4391 cat conftest.err
>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } &&
4394 { ac_try
='test -z "$ac_c_werror_flag"
4395 || test ! -s conftest.err'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; } &&
4401 { ac_try
='test -s conftest$ac_exeext'
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }; then
4407 ac_cv_search_zlibVersion
="-l$ac_lib"
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.
$ac_ext >&5
4414 rm -f conftest.err conftest.
$ac_objext \
4415 conftest
$ac_exeext conftest.
$ac_ext
4418 LIBS
=$ac_func_search_save_LIBS
4420 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4421 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4422 if test "$ac_cv_search_zlibVersion" != no
; then
4423 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4425 for ac_header
in zlib.h
4427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4429 echo "$as_me:$LINENO: checking for $ac_header" >&5
4430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4437 # Is the header compilable?
4438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4440 cat >conftest.
$ac_ext <<_ACEOF
4443 cat confdefs.h
>>conftest.
$ac_ext
4444 cat >>conftest.
$ac_ext <<_ACEOF
4445 /* end confdefs.h. */
4446 $ac_includes_default
4447 #include <$ac_header>
4449 rm -f conftest.
$ac_objext
4450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4451 (eval $ac_compile) 2>conftest.er1
4453 grep -v '^ *+' conftest.er1
>conftest.err
4455 cat conftest.err
>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } &&
4458 { ac_try
='test -z "$ac_c_werror_flag"
4459 || test ! -s conftest.err'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try
='test -s conftest.$ac_objext'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; }; then
4471 ac_header_compiler
=yes
4473 echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.
$ac_ext >&5
4476 ac_header_compiler
=no
4478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4480 echo "${ECHO_T}$ac_header_compiler" >&6
4482 # Is the header present?
4483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4485 cat >conftest.
$ac_ext <<_ACEOF
4488 cat confdefs.h
>>conftest.
$ac_ext
4489 cat >>conftest.
$ac_ext <<_ACEOF
4490 /* end confdefs.h. */
4491 #include <$ac_header>
4493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } >/dev
/null
; then
4501 if test -s conftest.err
; then
4502 ac_cpp_err
=$ac_c_preproc_warn_flag
4503 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4510 if test -z "$ac_cpp_err"; then
4511 ac_header_preproc
=yes
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.
$ac_ext >&5
4516 ac_header_preproc
=no
4518 rm -f conftest.err conftest.
$ac_ext
4519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4520 echo "${ECHO_T}$ac_header_preproc" >&6
4522 # So? What about this header?
4523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4528 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4529 ac_header_preproc
=yes
4532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4537 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4539 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4546 ## ------------------------------------------ ##
4547 ## Report this to the AC_PACKAGE_NAME lists. ##
4548 ## ------------------------------------------ ##
4551 sed "s/^/$as_me: WARNING: /" >&2
4554 echo "$as_me:$LINENO: checking for $ac_header" >&5
4555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 eval "$as_ac_Header=\$ac_header_preproc"
4561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4566 cat >>confdefs.h
<<_ACEOF
4567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4577 .
${srcdir}/..
/..
/bfd
/configure.
host
4581 USE_MAINTAINER_MODE
=no
4582 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4583 if test "${enable_maintainer_mode+set}" = set; then
4584 enableval
="$enable_maintainer_mode"
4585 case "${enableval}" in
4586 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4588 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4589 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4590 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4592 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4593 echo "Setting maintainer mode" 6>&1
4600 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4601 if test "${enable_sim_bswap+set}" = set; then
4602 enableval
="$enable_sim_bswap"
4603 case "${enableval}" in
4604 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4605 no
) sim_bswap
="-DWITH_BSWAP=0";;
4606 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4607 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4608 { (exit 1); exit 1; }; }; sim_bswap
="";;
4610 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4611 echo "Setting bswap flags = $sim_bswap" 6>&1
4618 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4619 if test "${enable_sim_cflags+set}" = set; then
4620 enableval
="$enable_sim_cflags"
4621 case "${enableval}" in
4622 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4623 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4624 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4625 { (exit 1); exit 1; }; }; sim_cflags
="";;
4627 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4629 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4630 echo "Setting sim cflags = $sim_cflags" 6>&1
4637 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4638 if test "${enable_sim_debug+set}" = set; then
4639 enableval
="$enable_sim_debug"
4640 case "${enableval}" in
4641 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4642 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4643 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4645 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4646 echo "Setting sim debug = $sim_debug" 6>&1
4653 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4654 if test "${enable_sim_stdio+set}" = set; then
4655 enableval
="$enable_sim_stdio"
4656 case "${enableval}" in
4657 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4658 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4659 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4660 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4661 { (exit 1); exit 1; }; }; sim_stdio
="";;
4663 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4664 echo "Setting stdio flags = $sim_stdio" 6>&1
4671 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4672 if test "${enable_sim_trace+set}" = set; then
4673 enableval
="$enable_sim_trace"
4674 case "${enableval}" in
4675 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4676 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4678 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4681 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4682 if test x
"$sim_trace" = x
; then
4683 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4685 sim_trace
="${sim_trace}|TRACE_$x"
4688 sim_trace
="$sim_trace)'" ;;
4690 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4691 echo "Setting sim trace = $sim_trace" 6>&1
4698 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4699 if test "${enable_sim_profile+set}" = set; then
4700 enableval
="$enable_sim_profile"
4701 case "${enableval}" in
4702 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4703 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4705 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4708 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4709 if test x
"$sim_profile" = x
; then
4710 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4712 sim_profile
="${sim_profile}|PROFILE_$x"
4715 sim_profile
="$sim_profile)'" ;;
4717 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4718 echo "Setting sim profile = $sim_profile" 6>&1
4721 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4726 # Check whether --with-pkgversion or --without-pkgversion was given.
4727 if test "${with_pkgversion+set}" = set; then
4728 withval
="$with_pkgversion"
4730 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4731 echo "$as_me: error: package version not specified" >&2;}
4732 { (exit 1); exit 1; }; } ;;
4734 *) PKGVERSION
="($withval) " ;;
4744 # Check whether --with-bugurl or --without-bugurl was given.
4745 if test "${with_bugurl+set}" = set; then
4746 withval
="$with_bugurl"
4748 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4749 echo "$as_me: error: bug URL not specified" >&2;}
4750 { (exit 1); exit 1; }; } ;;
4753 *) BUGURL
="$withval"
4757 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4766 REPORT_BUGS_TO
="<$BUGURL>"
4767 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4774 cat >>confdefs.h
<<_ACEOF
4775 #define PKGVERSION "$PKGVERSION"
4779 cat >>confdefs.h
<<_ACEOF
4780 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4784 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4785 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4786 if test "${ac_cv_type_signal+set}" = set; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 cat >conftest.
$ac_ext <<_ACEOF
4792 cat confdefs.h
>>conftest.
$ac_ext
4793 cat >>conftest.
$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 #include <sys/types.h>
4801 extern "C" void (*signal (int, void (*)(int)))(int);
4803 void (*signal ()) ();
4814 rm -f conftest.
$ac_objext
4815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4816 (eval $ac_compile) 2>conftest.er1
4818 grep -v '^ *+' conftest.er1
>conftest.err
4820 cat conftest.err
>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } &&
4823 { ac_try
='test -z "$ac_c_werror_flag"
4824 || test ! -s conftest.err'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; } &&
4830 { ac_try
='test -s conftest.$ac_objext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4836 ac_cv_type_signal
=void
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.
$ac_ext >&5
4841 ac_cv_type_signal
=int
4843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4845 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4846 echo "${ECHO_T}$ac_cv_type_signal" >&6
4848 cat >>confdefs.h
<<_ACEOF
4849 #define RETSIGTYPE $ac_cv_type_signal
4859 sim_link_links
=tconfig.h
4860 if test -f ${srcdir}/tconfig.
in
4862 sim_link_files
=tconfig.
in
4864 sim_link_files
=..
/common
/tconfig.
in
4867 # targ-vals.def points to the libc macro description file.
4869 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4871 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4872 sim_link_links
="${sim_link_links} targ-vals.def"
4876 wire_endian
="BIG_ENDIAN"
4878 # Check whether --enable-sim-endian or --disable-sim-endian was given.
4879 if test "${enable_sim_endian+set}" = set; then
4880 enableval
="$enable_sim_endian"
4881 case "${enableval}" in
4882 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
4883 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
4884 yes) if test x
"$wire_endian" != x
; then
4885 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4887 if test x
"$default_endian" != x
; then
4888 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${default_endian}"
4890 echo "No hard-wired endian for target $target" 1>&6
4891 sim_endian
="-DWITH_TARGET_BYTE_ORDER=0"
4894 no
) if test x
"$default_endian" != x
; then
4895 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4897 if test x
"$wire_endian" != x
; then
4898 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${wire_endian}"
4900 echo "No default endian for target $target" 1>&6
4901 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=0"
4904 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-endian\"" >&5
4905 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-endian\"" >&2;}
4906 { (exit 1); exit 1; }; }; sim_endian
="";;
4908 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
4909 echo "Setting endian flags = $sim_endian" 6>&1
4912 if test x
"$default_endian" != x
; then
4913 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4915 if test x
"$wire_endian" != x
; then
4916 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4922 wire_alignment
="STRICT_ALIGNMENT"
4923 default_alignment
=""
4925 # Check whether --enable-sim-alignment or --disable-sim-alignment was given.
4926 if test "${enable_sim_alignment+set}" = set; then
4927 enableval
="$enable_sim_alignment"
4928 case "${enableval}" in
4929 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
4930 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
4931 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
4932 yes) if test x
"$wire_alignment" != x
; then
4933 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4935 if test x
"$default_alignment" != x
; then
4936 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
4938 echo "No hard-wired alignment for target $target" 1>&6
4939 sim_alignment
="-DWITH_ALIGNMENT=0"
4942 no
) if test x
"$default_alignment" != x
; then
4943 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4945 if test x
"$wire_alignment" != x
; then
4946 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
4948 echo "No default alignment for target $target" 1>&6
4949 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
4952 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&5
4953 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&2;}
4954 { (exit 1); exit 1; }; }; sim_alignment
="";;
4956 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
4957 echo "Setting alignment flags = $sim_alignment" 6>&1
4960 if test x
"$default_alignment" != x
; then
4961 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4963 if test x
"$wire_alignment" != x
; then
4964 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4971 # Check whether --enable-sim-hostendian or --disable-sim-hostendian was given.
4972 if test "${enable_sim_hostendian+set}" = set; then
4973 enableval
="$enable_sim_hostendian"
4974 case "${enableval}" in
4975 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
4976 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
4977 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
4978 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&5
4979 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&2;}
4980 { (exit 1); exit 1; }; }; sim_hostendian
="";;
4982 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
4983 echo "Setting hostendian flags = $sim_hostendian" 6>&1
4987 if test "x$cross_compiling" = "xno"; then
4988 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4989 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4990 if test "${ac_cv_c_bigendian+set}" = set; then
4991 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 # See if sys/param.h defines the BYTE_ORDER macro.
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 #include <sys/types.h>
5001 #include <sys/param.h>
5006 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5014 rm -f conftest.
$ac_objext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 (eval $ac_compile) 2>conftest.er1
5018 grep -v '^ *+' conftest.er1
>conftest.err
5020 cat conftest.err
>&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } &&
5023 { ac_try
='test -z "$ac_c_werror_flag"
5024 || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; } &&
5030 { ac_try
='test -s conftest.$ac_objext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 # It does; now see whether it defined to BIG_ENDIAN or not.
5037 cat >conftest.
$ac_ext <<_ACEOF
5040 cat confdefs.h
>>conftest.
$ac_ext
5041 cat >>conftest.
$ac_ext <<_ACEOF
5042 /* end confdefs.h. */
5043 #include <sys/types.h>
5044 #include <sys/param.h>
5049 #if BYTE_ORDER != BIG_ENDIAN
5057 rm -f conftest.
$ac_objext
5058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5059 (eval $ac_compile) 2>conftest.er1
5061 grep -v '^ *+' conftest.er1
>conftest.err
5063 cat conftest.err
>&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } &&
5066 { ac_try
='test -z "$ac_c_werror_flag"
5067 || test ! -s conftest.err'
5068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); }; } &&
5073 { ac_try
='test -s conftest.$ac_objext'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5079 ac_cv_c_bigendian
=yes
5081 echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.
$ac_ext >&5
5084 ac_cv_c_bigendian
=no
5086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 # It does not; compile a test program.
5092 if test "$cross_compiling" = yes; then
5093 # try to guess the endianness by grepping values into an object file
5094 ac_cv_c_bigendian
=unknown
5095 cat >conftest.
$ac_ext <<_ACEOF
5098 cat confdefs.h
>>conftest.
$ac_ext
5099 cat >>conftest.
$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5101 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5102 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5103 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5104 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5105 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5106 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5110 _ascii (); _ebcdic ();
5115 rm -f conftest.
$ac_objext
5116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5117 (eval $ac_compile) 2>conftest.er1
5119 grep -v '^ *+' conftest.er1
>conftest.err
5121 cat conftest.err
>&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } &&
5124 { ac_try
='test -z "$ac_c_werror_flag"
5125 || test ! -s conftest.err'
5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); }; } &&
5131 { ac_try
='test -s conftest.$ac_objext'
5132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); }; }; then
5137 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5138 ac_cv_c_bigendian
=yes
5140 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5141 if test "$ac_cv_c_bigendian" = unknown
; then
5142 ac_cv_c_bigendian
=no
5144 # finding both strings is unlikely to happen, but who knows?
5145 ac_cv_c_bigendian
=unknown
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.
$ac_ext >&5
5153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5155 cat >conftest.
$ac_ext <<_ACEOF
5158 cat confdefs.h
>>conftest.
$ac_ext
5159 cat >>conftest.
$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5164 /* Are we little or big endian? From Harbison&Steele. */
5168 char c[sizeof (long)];
5171 exit (u.c[sizeof (long) - 1] == 1);
5174 rm -f conftest
$ac_exeext
5175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5176 (eval $ac_link) 2>&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; }; then
5185 ac_cv_c_bigendian
=no
5187 echo "$as_me: program exited with status $ac_status" >&5
5188 echo "$as_me: failed program was:" >&5
5189 sed 's/^/| /' conftest.
$ac_ext >&5
5192 ac_cv_c_bigendian
=yes
5194 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5199 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5200 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5201 case $ac_cv_c_bigendian in
5204 cat >>confdefs.h
<<\_ACEOF
5205 #define WORDS_BIGENDIAN 1
5211 { { echo "$as_me:$LINENO: error: unknown endianness
5212 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5213 echo "$as_me: error: unknown endianness
5214 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5215 { (exit 1); exit 1; }; } ;;
5218 if test $ac_cv_c_bigendian = yes; then
5219 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5221 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5224 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
5228 default_sim_scache
="16384"
5229 # Check whether --enable-sim-scache or --disable-sim-scache was given.
5230 if test "${enable_sim_scache+set}" = set; then
5231 enableval
="$enable_sim_scache"
5232 case "${enableval}" in
5233 yes) sim_scache
="-DWITH_SCACHE=${default_sim_scache}";;
5234 no
) sim_scache
="-DWITH_SCACHE=0" ;;
5235 [0-9]*) sim_scache
="-DWITH_SCACHE=${enableval}";;
5236 *) { { echo "$as_me:$LINENO: error: \"Bad value $enableval passed to --enable-sim-scache\"" >&5
5237 echo "$as_me: error: \"Bad value $enableval passed to --enable-sim-scache\"" >&2;}
5238 { (exit 1); exit 1; }; };
5241 if test x
"$silent" != x
"yes" && test x
"$sim_scache" != x
""; then
5242 echo "Setting scache size = $sim_scache" 6>&1
5245 sim_scache
="-DWITH_SCACHE=${default_sim_scache}"
5249 default_sim_default_model
="iq2000"
5250 # Check whether --enable-sim-default-model or --disable-sim-default-model was given.
5251 if test "${enable_sim_default_model+set}" = set; then
5252 enableval
="$enable_sim_default_model"
5253 case "${enableval}" in
5254 yes|no
) { { echo "$as_me:$LINENO: error: \"Missing argument to --enable-sim-default-model\"" >&5
5255 echo "$as_me: error: \"Missing argument to --enable-sim-default-model\"" >&2;}
5256 { (exit 1); exit 1; }; };;
5257 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
5259 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
5260 echo "Setting default model = $sim_default_model" 6>&1
5263 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
5267 # Check whether --enable-sim-environment or --disable-sim-environment was given.
5268 if test "${enable_sim_environment+set}" = set; then
5269 enableval
="$enable_sim_environment"
5270 case "${enableval}" in
5271 all | ALL
) sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT";;
5272 user | USER
) sim_environment
="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
5273 virtual | VIRTUAL
) sim_environment
="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
5274 operating | OPERATING
) sim_environment
="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
5275 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-environment\"" >&5
5276 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-environment\"" >&2;}
5277 { (exit 1); exit 1; }; };
5278 sim_environment
="";;
5280 if test x
"$silent" != x
"yes" && test x
"$sim_environment" != x
""; then
5281 echo "Setting sim environment = $sim_environment" 6>&1
5284 sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT"
5287 default_sim_inline
=""
5288 # Check whether --enable-sim-inline or --disable-sim-inline was given.
5289 if test "${enable_sim_inline+set}" = set; then
5290 enableval
="$enable_sim_inline"
5292 case "$enableval" in
5293 no
) sim_inline
="-DDEFAULT_INLINE=0";;
5294 0) sim_inline
="-DDEFAULT_INLINE=0";;
5295 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
5296 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
5297 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5300 *_INLINE
=*) new_flag
="-D$x";;
5301 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
5302 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
5303 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
5305 if test x
"$sim_inline" = x
""; then
5306 sim_inline
="$new_flag"
5308 sim_inline
="$sim_inline $new_flag"
5312 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
5313 echo "Setting inline flags = $sim_inline" 6>&1
5317 if test "x$cross_compiling" = "xno"; then
5318 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
5319 sim_inline
="${default_sim_inline}"
5320 if test x
"$silent" != x
"yes"; then
5321 echo "Setting inline flags = $sim_inline" 6>&1
5327 sim_inline
="-DDEFAULT_INLINE=0"
5333 cgendir
='$(srcdir)/../../cgen'
5334 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
5335 if test "${enable_cgen_maint+set}" = set; then
5336 enableval
="$enable_cgen_maint"
5337 case "${enableval}" in
5338 yes) cgen_maint
=yes ;;
5339 no
) cgen_maint
=no
;;
5341 # argument is cgen install directory (not implemented yet).
5342 # Having a `share' directory might be more appropriate for the .scm,
5344 cgendir
=${cgen_maint}/lib
/cgen
5348 fi; if test x
${cgen_maint} != xno
; then
5359 ac_sources
="$sim_link_files"
5360 ac_dests
="$sim_link_links"
5361 while test -n "$ac_sources"; do
5362 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
5363 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
5364 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
5366 ac_config_links
="$ac_config_links $ac_config_links_1"
5369 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
5370 cgen_breaks
="break cgen_rtx_error";
5373 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
5375 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
5377 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
5379 ac_config_commands
="$ac_config_commands Makefile"
5381 ac_config_commands
="$ac_config_commands stamp-h"
5383 cat >confcache
<<\_ACEOF
5384 # This file is a shell script that caches the results of configure
5385 # tests run on this system so they can be shared between configure
5386 # scripts and configure runs, see configure's option --config-cache.
5387 # It is not useful on other systems. If it contains results you don't
5388 # want to keep, you may remove or edit it.
5390 # config.status only pays attention to the cache file if you give it
5391 # the --recheck option to rerun configure.
5393 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5394 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5399 # The following way of writing the cache mishandles newlines in values,
5400 # but we know of no workaround that is simple, portable, and efficient.
5401 # So, don't put newlines in cache variables' values.
5402 # Ultrix sh set writes to stderr and can't be redirected directly,
5403 # and sets the high bit in the cache file unless we assign to the vars.
5406 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5408 # `set' does not quote correctly, so add quotes (double-quote
5409 # substitution turns \\\\ into \\, and sed turns \\ into \).
5412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5415 # `set' quotes correctly as required by POSIX, so do not add quotes.
5417 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5426 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5428 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5429 if test -w $cache_file; then
5430 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5431 cat confcache
>$cache_file
5433 echo "not updating unwritable cache $cache_file"
5438 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5439 # Let make expand exec_prefix.
5440 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5442 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5443 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5444 # trailing colons and then remove the whole line if VPATH becomes empty
5445 # (actually we leave an empty line to preserve line numbers).
5446 if test "x$srcdir" = x.
; then
5447 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5448 s/:*\$(srcdir):*/:/;
5449 s/:*\${srcdir}:*/:/;
5451 s/^\([^=]*=[ ]*\):*/\1/;
5457 DEFS
=-DHAVE_CONFIG_H
5461 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5462 # 1. Remove the extension, and $U if already installed.
5463 ac_i
=`echo "$ac_i" |
5464 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5466 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5467 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5471 LTLIBOBJS
=$ac_ltlibobjs
5475 : ${CONFIG_STATUS=./config.status}
5476 ac_clean_files_save
=$ac_clean_files
5477 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5478 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5479 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5480 cat >$CONFIG_STATUS <<_ACEOF
5482 # Generated by $as_me.
5483 # Run this file to recreate the current configuration.
5484 # Compiler output produced by configure, useful for debugging
5485 # configure, is in config.log if it exists.
5490 SHELL=\${CONFIG_SHELL-$SHELL}
5493 cat >>$CONFIG_STATUS <<\_ACEOF
5494 ## --------------------- ##
5495 ## M4sh Initialization. ##
5496 ## --------------------- ##
5498 # Be Bourne compatible
5499 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5502 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5503 # is contrary to our usage. Disable this feature.
5504 alias -g '${1+"$@"}'='"$@"'
5505 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5508 DUALCASE
=1; export DUALCASE
# for MKS sh
5510 # Support unset when possible.
5511 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5518 # Work around bugs in pre-3.0 UWIN ksh.
5519 $as_unset ENV MAIL MAILPATH
5526 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5527 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5528 LC_TELEPHONE LC_TIME
5530 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5531 eval $as_var=C
; export $as_var
5537 # Required to use basename.
5538 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5544 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5545 as_basename
=basename
5551 # Name of the executable.
5552 as_me
=`$as_basename "$0" ||
5553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5554 X"$0" : 'X\(//\)$' \| \
5555 X"$0" : 'X\(/\)$' \| \
5556 . : '\(.\)' 2>/dev/null ||
5558 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5559 /^X\/\(\/\/\)$/{ s//\1/; q; }
5560 /^X\/\(\/\).*/{ s//\1/; q; }
5564 # PATH needs CR, and LINENO needs CR and PATH.
5565 # Avoid depending upon Character Ranges.
5566 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5567 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5568 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5569 as_cr_digits
='0123456789'
5570 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5572 # The user is always right.
5573 if test "${PATH_SEPARATOR+set}" != set; then
5574 echo "#! /bin/sh" >conf$$.sh
5575 echo "exit 0" >>conf$$.sh
5577 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5588 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5589 test "x$as_lineno_1" != "x$as_lineno_2" &&
5590 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5591 # Find who we are. Look in the path if we contain no path at all
5594 *[\\/]* ) as_myself
=$0 ;;
5595 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5605 # We did not find ourselves, most probably we were run as `sh COMMAND'
5606 # in which case we are not to be found in the path.
5607 if test "x$as_myself" = x
; then
5610 if test ! -f "$as_myself"; then
5611 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5612 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5613 { (exit 1); exit 1; }; }
5615 case $CONFIG_SHELL in
5617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5621 test -z "$as_dir" && as_dir
=.
5622 for as_base
in sh bash ksh sh5
; do
5625 if ("$as_dir/$as_base" -c '
5628 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5629 test "x$as_lineno_1" != "x$as_lineno_2" &&
5630 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5631 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5632 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5633 CONFIG_SHELL
=$as_dir/$as_base
5635 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5643 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5644 # uniformly replaced by the line number. The first 'sed' inserts a
5645 # line-number line before each line; the second 'sed' does the real
5646 # work. The second script uses 'N' to pair each line-number line
5647 # with the numbered line, and appends trailing '-' during
5648 # substitution so that $LINENO is not a special case at line end.
5649 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5650 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5651 sed '=' <$as_myself |
5656 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5659 s,^['$as_cr_digits']*\n,,
5661 chmod +x
$as_me.lineno ||
5662 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5663 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5664 { (exit 1); exit 1; }; }
5666 # Don't try to exec as it changes $[0], causing all sort of problems
5667 # (the dirname of $[0] is not the place where we might find the
5668 # original and so on. Autoconf is especially sensible to this).
5670 # Exit status is that of the last command.
5675 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5676 *c
*,-n*) ECHO_N
= ECHO_C
='
5678 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5679 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5682 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5688 rm -f conf$$ conf$$.exe conf$$.
file
5690 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5691 # We could just check for DJGPP; but this test a) works b) is more generic
5692 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5693 if test -f conf$$.exe
; then
5694 # Don't use ln at all; we don't have any links
5699 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5704 rm -f conf$$ conf$$.exe conf$$.
file
5706 if mkdir
-p .
2>/dev
/null
; then
5709 test -d .
/-p && rmdir .
/-p
5713 as_executable_p
="test -f"
5715 # Sed expression to map a string onto a valid CPP name.
5716 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5718 # Sed expression to map a string onto a valid variable name.
5719 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5723 # We need space, tab and new line, in precisely that order.
5733 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5734 # report actual input values of CONFIG_FILES etc. instead of their
5735 # values after options handling. Logging --version etc. is OK.
5739 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5740 ## Running $as_me. ##
5745 This file was extended by $as_me, which was
5746 generated by GNU Autoconf 2.59. Invocation command line was
5748 CONFIG_FILES = $CONFIG_FILES
5749 CONFIG_HEADERS = $CONFIG_HEADERS
5750 CONFIG_LINKS = $CONFIG_LINKS
5751 CONFIG_COMMANDS = $CONFIG_COMMANDS
5755 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5759 # Files that config.status was made for.
5760 if test -n "$ac_config_files"; then
5761 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5764 if test -n "$ac_config_headers"; then
5765 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5768 if test -n "$ac_config_links"; then
5769 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5772 if test -n "$ac_config_commands"; then
5773 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5776 cat >>$CONFIG_STATUS <<\_ACEOF
5779 \`$as_me' instantiates files from templates according to the
5780 current configuration.
5782 Usage: $0 [OPTIONS] [FILE]...
5784 -h, --help print this help, then exit
5785 -V, --version print version number, then exit
5786 -q, --quiet do not print progress messages
5787 -d, --debug don't remove temporary files
5788 --recheck update $as_me by reconfiguring in the same conditions
5789 --file=FILE[:TEMPLATE]
5790 instantiate the configuration file FILE
5791 --header=FILE[:TEMPLATE]
5792 instantiate the configuration header FILE
5794 Configuration files:
5797 Configuration headers:
5800 Configuration links:
5803 Configuration commands:
5806 Report bugs to <bug-autoconf@gnu.org>."
5809 cat >>$CONFIG_STATUS <<_ACEOF
5812 configured by $0, generated by GNU Autoconf 2.59,
5813 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5815 Copyright (C) 2003 Free Software Foundation, Inc.
5816 This config.status script is free software; the Free Software Foundation
5817 gives unlimited permission to copy, distribute and modify it."
5822 cat >>$CONFIG_STATUS <<\_ACEOF
5823 # If no file are specified by the user, then we need to provide default
5824 # value. By we need to know if files were specified by the user.
5830 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5831 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5839 *) # This is not an option, so the user has probably given explicit
5842 ac_need_defaults
=false
;;
5846 # Handling of the options.
5848 cat >>$CONFIG_STATUS <<\_ACEOF
5849 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5851 --version |
--vers* |
-V )
5852 echo "$ac_cs_version"; exit 0 ;;
5854 # Conflict between --help and --header
5855 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5856 Try \`$0 --help' for more information." >&5
5857 echo "$as_me: error: ambiguous option: $1
5858 Try \`$0 --help' for more information." >&2;}
5859 { (exit 1); exit 1; }; };;
5860 --help |
--hel |
-h )
5861 echo "$ac_cs_usage"; exit 0 ;;
5862 --debug |
--d* |
-d )
5864 --file |
--fil |
--fi |
--f )
5866 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5867 ac_need_defaults
=false
;;
5868 --header |
--heade |
--head |
--hea )
5870 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5871 ac_need_defaults
=false
;;
5872 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5873 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5877 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5878 Try \`$0 --help' for more information." >&5
5879 echo "$as_me: error: unrecognized option: $1
5880 Try \`$0 --help' for more information." >&2;}
5881 { (exit 1); exit 1; }; } ;;
5883 *) ac_config_targets
="$ac_config_targets $1" ;;
5889 ac_configure_extra_args
=
5891 if $ac_cs_silent; then
5893 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5897 cat >>$CONFIG_STATUS <<_ACEOF
5898 if \$ac_cs_recheck; then
5899 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5900 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5909 cat >>$CONFIG_STATUS <<\_ACEOF
5910 for ac_config_target
in $ac_config_targets
5912 case "$ac_config_target" in
5913 # Handling of arguments.
5914 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5915 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5916 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5917 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
5918 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5919 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5920 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5921 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5922 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5923 { (exit 1); exit 1; }; };;
5927 # If the user did not use the arguments to specify the items to instantiate,
5928 # then the envvar interface is used. Set only those that are not.
5929 # We use the long form for the default assignment because of an extremely
5930 # bizarre bug on SunOS 4.1.3.
5931 if $ac_need_defaults; then
5932 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5933 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5934 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5935 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5938 # Have a temporary directory for convenience. Make it in the build tree
5939 # simply because there is no reason to put it here, and in addition,
5940 # creating and moving files from /tmp can sometimes cause problems.
5941 # Create a temporary directory, and hook for its removal unless debugging.
5944 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5945 trap '{ (exit 1); exit 1; }' 1 2 13 15
5948 # Create a (secure) tmp directory for tmp files.
5951 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5952 test -n "$tmp" && test -d "$tmp"
5955 tmp
=.
/confstat$$
-$RANDOM
5956 (umask 077 && mkdir
$tmp)
5959 echo "$me: cannot create a temporary directory in ." >&2
5960 { (exit 1); exit 1; }
5965 cat >>$CONFIG_STATUS <<_ACEOF
5968 # CONFIG_FILES section.
5971 # No need to generate the scripts if there are no CONFIG_FILES.
5972 # This happens for instance when ./config.status config.h
5973 if test -n "\$CONFIG_FILES"; then
5974 # Protect against being on the right side of a sed subst in config.status.
5975 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5976 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5977 s,@SHELL@,$SHELL,;t t
5978 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5979 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5980 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5981 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5982 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5983 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5984 s,@exec_prefix@,$exec_prefix,;t t
5985 s,@prefix@,$prefix,;t t
5986 s,@program_transform_name@,$program_transform_name,;t t
5987 s,@bindir@,$bindir,;t t
5988 s,@sbindir@,$sbindir,;t t
5989 s,@libexecdir@,$libexecdir,;t t
5990 s,@datadir@,$datadir,;t t
5991 s,@sysconfdir@,$sysconfdir,;t t
5992 s,@sharedstatedir@,$sharedstatedir,;t t
5993 s,@localstatedir@,$localstatedir,;t t
5994 s,@libdir@,$libdir,;t t
5995 s,@includedir@,$includedir,;t t
5996 s,@oldincludedir@,$oldincludedir,;t t
5997 s,@infodir@,$infodir,;t t
5998 s,@mandir@,$mandir,;t t
5999 s,@build_alias@,$build_alias,;t t
6000 s,@host_alias@,$host_alias,;t t
6001 s,@target_alias@,$target_alias,;t t
6003 s,@ECHO_C@,$ECHO_C,;t t
6004 s,@ECHO_N@,$ECHO_N,;t t
6005 s,@ECHO_T@,$ECHO_T,;t t
6007 s,@sim_environment@,$sim_environment,;t t
6008 s,@sim_alignment@,$sim_alignment,;t t
6009 s,@sim_assert@,$sim_assert,;t t
6010 s,@sim_bitsize@,$sim_bitsize,;t t
6011 s,@sim_endian@,$sim_endian,;t t
6012 s,@sim_hostendian@,$sim_hostendian,;t t
6013 s,@sim_float@,$sim_float,;t t
6014 s,@sim_scache@,$sim_scache,;t t
6015 s,@sim_default_model@,$sim_default_model,;t t
6016 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6017 s,@sim_hw_objs@,$sim_hw_objs,;t t
6018 s,@sim_hw@,$sim_hw,;t t
6019 s,@sim_inline@,$sim_inline,;t t
6020 s,@sim_packages@,$sim_packages,;t t
6021 s,@sim_regparm@,$sim_regparm,;t t
6022 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6023 s,@sim_smp@,$sim_smp,;t t
6024 s,@sim_stdcall@,$sim_stdcall,;t t
6025 s,@sim_xor_endian@,$sim_xor_endian,;t t
6026 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6027 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6028 s,@build@,$build,;t t
6029 s,@build_cpu@,$build_cpu,;t t
6030 s,@build_vendor@,$build_vendor,;t t
6031 s,@build_os@,$build_os,;t t
6033 s,@host_cpu@,$host_cpu,;t t
6034 s,@host_vendor@,$host_vendor,;t t
6035 s,@host_os@,$host_os,;t t
6036 s,@target@,$target,;t t
6037 s,@target_cpu@,$target_cpu,;t t
6038 s,@target_vendor@,$target_vendor,;t t
6039 s,@target_os@,$target_os,;t t
6041 s,@CFLAGS@,$CFLAGS,;t t
6042 s,@LDFLAGS@,$LDFLAGS,;t t
6043 s,@CPPFLAGS@,$CPPFLAGS,;t t
6044 s,@ac_ct_CC@,$ac_ct_CC,;t t
6045 s,@EXEEXT@,$EXEEXT,;t t
6046 s,@OBJEXT@,$OBJEXT,;t t
6047 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6048 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6049 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6050 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6051 s,@HDEFINES@,$HDEFINES,;t t
6053 s,@RANLIB@,$RANLIB,;t t
6054 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6055 s,@USE_NLS@,$USE_NLS,;t t
6056 s,@LIBINTL@,$LIBINTL,;t t
6057 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6058 s,@INCINTL@,$INCINTL,;t t
6059 s,@XGETTEXT@,$XGETTEXT,;t t
6060 s,@GMSGFMT@,$GMSGFMT,;t t
6061 s,@POSUB@,$POSUB,;t t
6062 s,@CATALOGS@,$CATALOGS,;t t
6063 s,@DATADIRNAME@,$DATADIRNAME,;t t
6064 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6065 s,@GENCAT@,$GENCAT,;t t
6066 s,@CATOBJEXT@,$CATOBJEXT,;t t
6068 s,@EGREP@,$EGREP,;t t
6069 s,@MAINT@,$MAINT,;t t
6070 s,@sim_bswap@,$sim_bswap,;t t
6071 s,@sim_cflags@,$sim_cflags,;t t
6072 s,@sim_debug@,$sim_debug,;t t
6073 s,@sim_stdio@,$sim_stdio,;t t
6074 s,@sim_trace@,$sim_trace,;t t
6075 s,@sim_profile@,$sim_profile,;t t
6076 s,@PKGVERSION@,$PKGVERSION,;t t
6077 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
6078 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
6079 s,@CGEN_MAINT@,$CGEN_MAINT,;t t
6080 s,@cgendir@,$cgendir,;t t
6082 s,@cgen_breaks@,$cgen_breaks,;t t
6083 s,@LIBOBJS@,$LIBOBJS,;t t
6084 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6089 cat >>$CONFIG_STATUS <<\_ACEOF
6090 # Split the substitutions into bite-sized pieces for seds with
6091 # small command number limits, like on Digital OSF/1 and HP-UX.
6093 ac_sed_frag
=1 # Number of current file.
6094 ac_beg
=1 # First line for current file.
6095 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6098 while $ac_more_lines; do
6099 if test $ac_beg -gt 1; then
6100 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6102 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6104 if test ! -s $tmp/subs.frag
; then
6107 # The purpose of the label and of the branching condition is to
6108 # speed up the sed processing (if there are no `@' at all, there
6109 # is no need to browse any of the substitutions).
6110 # These are the two extra sed commands mentioned above.
6112 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6113 if test -z "$ac_sed_cmds"; then
6114 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6116 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6118 ac_sed_frag
=`expr $ac_sed_frag + 1`
6120 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6123 if test -z "$ac_sed_cmds"; then
6126 fi # test -n "$CONFIG_FILES"
6129 cat >>$CONFIG_STATUS <<\_ACEOF
6130 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6131 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6133 - |
*:- |
*:-:* ) # input from stdin
6135 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6136 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6137 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6138 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6139 * ) ac_file_in
=$ac_file.
in ;;
6142 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6143 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6145 X"$ac_file" : 'X\(//\)[^/]' \| \
6146 X"$ac_file" : 'X\(//\)$' \| \
6147 X"$ac_file" : 'X\(/\)' \| \
6148 . : '\(.\)' 2>/dev/null ||
6150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6152 /^X\(\/\/\)$/{ s//\1/; q; }
6153 /^X\(\/\).*/{ s//\1/; q; }
6155 { if $as_mkdir_p; then
6160 while test ! -d "$as_dir"; do
6161 as_dirs
="$as_dir $as_dirs"
6162 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6164 X"$as_dir" : 'X\(//\)[^/]' \| \
6165 X"$as_dir" : 'X\(//\)$' \| \
6166 X"$as_dir" : 'X\(/\)' \| \
6167 . : '\(.\)' 2>/dev/null ||
6169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6171 /^X\(\/\/\)$/{ s//\1/; q; }
6172 /^X\(\/\).*/{ s//\1/; q; }
6175 test ! -n "$as_dirs" || mkdir
$as_dirs
6176 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6177 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6178 { (exit 1); exit 1; }; }; }
6182 if test "$ac_dir" != .
; then
6183 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6184 # A "../" for each directory in $ac_dir_suffix.
6185 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6187 ac_dir_suffix
= ac_top_builddir
=
6191 .
) # No --srcdir option. We are building in place.
6193 if test -z "$ac_top_builddir"; then
6196 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6198 [\\/]* | ?
:[\\/]* ) # Absolute path.
6199 ac_srcdir
=$srcdir$ac_dir_suffix;
6200 ac_top_srcdir
=$srcdir ;;
6202 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6203 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6206 # Do not use `cd foo && pwd` to compute absolute paths, because
6207 # the directories may not exist.
6209 .
) ac_abs_builddir
="$ac_dir";;
6212 .
) ac_abs_builddir
=`pwd`;;
6213 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6214 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6217 case $ac_abs_builddir in
6218 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6220 case ${ac_top_builddir}.
in
6221 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6222 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6223 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6226 case $ac_abs_builddir in
6227 .
) ac_abs_srcdir
=$ac_srcdir;;
6230 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6231 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6232 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6235 case $ac_abs_builddir in
6236 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6238 case $ac_top_srcdir in
6239 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6240 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6241 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6247 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6248 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6251 if test x
"$ac_file" != x-
; then
6252 { echo "$as_me:$LINENO: creating $ac_file" >&5
6253 echo "$as_me: creating $ac_file" >&6;}
6256 # Let's still pretend it is `configure' which instantiates (i.e., don't
6257 # use $as_me), people would be surprised to read:
6258 # /* config.h. Generated by config.status. */
6259 if test x
"$ac_file" = x-
; then
6262 configure_input
="$ac_file. "
6264 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6265 sed 's,.*/,,'` by configure."
6267 # First look for the input files in the build tree, otherwise in the
6269 ac_file_inputs
=`IFS=:
6270 for f in $ac_file_in; do
6272 -) echo $tmp/stdin ;;
6274 # Absolute (can't be DOS-style, as IFS=:)
6275 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6276 echo "$as_me: error: cannot find input file: $f" >&2;}
6277 { (exit 1); exit 1; }; }
6280 if test -f "$f"; then
6283 elif test -f "$srcdir/$f"; then
6288 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6289 echo "$as_me: error: cannot find input file: $f" >&2;}
6290 { (exit 1); exit 1; }; }
6293 done` ||
{ (exit 1); exit 1; }
6295 cat >>$CONFIG_STATUS <<_ACEOF
6299 cat >>$CONFIG_STATUS <<\_ACEOF
6301 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6302 s
,@configure_input@
,$configure_input,;t t
6303 s
,@srcdir@
,$ac_srcdir,;t t
6304 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6305 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6306 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6307 s
,@builddir@
,$ac_builddir,;t t
6308 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6309 s
,@top_builddir@
,$ac_top_builddir,;t t
6310 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6311 s
,@INSTALL@
,$ac_INSTALL,;t t
6312 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6314 if test x"$ac_file" != x-; then
6315 mv $tmp/out $ac_file
6323 cat >>$CONFIG_STATUS <<\_ACEOF
6326 # CONFIG_HEADER section.
6329 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6330 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6332 # ac_d sets the value in "#define NAME VALUE" lines.
6333 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6334 ac_dB
='[ ].*$,\1#\2'
6337 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6338 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6339 ac_uB
='$,\1#\2define\3'
6343 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6344 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6346 - |
*:- |
*:-:* ) # input from stdin
6348 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6350 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6351 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6352 * ) ac_file_in
=$ac_file.
in ;;
6355 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6356 echo "$as_me: creating $ac_file" >&6;}
6358 # First look for the input files in the build tree, otherwise in the
6360 ac_file_inputs
=`IFS=:
6361 for f in $ac_file_in; do
6363 -) echo $tmp/stdin ;;
6365 # Absolute (can't be DOS-style, as IFS=:)
6366 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6367 echo "$as_me: error: cannot find input file: $f" >&2;}
6368 { (exit 1); exit 1; }; }
6369 # Do quote $f, to prevent DOS paths from being IFS'd.
6372 if test -f "$f"; then
6375 elif test -f "$srcdir/$f"; then
6380 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6381 echo "$as_me: error: cannot find input file: $f" >&2;}
6382 { (exit 1); exit 1; }; }
6385 done` ||
{ (exit 1); exit 1; }
6386 # Remove the trailing spaces.
6387 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6391 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6392 # `conftest.undefs', that substitutes the proper values into
6393 # config.h.in to produce config.h. The first handles `#define'
6394 # templates, and the second `#undef' templates.
6395 # And first: Protect against being on the right side of a sed subst in
6396 # config.status. Protect against being in an unquoted here document
6398 rm -f conftest.defines conftest.undefs
6399 # Using a here document instead of a string reduces the quoting nightmare.
6400 # Putting comments in sed scripts is not portable.
6402 # `end' is used to avoid that the second main sed command (meant for
6403 # 0-ary CPP macros) applies to n-ary macro definitions.
6404 # See the Autoconf documentation for `clear'.
6405 cat >confdef2sed.
sed <<\_ACEOF
6410 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6412 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6415 # If some macros were called several times there might be several times
6416 # the same #defines, which is useless. Nevertheless, we may not want to
6417 # sort them, since we want the *last* AC-DEFINE to be honored.
6418 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6419 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6420 rm -f confdef2sed.sed
6422 # This sed command replaces #undef with comments. This is necessary, for
6423 # example, in the case of _POSIX_SOURCE, which is predefined and required
6424 # on some systems where configure will not decide to define it.
6425 cat >>conftest.undefs <<\_ACEOF
6426 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6429 # Break up conftest.defines because some shells have a limit on the size
6430 # of here documents, and old seds have small limits too (100 cmds).
6431 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6432 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6433 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6434 echo ' :' >>$CONFIG_STATUS
6436 while grep . conftest.defines >/dev/null
6438 # Write a limited-size here document to $tmp/defines.sed.
6439 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6440 # Speed up: don't consider the non `#define' lines.
6441 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6442 # Work around the forget-to-reset-the-flag bug.
6443 echo 't clr' >>$CONFIG_STATUS
6444 echo ': clr' >>$CONFIG_STATUS
6445 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6447 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6451 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6452 rm -f conftest.defines
6453 mv conftest.
tail conftest.defines
6455 rm -f conftest.defines
6456 echo ' fi # grep' >>$CONFIG_STATUS
6457 echo >>$CONFIG_STATUS
6459 # Break up conftest.undefs because some shells have a limit on the size
6460 # of here documents, and old seds have small limits too (100 cmds).
6461 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6463 while grep . conftest.undefs
>/dev
/null
6465 # Write a limited-size here document to $tmp/undefs.sed.
6466 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6467 # Speed up: don't consider the non
`#undef'
6468 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6469 # Work around the forget-to-reset-the-flag bug.
6470 echo 't clr' >>$CONFIG_STATUS
6471 echo ': clr' >>$CONFIG_STATUS
6472 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6474 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6478 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6479 rm -f conftest.undefs
6480 mv conftest.tail conftest.undefs
6482 rm -f conftest.undefs
6484 cat >>$CONFIG_STATUS <<\_ACEOF
6485 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6486 # use $as_me), people would be surprised to read:
6487 # /* config.h. Generated by config.status. */
6488 if test x
"$ac_file" = x-
; then
6489 echo "/* Generated by configure. */" >$tmp/config.h
6491 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6493 cat $tmp/in >>$tmp/config.h
6495 if test x
"$ac_file" != x-
; then
6496 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6497 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6498 echo "$as_me: $ac_file is unchanged" >&6;}
6500 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6501 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6502 X"$ac_file" : 'X\(//\)[^/]' \| \
6503 X"$ac_file" : 'X\(//\)$' \| \
6504 X"$ac_file" : 'X\(/\)' \| \
6505 . : '\(.\)' 2>/dev/null ||
6507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6509 /^X\(\/\/\)$/{ s//\1/; q; }
6510 /^X\(\/\).*/{ s//\1/; q; }
6512 { if $as_mkdir_p; then
6517 while test ! -d "$as_dir"; do
6518 as_dirs
="$as_dir $as_dirs"
6519 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6521 X"$as_dir" : 'X\(//\)[^/]' \| \
6522 X"$as_dir" : 'X\(//\)$' \| \
6523 X"$as_dir" : 'X\(/\)' \| \
6524 . : '\(.\)' 2>/dev/null ||
6526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6528 /^X\(\/\/\)$/{ s//\1/; q; }
6529 /^X\(\/\).*/{ s//\1/; q; }
6532 test ! -n "$as_dirs" || mkdir
$as_dirs
6533 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6534 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6535 { (exit 1); exit 1; }; }; }
6538 mv $tmp/config.h
$ac_file
6546 cat >>$CONFIG_STATUS <<\_ACEOF
6549 # CONFIG_LINKS section.
6552 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
6553 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6554 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6556 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
6557 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
6559 if test ! -r $srcdir/$ac_source; then
6560 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
6561 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
6562 { (exit 1); exit 1; }; }
6566 # Make relative symlinks.
6567 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6568 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6569 X"$ac_dest" : 'X\(//\)[^/]' \| \
6570 X"$ac_dest" : 'X\(//\)$' \| \
6571 X"$ac_dest" : 'X\(/\)' \| \
6572 . : '\(.\)' 2>/dev/null ||
6574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6575 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6576 /^X\(\/\/\)$/{ s//\1/; q; }
6577 /^X\(\/\).*/{ s//\1/; q; }
6579 { if $as_mkdir_p; then
6580 mkdir
-p "$ac_dest_dir"
6582 as_dir
="$ac_dest_dir"
6584 while test ! -d "$as_dir"; do
6585 as_dirs
="$as_dir $as_dirs"
6586 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6588 X"$as_dir" : 'X\(//\)[^/]' \| \
6589 X"$as_dir" : 'X\(//\)$' \| \
6590 X"$as_dir" : 'X\(/\)' \| \
6591 . : '\(.\)' 2>/dev/null ||
6593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6595 /^X\(\/\/\)$/{ s//\1/; q; }
6596 /^X\(\/\).*/{ s//\1/; q; }
6599 test ! -n "$as_dirs" || mkdir
$as_dirs
6600 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
6601 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
6602 { (exit 1); exit 1; }; }; }
6606 if test "$ac_dest_dir" != .
; then
6607 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
6608 # A "../" for each directory in $ac_dir_suffix.
6609 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6611 ac_dir_suffix
= ac_top_builddir
=
6615 .
) # No --srcdir option. We are building in place.
6617 if test -z "$ac_top_builddir"; then
6620 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6622 [\\/]* | ?
:[\\/]* ) # Absolute path.
6623 ac_srcdir
=$srcdir$ac_dir_suffix;
6624 ac_top_srcdir
=$srcdir ;;
6626 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6627 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6630 # Do not use `cd foo && pwd` to compute absolute paths, because
6631 # the directories may not exist.
6633 .
) ac_abs_builddir
="$ac_dest_dir";;
6635 case "$ac_dest_dir" in
6636 .
) ac_abs_builddir
=`pwd`;;
6637 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
6638 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
6641 case $ac_abs_builddir in
6642 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6644 case ${ac_top_builddir}.
in
6645 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6646 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6647 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6650 case $ac_abs_builddir in
6651 .
) ac_abs_srcdir
=$ac_srcdir;;
6654 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6655 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6656 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6659 case $ac_abs_builddir in
6660 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6662 case $ac_top_srcdir in
6663 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6664 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6665 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6671 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
6672 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
6675 # Try a symlink, then a hard link, then a copy.
6676 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
6677 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
6678 cp -p $srcdir/$ac_source $ac_dest ||
6679 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
6680 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
6681 { (exit 1); exit 1; }; }
6684 cat >>$CONFIG_STATUS <<\_ACEOF
6687 # CONFIG_COMMANDS section.
6689 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6690 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6691 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6692 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6693 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6694 X"$ac_dest" : 'X\(//\)[^/]' \| \
6695 X"$ac_dest" : 'X\(//\)$' \| \
6696 X"$ac_dest" : 'X\(/\)' \| \
6697 . : '\(.\)' 2>/dev/null ||
6699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6701 /^X\(\/\/\)$/{ s//\1/; q; }
6702 /^X\(\/\).*/{ s//\1/; q; }
6704 { if $as_mkdir_p; then
6709 while test ! -d "$as_dir"; do
6710 as_dirs
="$as_dir $as_dirs"
6711 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6713 X"$as_dir" : 'X\(//\)[^/]' \| \
6714 X"$as_dir" : 'X\(//\)$' \| \
6715 X"$as_dir" : 'X\(/\)' \| \
6716 . : '\(.\)' 2>/dev/null ||
6718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6720 /^X\(\/\/\)$/{ s//\1/; q; }
6721 /^X\(\/\).*/{ s//\1/; q; }
6724 test ! -n "$as_dirs" || mkdir
$as_dirs
6725 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6726 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6727 { (exit 1); exit 1; }; }; }
6731 if test "$ac_dir" != .
; then
6732 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6733 # A "../" for each directory in $ac_dir_suffix.
6734 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6736 ac_dir_suffix
= ac_top_builddir
=
6740 .
) # No --srcdir option. We are building in place.
6742 if test -z "$ac_top_builddir"; then
6745 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6747 [\\/]* | ?
:[\\/]* ) # Absolute path.
6748 ac_srcdir
=$srcdir$ac_dir_suffix;
6749 ac_top_srcdir
=$srcdir ;;
6751 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6752 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6755 # Do not use `cd foo && pwd` to compute absolute paths, because
6756 # the directories may not exist.
6758 .
) ac_abs_builddir
="$ac_dir";;
6761 .
) ac_abs_builddir
=`pwd`;;
6762 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6763 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6766 case $ac_abs_builddir in
6767 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6769 case ${ac_top_builddir}.
in
6770 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6771 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6772 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6775 case $ac_abs_builddir in
6776 .
) ac_abs_srcdir
=$ac_srcdir;;
6779 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6780 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6781 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6784 case $ac_abs_builddir in
6785 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6787 case $ac_top_srcdir in
6788 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6789 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6790 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6795 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6796 echo "$as_me: executing $ac_dest commands" >&6;}
6798 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
6799 rm -f Makesim1.tmp Makesim2.tmp Makefile
6800 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
6801 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
6802 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
6803 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
6804 <Makefile.sim
>Makefile
6805 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
6807 stamp-h
) echo > stamp-h
;;
6812 cat >>$CONFIG_STATUS <<\_ACEOF
6814 { (exit 0); exit 0; }
6816 chmod +x
$CONFIG_STATUS
6817 ac_clean_files
=$ac_clean_files_save
6820 # configure is writing to config.log, and then calls config.status.
6821 # config.status does its own redirection, appending to config.log.
6822 # Unfortunately, on DOS this fails, as config.log is still kept open
6823 # by configure, so config.status won't be able to write to it; its
6824 # output is simply discarded. So we exec the FD to /dev/null,
6825 # effectively closing config.log, so it can be properly (re)opened and
6826 # appended to by config.status. When coming back to configure, we
6827 # need to make the FD available again.
6828 if test "$no_create" != yes; then
6830 ac_config_status_args
=
6831 test "$silent" = yes &&
6832 ac_config_status_args
="$ac_config_status_args --quiet"
6834 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6836 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6837 # would make configure fail if this is the last instruction.
6838 $ac_cs_success ||
{ (exit 1); exit 1; }