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_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-maintainer-mode Enable developer functionality.
854 --enable-sim-bswap Use Host specific BSWAP instruction.
855 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
856 --enable-sim-debug=opts Enable debugging flags
857 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
858 --enable-sim-trace=opts Enable tracing flags
859 --enable-sim-profile=opts Enable profiling flags
860 --enable-sim-endian=endian Specify target byte endian orientation.
861 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
862 --enable-sim-hostendian=end Specify
host byte endian orientation.
863 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
864 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
865 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
866 --enable-sim-bitsize=N Specify target bitsize
(32 or
64).
867 --enable-sim-inline=inlines Specify
which functions should be inlined.
868 --enable-sim-hardware=LIST Specify the hardware to be included
in the build.
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 ...
1393 sim_inline
="-DDEFAULT_INLINE=0"
1430 # intl sister-directory configuration rules.
1433 # The idea behind this macro is that there's no need to repeat all the
1434 # autoconf probes done by the intl directory - it's already done them
1435 # for us. In fact, there's no need even to look at the cache for the
1436 # answers. All we need to do is nab a few pieces of information.
1437 # The intl directory is set up to make this easy, by generating a
1438 # small file which can be sourced as a shell script; then we produce
1439 # the necessary substitutions and definitions for this directory.
1443 # Autoconf M4 include file defining utility macros for complex Canadian
1455 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1457 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1460 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1461 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1465 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1466 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1470 # Backported from Autoconf 2.5x; can go away when and if
1471 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1476 # ACX_HAVE_GCC_FOR_TARGET
1477 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1480 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1481 # Searching for installed target binutils. We need to take extra care,
1482 # else we may find the wrong assembler, linker, etc., and lose.
1484 # First try --with-build-time-tools, if specified.
1486 # For build != host, we ask the installed GCC for the name of the tool it
1487 # uses, and accept it if it is an absolute path. This is because the
1488 # only good choice for a compiler is the same GCC version that is being
1489 # installed (or we couldn't make target libraries), and we assume that
1490 # on the host system we'll have not only the same GCC version, but also
1491 # the same binutils version.
1493 # For build == host, search the same directories that the installed
1494 # compiler will search. We used to do this for the assembler, linker,
1495 # and nm only; for simplicity of configuration, however, we extend this
1496 # criterion to tools (such as ar and ranlib) that are never invoked by
1497 # the compiler, to avoid mismatches.
1499 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1500 # if build == target. This makes the most sense only when bootstrapping,
1501 # but we also do so when build != host. In this case, we hope that the
1502 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1504 # If we do not find a suitable binary, then try the user's path.
1508 # AC_PROG_CPP_WERROR
1509 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1510 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1511 # For now, using this also overrides header checks to use only the
1512 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1513 # bit harder from here).
1514 # Eventually autoconf will default to checking headers with the compiler
1515 # instead, and we'll have to do this differently.
1517 # AC_PROG_CPP_WERROR
1520 # We require the gnatbind program, and a compiler driver that
1521 # understands Ada. We use the user's CC setting, already found,
1522 # and possibly add $1 to the command-line parameters.
1524 # Sets the shell variable have_gnat to yes or no as appropriate, and
1525 # substitutes GNATBIND and GNATMAKE.
1551 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1552 # it by inlining the macro's contents.
1553 # This file contains common code used by all simulators.
1555 # common.m4 invokes AC macros used by all simulators and by the common
1556 # directory. It is intended to be included before any target specific
1557 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1558 # the Makefile. It is intended to be invoked last.
1560 # The simulator's configure.in should look like:
1562 # dnl Process this file with autoconf to produce a configure script.
1564 # AC_INIT(Makefile.in)
1565 # AC_CONFIG_HEADER(config.h:config.in)
1567 # sinclude(../common/aclocal.m4)
1568 # sinclude(../common/common.m4)
1570 # ... target specific stuff ...
1573 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1574 if test -f $ac_dir/install-sh
; then
1576 ac_install_sh
="$ac_aux_dir/install-sh -c"
1578 elif test -f $ac_dir/install.sh
; then
1580 ac_install_sh
="$ac_aux_dir/install.sh -c"
1582 elif test -f $ac_dir/shtool
; then
1584 ac_install_sh
="$ac_aux_dir/shtool install -c"
1588 if test -z "$ac_aux_dir"; then
1589 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1590 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1591 { (exit 1); exit 1; }; }
1593 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1594 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1595 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1597 # Make sure we can run config.sub.
1598 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1599 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1600 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1601 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: checking build system type" >&5
1604 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1605 if test "${ac_cv_build+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 ac_cv_build_alias
=$build_alias
1609 test -z "$ac_cv_build_alias" &&
1610 ac_cv_build_alias
=`$ac_config_guess`
1611 test -z "$ac_cv_build_alias" &&
1612 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1613 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1614 { (exit 1); exit 1; }; }
1615 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1616 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1617 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1618 { (exit 1); exit 1; }; }
1621 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1622 echo "${ECHO_T}$ac_cv_build" >&6
1624 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1625 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1626 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1629 echo "$as_me:$LINENO: checking host system type" >&5
1630 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1631 if test "${ac_cv_host+set}" = set; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 ac_cv_host_alias
=$host_alias
1635 test -z "$ac_cv_host_alias" &&
1636 ac_cv_host_alias
=$ac_cv_build_alias
1637 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1638 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1639 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1640 { (exit 1); exit 1; }; }
1643 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1644 echo "${ECHO_T}$ac_cv_host" >&6
1646 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1647 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1648 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1651 echo "$as_me:$LINENO: checking target system type" >&5
1652 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1653 if test "${ac_cv_target+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 ac_cv_target_alias
=$target_alias
1657 test "x$ac_cv_target_alias" = "x" &&
1658 ac_cv_target_alias
=$ac_cv_host_alias
1659 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1660 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1661 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1662 { (exit 1); exit 1; }; }
1665 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1666 echo "${ECHO_T}$ac_cv_target" >&6
1667 target
=$ac_cv_target
1668 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1669 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1670 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1673 # The aliases save the names the user supplied, while $host etc.
1674 # will get canonicalized.
1675 test -n "$target_alias" &&
1676 test "$program_prefix$program_suffix$program_transform_name" = \
1678 program_prefix
=${target_alias}-
1679 test "$program_prefix" != NONE
&&
1680 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1681 # Use a double $ so make ignores it.
1682 test "$program_suffix" != NONE
&&
1683 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1684 # Double any \ or $. echo might interpret backslashes.
1685 # By default was `s,x,x', remove it if useless.
1686 cat <<\_ACEOF
>conftest.
sed
1687 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1689 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1693 ac_cpp
='$CPP $CPPFLAGS'
1694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1697 if test -n "$ac_tool_prefix"; then
1698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1699 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1700 echo "$as_me:$LINENO: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_prog_CC+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 if test -n "$CC"; then
1706 ac_cv_prog_CC
="$CC" # Let the user override the test.
1708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir
=.
1713 for ac_exec_ext
in '' $ac_executable_extensions; do
1714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1715 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725 if test -n "$CC"; then
1726 echo "$as_me:$LINENO: result: $CC" >&5
1727 echo "${ECHO_T}$CC" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1734 if test -z "$ac_cv_prog_CC"; then
1736 # Extract the first word of "gcc", so it can be a program name with args.
1737 set dummy gcc
; ac_word
=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 if test -n "$ac_ct_CC"; then
1744 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1750 test -z "$as_dir" && as_dir
=.
1751 for ac_exec_ext
in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_ac_ct_CC
="gcc"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1762 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1763 if test -n "$ac_ct_CC"; then
1764 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1765 echo "${ECHO_T}$ac_ct_CC" >&6
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1776 if test -z "$CC"; then
1777 if test -n "$ac_tool_prefix"; then
1778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1779 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1780 echo "$as_me:$LINENO: checking for $ac_word" >&5
1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1782 if test "${ac_cv_prog_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 if test -n "$CC"; then
1786 ac_cv_prog_CC
="$CC" # Let the user override the test.
1788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir
=.
1793 for ac_exec_ext
in '' $ac_executable_extensions; do
1794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1795 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 if test -n "$CC"; then
1806 echo "$as_me:$LINENO: result: $CC" >&5
1807 echo "${ECHO_T}$CC" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1814 if test -z "$ac_cv_prog_CC"; then
1816 # Extract the first word of "cc", so it can be a program name with args.
1817 set dummy cc
; ac_word
=$2
1818 echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 if test -n "$ac_ct_CC"; then
1824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir
=.
1831 for ac_exec_ext
in '' $ac_executable_extensions; do
1832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1833 ac_cv_prog_ac_ct_CC
="cc"
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1843 if test -n "$ac_ct_CC"; then
1844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1845 echo "${ECHO_T}$ac_ct_CC" >&6
1847 echo "$as_me:$LINENO: result: no" >&5
1848 echo "${ECHO_T}no" >&6
1857 if test -z "$CC"; then
1858 # Extract the first word of "cc", so it can be a program name with args.
1859 set dummy cc
; ac_word
=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_CC+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$CC"; then
1866 ac_cv_prog_CC
="$CC" # Let the user override the test.
1869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir
=.
1874 for ac_exec_ext
in '' $ac_executable_extensions; do
1875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1877 ac_prog_rejected
=yes
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 if test $ac_prog_rejected = yes; then
1888 # We found a bogon in the path, so make sure we never use it.
1889 set dummy
$ac_cv_prog_CC
1891 if test $# != 0; then
1892 # We chose a different compiler from the bogus one.
1893 # However, it has the same basename, so the bogon will be chosen
1894 # first if we set CC to just the basename; use the full file name.
1896 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1902 if test -n "$CC"; then
1903 echo "$as_me:$LINENO: result: $CC" >&5
1904 echo "${ECHO_T}$CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1916 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_CC+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC
="$CC" # Let the user override the test.
1925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir
=.
1930 for ac_exec_ext
in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 if test -n "$CC"; then
1943 echo "$as_me:$LINENO: result: $CC" >&5
1944 echo "${ECHO_T}$CC" >&6
1946 echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6
1950 test -n "$CC" && break
1953 if test -z "$CC"; then
1957 # Extract the first word of "$ac_prog", so it can be a program name with args.
1958 set dummy
$ac_prog; ac_word
=$2
1959 echo "$as_me:$LINENO: checking for $ac_word" >&5
1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 if test -n "$ac_ct_CC"; then
1965 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir
=.
1972 for ac_exec_ext
in '' $ac_executable_extensions; do
1973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974 ac_cv_prog_ac_ct_CC
="$ac_prog"
1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1984 if test -n "$ac_ct_CC"; then
1985 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1986 echo "${ECHO_T}$ac_ct_CC" >&6
1988 echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6
1992 test -n "$ac_ct_CC" && break
2001 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2002 See \`config.log' for more details." >&5
2003 echo "$as_me: error: no acceptable C compiler found in \$PATH
2004 See \`config.log' for more details." >&2;}
2005 { (exit 1); exit 1; }; }
2007 # Provide some information about the compiler.
2008 echo "$as_me:$LINENO:" \
2009 "checking for C compiler version" >&5
2010 ac_compiler
=`set X $ac_compile; echo $2`
2011 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2012 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }
2016 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2017 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2022 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }
2027 cat >conftest.
$ac_ext <<_ACEOF
2030 cat confdefs.h
>>conftest.
$ac_ext
2031 cat >>conftest.
$ac_ext <<_ACEOF
2032 /* end confdefs.h. */
2042 ac_clean_files_save
=$ac_clean_files
2043 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2044 # Try to create an executable without -o first, disregard a.out.
2045 # It will help us diagnose broken compilers, and finding out an intuition
2047 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2048 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2049 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2050 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2051 (eval $ac_link_default) 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; then
2055 # Find the output, starting from the most likely. This scheme is
2056 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2059 # Be careful to initialize this variable, since it used to be cached.
2060 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2062 # b.out is created by i960 compilers.
2063 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2065 test -f "$ac_file" ||
continue
2067 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2070 # This is the source file.
2073 # We found the default executable, but exeext='' is most
2077 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2078 # FIXME: I believe we export ac_cv_exeext for Libtool,
2079 # but it would be cool to find out if it's true. Does anybody
2080 # maintain Libtool? --akim.
2088 echo "$as_me: failed program was:" >&5
2089 sed 's/^/| /' conftest.
$ac_ext >&5
2091 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2092 See \`config.log' for more details." >&5
2093 echo "$as_me: error: C compiler cannot create executables
2094 See \`config.log' for more details." >&2;}
2095 { (exit 77); exit 77; }; }
2098 ac_exeext
=$ac_cv_exeext
2099 echo "$as_me:$LINENO: result: $ac_file" >&5
2100 echo "${ECHO_T}$ac_file" >&6
2102 # Check the compiler produces executables we can run. If not, either
2103 # the compiler is broken, or we cross compile.
2104 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2105 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2106 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2107 # If not cross compiling, check that we can run a simple program.
2108 if test "$cross_compiling" != yes; then
2109 if { ac_try
='./$ac_file'
2110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }; }; then
2117 if test "$cross_compiling" = maybe
; then
2120 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2121 If you meant to cross compile, use \`--host'.
2122 See \`config.log' for more details." >&5
2123 echo "$as_me: error: cannot run C compiled programs.
2124 If you meant to cross compile, use \`--host'.
2125 See \`config.log' for more details." >&2;}
2126 { (exit 1); exit 1; }; }
2130 echo "$as_me:$LINENO: result: yes" >&5
2131 echo "${ECHO_T}yes" >&6
2133 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2134 ac_clean_files
=$ac_clean_files_save
2135 # Check the compiler produces executables we can run. If not, either
2136 # the compiler is broken, or we cross compile.
2137 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2138 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2139 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2140 echo "${ECHO_T}$cross_compiling" >&6
2142 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2143 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2145 (eval $ac_link) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; then
2149 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2150 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2151 # work properly (i.e., refer to `conftest.exe'), while it won't with
2153 for ac_file
in conftest.exe conftest conftest.
*; do
2154 test -f "$ac_file" ||
continue
2156 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2157 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2164 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2165 See \`config.log' for more details." >&5
2166 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2167 See \`config.log' for more details." >&2;}
2168 { (exit 1); exit 1; }; }
2171 rm -f conftest
$ac_cv_exeext
2172 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2173 echo "${ECHO_T}$ac_cv_exeext" >&6
2175 rm -f conftest.
$ac_ext
2176 EXEEXT
=$ac_cv_exeext
2178 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2179 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2180 if test "${ac_cv_objext+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 cat >conftest.
$ac_ext <<_ACEOF
2186 cat confdefs.h
>>conftest.
$ac_ext
2187 cat >>conftest.
$ac_ext <<_ACEOF
2188 /* end confdefs.h. */
2198 rm -f conftest.o conftest.obj
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; then
2204 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2206 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2207 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2212 echo "$as_me: failed program was:" >&5
2213 sed 's/^/| /' conftest.
$ac_ext >&5
2215 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2216 See \`config.log' for more details." >&5
2217 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2218 See \`config.log' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
2222 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2224 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2225 echo "${ECHO_T}$ac_cv_objext" >&6
2226 OBJEXT
=$ac_cv_objext
2228 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2229 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2230 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 cat >conftest.
$ac_ext <<_ACEOF
2236 cat confdefs.h
>>conftest.
$ac_ext
2237 cat >>conftest.
$ac_ext <<_ACEOF
2238 /* end confdefs.h. */
2251 rm -f conftest.
$ac_objext
2252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2253 (eval $ac_compile) 2>conftest.er1
2255 grep -v '^ *+' conftest.er1
>conftest.err
2257 cat conftest.err
>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); } &&
2260 { ac_try
='test -z "$ac_c_werror_flag"
2261 || test ! -s conftest.err'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; } &&
2267 { ac_try
='test -s conftest.$ac_objext'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; }; then
2275 echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.
$ac_ext >&5
2280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2281 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2284 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2285 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2286 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2287 ac_test_CFLAGS
=${CFLAGS+set}
2288 ac_save_CFLAGS
=$CFLAGS
2290 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2291 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2292 if test "${ac_cv_prog_cc_g+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 cat >conftest.
$ac_ext <<_ACEOF
2298 cat confdefs.h
>>conftest.
$ac_ext
2299 cat >>conftest.
$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag"
2320 || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try
='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2341 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2342 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2343 if test "$ac_test_CFLAGS" = set; then
2344 CFLAGS
=$ac_save_CFLAGS
2345 elif test $ac_cv_prog_cc_g = yes; then
2346 if test "$GCC" = yes; then
2352 if test "$GCC" = yes; then
2358 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2359 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2360 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 ac_cv_prog_cc_stdc
=no
2365 cat >conftest.
$ac_ext <<_ACEOF
2368 cat confdefs.h
>>conftest.
$ac_ext
2369 cat >>conftest.
$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2373 #include <sys/types.h>
2374 #include <sys/stat.h>
2375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2376 struct buf { int x; };
2377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2378 static char *e (p, i)
2384 static char *f (char * (*g) (char **, int), char **p, ...)
2389 s = g (p, va_arg (v,int));
2394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2395 function prototypes and stuff, but not '\xHH' hex character constants.
2396 These don't provoke an error unfortunately, instead are silently treated
2397 as 'x'. The following induces an error, until -std1 is added to get
2398 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2399 array size at least. It's necessary to write '\x00'==0 to get something
2400 that's true only with -std1. */
2401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2403 int test (int i, double x);
2404 struct s1 {int (*f) (int a);};
2405 struct s2 {int (*f) (double a);};
2406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2412 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2417 # Don't try gcc -ansi; that turns off useful extensions and
2418 # breaks some systems' header files.
2419 # AIX -qlanglvl=ansi
2420 # Ultrix and OSF/1 -std1
2421 # HP-UX 10.20 and later -Ae
2422 # HP-UX older versions -Aa -D_HPUX_SOURCE
2423 # SVR4 -Xc -D__EXTENSIONS__
2424 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2426 CC
="$ac_save_CC $ac_arg"
2427 rm -f conftest.
$ac_objext
2428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429 (eval $ac_compile) 2>conftest.er1
2431 grep -v '^ *+' conftest.er1
>conftest.err
2433 cat conftest.err
>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); } &&
2436 { ac_try
='test -z "$ac_c_werror_flag"
2437 || test ! -s conftest.err'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; } &&
2443 { ac_try
='test -s conftest.$ac_objext'
2444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; }; then
2449 ac_cv_prog_cc_stdc
=$ac_arg
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.
$ac_ext >&5
2456 rm -f conftest.err conftest.
$ac_objext
2458 rm -f conftest.
$ac_ext conftest.
$ac_objext
2463 case "x$ac_cv_prog_cc_stdc" in
2465 echo "$as_me:$LINENO: result: none needed" >&5
2466 echo "${ECHO_T}none needed" >&6 ;;
2468 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2469 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2470 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2473 # Some people use a C++ compiler to compile C. Since we use `exit',
2474 # in C++ we need to declare it. In case someone uses the same compiler
2475 # for both compiling C and C++ we need to have the C++ compiler decide
2476 # the declaration of exit, since it's the most demanding environment.
2477 cat >conftest.
$ac_ext <<_ACEOF
2482 rm -f conftest.
$ac_objext
2483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484 (eval $ac_compile) 2>conftest.er1
2486 grep -v '^ *+' conftest.er1
>conftest.err
2488 cat conftest.err
>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); } &&
2491 { ac_try
='test -z "$ac_c_werror_flag"
2492 || test ! -s conftest.err'
2493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; } &&
2498 { ac_try
='test -s conftest.$ac_objext'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 for ac_declaration
in \
2506 'extern "C" void std::exit (int) throw (); using std::exit;' \
2507 'extern "C" void std::exit (int); using std::exit;' \
2508 'extern "C" void exit (int) throw ();' \
2509 'extern "C" void exit (int);' \
2512 cat >conftest.
$ac_ext <<_ACEOF
2515 cat confdefs.h
>>conftest.
$ac_ext
2516 cat >>conftest.
$ac_ext <<_ACEOF
2517 /* end confdefs.h. */
2528 rm -f conftest.
$ac_objext
2529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2530 (eval $ac_compile) 2>conftest.er1
2532 grep -v '^ *+' conftest.er1
>conftest.err
2534 cat conftest.err
>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); } &&
2537 { ac_try
='test -z "$ac_c_werror_flag"
2538 || test ! -s conftest.err'
2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; } &&
2544 { ac_try
='test -s conftest.$ac_objext'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; }; then
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.
$ac_ext >&5
2557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2558 cat >conftest.
$ac_ext <<_ACEOF
2561 cat confdefs.h
>>conftest.
$ac_ext
2562 cat >>conftest.
$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2573 rm -f conftest.
$ac_objext
2574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575 (eval $ac_compile) 2>conftest.er1
2577 grep -v '^ *+' conftest.er1
>conftest.err
2579 cat conftest.err
>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try
='test -z "$ac_c_werror_flag"
2583 || test ! -s conftest.err'
2584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; } &&
2589 { ac_try
='test -s conftest.$ac_objext'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; }; then
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2604 if test -n "$ac_declaration"; then
2605 echo '#ifdef __cplusplus' >>confdefs.h
2606 echo $ac_declaration >>confdefs.h
2607 echo '#endif' >>confdefs.h
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.
$ac_ext >&5
2615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2617 ac_cpp
='$CPP $CPPFLAGS'
2618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2622 # Find a good install program. We prefer a C program (faster),
2623 # so one script is as good as another. But avoid the broken or
2624 # incompatible versions:
2625 # SysV /etc/install, /usr/sbin/install
2626 # SunOS /usr/etc/install
2627 # IRIX /sbin/install
2629 # AmigaOS /C/install, which installs bootblocks on floppy discs
2630 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2631 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2632 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2633 # OS/2's system install, which has a completely different semantic
2634 # ./install, which can be erroneously created by make from ./install.sh.
2635 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2636 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2637 if test -z "$INSTALL"; then
2638 if test "${ac_cv_path_install+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir
=.
2646 # Account for people who put trailing slashes in PATH elements.
2648 .
/ | .
// |
/cC
/* | \
2649 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2650 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2653 # OSF1 and SCO ODT 3.0 have their own names for install.
2654 # Don't use installbsd from OSF since it installs stuff as root
2656 for ac_prog
in ginstall scoinst
install; do
2657 for ac_exec_ext
in '' $ac_executable_extensions; do
2658 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2659 if test $ac_prog = install &&
2660 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2661 # AIX install. It has an incompatible calling convention.
2663 elif test $ac_prog = install &&
2664 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2665 # program-specific install script used by HP pwplus--don't use.
2668 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2680 if test "${ac_cv_path_install+set}" = set; then
2681 INSTALL
=$ac_cv_path_install
2683 # As a last resort, use the slow shell script. We don't cache a
2684 # path for INSTALL within a source directory, because that will
2685 # break other packages using the cache if that directory is
2686 # removed, or if the path is relative.
2687 INSTALL
=$ac_install_sh
2690 echo "$as_me:$LINENO: result: $INSTALL" >&5
2691 echo "${ECHO_T}$INSTALL" >&6
2693 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2694 # It thinks the first close brace ends the variable substitution.
2695 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2697 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2699 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2702 # Put a plausible default for CC_FOR_BUILD in Makefile.
2703 if test "x$cross_compiling" = "xno"; then
2704 CC_FOR_BUILD
='$(CC)'
2714 if test -n "$ac_tool_prefix"; then
2715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2716 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2717 echo "$as_me:$LINENO: checking for $ac_word" >&5
2718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2719 if test "${ac_cv_prog_RANLIB+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 if test -n "$RANLIB"; then
2723 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir
=.
2730 for ac_exec_ext
in '' $ac_executable_extensions; do
2731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 RANLIB
=$ac_cv_prog_RANLIB
2742 if test -n "$RANLIB"; then
2743 echo "$as_me:$LINENO: result: $RANLIB" >&5
2744 echo "${ECHO_T}$RANLIB" >&6
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2751 if test -z "$ac_cv_prog_RANLIB"; then
2752 ac_ct_RANLIB
=$RANLIB
2753 # Extract the first word of "ranlib", so it can be a program name with args.
2754 set dummy ranlib
; ac_word
=$2
2755 echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$ac_ct_RANLIB"; then
2761 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir
=.
2768 for ac_exec_ext
in '' $ac_executable_extensions; do
2769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2780 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2781 if test -n "$ac_ct_RANLIB"; then
2782 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2783 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2785 echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6
2789 RANLIB
=$ac_ct_RANLIB
2791 RANLIB
="$ac_cv_prog_RANLIB"
2796 # If we haven't got the data from the intl directory,
2797 # assume NLS is disabled.
2806 if test -f ..
/..
/intl
/config.intl
; then
2807 . ..
/..
/intl
/config.intl
2809 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2810 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2811 if test x
"$USE_NLS" != xyes
; then
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2818 cat >>confdefs.h
<<\_ACEOF
2819 #define ENABLE_NLS 1
2823 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2824 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2825 # Look for .po and .gmo files in the source directory.
2828 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2829 # If there aren't any .gmo files the shell will give us the
2830 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2832 case "$cat" in *\
**)
2835 # The quadruple backslash is collapsed to a double backslash
2836 # by the backticks, then collapsed again by the double quotes,
2837 # leaving us with one backslash in the sed expression (right
2838 # before the dot that mustn't act as a wildcard).
2839 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2840 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2841 # The user is allowed to set LINGUAS to a list of languages to
2842 # install catalogs for. If it's empty that means "all of them."
2843 if test "x$LINGUAS" = x
; then
2844 CATALOGS
="$CATALOGS $cat"
2845 XLINGUAS
="$XLINGUAS $lang"
2847 case "$LINGUAS" in *$lang*)
2848 CATALOGS
="$CATALOGS $cat"
2849 XLINGUAS
="$XLINGUAS $lang"
2855 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2856 echo "${ECHO_T}$LINGUAS" >&6
2869 # Check for common headers.
2870 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2871 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2874 ac_cpp
='$CPP $CPPFLAGS'
2875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2878 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2879 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2880 # On Suns, sometimes $CPP names a directory.
2881 if test -n "$CPP" && test -d "$CPP"; then
2884 if test -z "$CPP"; then
2885 if test "${ac_cv_prog_CPP+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 # Double quotes because CPP needs to be expanded
2889 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2892 for ac_c_preproc_warn_flag
in '' yes
2894 # Use a header file that comes with gcc, so configuring glibc
2895 # with a fresh cross-compiler works.
2896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2897 # <limits.h> exists even on freestanding compilers.
2898 # On the NeXT, cc -E runs the code through the compiler's parser,
2899 # not just through cpp. "Syntax error" is here to catch this case.
2900 cat >conftest.
$ac_ext <<_ACEOF
2903 cat confdefs.h
>>conftest.
$ac_ext
2904 cat >>conftest.
$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2907 # include <limits.h>
2909 # include <assert.h>
2913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2916 grep -v '^ *+' conftest.er1
>conftest.err
2918 cat conftest.err
>&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } >/dev
/null
; then
2921 if test -s conftest.err
; then
2922 ac_cpp_err
=$ac_c_preproc_warn_flag
2923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2930 if test -z "$ac_cpp_err"; then
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.
$ac_ext >&5
2936 # Broken: fails on valid input.
2939 rm -f conftest.err conftest.
$ac_ext
2941 # OK, works on sane cases. Now check whether non-existent headers
2942 # can be detected and how.
2943 cat >conftest.
$ac_ext <<_ACEOF
2946 cat confdefs.h
>>conftest.
$ac_ext
2947 cat >>conftest.
$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2949 #include <ac_nonexistent.h>
2951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2954 grep -v '^ *+' conftest.er1
>conftest.err
2956 cat conftest.err
>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } >/dev
/null
; then
2959 if test -s conftest.err
; then
2960 ac_cpp_err
=$ac_c_preproc_warn_flag
2961 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2968 if test -z "$ac_cpp_err"; then
2969 # Broken: success on invalid input.
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.
$ac_ext >&5
2975 # Passes both tests.
2979 rm -f conftest.err conftest.
$ac_ext
2982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2983 rm -f conftest.err conftest.
$ac_ext
2984 if $ac_preproc_ok; then
2996 echo "$as_me:$LINENO: result: $CPP" >&5
2997 echo "${ECHO_T}$CPP" >&6
2999 for ac_c_preproc_warn_flag
in '' yes
3001 # Use a header file that comes with gcc, so configuring glibc
3002 # with a fresh cross-compiler works.
3003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3004 # <limits.h> exists even on freestanding compilers.
3005 # On the NeXT, cc -E runs the code through the compiler's parser,
3006 # not just through cpp. "Syntax error" is here to catch this case.
3007 cat >conftest.
$ac_ext <<_ACEOF
3010 cat confdefs.h
>>conftest.
$ac_ext
3011 cat >>conftest.
$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3014 # include <limits.h>
3016 # include <assert.h>
3020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3023 grep -v '^ *+' conftest.er1
>conftest.err
3025 cat conftest.err
>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); } >/dev
/null
; then
3028 if test -s conftest.err
; then
3029 ac_cpp_err
=$ac_c_preproc_warn_flag
3030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3037 if test -z "$ac_cpp_err"; then
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.
$ac_ext >&5
3043 # Broken: fails on valid input.
3046 rm -f conftest.err conftest.
$ac_ext
3048 # OK, works on sane cases. Now check whether non-existent headers
3049 # can be detected and how.
3050 cat >conftest.
$ac_ext <<_ACEOF
3053 cat confdefs.h
>>conftest.
$ac_ext
3054 cat >>conftest.
$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3056 #include <ac_nonexistent.h>
3058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3061 grep -v '^ *+' conftest.er1
>conftest.err
3063 cat conftest.err
>&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev
/null
; then
3066 if test -s conftest.err
; then
3067 ac_cpp_err
=$ac_c_preproc_warn_flag
3068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3075 if test -z "$ac_cpp_err"; then
3076 # Broken: success on invalid input.
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.
$ac_ext >&5
3082 # Passes both tests.
3086 rm -f conftest.err conftest.
$ac_ext
3089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3090 rm -f conftest.err conftest.
$ac_ext
3091 if $ac_preproc_ok; then
3094 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3095 See \`config.log' for more details." >&5
3096 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3097 See \`config.log' for more details." >&2;}
3098 { (exit 1); exit 1; }; }
3102 ac_cpp
='$CPP $CPPFLAGS'
3103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3108 echo "$as_me:$LINENO: checking for egrep" >&5
3109 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3110 if test "${ac_cv_prog_egrep+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3114 then ac_cv_prog_egrep
='grep -E'
3115 else ac_cv_prog_egrep
='egrep'
3118 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3119 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3120 EGREP
=$ac_cv_prog_egrep
3123 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3124 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3125 if test "${ac_cv_header_stdc+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 cat >conftest.
$ac_ext <<_ACEOF
3131 cat confdefs.h
>>conftest.
$ac_ext
3132 cat >>conftest.
$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3147 rm -f conftest.
$ac_objext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 (eval $ac_compile) 2>conftest.er1
3151 grep -v '^ *+' conftest.er1
>conftest.err
3153 cat conftest.err
>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try
='test -z "$ac_c_werror_flag"
3157 || test ! -s conftest.err'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; } &&
3163 { ac_try
='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3169 ac_cv_header_stdc
=yes
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.
$ac_ext >&5
3174 ac_cv_header_stdc
=no
3176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3178 if test $ac_cv_header_stdc = yes; then
3179 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3180 cat >conftest.
$ac_ext <<_ACEOF
3183 cat confdefs.h
>>conftest.
$ac_ext
3184 cat >>conftest.
$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3190 $EGREP "memchr" >/dev
/null
2>&1; then
3193 ac_cv_header_stdc
=no
3199 if test $ac_cv_header_stdc = yes; then
3200 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3201 cat >conftest.
$ac_ext <<_ACEOF
3204 cat confdefs.h
>>conftest.
$ac_ext
3205 cat >>conftest.
$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3211 $EGREP "free" >/dev
/null
2>&1; then
3214 ac_cv_header_stdc
=no
3220 if test $ac_cv_header_stdc = yes; then
3221 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3222 if test "$cross_compiling" = yes; then
3225 cat >conftest.
$ac_ext <<_ACEOF
3228 cat confdefs.h
>>conftest.
$ac_ext
3229 cat >>conftest.
$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3232 #if ((' ' & 0x0FF) == 0x020)
3233 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3234 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3236 # define ISLOWER(c) \
3237 (('a' <= (c) && (c) <= 'i') \
3238 || ('j' <= (c) && (c) <= 'r') \
3239 || ('s' <= (c) && (c) <= 'z'))
3240 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3243 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3248 for (i = 0; i < 256; i++)
3249 if (XOR (islower (i), ISLOWER (i))
3250 || toupper (i) != TOUPPER (i))
3255 rm -f conftest
$ac_exeext
3256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3257 (eval $ac_link) 2>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; }; then
3268 echo "$as_me: program exited with status $ac_status" >&5
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.
$ac_ext >&5
3273 ac_cv_header_stdc
=no
3275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3279 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3280 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3281 if test $ac_cv_header_stdc = yes; then
3283 cat >>confdefs.h
<<\_ACEOF
3284 #define STDC_HEADERS 1
3289 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3299 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3300 inttypes.h stdint.h unistd.h
3302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3303 echo "$as_me:$LINENO: checking for $ac_header" >&5
3304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 cat >conftest.
$ac_ext <<_ACEOF
3311 cat confdefs.h
>>conftest.
$ac_ext
3312 cat >>conftest.
$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3314 $ac_includes_default
3316 #include <$ac_header>
3318 rm -f conftest.
$ac_objext
3319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3320 (eval $ac_compile) 2>conftest.er1
3322 grep -v '^ *+' conftest.er1
>conftest.err
3324 cat conftest.err
>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } &&
3327 { ac_try
='test -z "$ac_c_werror_flag"
3328 || test ! -s conftest.err'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; } &&
3334 { ac_try
='test -s conftest.$ac_objext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3340 eval "$as_ac_Header=yes"
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.
$ac_ext >&5
3345 eval "$as_ac_Header=no"
3347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3352 cat >>confdefs.h
<<_ACEOF
3353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3366 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3370 echo "$as_me:$LINENO: checking for $ac_header" >&5
3371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3378 # Is the header compilable?
3379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3381 cat >conftest.
$ac_ext <<_ACEOF
3384 cat confdefs.h
>>conftest.
$ac_ext
3385 cat >>conftest.
$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3387 $ac_includes_default
3388 #include <$ac_header>
3390 rm -f conftest.
$ac_objext
3391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3392 (eval $ac_compile) 2>conftest.er1
3394 grep -v '^ *+' conftest.er1
>conftest.err
3396 cat conftest.err
>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try
='test -z "$ac_c_werror_flag"
3400 || test ! -s conftest.err'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; } &&
3406 { ac_try
='test -s conftest.$ac_objext'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; }; then
3412 ac_header_compiler
=yes
3414 echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.
$ac_ext >&5
3417 ac_header_compiler
=no
3419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3421 echo "${ECHO_T}$ac_header_compiler" >&6
3423 # Is the header present?
3424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3426 cat >conftest.
$ac_ext <<_ACEOF
3429 cat confdefs.h
>>conftest.
$ac_ext
3430 cat >>conftest.
$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3432 #include <$ac_header>
3434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3437 grep -v '^ *+' conftest.er1
>conftest.err
3439 cat conftest.err
>&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } >/dev
/null
; then
3442 if test -s conftest.err
; then
3443 ac_cpp_err
=$ac_c_preproc_warn_flag
3444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3451 if test -z "$ac_cpp_err"; then
3452 ac_header_preproc
=yes
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.
$ac_ext >&5
3457 ac_header_preproc
=no
3459 rm -f conftest.err conftest.
$ac_ext
3460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3461 echo "${ECHO_T}$ac_header_preproc" >&6
3463 # So? What about this header?
3464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3470 ac_header_preproc
=yes
3473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3487 ## ------------------------------------------ ##
3488 ## Report this to the AC_PACKAGE_NAME lists. ##
3489 ## ------------------------------------------ ##
3492 sed "s/^/$as_me: WARNING: /" >&2
3495 echo "$as_me:$LINENO: checking for $ac_header" >&5
3496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 eval "$as_ac_Header=\$ac_header_preproc"
3502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3507 cat >>confdefs.h
<<_ACEOF
3508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3517 for ac_header
in sys
/time.h sys
/resource.h
3519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3521 echo "$as_me:$LINENO: checking for $ac_header" >&5
3522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3529 # Is the header compilable?
3530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3538 $ac_includes_default
3539 #include <$ac_header>
3541 rm -f conftest.
$ac_objext
3542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3543 (eval $ac_compile) 2>conftest.er1
3545 grep -v '^ *+' conftest.er1
>conftest.err
3547 cat conftest.err
>&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } &&
3550 { ac_try
='test -z "$ac_c_werror_flag"
3551 || test ! -s conftest.err'
3552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; } &&
3557 { ac_try
='test -s conftest.$ac_objext'
3558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }; }; then
3563 ac_header_compiler
=yes
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.
$ac_ext >&5
3568 ac_header_compiler
=no
3570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3572 echo "${ECHO_T}$ac_header_compiler" >&6
3574 # Is the header present?
3575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3577 cat >conftest.
$ac_ext <<_ACEOF
3580 cat confdefs.h
>>conftest.
$ac_ext
3581 cat >>conftest.
$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3583 #include <$ac_header>
3585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3588 grep -v '^ *+' conftest.er1
>conftest.err
3590 cat conftest.err
>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } >/dev
/null
; then
3593 if test -s conftest.err
; then
3594 ac_cpp_err
=$ac_c_preproc_warn_flag
3595 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3602 if test -z "$ac_cpp_err"; then
3603 ac_header_preproc
=yes
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.
$ac_ext >&5
3608 ac_header_preproc
=no
3610 rm -f conftest.err conftest.
$ac_ext
3611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3612 echo "${ECHO_T}$ac_header_preproc" >&6
3614 # So? What about this header?
3615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3621 ac_header_preproc
=yes
3624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3638 ## ------------------------------------------ ##
3639 ## Report this to the AC_PACKAGE_NAME lists. ##
3640 ## ------------------------------------------ ##
3643 sed "s/^/$as_me: WARNING: /" >&2
3646 echo "$as_me:$LINENO: checking for $ac_header" >&5
3647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 eval "$as_ac_Header=\$ac_header_preproc"
3653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3658 cat >>confdefs.h
<<_ACEOF
3659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3668 for ac_header
in fcntl.h fpu_control.h
3670 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3672 echo "$as_me:$LINENO: checking for $ac_header" >&5
3673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3680 # Is the header compilable?
3681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3683 cat >conftest.
$ac_ext <<_ACEOF
3686 cat confdefs.h
>>conftest.
$ac_ext
3687 cat >>conftest.
$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 $ac_includes_default
3690 #include <$ac_header>
3692 rm -f conftest.
$ac_objext
3693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3694 (eval $ac_compile) 2>conftest.er1
3696 grep -v '^ *+' conftest.er1
>conftest.err
3698 cat conftest.err
>&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } &&
3701 { ac_try
='test -z "$ac_c_werror_flag"
3702 || test ! -s conftest.err'
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; } &&
3708 { ac_try
='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_header_compiler
=yes
3716 echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.
$ac_ext >&5
3719 ac_header_compiler
=no
3721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3723 echo "${ECHO_T}$ac_header_compiler" >&6
3725 # Is the header present?
3726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3728 cat >conftest.
$ac_ext <<_ACEOF
3731 cat confdefs.h
>>conftest.
$ac_ext
3732 cat >>conftest.
$ac_ext <<_ACEOF
3733 /* end confdefs.h. */
3734 #include <$ac_header>
3736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3739 grep -v '^ *+' conftest.er1
>conftest.err
3741 cat conftest.err
>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } >/dev
/null
; then
3744 if test -s conftest.err
; then
3745 ac_cpp_err
=$ac_c_preproc_warn_flag
3746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3753 if test -z "$ac_cpp_err"; then
3754 ac_header_preproc
=yes
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.
$ac_ext >&5
3759 ac_header_preproc
=no
3761 rm -f conftest.err conftest.
$ac_ext
3762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3763 echo "${ECHO_T}$ac_header_preproc" >&6
3765 # So? What about this header?
3766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3772 ac_header_preproc
=yes
3775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3789 ## ------------------------------------------ ##
3790 ## Report this to the AC_PACKAGE_NAME lists. ##
3791 ## ------------------------------------------ ##
3794 sed "s/^/$as_me: WARNING: /" >&2
3797 echo "$as_me:$LINENO: checking for $ac_header" >&5
3798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 eval "$as_ac_Header=\$ac_header_preproc"
3804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3809 cat >>confdefs.h
<<_ACEOF
3810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3820 for ac_header
in dlfcn.h errno.h sys
/stat.h
3822 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3824 echo "$as_me:$LINENO: checking for $ac_header" >&5
3825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3832 # Is the header compilable?
3833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3835 cat >conftest.
$ac_ext <<_ACEOF
3838 cat confdefs.h
>>conftest.
$ac_ext
3839 cat >>conftest.
$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3841 $ac_includes_default
3842 #include <$ac_header>
3844 rm -f conftest.
$ac_objext
3845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3846 (eval $ac_compile) 2>conftest.er1
3848 grep -v '^ *+' conftest.er1
>conftest.err
3850 cat conftest.err
>&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } &&
3853 { ac_try
='test -z "$ac_c_werror_flag"
3854 || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try
='test -s conftest.$ac_objext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_header_compiler
=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.
$ac_ext >&5
3871 ac_header_compiler
=no
3873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3875 echo "${ECHO_T}$ac_header_compiler" >&6
3877 # Is the header present?
3878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 #include <$ac_header>
3888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1
>conftest.err
3893 cat conftest.err
>&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } >/dev
/null
; then
3896 if test -s conftest.err
; then
3897 ac_cpp_err
=$ac_c_preproc_warn_flag
3898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3905 if test -z "$ac_cpp_err"; then
3906 ac_header_preproc
=yes
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.
$ac_ext >&5
3911 ac_header_preproc
=no
3913 rm -f conftest.err conftest.
$ac_ext
3914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3915 echo "${ECHO_T}$ac_header_preproc" >&6
3917 # So? What about this header?
3918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3924 ac_header_preproc
=yes
3927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3941 ## ------------------------------------------ ##
3942 ## Report this to the AC_PACKAGE_NAME lists. ##
3943 ## ------------------------------------------ ##
3946 sed "s/^/$as_me: WARNING: /" >&2
3949 echo "$as_me:$LINENO: checking for $ac_header" >&5
3950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 eval "$as_ac_Header=\$ac_header_preproc"
3956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3961 cat >>confdefs.h
<<_ACEOF
3962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3973 for ac_func
in getrusage
time sigaction __setfpucw
3975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3976 echo "$as_me:$LINENO: checking for $ac_func" >&5
3977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3978 if eval "test \"\${$as_ac_var+set}\" = set"; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 cat >conftest.
$ac_ext <<_ACEOF
3984 cat confdefs.h
>>conftest.
$ac_ext
3985 cat >>conftest.
$ac_ext <<_ACEOF
3986 /* end confdefs.h. */
3987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3989 #define $ac_func innocuous_$ac_func
3991 /* System header to define __stub macros and hopefully few prototypes,
3992 which can conflict with char $ac_func (); below.
3993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3994 <limits.h> exists even on freestanding compilers. */
3997 # include <limits.h>
3999 # include <assert.h>
4004 /* Override any gcc2 internal prototype to avoid an error. */
4009 /* We use char because int might match the return type of a gcc2
4010 builtin and then its argument prototype would still apply. */
4012 /* The GNU C library defines this for functions which it implements
4013 to always fail with ENOSYS. Some functions are actually named
4014 something starting with __ and the normal name is an alias. */
4015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4018 char (*f) () = $ac_func;
4027 return f != $ac_func;
4032 rm -f conftest.
$ac_objext conftest
$ac_exeext
4033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4034 (eval $ac_link) 2>conftest.er1
4036 grep -v '^ *+' conftest.er1
>conftest.err
4038 cat conftest.err
>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); } &&
4041 { ac_try
='test -z "$ac_c_werror_flag"
4042 || test ! -s conftest.err'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; } &&
4048 { ac_try
='test -s conftest$ac_exeext'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; }; then
4054 eval "$as_ac_var=yes"
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.
$ac_ext >&5
4059 eval "$as_ac_var=no"
4061 rm -f conftest.err conftest.
$ac_objext \
4062 conftest
$ac_exeext conftest.
$ac_ext
4064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4066 if test `eval echo '${'$as_ac_var'}'` = yes; then
4067 cat >>confdefs.h
<<_ACEOF
4068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4075 # Check for socket libraries
4077 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4078 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4079 if test "${ac_cv_lib_socket_bind+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 ac_check_lib_save_LIBS
=$LIBS
4083 LIBS
="-lsocket $LIBS"
4084 cat >conftest.
$ac_ext <<_ACEOF
4087 cat confdefs.h
>>conftest.
$ac_ext
4088 cat >>conftest.
$ac_ext <<_ACEOF
4089 /* end confdefs.h. */
4091 /* Override any gcc2 internal prototype to avoid an error. */
4095 /* We use char because int might match the return type of a gcc2
4096 builtin and then its argument prototype would still apply. */
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 ac_cv_lib_socket_bind
=yes
4130 echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.
$ac_ext >&5
4133 ac_cv_lib_socket_bind
=no
4135 rm -f conftest.err conftest.
$ac_objext \
4136 conftest
$ac_exeext conftest.
$ac_ext
4137 LIBS
=$ac_check_lib_save_LIBS
4139 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4140 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4141 if test $ac_cv_lib_socket_bind = yes; then
4142 cat >>confdefs.h
<<_ACEOF
4143 #define HAVE_LIBSOCKET 1
4146 LIBS
="-lsocket $LIBS"
4151 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4152 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4153 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 ac_check_lib_save_LIBS
=$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. */
4171 char gethostbyname ();
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_nsl_gethostbyname
=yes
4204 echo "$as_me: failed program was:" >&5
4205 sed 's/^/| /' conftest.
$ac_ext >&5
4207 ac_cv_lib_nsl_gethostbyname
=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_nsl_gethostbyname" >&5
4214 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4215 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4216 cat >>confdefs.h
<<_ACEOF
4217 #define HAVE_LIBNSL 1
4225 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4226 # using the same condition.
4227 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4228 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4229 if test "${ac_cv_search_zlibVersion+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 ac_func_search_save_LIBS
=$LIBS
4233 ac_cv_search_zlibVersion
=no
4234 cat >conftest.
$ac_ext <<_ACEOF
4237 cat confdefs.h
>>conftest.
$ac_ext
4238 cat >>conftest.
$ac_ext <<_ACEOF
4239 /* end confdefs.h. */
4241 /* Override any gcc2 internal prototype to avoid an error. */
4245 /* We use char because int might match the return type of a gcc2
4246 builtin and then its argument prototype would still apply. */
4247 char zlibVersion ();
4256 rm -f conftest.
$ac_objext conftest
$ac_exeext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1
>conftest.err
4262 cat conftest.err
>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -z "$ac_c_werror_flag"
4266 || test ! -s conftest.err'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; } &&
4272 { ac_try
='test -s conftest$ac_exeext'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4278 ac_cv_search_zlibVersion
="none required"
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.
$ac_ext >&5
4284 rm -f conftest.err conftest.
$ac_objext \
4285 conftest
$ac_exeext conftest.
$ac_ext
4286 if test "$ac_cv_search_zlibVersion" = no
; then
4288 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4296 /* Override any gcc2 internal prototype to avoid an error. */
4300 /* We use char because int might match the return type of a gcc2
4301 builtin and then its argument prototype would still apply. */
4302 char zlibVersion ();
4311 rm -f conftest.
$ac_objext conftest
$ac_exeext
4312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4313 (eval $ac_link) 2>conftest.er1
4315 grep -v '^ *+' conftest.er1
>conftest.err
4317 cat conftest.err
>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } &&
4320 { ac_try
='test -z "$ac_c_werror_flag"
4321 || test ! -s conftest.err'
4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; } &&
4327 { ac_try
='test -s conftest$ac_exeext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4333 ac_cv_search_zlibVersion
="-l$ac_lib"
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.
$ac_ext >&5
4340 rm -f conftest.err conftest.
$ac_objext \
4341 conftest
$ac_exeext conftest.
$ac_ext
4344 LIBS
=$ac_func_search_save_LIBS
4346 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4347 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4348 if test "$ac_cv_search_zlibVersion" != no
; then
4349 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4351 for ac_header
in zlib.h
4353 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4355 echo "$as_me:$LINENO: checking for $ac_header" >&5
4356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4358 echo $ECHO_N "(cached) $ECHO_C" >&6
4360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4363 # Is the header compilable?
4364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4366 cat >conftest.
$ac_ext <<_ACEOF
4369 cat confdefs.h
>>conftest.
$ac_ext
4370 cat >>conftest.
$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4372 $ac_includes_default
4373 #include <$ac_header>
4375 rm -f conftest.
$ac_objext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>conftest.er1
4379 grep -v '^ *+' conftest.er1
>conftest.err
4381 cat conftest.err
>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } &&
4384 { ac_try
='test -z "$ac_c_werror_flag"
4385 || test ! -s conftest.err'
4386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; } &&
4391 { ac_try
='test -s conftest.$ac_objext'
4392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; }; then
4397 ac_header_compiler
=yes
4399 echo "$as_me: failed program was:" >&5
4400 sed 's/^/| /' conftest.
$ac_ext >&5
4402 ac_header_compiler
=no
4404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4406 echo "${ECHO_T}$ac_header_compiler" >&6
4408 # Is the header present?
4409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4411 cat >conftest.
$ac_ext <<_ACEOF
4414 cat confdefs.h
>>conftest.
$ac_ext
4415 cat >>conftest.
$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4417 #include <$ac_header>
4419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4422 grep -v '^ *+' conftest.er1
>conftest.err
4424 cat conftest.err
>&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } >/dev
/null
; then
4427 if test -s conftest.err
; then
4428 ac_cpp_err
=$ac_c_preproc_warn_flag
4429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4436 if test -z "$ac_cpp_err"; then
4437 ac_header_preproc
=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.
$ac_ext >&5
4442 ac_header_preproc
=no
4444 rm -f conftest.err conftest.
$ac_ext
4445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4446 echo "${ECHO_T}$ac_header_preproc" >&6
4448 # So? What about this header?
4449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4455 ac_header_preproc
=yes
4458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4472 ## ------------------------------------------ ##
4473 ## Report this to the AC_PACKAGE_NAME lists. ##
4474 ## ------------------------------------------ ##
4477 sed "s/^/$as_me: WARNING: /" >&2
4480 echo "$as_me:$LINENO: checking for $ac_header" >&5
4481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 eval "$as_ac_Header=\$ac_header_preproc"
4487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4492 cat >>confdefs.h
<<_ACEOF
4493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4503 .
${srcdir}/..
/..
/bfd
/configure.
host
4507 USE_MAINTAINER_MODE
=no
4508 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4509 if test "${enable_maintainer_mode+set}" = set; then
4510 enableval
="$enable_maintainer_mode"
4511 case "${enableval}" in
4512 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4514 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4515 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4516 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4518 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4519 echo "Setting maintainer mode" 6>&1
4526 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4527 if test "${enable_sim_bswap+set}" = set; then
4528 enableval
="$enable_sim_bswap"
4529 case "${enableval}" in
4530 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4531 no
) sim_bswap
="-DWITH_BSWAP=0";;
4532 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4533 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4534 { (exit 1); exit 1; }; }; sim_bswap
="";;
4536 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4537 echo "Setting bswap flags = $sim_bswap" 6>&1
4544 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4545 if test "${enable_sim_cflags+set}" = set; then
4546 enableval
="$enable_sim_cflags"
4547 case "${enableval}" in
4548 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4549 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4550 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4551 { (exit 1); exit 1; }; }; sim_cflags
="";;
4553 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4555 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4556 echo "Setting sim cflags = $sim_cflags" 6>&1
4563 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4564 if test "${enable_sim_debug+set}" = set; then
4565 enableval
="$enable_sim_debug"
4566 case "${enableval}" in
4567 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4568 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4569 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4571 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4572 echo "Setting sim debug = $sim_debug" 6>&1
4579 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4580 if test "${enable_sim_stdio+set}" = set; then
4581 enableval
="$enable_sim_stdio"
4582 case "${enableval}" in
4583 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4584 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4585 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4586 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4587 { (exit 1); exit 1; }; }; sim_stdio
="";;
4589 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4590 echo "Setting stdio flags = $sim_stdio" 6>&1
4597 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4598 if test "${enable_sim_trace+set}" = set; then
4599 enableval
="$enable_sim_trace"
4600 case "${enableval}" in
4601 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4602 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4604 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4607 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4608 if test x
"$sim_trace" = x
; then
4609 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4611 sim_trace
="${sim_trace}|TRACE_$x"
4614 sim_trace
="$sim_trace)'" ;;
4616 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4617 echo "Setting sim trace = $sim_trace" 6>&1
4624 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4625 if test "${enable_sim_profile+set}" = set; then
4626 enableval
="$enable_sim_profile"
4627 case "${enableval}" in
4628 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4629 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4631 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4634 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4635 if test x
"$sim_profile" = x
; then
4636 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4638 sim_profile
="${sim_profile}|PROFILE_$x"
4641 sim_profile
="$sim_profile)'" ;;
4643 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4644 echo "Setting sim profile = $sim_profile" 6>&1
4647 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4652 # Check whether --with-pkgversion or --without-pkgversion was given.
4653 if test "${with_pkgversion+set}" = set; then
4654 withval
="$with_pkgversion"
4656 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4657 echo "$as_me: error: package version not specified" >&2;}
4658 { (exit 1); exit 1; }; } ;;
4660 *) PKGVERSION
="($withval) " ;;
4670 # Check whether --with-bugurl or --without-bugurl was given.
4671 if test "${with_bugurl+set}" = set; then
4672 withval
="$with_bugurl"
4674 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4675 echo "$as_me: error: bug URL not specified" >&2;}
4676 { (exit 1); exit 1; }; } ;;
4679 *) BUGURL
="$withval"
4683 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4692 REPORT_BUGS_TO
="<$BUGURL>"
4693 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4700 cat >>confdefs.h
<<_ACEOF
4701 #define PKGVERSION "$PKGVERSION"
4705 cat >>confdefs.h
<<_ACEOF
4706 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4710 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4711 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4712 if test "${ac_cv_type_signal+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.
$ac_ext <<_ACEOF
4718 cat confdefs.h
>>conftest.
$ac_ext
4719 cat >>conftest.
$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 #include <sys/types.h>
4727 extern "C" void (*signal (int, void (*)(int)))(int);
4729 void (*signal ()) ();
4740 rm -f conftest.
$ac_objext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4742 (eval $ac_compile) 2>conftest.er1
4744 grep -v '^ *+' conftest.er1
>conftest.err
4746 cat conftest.err
>&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } &&
4749 { ac_try
='test -z "$ac_c_werror_flag"
4750 || test ! -s conftest.err'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; } &&
4756 { ac_try
='test -s conftest.$ac_objext'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; }; then
4762 ac_cv_type_signal
=void
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.
$ac_ext >&5
4767 ac_cv_type_signal
=int
4769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4771 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4772 echo "${ECHO_T}$ac_cv_type_signal" >&6
4774 cat >>confdefs.h
<<_ACEOF
4775 #define RETSIGTYPE $ac_cv_type_signal
4785 sim_link_links
=tconfig.h
4786 if test -f ${srcdir}/tconfig.
in
4788 sim_link_files
=tconfig.
in
4790 sim_link_files
=..
/common
/tconfig.
in
4793 # targ-vals.def points to the libc macro description file.
4795 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4797 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4798 sim_link_links
="${sim_link_links} targ-vals.def"
4802 wire_endian
="LITTLE_ENDIAN"
4804 # Check whether --enable-sim-endian or --disable-sim-endian was given.
4805 if test "${enable_sim_endian+set}" = set; then
4806 enableval
="$enable_sim_endian"
4807 case "${enableval}" in
4808 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
4809 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
4810 yes) if test x
"$wire_endian" != x
; then
4811 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4813 if test x
"$default_endian" != x
; then
4814 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${default_endian}"
4816 echo "No hard-wired endian for target $target" 1>&6
4817 sim_endian
="-DWITH_TARGET_BYTE_ORDER=0"
4820 no
) if test x
"$default_endian" != x
; then
4821 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4823 if test x
"$wire_endian" != x
; then
4824 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${wire_endian}"
4826 echo "No default endian for target $target" 1>&6
4827 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=0"
4830 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-endian\"" >&5
4831 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-endian\"" >&2;}
4832 { (exit 1); exit 1; }; }; sim_endian
="";;
4834 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
4835 echo "Setting endian flags = $sim_endian" 6>&1
4838 if test x
"$default_endian" != x
; then
4839 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4841 if test x
"$wire_endian" != x
; then
4842 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4848 wire_alignment
="NONSTRICT_ALIGNMENT"
4849 default_alignment
=""
4851 # Check whether --enable-sim-alignment or --disable-sim-alignment was given.
4852 if test "${enable_sim_alignment+set}" = set; then
4853 enableval
="$enable_sim_alignment"
4854 case "${enableval}" in
4855 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
4856 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
4857 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
4858 yes) if test x
"$wire_alignment" != x
; then
4859 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4861 if test x
"$default_alignment" != x
; then
4862 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
4864 echo "No hard-wired alignment for target $target" 1>&6
4865 sim_alignment
="-DWITH_ALIGNMENT=0"
4868 no
) if test x
"$default_alignment" != x
; then
4869 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4871 if test x
"$wire_alignment" != x
; then
4872 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
4874 echo "No default alignment for target $target" 1>&6
4875 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
4878 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&5
4879 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&2;}
4880 { (exit 1); exit 1; }; }; sim_alignment
="";;
4882 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
4883 echo "Setting alignment flags = $sim_alignment" 6>&1
4886 if test x
"$default_alignment" != x
; then
4887 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4889 if test x
"$wire_alignment" != x
; then
4890 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4897 # Check whether --enable-sim-hostendian or --disable-sim-hostendian was given.
4898 if test "${enable_sim_hostendian+set}" = set; then
4899 enableval
="$enable_sim_hostendian"
4900 case "${enableval}" in
4901 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
4902 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
4903 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
4904 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&5
4905 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&2;}
4906 { (exit 1); exit 1; }; }; sim_hostendian
="";;
4908 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
4909 echo "Setting hostendian flags = $sim_hostendian" 6>&1
4913 if test "x$cross_compiling" = "xno"; then
4914 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4915 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4916 if test "${ac_cv_c_bigendian+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 # See if sys/param.h defines the BYTE_ORDER macro.
4920 cat >conftest.
$ac_ext <<_ACEOF
4923 cat confdefs.h
>>conftest.
$ac_ext
4924 cat >>conftest.
$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4926 #include <sys/types.h>
4927 #include <sys/param.h>
4932 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4940 rm -f conftest.
$ac_objext
4941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4942 (eval $ac_compile) 2>conftest.er1
4944 grep -v '^ *+' conftest.er1
>conftest.err
4946 cat conftest.err
>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } &&
4949 { ac_try
='test -z "$ac_c_werror_flag"
4950 || test ! -s conftest.err'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; } &&
4956 { ac_try
='test -s conftest.$ac_objext'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; }; then
4962 # It does; now see whether it defined to BIG_ENDIAN or not.
4963 cat >conftest.
$ac_ext <<_ACEOF
4966 cat confdefs.h
>>conftest.
$ac_ext
4967 cat >>conftest.
$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4969 #include <sys/types.h>
4970 #include <sys/param.h>
4975 #if BYTE_ORDER != BIG_ENDIAN
4983 rm -f conftest.
$ac_objext
4984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4985 (eval $ac_compile) 2>conftest.er1
4987 grep -v '^ *+' conftest.er1
>conftest.err
4989 cat conftest.err
>&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } &&
4992 { ac_try
='test -z "$ac_c_werror_flag"
4993 || test ! -s conftest.err'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; } &&
4999 { ac_try
='test -s conftest.$ac_objext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 ac_cv_c_bigendian
=yes
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.
$ac_ext >&5
5010 ac_cv_c_bigendian
=no
5012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.
$ac_ext >&5
5017 # It does not; compile a test program.
5018 if test "$cross_compiling" = yes; then
5019 # try to guess the endianness by grepping values into an object file
5020 ac_cv_c_bigendian
=unknown
5021 cat >conftest.
$ac_ext <<_ACEOF
5024 cat confdefs.h
>>conftest.
$ac_ext
5025 cat >>conftest.
$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5027 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5028 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5029 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5030 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5031 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5032 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5036 _ascii (); _ebcdic ();
5041 rm -f conftest.
$ac_objext
5042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043 (eval $ac_compile) 2>conftest.er1
5045 grep -v '^ *+' conftest.er1
>conftest.err
5047 cat conftest.err
>&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); } &&
5050 { ac_try
='test -z "$ac_c_werror_flag"
5051 || test ! -s conftest.err'
5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; } &&
5057 { ac_try
='test -s conftest.$ac_objext'
5058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); }; }; then
5063 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5064 ac_cv_c_bigendian
=yes
5066 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5067 if test "$ac_cv_c_bigendian" = unknown
; then
5068 ac_cv_c_bigendian
=no
5070 # finding both strings is unlikely to happen, but who knows?
5071 ac_cv_c_bigendian
=unknown
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.
$ac_ext >&5
5079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 cat >conftest.
$ac_ext <<_ACEOF
5084 cat confdefs.h
>>conftest.
$ac_ext
5085 cat >>conftest.
$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5090 /* Are we little or big endian? From Harbison&Steele. */
5094 char c[sizeof (long)];
5097 exit (u.c[sizeof (long) - 1] == 1);
5100 rm -f conftest
$ac_exeext
5101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5102 (eval $ac_link) 2>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; }; then
5111 ac_cv_c_bigendian
=no
5113 echo "$as_me: program exited with status $ac_status" >&5
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.
$ac_ext >&5
5118 ac_cv_c_bigendian
=yes
5120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5125 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5126 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5127 case $ac_cv_c_bigendian in
5130 cat >>confdefs.h
<<\_ACEOF
5131 #define WORDS_BIGENDIAN 1
5137 { { echo "$as_me:$LINENO: error: unknown endianness
5138 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5139 echo "$as_me: error: unknown endianness
5140 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5141 { (exit 1); exit 1; }; } ;;
5144 if test $ac_cv_c_bigendian = yes; then
5145 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5147 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5150 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
5154 # NOTE: Don't add -Wall or -Wunused, they both include
5155 # -Wunused-parameter which reports bogus warnings.
5156 # NOTE: If you add to this list, remember to update
5157 # gdb/doc/gdbint.texinfo.
5158 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
5159 -Wformat -Wparentheses -Wpointer-arith"
5160 # GCC supports -Wuninitialized only with -O or -On, n != 0.
5161 if test x
${CFLAGS+set} = xset
; then
5165 build_warnings
="${build_warnings} -Wuninitialized"
5169 build_warnings
="${build_warnings} -Wuninitialized"
5171 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
5172 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
5173 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
5174 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
5175 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
5176 # -Woverloaded-virtual -Winline -Werror"
5177 # Check whether --enable-build-warnings or --disable-build-warnings was given.
5178 if test "${enable_build_warnings+set}" = set; then
5179 enableval
="$enable_build_warnings"
5180 case "${enableval}" in
5182 no
) build_warnings
="-w";;
5183 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5184 build_warnings
="${build_warnings} ${t}";;
5185 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5186 build_warnings
="${t} ${build_warnings}";;
5187 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5189 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5190 echo "Setting compiler warning flags = $build_warnings" 6>&1
5192 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
5193 if test "${enable_sim_build_warnings+set}" = set; then
5194 enableval
="$enable_sim_build_warnings"
5195 case "${enableval}" in
5197 no
) build_warnings
="-w";;
5198 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5199 build_warnings
="${build_warnings} ${t}";;
5200 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5201 build_warnings
="${t} ${build_warnings}";;
5202 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5204 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5205 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5209 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
5211 echo "$as_me:$LINENO: checking compiler warning flags" >&5
5212 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
5213 # Separate out the -Werror flag as some files just cannot be
5214 # compiled with it enabled.
5215 for w
in ${build_warnings}; do
5217 -Werr*) WERROR_CFLAGS
=-Werror ;;
5218 *) # Check that GCC accepts it
5219 saved_CFLAGS
="$CFLAGS"
5221 cat >conftest.
$ac_ext <<_ACEOF
5224 cat confdefs.h
>>conftest.
$ac_ext
5225 cat >>conftest.
$ac_ext <<_ACEOF
5226 /* end confdefs.h. */
5236 rm -f conftest.
$ac_objext
5237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5238 (eval $ac_compile) 2>conftest.er1
5240 grep -v '^ *+' conftest.er1
>conftest.err
5242 cat conftest.err
>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } &&
5245 { ac_try
='test -z "$ac_c_werror_flag"
5246 || test ! -s conftest.err'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; } &&
5252 { ac_try
='test -s conftest.$ac_objext'
5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }; }; then
5258 WARN_CFLAGS
="${WARN_CFLAGS} $w"
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.
$ac_ext >&5
5264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5265 CFLAGS
="$saved_CFLAGS"
5268 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
5269 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
5273 default_sim_reserved_bits
="1"
5274 # Check whether --enable-sim-reserved-bits or --disable-sim-reserved-bits was given.
5275 if test "${enable_sim_reserved_bits+set}" = set; then
5276 enableval
="$enable_sim_reserved_bits"
5277 case "${enableval}" in
5278 yes) sim_reserved_bits
="-DWITH_RESERVED_BITS=1";;
5279 no
) sim_reserved_bits
="-DWITH_RESERVED_BITS=0";;
5280 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-reserved-bits does not take a value\"" >&5
5281 echo "$as_me: error: \"--enable-sim-reserved-bits does not take a value\"" >&2;}
5282 { (exit 1); exit 1; }; }; sim_reserved_bits
="";;
5284 if test x
"$silent" != x
"yes" && test x
"$sim_reserved_bits" != x
""; then
5285 echo "Setting reserved flags = $sim_reserved_bits" 6>&1
5288 sim_reserved_bits
="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}"
5290 wire_word_bitsize
="32"
5292 wire_address_bitsize
=""
5293 wire_cell_bitsize
=""
5294 # Check whether --enable-sim-bitsize or --disable-sim-bitsize was given.
5295 if test "${enable_sim_bitsize+set}" = set; then
5296 enableval
="$enable_sim_bitsize"
5298 case "${enableval}" in
5299 64,63 |
64,63,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";;
5300 32,31 |
32,31,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";;
5301 64,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
5302 32,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
5303 32) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
5304 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31"
5306 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0"
5308 64) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
5309 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63"
5311 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
5313 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" >&5
5314 echo "$as_me: error: \"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" >&2;}
5315 { (exit 1); exit 1; }; } ;;
5318 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
5321 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
5322 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
5323 * ) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" >&5
5324 echo "$as_me: error: \"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" >&2;}
5325 { (exit 1); exit 1; }; } ;;
5328 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
5331 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
5332 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
5333 * ) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" >&5
5334 echo "$as_me: error: \"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" >&2;}
5335 { (exit 1); exit 1; }; } ;;
5337 if test x
"$silent" != x
"yes" && test x
"$sim_bitsize" != x
""; then
5338 echo "Setting bitsize flags = $sim_bitsize" 6>&1
5342 if test x
"$wire_word_bitsize" != x
; then
5343 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize"
5345 if test x
"$wire_word_msb" != x
; then
5346 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb"
5348 if test x
"$wire_address_bitsize" != x
; then
5349 sim_bitsize
="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize"
5351 if test x
"$wire_cell_bitsize" != x
; then
5352 sim_bitsize
="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize"
5356 default_sim_inline
=""
5357 # Check whether --enable-sim-inline or --disable-sim-inline was given.
5358 if test "${enable_sim_inline+set}" = set; then
5359 enableval
="$enable_sim_inline"
5361 case "$enableval" in
5362 no
) sim_inline
="-DDEFAULT_INLINE=0";;
5363 0) sim_inline
="-DDEFAULT_INLINE=0";;
5364 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
5365 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
5366 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5369 *_INLINE
=*) new_flag
="-D$x";;
5370 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
5371 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
5372 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
5374 if test x
"$sim_inline" = x
""; then
5375 sim_inline
="$new_flag"
5377 sim_inline
="$sim_inline $new_flag"
5381 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
5382 echo "Setting inline flags = $sim_inline" 6>&1
5386 if test "x$cross_compiling" = "xno"; then
5387 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
5388 sim_inline
="${default_sim_inline}"
5389 if test x
"$silent" != x
"yes"; then
5390 echo "Setting inline flags = $sim_inline" 6>&1
5396 sim_inline
="-DDEFAULT_INLINE=0"
5400 if test x
"yes" = x
"yes"; then
5406 hardware
="core pal glue"
5408 hardware
="core pal glue mn103cpu mn103int mn103tim mn103ser mn103iop"
5410 sim_hw_cflags
="-DWITH_HW=1"
5412 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
5413 # Check whether --enable-sim-hardware or --disable-sim-hardware was given.
5414 if test "${enable_sim_hardware+set}" = set; then
5415 enableval
="$enable_sim_hardware"
5417 case "${enableval}" in
5420 ,*) sim_hw_p
=yes; hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
5421 *,) sim_hw_p
=yes; hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
5422 *) sim_hw_p
=yes; hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
5424 if test "$sim_hw_p" != yes; then
5426 sim_hw_cflags
="-DWITH_HW=0"
5429 sim_hw_cflags
="-DWITH_HW=1"
5432 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
5433 for i
in $hardware ; do
5436 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
5440 if test x
"$silent" != x
"yes" && test "$sim_hw_p" = "yes"; then
5441 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
5445 if test "$sim_hw_p" != yes; then
5447 sim_hw_cflags
="-DWITH_HW=0"
5450 if test x
"$silent" != x
"yes"; then
5451 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
5462 for ac_func
in time chmod utime fork execve execv chown
5464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5465 echo "$as_me:$LINENO: checking for $ac_func" >&5
5466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5467 if eval "test \"\${$as_ac_var+set}\" = set"; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 cat >conftest.
$ac_ext <<_ACEOF
5473 cat confdefs.h
>>conftest.
$ac_ext
5474 cat >>conftest.
$ac_ext <<_ACEOF
5475 /* end confdefs.h. */
5476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5478 #define $ac_func innocuous_$ac_func
5480 /* System header to define __stub macros and hopefully few prototypes,
5481 which can conflict with char $ac_func (); below.
5482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5483 <limits.h> exists even on freestanding compilers. */
5486 # include <limits.h>
5488 # include <assert.h>
5493 /* Override any gcc2 internal prototype to avoid an error. */
5498 /* We use char because int might match the return type of a gcc2
5499 builtin and then its argument prototype would still apply. */
5501 /* The GNU C library defines this for functions which it implements
5502 to always fail with ENOSYS. Some functions are actually named
5503 something starting with __ and the normal name is an alias. */
5504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5507 char (*f) () = $ac_func;
5516 return f != $ac_func;
5521 rm -f conftest.
$ac_objext conftest
$ac_exeext
5522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5523 (eval $ac_link) 2>conftest.er1
5525 grep -v '^ *+' conftest.er1
>conftest.err
5527 cat conftest.err
>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } &&
5530 { ac_try
='test -z "$ac_c_werror_flag"
5531 || test ! -s conftest.err'
5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; } &&
5537 { ac_try
='test -s conftest$ac_exeext'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; }; then
5543 eval "$as_ac_var=yes"
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.
$ac_ext >&5
5548 eval "$as_ac_var=no"
5550 rm -f conftest.err conftest.
$ac_objext \
5551 conftest
$ac_exeext conftest.
$ac_ext
5553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5555 if test `eval echo '${'$as_ac_var'}'` = yes; then
5556 cat >>confdefs.h
<<_ACEOF
5557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5569 for ac_header
in unistd.h stdlib.h string.h
strings.h utime.h
time.h
5571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5573 echo "$as_me:$LINENO: checking for $ac_header" >&5
5574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5581 # Is the header compilable?
5582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5584 cat >conftest.
$ac_ext <<_ACEOF
5587 cat confdefs.h
>>conftest.
$ac_ext
5588 cat >>conftest.
$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5590 $ac_includes_default
5591 #include <$ac_header>
5593 rm -f conftest.
$ac_objext
5594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5595 (eval $ac_compile) 2>conftest.er1
5597 grep -v '^ *+' conftest.er1
>conftest.err
5599 cat conftest.err
>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); } &&
5602 { ac_try
='test -z "$ac_c_werror_flag"
5603 || test ! -s conftest.err'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; } &&
5609 { ac_try
='test -s conftest.$ac_objext'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; }; then
5615 ac_header_compiler
=yes
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.
$ac_ext >&5
5620 ac_header_compiler
=no
5622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5624 echo "${ECHO_T}$ac_header_compiler" >&6
5626 # Is the header present?
5627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5629 cat >conftest.
$ac_ext <<_ACEOF
5632 cat confdefs.h
>>conftest.
$ac_ext
5633 cat >>conftest.
$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5635 #include <$ac_header>
5637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5640 grep -v '^ *+' conftest.er1
>conftest.err
5642 cat conftest.err
>&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } >/dev
/null
; then
5645 if test -s conftest.err
; then
5646 ac_cpp_err
=$ac_c_preproc_warn_flag
5647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5654 if test -z "$ac_cpp_err"; then
5655 ac_header_preproc
=yes
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.
$ac_ext >&5
5660 ac_header_preproc
=no
5662 rm -f conftest.err conftest.
$ac_ext
5663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5664 echo "${ECHO_T}$ac_header_preproc" >&6
5666 # So? What about this header?
5667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5673 ac_header_preproc
=yes
5676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5690 ## ------------------------------------------ ##
5691 ## Report this to the AC_PACKAGE_NAME lists. ##
5692 ## ------------------------------------------ ##
5695 sed "s/^/$as_me: WARNING: /" >&2
5698 echo "$as_me:$LINENO: checking for $ac_header" >&5
5699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 eval "$as_ac_Header=\$ac_header_preproc"
5705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5710 cat >>confdefs.h
<<_ACEOF
5711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5720 ac_sources
="$sim_link_files"
5721 ac_dests
="$sim_link_links"
5722 while test -n "$ac_sources"; do
5723 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
5724 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
5725 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
5727 ac_config_links
="$ac_config_links $ac_config_links_1"
5730 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
5731 cgen_breaks
="break cgen_rtx_error";
5734 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
5736 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
5738 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
5740 ac_config_commands
="$ac_config_commands Makefile"
5742 ac_config_commands
="$ac_config_commands stamp-h"
5744 cat >confcache
<<\_ACEOF
5745 # This file is a shell script that caches the results of configure
5746 # tests run on this system so they can be shared between configure
5747 # scripts and configure runs, see configure's option --config-cache.
5748 # It is not useful on other systems. If it contains results you don't
5749 # want to keep, you may remove or edit it.
5751 # config.status only pays attention to the cache file if you give it
5752 # the --recheck option to rerun configure.
5754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5760 # The following way of writing the cache mishandles newlines in values,
5761 # but we know of no workaround that is simple, portable, and efficient.
5762 # So, don't put newlines in cache variables' values.
5763 # Ultrix sh set writes to stderr and can't be redirected directly,
5764 # and sets the high bit in the cache file unless we assign to the vars.
5767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5769 # `set' does not quote correctly, so add quotes (double-quote
5770 # substitution turns \\\\ into \\, and sed turns \\ into \).
5773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5776 # `set' quotes correctly as required by POSIX, so do not add quotes.
5778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5789 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5790 if test -w $cache_file; then
5791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5792 cat confcache
>$cache_file
5794 echo "not updating unwritable cache $cache_file"
5799 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5800 # Let make expand exec_prefix.
5801 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5803 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5804 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5805 # trailing colons and then remove the whole line if VPATH becomes empty
5806 # (actually we leave an empty line to preserve line numbers).
5807 if test "x$srcdir" = x.
; then
5808 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5809 s/:*\$(srcdir):*/:/;
5810 s/:*\${srcdir}:*/:/;
5812 s/^\([^=]*=[ ]*\):*/\1/;
5818 DEFS
=-DHAVE_CONFIG_H
5822 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5823 # 1. Remove the extension, and $U if already installed.
5824 ac_i
=`echo "$ac_i" |
5825 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5827 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5828 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5832 LTLIBOBJS
=$ac_ltlibobjs
5836 : ${CONFIG_STATUS=./config.status}
5837 ac_clean_files_save
=$ac_clean_files
5838 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5839 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5840 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5841 cat >$CONFIG_STATUS <<_ACEOF
5843 # Generated by $as_me.
5844 # Run this file to recreate the current configuration.
5845 # Compiler output produced by configure, useful for debugging
5846 # configure, is in config.log if it exists.
5851 SHELL=\${CONFIG_SHELL-$SHELL}
5854 cat >>$CONFIG_STATUS <<\_ACEOF
5855 ## --------------------- ##
5856 ## M4sh Initialization. ##
5857 ## --------------------- ##
5859 # Be Bourne compatible
5860 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5863 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5864 # is contrary to our usage. Disable this feature.
5865 alias -g '${1+"$@"}'='"$@"'
5866 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5869 DUALCASE
=1; export DUALCASE
# for MKS sh
5871 # Support unset when possible.
5872 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5879 # Work around bugs in pre-3.0 UWIN ksh.
5880 $as_unset ENV MAIL MAILPATH
5887 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5888 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5889 LC_TELEPHONE LC_TIME
5891 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5892 eval $as_var=C
; export $as_var
5898 # Required to use basename.
5899 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5905 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5906 as_basename
=basename
5912 # Name of the executable.
5913 as_me
=`$as_basename "$0" ||
5914 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5915 X"$0" : 'X\(//\)$' \| \
5916 X"$0" : 'X\(/\)$' \| \
5917 . : '\(.\)' 2>/dev/null ||
5919 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5920 /^X\/\(\/\/\)$/{ s//\1/; q; }
5921 /^X\/\(\/\).*/{ s//\1/; q; }
5925 # PATH needs CR, and LINENO needs CR and PATH.
5926 # Avoid depending upon Character Ranges.
5927 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5928 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5929 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5930 as_cr_digits
='0123456789'
5931 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5933 # The user is always right.
5934 if test "${PATH_SEPARATOR+set}" != set; then
5935 echo "#! /bin/sh" >conf$$.sh
5936 echo "exit 0" >>conf$$.sh
5938 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5949 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5950 test "x$as_lineno_1" != "x$as_lineno_2" &&
5951 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5952 # Find who we are. Look in the path if we contain no path at all
5955 *[\\/]* ) as_myself
=$0 ;;
5956 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir
=.
5961 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5966 # We did not find ourselves, most probably we were run as `sh COMMAND'
5967 # in which case we are not to be found in the path.
5968 if test "x$as_myself" = x
; then
5971 if test ! -f "$as_myself"; then
5972 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5973 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5974 { (exit 1); exit 1; }; }
5976 case $CONFIG_SHELL in
5978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5979 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5982 test -z "$as_dir" && as_dir
=.
5983 for as_base
in sh bash ksh sh5
; do
5986 if ("$as_dir/$as_base" -c '
5989 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5990 test "x$as_lineno_1" != "x$as_lineno_2" &&
5991 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5992 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5993 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5994 CONFIG_SHELL
=$as_dir/$as_base
5996 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6004 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6005 # uniformly replaced by the line number. The first 'sed' inserts a
6006 # line-number line before each line; the second 'sed' does the real
6007 # work. The second script uses 'N' to pair each line-number line
6008 # with the numbered line, and appends trailing '-' during
6009 # substitution so that $LINENO is not a special case at line end.
6010 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6011 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6012 sed '=' <$as_myself |
6017 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6020 s,^['$as_cr_digits']*\n,,
6022 chmod +x
$as_me.lineno ||
6023 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6024 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6025 { (exit 1); exit 1; }; }
6027 # Don't try to exec as it changes $[0], causing all sort of problems
6028 # (the dirname of $[0] is not the place where we might find the
6029 # original and so on. Autoconf is especially sensible to this).
6031 # Exit status is that of the last command.
6036 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6037 *c
*,-n*) ECHO_N
= ECHO_C
='
6039 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6040 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6043 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6049 rm -f conf$$ conf$$.exe conf$$.
file
6051 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6052 # We could just check for DJGPP; but this test a) works b) is more generic
6053 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6054 if test -f conf$$.exe
; then
6055 # Don't use ln at all; we don't have any links
6060 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6065 rm -f conf$$ conf$$.exe conf$$.
file
6067 if mkdir
-p .
2>/dev
/null
; then
6070 test -d .
/-p && rmdir .
/-p
6074 as_executable_p
="test -f"
6076 # Sed expression to map a string onto a valid CPP name.
6077 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6079 # Sed expression to map a string onto a valid variable name.
6080 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6084 # We need space, tab and new line, in precisely that order.
6094 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6095 # report actual input values of CONFIG_FILES etc. instead of their
6096 # values after options handling. Logging --version etc. is OK.
6100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6101 ## Running $as_me. ##
6106 This file was extended by $as_me, which was
6107 generated by GNU Autoconf 2.59. Invocation command line was
6109 CONFIG_FILES = $CONFIG_FILES
6110 CONFIG_HEADERS = $CONFIG_HEADERS
6111 CONFIG_LINKS = $CONFIG_LINKS
6112 CONFIG_COMMANDS = $CONFIG_COMMANDS
6116 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6120 # Files that config.status was made for.
6121 if test -n "$ac_config_files"; then
6122 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6125 if test -n "$ac_config_headers"; then
6126 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6129 if test -n "$ac_config_links"; then
6130 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6133 if test -n "$ac_config_commands"; then
6134 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6137 cat >>$CONFIG_STATUS <<\_ACEOF
6140 \`$as_me' instantiates files from templates according to the
6141 current configuration.
6143 Usage: $0 [OPTIONS] [FILE]...
6145 -h, --help print this help, then exit
6146 -V, --version print version number, then exit
6147 -q, --quiet do not print progress messages
6148 -d, --debug don't remove temporary files
6149 --recheck update $as_me by reconfiguring in the same conditions
6150 --file=FILE[:TEMPLATE]
6151 instantiate the configuration file FILE
6152 --header=FILE[:TEMPLATE]
6153 instantiate the configuration header FILE
6155 Configuration files:
6158 Configuration headers:
6161 Configuration links:
6164 Configuration commands:
6167 Report bugs to <bug-autoconf@gnu.org>."
6170 cat >>$CONFIG_STATUS <<_ACEOF
6173 configured by $0, generated by GNU Autoconf 2.59,
6174 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6176 Copyright (C) 2003 Free Software Foundation, Inc.
6177 This config.status script is free software; the Free Software Foundation
6178 gives unlimited permission to copy, distribute and modify it."
6183 cat >>$CONFIG_STATUS <<\_ACEOF
6184 # If no file are specified by the user, then we need to provide default
6185 # value. By we need to know if files were specified by the user.
6191 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6192 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6200 *) # This is not an option, so the user has probably given explicit
6203 ac_need_defaults
=false
;;
6207 # Handling of the options.
6209 cat >>$CONFIG_STATUS <<\_ACEOF
6210 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6212 --version |
--vers* |
-V )
6213 echo "$ac_cs_version"; exit 0 ;;
6215 # Conflict between --help and --header
6216 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6217 Try \`$0 --help' for more information." >&5
6218 echo "$as_me: error: ambiguous option: $1
6219 Try \`$0 --help' for more information." >&2;}
6220 { (exit 1); exit 1; }; };;
6221 --help |
--hel |
-h )
6222 echo "$ac_cs_usage"; exit 0 ;;
6223 --debug |
--d* |
-d )
6225 --file |
--fil |
--fi |
--f )
6227 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6228 ac_need_defaults
=false
;;
6229 --header |
--heade |
--head |
--hea )
6231 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6232 ac_need_defaults
=false
;;
6233 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6234 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6238 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6239 Try \`$0 --help' for more information." >&5
6240 echo "$as_me: error: unrecognized option: $1
6241 Try \`$0 --help' for more information." >&2;}
6242 { (exit 1); exit 1; }; } ;;
6244 *) ac_config_targets
="$ac_config_targets $1" ;;
6250 ac_configure_extra_args
=
6252 if $ac_cs_silent; then
6254 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6258 cat >>$CONFIG_STATUS <<_ACEOF
6259 if \$ac_cs_recheck; then
6260 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6261 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6270 cat >>$CONFIG_STATUS <<\_ACEOF
6271 for ac_config_target
in $ac_config_targets
6273 case "$ac_config_target" in
6274 # Handling of arguments.
6275 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
6276 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
6277 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
6278 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
6279 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
6280 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
6281 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6282 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6283 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6284 { (exit 1); exit 1; }; };;
6288 # If the user did not use the arguments to specify the items to instantiate,
6289 # then the envvar interface is used. Set only those that are not.
6290 # We use the long form for the default assignment because of an extremely
6291 # bizarre bug on SunOS 4.1.3.
6292 if $ac_need_defaults; then
6293 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6294 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6295 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6296 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6299 # Have a temporary directory for convenience. Make it in the build tree
6300 # simply because there is no reason to put it here, and in addition,
6301 # creating and moving files from /tmp can sometimes cause problems.
6302 # Create a temporary directory, and hook for its removal unless debugging.
6305 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6306 trap '{ (exit 1); exit 1; }' 1 2 13 15
6309 # Create a (secure) tmp directory for tmp files.
6312 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6313 test -n "$tmp" && test -d "$tmp"
6316 tmp
=.
/confstat$$
-$RANDOM
6317 (umask 077 && mkdir
$tmp)
6320 echo "$me: cannot create a temporary directory in ." >&2
6321 { (exit 1); exit 1; }
6326 cat >>$CONFIG_STATUS <<_ACEOF
6329 # CONFIG_FILES section.
6332 # No need to generate the scripts if there are no CONFIG_FILES.
6333 # This happens for instance when ./config.status config.h
6334 if test -n "\$CONFIG_FILES"; then
6335 # Protect against being on the right side of a sed subst in config.status.
6336 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6337 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6338 s,@SHELL@,$SHELL,;t t
6339 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6340 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6341 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6342 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6343 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6344 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6345 s,@exec_prefix@,$exec_prefix,;t t
6346 s,@prefix@,$prefix,;t t
6347 s,@program_transform_name@,$program_transform_name,;t t
6348 s,@bindir@,$bindir,;t t
6349 s,@sbindir@,$sbindir,;t t
6350 s,@libexecdir@,$libexecdir,;t t
6351 s,@datadir@,$datadir,;t t
6352 s,@sysconfdir@,$sysconfdir,;t t
6353 s,@sharedstatedir@,$sharedstatedir,;t t
6354 s,@localstatedir@,$localstatedir,;t t
6355 s,@libdir@,$libdir,;t t
6356 s,@includedir@,$includedir,;t t
6357 s,@oldincludedir@,$oldincludedir,;t t
6358 s,@infodir@,$infodir,;t t
6359 s,@mandir@,$mandir,;t t
6360 s,@build_alias@,$build_alias,;t t
6361 s,@host_alias@,$host_alias,;t t
6362 s,@target_alias@,$target_alias,;t t
6364 s,@ECHO_C@,$ECHO_C,;t t
6365 s,@ECHO_N@,$ECHO_N,;t t
6366 s,@ECHO_T@,$ECHO_T,;t t
6368 s,@sim_environment@,$sim_environment,;t t
6369 s,@sim_alignment@,$sim_alignment,;t t
6370 s,@sim_assert@,$sim_assert,;t t
6371 s,@sim_bitsize@,$sim_bitsize,;t t
6372 s,@sim_endian@,$sim_endian,;t t
6373 s,@sim_hostendian@,$sim_hostendian,;t t
6374 s,@sim_float@,$sim_float,;t t
6375 s,@sim_scache@,$sim_scache,;t t
6376 s,@sim_default_model@,$sim_default_model,;t t
6377 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6378 s,@sim_hw_objs@,$sim_hw_objs,;t t
6379 s,@sim_hw@,$sim_hw,;t t
6380 s,@sim_inline@,$sim_inline,;t t
6381 s,@sim_packages@,$sim_packages,;t t
6382 s,@sim_regparm@,$sim_regparm,;t t
6383 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6384 s,@sim_smp@,$sim_smp,;t t
6385 s,@sim_stdcall@,$sim_stdcall,;t t
6386 s,@sim_xor_endian@,$sim_xor_endian,;t t
6387 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6388 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6389 s,@build@,$build,;t t
6390 s,@build_cpu@,$build_cpu,;t t
6391 s,@build_vendor@,$build_vendor,;t t
6392 s,@build_os@,$build_os,;t t
6394 s,@host_cpu@,$host_cpu,;t t
6395 s,@host_vendor@,$host_vendor,;t t
6396 s,@host_os@,$host_os,;t t
6397 s,@target@,$target,;t t
6398 s,@target_cpu@,$target_cpu,;t t
6399 s,@target_vendor@,$target_vendor,;t t
6400 s,@target_os@,$target_os,;t t
6402 s,@CFLAGS@,$CFLAGS,;t t
6403 s,@LDFLAGS@,$LDFLAGS,;t t
6404 s,@CPPFLAGS@,$CPPFLAGS,;t t
6405 s,@ac_ct_CC@,$ac_ct_CC,;t t
6406 s,@EXEEXT@,$EXEEXT,;t t
6407 s,@OBJEXT@,$OBJEXT,;t t
6408 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6409 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6410 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6411 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6412 s,@HDEFINES@,$HDEFINES,;t t
6414 s,@RANLIB@,$RANLIB,;t t
6415 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6416 s,@USE_NLS@,$USE_NLS,;t t
6417 s,@LIBINTL@,$LIBINTL,;t t
6418 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6419 s,@INCINTL@,$INCINTL,;t t
6420 s,@XGETTEXT@,$XGETTEXT,;t t
6421 s,@GMSGFMT@,$GMSGFMT,;t t
6422 s,@POSUB@,$POSUB,;t t
6423 s,@CATALOGS@,$CATALOGS,;t t
6424 s,@DATADIRNAME@,$DATADIRNAME,;t t
6425 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6426 s,@GENCAT@,$GENCAT,;t t
6427 s,@CATOBJEXT@,$CATOBJEXT,;t t
6429 s,@EGREP@,$EGREP,;t t
6430 s,@MAINT@,$MAINT,;t t
6431 s,@sim_bswap@,$sim_bswap,;t t
6432 s,@sim_cflags@,$sim_cflags,;t t
6433 s,@sim_debug@,$sim_debug,;t t
6434 s,@sim_stdio@,$sim_stdio,;t t
6435 s,@sim_trace@,$sim_trace,;t t
6436 s,@sim_profile@,$sim_profile,;t t
6437 s,@PKGVERSION@,$PKGVERSION,;t t
6438 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
6439 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
6440 s,@cgen_breaks@,$cgen_breaks,;t t
6441 s,@LIBOBJS@,$LIBOBJS,;t t
6442 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6447 cat >>$CONFIG_STATUS <<\_ACEOF
6448 # Split the substitutions into bite-sized pieces for seds with
6449 # small command number limits, like on Digital OSF/1 and HP-UX.
6451 ac_sed_frag
=1 # Number of current file.
6452 ac_beg
=1 # First line for current file.
6453 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6456 while $ac_more_lines; do
6457 if test $ac_beg -gt 1; then
6458 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6460 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6462 if test ! -s $tmp/subs.frag
; then
6465 # The purpose of the label and of the branching condition is to
6466 # speed up the sed processing (if there are no `@' at all, there
6467 # is no need to browse any of the substitutions).
6468 # These are the two extra sed commands mentioned above.
6470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6471 if test -z "$ac_sed_cmds"; then
6472 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6474 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6476 ac_sed_frag
=`expr $ac_sed_frag + 1`
6478 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6481 if test -z "$ac_sed_cmds"; then
6484 fi # test -n "$CONFIG_FILES"
6487 cat >>$CONFIG_STATUS <<\_ACEOF
6488 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6489 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6491 - |
*:- |
*:-:* ) # input from stdin
6493 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6495 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6496 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6497 * ) ac_file_in
=$ac_file.
in ;;
6500 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6501 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6503 X"$ac_file" : 'X\(//\)[^/]' \| \
6504 X"$ac_file" : 'X\(//\)$' \| \
6505 X"$ac_file" : 'X\(/\)' \| \
6506 . : '\(.\)' 2>/dev/null ||
6508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6509 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6510 /^X\(\/\/\)$/{ s//\1/; q; }
6511 /^X\(\/\).*/{ s//\1/; q; }
6513 { if $as_mkdir_p; then
6518 while test ! -d "$as_dir"; do
6519 as_dirs
="$as_dir $as_dirs"
6520 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6522 X"$as_dir" : 'X\(//\)[^/]' \| \
6523 X"$as_dir" : 'X\(//\)$' \| \
6524 X"$as_dir" : 'X\(/\)' \| \
6525 . : '\(.\)' 2>/dev/null ||
6527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6529 /^X\(\/\/\)$/{ s//\1/; q; }
6530 /^X\(\/\).*/{ s//\1/; q; }
6533 test ! -n "$as_dirs" || mkdir
$as_dirs
6534 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6535 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6536 { (exit 1); exit 1; }; }; }
6540 if test "$ac_dir" != .
; then
6541 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6542 # A "../" for each directory in $ac_dir_suffix.
6543 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6545 ac_dir_suffix
= ac_top_builddir
=
6549 .
) # No --srcdir option. We are building in place.
6551 if test -z "$ac_top_builddir"; then
6554 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6556 [\\/]* | ?
:[\\/]* ) # Absolute path.
6557 ac_srcdir
=$srcdir$ac_dir_suffix;
6558 ac_top_srcdir
=$srcdir ;;
6560 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6561 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6564 # Do not use `cd foo && pwd` to compute absolute paths, because
6565 # the directories may not exist.
6567 .
) ac_abs_builddir
="$ac_dir";;
6570 .
) ac_abs_builddir
=`pwd`;;
6571 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6572 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6575 case $ac_abs_builddir in
6576 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6578 case ${ac_top_builddir}.
in
6579 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6580 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6581 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6584 case $ac_abs_builddir in
6585 .
) ac_abs_srcdir
=$ac_srcdir;;
6588 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6589 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6590 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6593 case $ac_abs_builddir in
6594 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6596 case $ac_top_srcdir in
6597 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6598 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6599 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6605 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6606 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6609 if test x
"$ac_file" != x-
; then
6610 { echo "$as_me:$LINENO: creating $ac_file" >&5
6611 echo "$as_me: creating $ac_file" >&6;}
6614 # Let's still pretend it is `configure' which instantiates (i.e., don't
6615 # use $as_me), people would be surprised to read:
6616 # /* config.h. Generated by config.status. */
6617 if test x
"$ac_file" = x-
; then
6620 configure_input
="$ac_file. "
6622 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6623 sed 's,.*/,,'` by configure."
6625 # First look for the input files in the build tree, otherwise in the
6627 ac_file_inputs
=`IFS=:
6628 for f in $ac_file_in; do
6630 -) echo $tmp/stdin ;;
6632 # Absolute (can't be DOS-style, as IFS=:)
6633 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6634 echo "$as_me: error: cannot find input file: $f" >&2;}
6635 { (exit 1); exit 1; }; }
6638 if test -f "$f"; then
6641 elif test -f "$srcdir/$f"; then
6646 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6647 echo "$as_me: error: cannot find input file: $f" >&2;}
6648 { (exit 1); exit 1; }; }
6651 done` ||
{ (exit 1); exit 1; }
6653 cat >>$CONFIG_STATUS <<_ACEOF
6657 cat >>$CONFIG_STATUS <<\_ACEOF
6659 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6660 s
,@configure_input@
,$configure_input,;t t
6661 s
,@srcdir@
,$ac_srcdir,;t t
6662 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6663 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6664 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6665 s
,@builddir@
,$ac_builddir,;t t
6666 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6667 s
,@top_builddir@
,$ac_top_builddir,;t t
6668 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6669 s
,@INSTALL@
,$ac_INSTALL,;t t
6670 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6672 if test x"$ac_file" != x-; then
6673 mv $tmp/out $ac_file
6681 cat >>$CONFIG_STATUS <<\_ACEOF
6684 # CONFIG_HEADER section.
6687 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6688 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6690 # ac_d sets the value in "#define NAME VALUE" lines.
6691 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6692 ac_dB
='[ ].*$,\1#\2'
6695 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6696 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6697 ac_uB
='$,\1#\2define\3'
6701 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6704 - |
*:- |
*:-:* ) # input from stdin
6706 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6708 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6709 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6710 * ) ac_file_in
=$ac_file.
in ;;
6713 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6714 echo "$as_me: creating $ac_file" >&6;}
6716 # First look for the input files in the build tree, otherwise in the
6718 ac_file_inputs
=`IFS=:
6719 for f in $ac_file_in; do
6721 -) echo $tmp/stdin ;;
6723 # Absolute (can't be DOS-style, as IFS=:)
6724 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6725 echo "$as_me: error: cannot find input file: $f" >&2;}
6726 { (exit 1); exit 1; }; }
6727 # Do quote $f, to prevent DOS paths from being IFS'd.
6730 if test -f "$f"; then
6733 elif test -f "$srcdir/$f"; then
6738 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6739 echo "$as_me: error: cannot find input file: $f" >&2;}
6740 { (exit 1); exit 1; }; }
6743 done` ||
{ (exit 1); exit 1; }
6744 # Remove the trailing spaces.
6745 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6749 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6750 # `conftest.undefs', that substitutes the proper values into
6751 # config.h.in to produce config.h. The first handles `#define'
6752 # templates, and the second `#undef' templates.
6753 # And first: Protect against being on the right side of a sed subst in
6754 # config.status. Protect against being in an unquoted here document
6756 rm -f conftest.defines conftest.undefs
6757 # Using a here document instead of a string reduces the quoting nightmare.
6758 # Putting comments in sed scripts is not portable.
6760 # `end' is used to avoid that the second main sed command (meant for
6761 # 0-ary CPP macros) applies to n-ary macro definitions.
6762 # See the Autoconf documentation for `clear'.
6763 cat >confdef2sed.
sed <<\_ACEOF
6768 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6770 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6773 # If some macros were called several times there might be several times
6774 # the same #defines, which is useless. Nevertheless, we may not want to
6775 # sort them, since we want the *last* AC-DEFINE to be honored.
6776 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6777 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6778 rm -f confdef2sed.sed
6780 # This sed command replaces #undef with comments. This is necessary, for
6781 # example, in the case of _POSIX_SOURCE, which is predefined and required
6782 # on some systems where configure will not decide to define it.
6783 cat >>conftest.undefs <<\_ACEOF
6784 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6787 # Break up conftest.defines because some shells have a limit on the size
6788 # of here documents, and old seds have small limits too (100 cmds).
6789 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6790 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6791 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6792 echo ' :' >>$CONFIG_STATUS
6794 while grep . conftest.defines >/dev/null
6796 # Write a limited-size here document to $tmp/defines.sed.
6797 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6798 # Speed up: don't consider the non `#define' lines.
6799 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6800 # Work around the forget-to-reset-the-flag bug.
6801 echo 't clr' >>$CONFIG_STATUS
6802 echo ': clr' >>$CONFIG_STATUS
6803 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6805 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6809 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6810 rm -f conftest.defines
6811 mv conftest.
tail conftest.defines
6813 rm -f conftest.defines
6814 echo ' fi # grep' >>$CONFIG_STATUS
6815 echo >>$CONFIG_STATUS
6817 # Break up conftest.undefs because some shells have a limit on the size
6818 # of here documents, and old seds have small limits too (100 cmds).
6819 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6821 while grep . conftest.undefs
>/dev
/null
6823 # Write a limited-size here document to $tmp/undefs.sed.
6824 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6825 # Speed up: don't consider the non
`#undef'
6826 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6827 # Work around the forget-to-reset-the-flag bug.
6828 echo 't clr' >>$CONFIG_STATUS
6829 echo ': clr' >>$CONFIG_STATUS
6830 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6832 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6836 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6837 rm -f conftest.undefs
6838 mv conftest.tail conftest.undefs
6840 rm -f conftest.undefs
6842 cat >>$CONFIG_STATUS <<\_ACEOF
6843 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6844 # use $as_me), people would be surprised to read:
6845 # /* config.h. Generated by config.status. */
6846 if test x
"$ac_file" = x-
; then
6847 echo "/* Generated by configure. */" >$tmp/config.h
6849 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6851 cat $tmp/in >>$tmp/config.h
6853 if test x
"$ac_file" != x-
; then
6854 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6855 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6856 echo "$as_me: $ac_file is unchanged" >&6;}
6858 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6860 X"$ac_file" : 'X\(//\)[^/]' \| \
6861 X"$ac_file" : 'X\(//\)$' \| \
6862 X"$ac_file" : 'X\(/\)' \| \
6863 . : '\(.\)' 2>/dev/null ||
6865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6867 /^X\(\/\/\)$/{ s//\1/; q; }
6868 /^X\(\/\).*/{ s//\1/; q; }
6870 { if $as_mkdir_p; then
6875 while test ! -d "$as_dir"; do
6876 as_dirs
="$as_dir $as_dirs"
6877 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6879 X"$as_dir" : 'X\(//\)[^/]' \| \
6880 X"$as_dir" : 'X\(//\)$' \| \
6881 X"$as_dir" : 'X\(/\)' \| \
6882 . : '\(.\)' 2>/dev/null ||
6884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6886 /^X\(\/\/\)$/{ s//\1/; q; }
6887 /^X\(\/\).*/{ s//\1/; q; }
6890 test ! -n "$as_dirs" || mkdir
$as_dirs
6891 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6892 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6893 { (exit 1); exit 1; }; }; }
6896 mv $tmp/config.h
$ac_file
6904 cat >>$CONFIG_STATUS <<\_ACEOF
6907 # CONFIG_LINKS section.
6910 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
6911 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6912 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6914 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
6915 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
6917 if test ! -r $srcdir/$ac_source; then
6918 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
6919 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
6920 { (exit 1); exit 1; }; }
6924 # Make relative symlinks.
6925 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6926 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6927 X"$ac_dest" : 'X\(//\)[^/]' \| \
6928 X"$ac_dest" : 'X\(//\)$' \| \
6929 X"$ac_dest" : 'X\(/\)' \| \
6930 . : '\(.\)' 2>/dev/null ||
6932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6933 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6934 /^X\(\/\/\)$/{ s//\1/; q; }
6935 /^X\(\/\).*/{ s//\1/; q; }
6937 { if $as_mkdir_p; then
6938 mkdir
-p "$ac_dest_dir"
6940 as_dir
="$ac_dest_dir"
6942 while test ! -d "$as_dir"; do
6943 as_dirs
="$as_dir $as_dirs"
6944 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6945 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6946 X"$as_dir" : 'X\(//\)[^/]' \| \
6947 X"$as_dir" : 'X\(//\)$' \| \
6948 X"$as_dir" : 'X\(/\)' \| \
6949 . : '\(.\)' 2>/dev/null ||
6951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6953 /^X\(\/\/\)$/{ s//\1/; q; }
6954 /^X\(\/\).*/{ s//\1/; q; }
6957 test ! -n "$as_dirs" || mkdir
$as_dirs
6958 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
6959 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
6960 { (exit 1); exit 1; }; }; }
6964 if test "$ac_dest_dir" != .
; then
6965 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
6966 # A "../" for each directory in $ac_dir_suffix.
6967 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6969 ac_dir_suffix
= ac_top_builddir
=
6973 .
) # No --srcdir option. We are building in place.
6975 if test -z "$ac_top_builddir"; then
6978 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6980 [\\/]* | ?
:[\\/]* ) # Absolute path.
6981 ac_srcdir
=$srcdir$ac_dir_suffix;
6982 ac_top_srcdir
=$srcdir ;;
6984 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6985 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6988 # Do not use `cd foo && pwd` to compute absolute paths, because
6989 # the directories may not exist.
6991 .
) ac_abs_builddir
="$ac_dest_dir";;
6993 case "$ac_dest_dir" in
6994 .
) ac_abs_builddir
=`pwd`;;
6995 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
6996 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
6999 case $ac_abs_builddir in
7000 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7002 case ${ac_top_builddir}.
in
7003 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7004 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7005 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7008 case $ac_abs_builddir in
7009 .
) ac_abs_srcdir
=$ac_srcdir;;
7012 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7013 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7014 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7017 case $ac_abs_builddir in
7018 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7020 case $ac_top_srcdir in
7021 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7022 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7023 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7029 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
7030 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
7033 # Try a symlink, then a hard link, then a copy.
7034 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
7035 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
7036 cp -p $srcdir/$ac_source $ac_dest ||
7037 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
7038 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
7039 { (exit 1); exit 1; }; }
7042 cat >>$CONFIG_STATUS <<\_ACEOF
7045 # CONFIG_COMMANDS section.
7047 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7048 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7049 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7050 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7051 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7052 X"$ac_dest" : 'X\(//\)[^/]' \| \
7053 X"$ac_dest" : 'X\(//\)$' \| \
7054 X"$ac_dest" : 'X\(/\)' \| \
7055 . : '\(.\)' 2>/dev/null ||
7057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7059 /^X\(\/\/\)$/{ s//\1/; q; }
7060 /^X\(\/\).*/{ s//\1/; q; }
7062 { if $as_mkdir_p; then
7067 while test ! -d "$as_dir"; do
7068 as_dirs
="$as_dir $as_dirs"
7069 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7071 X"$as_dir" : 'X\(//\)[^/]' \| \
7072 X"$as_dir" : 'X\(//\)$' \| \
7073 X"$as_dir" : 'X\(/\)' \| \
7074 . : '\(.\)' 2>/dev/null ||
7076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7078 /^X\(\/\/\)$/{ s//\1/; q; }
7079 /^X\(\/\).*/{ s//\1/; q; }
7082 test ! -n "$as_dirs" || mkdir
$as_dirs
7083 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7084 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7085 { (exit 1); exit 1; }; }; }
7089 if test "$ac_dir" != .
; then
7090 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7091 # A "../" for each directory in $ac_dir_suffix.
7092 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7094 ac_dir_suffix
= ac_top_builddir
=
7098 .
) # No --srcdir option. We are building in place.
7100 if test -z "$ac_top_builddir"; then
7103 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7105 [\\/]* | ?
:[\\/]* ) # Absolute path.
7106 ac_srcdir
=$srcdir$ac_dir_suffix;
7107 ac_top_srcdir
=$srcdir ;;
7109 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7110 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7113 # Do not use `cd foo && pwd` to compute absolute paths, because
7114 # the directories may not exist.
7116 .
) ac_abs_builddir
="$ac_dir";;
7119 .
) ac_abs_builddir
=`pwd`;;
7120 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7121 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7124 case $ac_abs_builddir in
7125 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7127 case ${ac_top_builddir}.
in
7128 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7129 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7130 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7133 case $ac_abs_builddir in
7134 .
) ac_abs_srcdir
=$ac_srcdir;;
7137 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7138 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7139 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7142 case $ac_abs_builddir in
7143 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7145 case $ac_top_srcdir in
7146 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7147 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7148 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7153 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7154 echo "$as_me: executing $ac_dest commands" >&6;}
7156 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
7157 rm -f Makesim1.tmp Makesim2.tmp Makefile
7158 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
7159 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
7160 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
7161 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
7162 <Makefile.sim
>Makefile
7163 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
7165 stamp-h
) echo > stamp-h
;;
7170 cat >>$CONFIG_STATUS <<\_ACEOF
7172 { (exit 0); exit 0; }
7174 chmod +x
$CONFIG_STATUS
7175 ac_clean_files
=$ac_clean_files_save
7178 # configure is writing to config.log, and then calls config.status.
7179 # config.status does its own redirection, appending to config.log.
7180 # Unfortunately, on DOS this fails, as config.log is still kept open
7181 # by configure, so config.status won't be able to write to it; its
7182 # output is simply discarded. So we exec the FD to /dev/null,
7183 # effectively closing config.log, so it can be properly (re)opened and
7184 # appended to by config.status. When coming back to configure, we
7185 # need to make the FD available again.
7186 if test "$no_create" != yes; then
7188 ac_config_status_args
=
7189 test "$silent" = yes &&
7190 ac_config_status_args
="$ac_config_status_args --quiet"
7192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7195 # would make configure fail if this is the last instruction.
7196 $ac_cs_success ||
{ (exit 1); exit 1; }