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
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
861 --enable-sim-endian=endian Specify target byte endian orientation.
862 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
863 --enable-sim-hostendian=end Specify
host byte endian orientation.
864 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
865 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
866 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
867 --enable-sim-bitsize=N Specify target bitsize
(32 or
64).
868 --enable-sim-inline=inlines Specify
which functions should be inlined.
869 --enable-sim-hardware=LIST Specify the hardware to be included
in the build.
872 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
873 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
874 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
875 --with-bugurl=URL Direct users to URL to report a bug
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
892 if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
899 if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
904 ac_dir_suffix= ac_top_builddir=
908 .) # No --srcdir option. We are building in place.
910 if test -z "$ac_top_builddir"; then
913 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Do not use `cd foo
&& pwd` to compute absolute paths, because
924 # the directories may not exist.
926 .) ac_abs_builddir="$ac_dir";;
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
934 case $ac_abs_builddir in
935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943 case $ac_abs_builddir in
944 .) ac_abs_srcdir=$ac_srcdir;;
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952 case $ac_abs_builddir in
953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 test -n "$ac_init_help" && exit 0
982 if $ac_init_version; then
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by $as_me, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
1008 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1009 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1010 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1011 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1012 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1015 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1017 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1019 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1020 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1021 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1023 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close
' the trap.
1103 trap 'exit_status
=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var
in $ac_subst_vars
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var
in $ac_subst_files
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h
; then
1166 sed "/^$/d" confdefs.h |
sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core
*.core
&&
1174 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's
/^
/|
/' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1271 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1296 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1303 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 ac_config_headers="$ac_config_headers config.h:config.in"
1327 # This file contains common code used by all simulators.
1329 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1330 # directory. It is intended to be invoked before any target specific stuff.
1331 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1332 # It is intended to be invoked last.
1334 # The simulator's configure.
in should
look like
:
1336 # dnl Process this file with autoconf to produce a configure script.
1337 # sinclude(../common/aclocal.m4)
1339 # AC_INIT(Makefile.in)
1343 # ... target specific stuff ...
1347 # Include global overrides and fixes for Autoconf.
1378 # _AC_OUTPUT_SUBDIRS
1379 # ------------------
1380 # This is a subroutine of AC_OUTPUT, but it does not go into
1381 # config.status, rather, it is called after running config.status.
1382 # _AC_OUTPUT_SUBDIRS
1387 # _AC_ARG_VAR_VALIDATE
1388 # --------------------
1389 # The code is the same as autoconf 2.59, but with a more lenient check
1390 # on precious variables and an output of pwd that have been added in
1392 # _AC_ARG_VAR_VALIDATE
1397 # AC_MSG_FAILURE(ERROR, [EXIT-STATUS = 1])
1398 # ----------------------------------------
1399 # This is the same code as in 2.59 and 2.61, except it also outputs pwd.
1456 sim_inline
="-DDEFAULT_INLINE=0"
1493 # intl sister-directory configuration rules.
1496 # The idea behind this macro is that there's no need to repeat all the
1497 # autoconf probes done by the intl directory - it's already done them
1498 # for us. In fact, there's no need even to look at the cache for the
1499 # answers. All we need to do is nab a few pieces of information.
1500 # The intl directory is set up to make this easy, by generating a
1501 # small file which can be sourced as a shell script; then we produce
1502 # the necessary substitutions and definitions for this directory.
1506 # Autoconf M4 include file defining utility macros for complex Canadian
1518 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1520 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1523 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1524 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1528 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1529 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1533 # Backported from Autoconf 2.5x; can go away when and if
1534 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1539 # ACX_HAVE_GCC_FOR_TARGET
1540 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1543 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1544 # Searching for installed target binutils. We need to take extra care,
1545 # else we may find the wrong assembler, linker, etc., and lose.
1547 # First try --with-build-time-tools, if specified.
1549 # For build != host, we ask the installed GCC for the name of the tool it
1550 # uses, and accept it if it is an absolute path. This is because the
1551 # only good choice for a compiler is the same GCC version that is being
1552 # installed (or we couldn't make target libraries), and we assume that
1553 # on the host system we'll have not only the same GCC version, but also
1554 # the same binutils version.
1556 # For build == host, search the same directories that the installed
1557 # compiler will search. We used to do this for the assembler, linker,
1558 # and nm only; for simplicity of configuration, however, we extend this
1559 # criterion to tools (such as ar and ranlib) that are never invoked by
1560 # the compiler, to avoid mismatches.
1562 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1563 # if build == target. This makes the most sense only when bootstrapping,
1564 # but we also do so when build != host. In this case, we hope that the
1565 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1567 # If we do not find a suitable binary, then try the user's path.
1571 # AC_PROG_CPP_WERROR
1572 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1573 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1574 # For now, using this also overrides header checks to use only the
1575 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1576 # bit harder from here).
1577 # Eventually autoconf will default to checking headers with the compiler
1578 # instead, and we'll have to do this differently.
1580 # AC_PROG_CPP_WERROR
1583 # We require the gnatbind program, and a compiler driver that
1584 # understands Ada. We use the user's CC setting, already found,
1585 # and possibly add $1 to the command-line parameters.
1587 # Sets the shell variable have_gnat to yes or no as appropriate, and
1588 # substitutes GNATBIND and GNATMAKE.
1614 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1615 # it by inlining the macro's contents.
1616 # This file contains common code used by all simulators.
1618 # common.m4 invokes AC macros used by all simulators and by the common
1619 # directory. It is intended to be included before any target specific
1620 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1621 # the Makefile. It is intended to be invoked last.
1623 # The simulator's configure.in should look like:
1625 # dnl Process this file with autoconf to produce a configure script.
1627 # AC_INIT(Makefile.in)
1628 # AC_CONFIG_HEADER(config.h:config.in)
1630 # sinclude(../common/aclocal.m4)
1631 # sinclude(../common/common.m4)
1633 # ... target specific stuff ...
1636 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1637 if test -f $ac_dir/install-sh
; then
1639 ac_install_sh
="$ac_aux_dir/install-sh -c"
1641 elif test -f $ac_dir/install.sh
; then
1643 ac_install_sh
="$ac_aux_dir/install.sh -c"
1645 elif test -f $ac_dir/shtool
; then
1647 ac_install_sh
="$ac_aux_dir/shtool install -c"
1651 if test -z "$ac_aux_dir"; then
1652 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1653 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1654 { (exit 1); exit 1; }; }
1656 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1657 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1658 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1660 # Make sure we can run config.sub.
1661 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1662 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1663 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1664 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: checking build system type" >&5
1667 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1668 if test "${ac_cv_build+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 ac_cv_build_alias
=$build_alias
1672 test -z "$ac_cv_build_alias" &&
1673 ac_cv_build_alias
=`$ac_config_guess`
1674 test -z "$ac_cv_build_alias" &&
1675 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1676 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1677 { (exit 1); exit 1; }; }
1678 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1679 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1680 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1681 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1685 echo "${ECHO_T}$ac_cv_build" >&6
1687 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1688 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1689 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1692 echo "$as_me:$LINENO: checking host system type" >&5
1693 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1694 if test "${ac_cv_host+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 ac_cv_host_alias
=$host_alias
1698 test -z "$ac_cv_host_alias" &&
1699 ac_cv_host_alias
=$ac_cv_build_alias
1700 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1701 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1702 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1703 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1707 echo "${ECHO_T}$ac_cv_host" >&6
1709 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1710 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1711 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1714 echo "$as_me:$LINENO: checking target system type" >&5
1715 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1716 if test "${ac_cv_target+set}" = set; then
1717 echo $ECHO_N "(cached) $ECHO_C" >&6
1719 ac_cv_target_alias
=$target_alias
1720 test "x$ac_cv_target_alias" = "x" &&
1721 ac_cv_target_alias
=$ac_cv_host_alias
1722 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1723 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1724 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1725 { (exit 1); exit 1; }; }
1728 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1729 echo "${ECHO_T}$ac_cv_target" >&6
1730 target
=$ac_cv_target
1731 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1732 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1733 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1736 # The aliases save the names the user supplied, while $host etc.
1737 # will get canonicalized.
1738 test -n "$target_alias" &&
1739 test "$program_prefix$program_suffix$program_transform_name" = \
1741 program_prefix
=${target_alias}-
1742 test "$program_prefix" != NONE
&&
1743 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1744 # Use a double $ so make ignores it.
1745 test "$program_suffix" != NONE
&&
1746 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1747 # Double any \ or $. echo might interpret backslashes.
1748 # By default was `s,x,x', remove it if useless.
1749 cat <<\_ACEOF
>conftest.
sed
1750 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1752 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1756 ac_cpp
='$CPP $CPPFLAGS'
1757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1760 if test -n "$ac_tool_prefix"; then
1761 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1762 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1763 echo "$as_me:$LINENO: checking for $ac_word" >&5
1764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1765 if test "${ac_cv_prog_CC+set}" = set; then
1766 echo $ECHO_N "(cached) $ECHO_C" >&6
1768 if test -n "$CC"; then
1769 ac_cv_prog_CC
="$CC" # Let the user override the test.
1771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1775 test -z "$as_dir" && as_dir
=.
1776 for ac_exec_ext
in '' $ac_executable_extensions; do
1777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1778 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 if test -n "$CC"; then
1789 echo "$as_me:$LINENO: result: $CC" >&5
1790 echo "${ECHO_T}$CC" >&6
1792 echo "$as_me:$LINENO: result: no" >&5
1793 echo "${ECHO_T}no" >&6
1797 if test -z "$ac_cv_prog_CC"; then
1799 # Extract the first word of "gcc", so it can be a program name with args.
1800 set dummy gcc
; ac_word
=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$ac_ct_CC"; then
1807 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir
=.
1814 for ac_exec_ext
in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_ac_ct_CC
="gcc"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1826 if test -n "$ac_ct_CC"; then
1827 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1828 echo "${ECHO_T}$ac_ct_CC" >&6
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1839 if test -z "$CC"; then
1840 if test -n "$ac_tool_prefix"; then
1841 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1842 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1843 echo "$as_me:$LINENO: checking for $ac_word" >&5
1844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1845 if test "${ac_cv_prog_CC+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 if test -n "$CC"; then
1849 ac_cv_prog_CC
="$CC" # Let the user override the test.
1851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir
=.
1856 for ac_exec_ext
in '' $ac_executable_extensions; do
1857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 if test -n "$CC"; then
1869 echo "$as_me:$LINENO: result: $CC" >&5
1870 echo "${ECHO_T}$CC" >&6
1872 echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6
1877 if test -z "$ac_cv_prog_CC"; then
1879 # Extract the first word of "cc", so it can be a program name with args.
1880 set dummy cc
; ac_word
=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$ac_ct_CC"; then
1887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir
=.
1894 for ac_exec_ext
in '' $ac_executable_extensions; do
1895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_ac_ct_CC
="cc"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1906 if test -n "$ac_ct_CC"; then
1907 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908 echo "${ECHO_T}$ac_ct_CC" >&6
1910 echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6
1920 if test -z "$CC"; then
1921 # Extract the first word of "cc", so it can be a program name with args.
1922 set dummy cc
; ac_word
=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_CC+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$CC"; then
1929 ac_cv_prog_CC
="$CC" # Let the user override the test.
1932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir
=.
1937 for ac_exec_ext
in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1940 ac_prog_rejected
=yes
1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 if test $ac_prog_rejected = yes; then
1951 # We found a bogon in the path, so make sure we never use it.
1952 set dummy
$ac_cv_prog_CC
1954 if test $# != 0; then
1955 # We chose a different compiler from the bogus one.
1956 # However, it has the same basename, so the bogon will be chosen
1957 # first if we set CC to just the basename; use the full file name.
1959 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1965 if test -n "$CC"; then
1966 echo "$as_me:$LINENO: result: $CC" >&5
1967 echo "${ECHO_T}$CC" >&6
1969 echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1974 if test -z "$CC"; then
1975 if test -n "$ac_tool_prefix"; then
1978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1979 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1980 echo "$as_me:$LINENO: checking for $ac_word" >&5
1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1982 if test "${ac_cv_prog_CC+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 if test -n "$CC"; then
1986 ac_cv_prog_CC
="$CC" # Let the user override the test.
1988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir
=.
1993 for ac_exec_ext
in '' $ac_executable_extensions; do
1994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 if test -n "$CC"; then
2006 echo "$as_me:$LINENO: result: $CC" >&5
2007 echo "${ECHO_T}$CC" >&6
2009 echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2013 test -n "$CC" && break
2016 if test -z "$CC"; then
2020 # Extract the first word of "$ac_prog", so it can be a program name with args.
2021 set dummy
$ac_prog; ac_word
=$2
2022 echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 if test -n "$ac_ct_CC"; then
2028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir
=.
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2037 ac_cv_prog_ac_ct_CC
="$ac_prog"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2047 if test -n "$ac_ct_CC"; then
2048 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2049 echo "${ECHO_T}$ac_ct_CC" >&6
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2055 test -n "$ac_ct_CC" && break
2064 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2065 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2066 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2067 See \`config.log' for more details." >&5
2068 echo "$as_me: error: no acceptable C compiler found in \$PATH
2069 See \`config.log' for more details." >&2;}
2070 { (exit 1); exit 1; }; }; }
2072 # Provide some information about the compiler.
2073 echo "$as_me:$LINENO:" \
2074 "checking for C compiler version" >&5
2075 ac_compiler
=`set X $ac_compile; echo $2`
2076 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2077 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); }
2081 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2082 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }
2086 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2087 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }
2092 cat >conftest.
$ac_ext <<_ACEOF
2095 cat confdefs.h
>>conftest.
$ac_ext
2096 cat >>conftest.
$ac_ext <<_ACEOF
2097 /* end confdefs.h. */
2107 ac_clean_files_save
=$ac_clean_files
2108 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2109 # Try to create an executable without -o first, disregard a.out.
2110 # It will help us diagnose broken compilers, and finding out an intuition
2112 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2113 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2114 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2115 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2116 (eval $ac_link_default) 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; then
2120 # Find the output, starting from the most likely. This scheme is
2121 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2124 # Be careful to initialize this variable, since it used to be cached.
2125 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2127 # b.out is created by i960 compilers.
2128 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2130 test -f "$ac_file" ||
continue
2132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2135 # This is the source file.
2138 # We found the default executable, but exeext='' is most
2142 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2143 # FIXME: I believe we export ac_cv_exeext for Libtool,
2144 # but it would be cool to find out if it's true. Does anybody
2145 # maintain Libtool? --akim.
2153 echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.
$ac_ext >&5
2156 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2157 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2158 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2159 See \`config.log' for more details." >&5
2160 echo "$as_me: error: C compiler cannot create executables
2161 See \`config.log' for more details." >&2;}
2162 { (exit 77); exit 77; }; }; }
2165 ac_exeext
=$ac_cv_exeext
2166 echo "$as_me:$LINENO: result: $ac_file" >&5
2167 echo "${ECHO_T}$ac_file" >&6
2169 # Check the compiler produces executables we can run. If not, either
2170 # the compiler is broken, or we cross compile.
2171 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2172 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2173 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2174 # If not cross compiling, check that we can run a simple program.
2175 if test "$cross_compiling" != yes; then
2176 if { ac_try
='./$ac_file'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2184 if test "$cross_compiling" = maybe
; then
2187 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2188 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2189 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2190 If you meant to cross compile, use \`--host'.
2191 See \`config.log' for more details." >&5
2192 echo "$as_me: error: cannot run C compiled programs.
2193 If you meant to cross compile, use \`--host'.
2194 See \`config.log' for more details." >&2;}
2195 { (exit 1); exit 1; }; }; }
2199 echo "$as_me:$LINENO: result: yes" >&5
2200 echo "${ECHO_T}yes" >&6
2202 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2203 ac_clean_files
=$ac_clean_files_save
2204 # Check the compiler produces executables we can run. If not, either
2205 # the compiler is broken, or we cross compile.
2206 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2207 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2208 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2209 echo "${ECHO_T}$cross_compiling" >&6
2211 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2212 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2214 (eval $ac_link) 2>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; then
2218 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2219 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2220 # work properly (i.e., refer to `conftest.exe'), while it won't with
2222 for ac_file
in conftest.exe conftest conftest.
*; do
2223 test -f "$ac_file" ||
continue
2225 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2226 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2233 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2234 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2235 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2238 See \`config.log' for more details." >&2;}
2239 { (exit 1); exit 1; }; }; }
2242 rm -f conftest
$ac_cv_exeext
2243 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2244 echo "${ECHO_T}$ac_cv_exeext" >&6
2246 rm -f conftest.
$ac_ext
2247 EXEEXT
=$ac_cv_exeext
2249 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2250 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2251 if test "${ac_cv_objext+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 cat >conftest.
$ac_ext <<_ACEOF
2257 cat confdefs.h
>>conftest.
$ac_ext
2258 cat >>conftest.
$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2269 rm -f conftest.o conftest.obj
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; then
2275 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2277 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2278 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.
$ac_ext >&5
2286 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2287 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2289 See \`config.log' for more details." >&5
2290 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2291 See \`config.log' for more details." >&2;}
2292 { (exit 1); exit 1; }; }; }
2295 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2297 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2298 echo "${ECHO_T}$ac_cv_objext" >&6
2299 OBJEXT
=$ac_cv_objext
2301 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2302 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2303 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 cat >conftest.
$ac_ext <<_ACEOF
2309 cat confdefs.h
>>conftest.
$ac_ext
2310 cat >>conftest.
$ac_ext <<_ACEOF
2311 /* end confdefs.h. */
2324 rm -f conftest.
$ac_objext
2325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326 (eval $ac_compile) 2>conftest.er1
2328 grep -v '^ *+' conftest.er1
>conftest.err
2330 cat conftest.err
>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); } &&
2333 { ac_try
='test -z "$ac_c_werror_flag"
2334 || test ! -s conftest.err'
2335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }; } &&
2340 { ac_try
='test -s conftest.$ac_objext'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.
$ac_ext >&5
2353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2354 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2357 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2358 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2359 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2360 ac_test_CFLAGS
=${CFLAGS+set}
2361 ac_save_CFLAGS
=$CFLAGS
2363 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2364 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2365 if test "${ac_cv_prog_cc_g+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2383 rm -f conftest.
$ac_objext
2384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385 (eval $ac_compile) 2>conftest.er1
2387 grep -v '^ *+' conftest.er1
>conftest.err
2389 cat conftest.err
>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -z "$ac_c_werror_flag"
2393 || test ! -s conftest.err'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; } &&
2399 { ac_try
='test -s conftest.$ac_objext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.
$ac_ext >&5
2412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2414 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2415 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2416 if test "$ac_test_CFLAGS" = set; then
2417 CFLAGS
=$ac_save_CFLAGS
2418 elif test $ac_cv_prog_cc_g = yes; then
2419 if test "$GCC" = yes; then
2425 if test "$GCC" = yes; then
2431 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2432 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2433 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 ac_cv_prog_cc_stdc
=no
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2446 #include <sys/types.h>
2447 #include <sys/stat.h>
2448 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2449 struct buf { int x; };
2450 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2451 static char *e (p, i)
2457 static char *f (char * (*g) (char **, int), char **p, ...)
2462 s = g (p, va_arg (v,int));
2467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2468 function prototypes and stuff, but not '\xHH' hex character constants.
2469 These don't provoke an error unfortunately, instead are silently treated
2470 as 'x'. The following induces an error, until -std1 is added to get
2471 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2472 array size at least. It's necessary to write '\x00'==0 to get something
2473 that's true only with -std1. */
2474 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2476 int test (int i, double x);
2477 struct s1 {int (*f) (int a);};
2478 struct s2 {int (*f) (double a);};
2479 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2485 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2490 # Don't try gcc -ansi; that turns off useful extensions and
2491 # breaks some systems' header files.
2492 # AIX -qlanglvl=ansi
2493 # Ultrix and OSF/1 -std1
2494 # HP-UX 10.20 and later -Ae
2495 # HP-UX older versions -Aa -D_HPUX_SOURCE
2496 # SVR4 -Xc -D__EXTENSIONS__
2497 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2499 CC
="$ac_save_CC $ac_arg"
2500 rm -f conftest.
$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1
>conftest.err
2506 cat conftest.err
>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try
='test -z "$ac_c_werror_flag"
2510 || test ! -s conftest.err'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; } &&
2516 { ac_try
='test -s conftest.$ac_objext'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2522 ac_cv_prog_cc_stdc
=$ac_arg
2525 echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.
$ac_ext >&5
2529 rm -f conftest.err conftest.
$ac_objext
2531 rm -f conftest.
$ac_ext conftest.
$ac_objext
2536 case "x$ac_cv_prog_cc_stdc" in
2538 echo "$as_me:$LINENO: result: none needed" >&5
2539 echo "${ECHO_T}none needed" >&6 ;;
2541 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2542 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2543 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2546 # Some people use a C++ compiler to compile C. Since we use `exit',
2547 # in C++ we need to declare it. In case someone uses the same compiler
2548 # for both compiling C and C++ we need to have the C++ compiler decide
2549 # the declaration of exit, since it's the most demanding environment.
2550 cat >conftest.
$ac_ext <<_ACEOF
2555 rm -f conftest.
$ac_objext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557 (eval $ac_compile) 2>conftest.er1
2559 grep -v '^ *+' conftest.er1
>conftest.err
2561 cat conftest.err
>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); } &&
2564 { ac_try
='test -z "$ac_c_werror_flag"
2565 || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try
='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2577 for ac_declaration
in \
2579 'extern "C" void std::exit (int) throw (); using std::exit;' \
2580 'extern "C" void std::exit (int); using std::exit;' \
2581 'extern "C" void exit (int) throw ();' \
2582 'extern "C" void exit (int);' \
2585 cat >conftest.
$ac_ext <<_ACEOF
2588 cat confdefs.h
>>conftest.
$ac_ext
2589 cat >>conftest.
$ac_ext <<_ACEOF
2590 /* end confdefs.h. */
2601 rm -f conftest.
$ac_objext
2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2603 (eval $ac_compile) 2>conftest.er1
2605 grep -v '^ *+' conftest.er1
>conftest.err
2607 cat conftest.err
>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } &&
2610 { ac_try
='test -z "$ac_c_werror_flag"
2611 || test ! -s conftest.err'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; } &&
2617 { ac_try
='test -s conftest.$ac_objext'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then
2625 echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.
$ac_ext >&5
2630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2631 cat >conftest.
$ac_ext <<_ACEOF
2634 cat confdefs.h
>>conftest.
$ac_ext
2635 cat >>conftest.
$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2646 rm -f conftest.
$ac_objext
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>conftest.er1
2650 grep -v '^ *+' conftest.er1
>conftest.err
2652 cat conftest.err
>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } &&
2655 { ac_try
='test -z "$ac_c_werror_flag"
2656 || test ! -s conftest.err'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; } &&
2662 { ac_try
='test -s conftest.$ac_objext'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.
$ac_ext >&5
2674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2677 if test -n "$ac_declaration"; then
2678 echo '#ifdef __cplusplus' >>confdefs.h
2679 echo $ac_declaration >>confdefs.h
2680 echo '#endif' >>confdefs.h
2684 echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.
$ac_ext >&5
2688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2690 ac_cpp
='$CPP $CPPFLAGS'
2691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2695 # Find a good install program. We prefer a C program (faster),
2696 # so one script is as good as another. But avoid the broken or
2697 # incompatible versions:
2698 # SysV /etc/install, /usr/sbin/install
2699 # SunOS /usr/etc/install
2700 # IRIX /sbin/install
2702 # AmigaOS /C/install, which installs bootblocks on floppy discs
2703 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2704 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2705 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2706 # OS/2's system install, which has a completely different semantic
2707 # ./install, which can be erroneously created by make from ./install.sh.
2708 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2709 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2710 if test -z "$INSTALL"; then
2711 if test "${ac_cv_path_install+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 # Account for people who put trailing slashes in PATH elements.
2721 .
/ | .
// |
/cC
/* | \
2722 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2723 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2726 # OSF1 and SCO ODT 3.0 have their own names for install.
2727 # Don't use installbsd from OSF since it installs stuff as root
2729 for ac_prog
in ginstall scoinst
install; do
2730 for ac_exec_ext
in '' $ac_executable_extensions; do
2731 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2732 if test $ac_prog = install &&
2733 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2734 # AIX install. It has an incompatible calling convention.
2736 elif test $ac_prog = install &&
2737 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2738 # program-specific install script used by HP pwplus--don't use.
2741 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2753 if test "${ac_cv_path_install+set}" = set; then
2754 INSTALL
=$ac_cv_path_install
2756 # As a last resort, use the slow shell script. We don't cache a
2757 # path for INSTALL within a source directory, because that will
2758 # break other packages using the cache if that directory is
2759 # removed, or if the path is relative.
2760 INSTALL
=$ac_install_sh
2763 echo "$as_me:$LINENO: result: $INSTALL" >&5
2764 echo "${ECHO_T}$INSTALL" >&6
2766 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2767 # It thinks the first close brace ends the variable substitution.
2768 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2770 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2772 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2775 # Put a plausible default for CC_FOR_BUILD in Makefile.
2776 if test "x$cross_compiling" = "xno"; then
2777 CC_FOR_BUILD
='$(CC)'
2787 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2789 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2790 echo "$as_me:$LINENO: checking for $ac_word" >&5
2791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2792 if test "${ac_cv_prog_RANLIB+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 if test -n "$RANLIB"; then
2796 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 RANLIB
=$ac_cv_prog_RANLIB
2815 if test -n "$RANLIB"; then
2816 echo "$as_me:$LINENO: result: $RANLIB" >&5
2817 echo "${ECHO_T}$RANLIB" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2824 if test -z "$ac_cv_prog_RANLIB"; then
2825 ac_ct_RANLIB
=$RANLIB
2826 # Extract the first word of "ranlib", so it can be a program name with args.
2827 set dummy ranlib
; ac_word
=$2
2828 echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2830 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if test -n "$ac_ct_RANLIB"; then
2834 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir
=.
2841 for ac_exec_ext
in '' $ac_executable_extensions; do
2842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2853 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2854 if test -n "$ac_ct_RANLIB"; then
2855 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2856 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2862 RANLIB
=$ac_ct_RANLIB
2864 RANLIB
="$ac_cv_prog_RANLIB"
2869 # If we haven't got the data from the intl directory,
2870 # assume NLS is disabled.
2879 if test -f ..
/..
/intl
/config.intl
; then
2880 . ..
/..
/intl
/config.intl
2882 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2883 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2884 if test x
"$USE_NLS" != xyes
; then
2885 echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2888 echo "$as_me:$LINENO: result: yes" >&5
2889 echo "${ECHO_T}yes" >&6
2891 cat >>confdefs.h
<<\_ACEOF
2892 #define ENABLE_NLS 1
2896 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2897 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2898 # Look for .po and .gmo files in the source directory.
2901 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2902 # If there aren't any .gmo files the shell will give us the
2903 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2905 case "$cat" in *\
**)
2908 # The quadruple backslash is collapsed to a double backslash
2909 # by the backticks, then collapsed again by the double quotes,
2910 # leaving us with one backslash in the sed expression (right
2911 # before the dot that mustn't act as a wildcard).
2912 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2913 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2914 # The user is allowed to set LINGUAS to a list of languages to
2915 # install catalogs for. If it's empty that means "all of them."
2916 if test "x$LINGUAS" = x
; then
2917 CATALOGS
="$CATALOGS $cat"
2918 XLINGUAS
="$XLINGUAS $lang"
2920 case "$LINGUAS" in *$lang*)
2921 CATALOGS
="$CATALOGS $cat"
2922 XLINGUAS
="$XLINGUAS $lang"
2928 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2929 echo "${ECHO_T}$LINGUAS" >&6
2942 # Check for common headers.
2943 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2944 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2947 ac_cpp
='$CPP $CPPFLAGS'
2948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2951 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2952 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2953 # On Suns, sometimes $CPP names a directory.
2954 if test -n "$CPP" && test -d "$CPP"; then
2957 if test -z "$CPP"; then
2958 if test "${ac_cv_prog_CPP+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 # Double quotes because CPP needs to be expanded
2962 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2965 for ac_c_preproc_warn_flag
in '' yes
2967 # Use a header file that comes with gcc, so configuring glibc
2968 # with a fresh cross-compiler works.
2969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2970 # <limits.h> exists even on freestanding compilers.
2971 # On the NeXT, cc -E runs the code through the compiler's parser,
2972 # not just through cpp. "Syntax error" is here to catch this case.
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2980 # include <limits.h>
2982 # include <assert.h>
2986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2989 grep -v '^ *+' conftest.er1
>conftest.err
2991 cat conftest.err
>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } >/dev
/null
; then
2994 if test -s conftest.err
; then
2995 ac_cpp_err
=$ac_c_preproc_warn_flag
2996 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3003 if test -z "$ac_cpp_err"; then
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.
$ac_ext >&5
3009 # Broken: fails on valid input.
3012 rm -f conftest.err conftest.
$ac_ext
3014 # OK, works on sane cases. Now check whether non-existent headers
3015 # can be detected and how.
3016 cat >conftest.
$ac_ext <<_ACEOF
3019 cat confdefs.h
>>conftest.
$ac_ext
3020 cat >>conftest.
$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3022 #include <ac_nonexistent.h>
3024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3025 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3027 grep -v '^ *+' conftest.er1
>conftest.err
3029 cat conftest.err
>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } >/dev
/null
; then
3032 if test -s conftest.err
; then
3033 ac_cpp_err
=$ac_c_preproc_warn_flag
3034 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3041 if test -z "$ac_cpp_err"; then
3042 # Broken: success on invalid input.
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.
$ac_ext >&5
3048 # Passes both tests.
3052 rm -f conftest.err conftest.
$ac_ext
3055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3056 rm -f conftest.err conftest.
$ac_ext
3057 if $ac_preproc_ok; then
3069 echo "$as_me:$LINENO: result: $CPP" >&5
3070 echo "${ECHO_T}$CPP" >&6
3072 for ac_c_preproc_warn_flag
in '' yes
3074 # Use a header file that comes with gcc, so configuring glibc
3075 # with a fresh cross-compiler works.
3076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3077 # <limits.h> exists even on freestanding compilers.
3078 # On the NeXT, cc -E runs the code through the compiler's parser,
3079 # not just through cpp. "Syntax error" is here to catch this case.
3080 cat >conftest.
$ac_ext <<_ACEOF
3083 cat confdefs.h
>>conftest.
$ac_ext
3084 cat >>conftest.
$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3087 # include <limits.h>
3089 # include <assert.h>
3093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3096 grep -v '^ *+' conftest.er1
>conftest.err
3098 cat conftest.err
>&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } >/dev
/null
; then
3101 if test -s conftest.err
; then
3102 ac_cpp_err
=$ac_c_preproc_warn_flag
3103 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3110 if test -z "$ac_cpp_err"; then
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.
$ac_ext >&5
3116 # Broken: fails on valid input.
3119 rm -f conftest.err conftest.
$ac_ext
3121 # OK, works on sane cases. Now check whether non-existent headers
3122 # can be detected and how.
3123 cat >conftest.
$ac_ext <<_ACEOF
3126 cat confdefs.h
>>conftest.
$ac_ext
3127 cat >>conftest.
$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3129 #include <ac_nonexistent.h>
3131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3134 grep -v '^ *+' conftest.er1
>conftest.err
3136 cat conftest.err
>&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } >/dev
/null
; then
3139 if test -s conftest.err
; then
3140 ac_cpp_err
=$ac_c_preproc_warn_flag
3141 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3148 if test -z "$ac_cpp_err"; then
3149 # Broken: success on invalid input.
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 # Passes both tests.
3159 rm -f conftest.err conftest.
$ac_ext
3162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3163 rm -f conftest.err conftest.
$ac_ext
3164 if $ac_preproc_ok; then
3167 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3168 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3170 See \`config.log' for more details." >&5
3171 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3172 See \`config.log' for more details." >&2;}
3173 { (exit 1); exit 1; }; }; }
3177 ac_cpp
='$CPP $CPPFLAGS'
3178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3183 echo "$as_me:$LINENO: checking for egrep" >&5
3184 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3185 if test "${ac_cv_prog_egrep+set}" = set; then
3186 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3189 then ac_cv_prog_egrep
='grep -E'
3190 else ac_cv_prog_egrep
='egrep'
3193 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3194 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3195 EGREP
=$ac_cv_prog_egrep
3198 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3199 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3200 if test "${ac_cv_header_stdc+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 cat >conftest.
$ac_ext <<_ACEOF
3206 cat confdefs.h
>>conftest.
$ac_ext
3207 cat >>conftest.
$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3222 rm -f conftest.
$ac_objext
3223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3224 (eval $ac_compile) 2>conftest.er1
3226 grep -v '^ *+' conftest.er1
>conftest.err
3228 cat conftest.err
>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } &&
3231 { ac_try
='test -z "$ac_c_werror_flag"
3232 || test ! -s conftest.err'
3233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }; } &&
3238 { ac_try
='test -s conftest.$ac_objext'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; }; then
3244 ac_cv_header_stdc
=yes
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.
$ac_ext >&5
3249 ac_cv_header_stdc
=no
3251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3253 if test $ac_cv_header_stdc = yes; then
3254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3255 cat >conftest.
$ac_ext <<_ACEOF
3258 cat confdefs.h
>>conftest.
$ac_ext
3259 cat >>conftest.
$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3265 $EGREP "memchr" >/dev
/null
2>&1; then
3268 ac_cv_header_stdc
=no
3274 if test $ac_cv_header_stdc = yes; then
3275 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3286 $EGREP "free" >/dev
/null
2>&1; then
3289 ac_cv_header_stdc
=no
3295 if test $ac_cv_header_stdc = yes; then
3296 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3297 if test "$cross_compiling" = yes; then
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3307 #if ((' ' & 0x0FF) == 0x020)
3308 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3309 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3311 # define ISLOWER(c) \
3312 (('a' <= (c) && (c) <= 'i') \
3313 || ('j' <= (c) && (c) <= 'r') \
3314 || ('s' <= (c) && (c) <= 'z'))
3315 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3318 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3323 for (i = 0; i < 256; i++)
3324 if (XOR (islower (i), ISLOWER (i))
3325 || toupper (i) != TOUPPER (i))
3330 rm -f conftest
$ac_exeext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3332 (eval $ac_link) 2>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; }; then
3343 echo "$as_me: program exited with status $ac_status" >&5
3344 echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.
$ac_ext >&5
3348 ac_cv_header_stdc
=no
3350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3354 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3355 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3356 if test $ac_cv_header_stdc = yes; then
3358 cat >>confdefs.h
<<\_ACEOF
3359 #define STDC_HEADERS 1
3364 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3374 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3375 inttypes.h stdint.h unistd.h
3377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3378 echo "$as_me:$LINENO: checking for $ac_header" >&5
3379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 cat >conftest.
$ac_ext <<_ACEOF
3386 cat confdefs.h
>>conftest.
$ac_ext
3387 cat >>conftest.
$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3389 $ac_includes_default
3391 #include <$ac_header>
3393 rm -f conftest.
$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1
>conftest.err
3399 cat conftest.err
>&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try
='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try
='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 eval "$as_ac_Header=yes"
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3420 eval "$as_ac_Header=no"
3422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3427 cat >>confdefs.h
<<_ACEOF
3428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3441 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3445 echo "$as_me:$LINENO: checking for $ac_header" >&5
3446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3453 # Is the header compilable?
3454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3456 cat >conftest.
$ac_ext <<_ACEOF
3459 cat confdefs.h
>>conftest.
$ac_ext
3460 cat >>conftest.
$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3462 $ac_includes_default
3463 #include <$ac_header>
3465 rm -f conftest.
$ac_objext
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 (eval $ac_compile) 2>conftest.er1
3469 grep -v '^ *+' conftest.er1
>conftest.err
3471 cat conftest.err
>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try
='test -z "$ac_c_werror_flag"
3475 || test ! -s conftest.err'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; } &&
3481 { ac_try
='test -s conftest.$ac_objext'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; }; then
3487 ac_header_compiler
=yes
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.
$ac_ext >&5
3492 ac_header_compiler
=no
3494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3496 echo "${ECHO_T}$ac_header_compiler" >&6
3498 # Is the header present?
3499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3501 cat >conftest.
$ac_ext <<_ACEOF
3504 cat confdefs.h
>>conftest.
$ac_ext
3505 cat >>conftest.
$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3507 #include <$ac_header>
3509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3512 grep -v '^ *+' conftest.er1
>conftest.err
3514 cat conftest.err
>&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } >/dev
/null
; then
3517 if test -s conftest.err
; then
3518 ac_cpp_err
=$ac_c_preproc_warn_flag
3519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3526 if test -z "$ac_cpp_err"; then
3527 ac_header_preproc
=yes
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.
$ac_ext >&5
3532 ac_header_preproc
=no
3534 rm -f conftest.err conftest.
$ac_ext
3535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3536 echo "${ECHO_T}$ac_header_preproc" >&6
3538 # So? What about this header?
3539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3545 ac_header_preproc
=yes
3548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3562 ## ------------------------------------------ ##
3563 ## Report this to the AC_PACKAGE_NAME lists. ##
3564 ## ------------------------------------------ ##
3567 sed "s/^/$as_me: WARNING: /" >&2
3570 echo "$as_me:$LINENO: checking for $ac_header" >&5
3571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3575 eval "$as_ac_Header=\$ac_header_preproc"
3577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3582 cat >>confdefs.h
<<_ACEOF
3583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3592 for ac_header
in sys
/time.h sys
/resource.h
3594 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3596 echo "$as_me:$LINENO: checking for $ac_header" >&5
3597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3604 # Is the header compilable?
3605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3607 cat >conftest.
$ac_ext <<_ACEOF
3610 cat confdefs.h
>>conftest.
$ac_ext
3611 cat >>conftest.
$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3613 $ac_includes_default
3614 #include <$ac_header>
3616 rm -f conftest.
$ac_objext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618 (eval $ac_compile) 2>conftest.er1
3620 grep -v '^ *+' conftest.er1
>conftest.err
3622 cat conftest.err
>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try
='test -z "$ac_c_werror_flag"
3626 || test ! -s conftest.err'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; } &&
3632 { ac_try
='test -s conftest.$ac_objext'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; }; then
3638 ac_header_compiler
=yes
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.
$ac_ext >&5
3643 ac_header_compiler
=no
3645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3647 echo "${ECHO_T}$ac_header_compiler" >&6
3649 # Is the header present?
3650 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3652 cat >conftest.
$ac_ext <<_ACEOF
3655 cat confdefs.h
>>conftest.
$ac_ext
3656 cat >>conftest.
$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3658 #include <$ac_header>
3660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3663 grep -v '^ *+' conftest.er1
>conftest.err
3665 cat conftest.err
>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } >/dev
/null
; then
3668 if test -s conftest.err
; then
3669 ac_cpp_err
=$ac_c_preproc_warn_flag
3670 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3677 if test -z "$ac_cpp_err"; then
3678 ac_header_preproc
=yes
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.
$ac_ext >&5
3683 ac_header_preproc
=no
3685 rm -f conftest.err conftest.
$ac_ext
3686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3687 echo "${ECHO_T}$ac_header_preproc" >&6
3689 # So? What about this header?
3690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3693 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3695 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3696 ac_header_preproc
=yes
3699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3703 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3704 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3705 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3706 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3709 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3710 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3713 ## ------------------------------------------ ##
3714 ## Report this to the AC_PACKAGE_NAME lists. ##
3715 ## ------------------------------------------ ##
3718 sed "s/^/$as_me: WARNING: /" >&2
3721 echo "$as_me:$LINENO: checking for $ac_header" >&5
3722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 eval "$as_ac_Header=\$ac_header_preproc"
3728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3733 cat >>confdefs.h
<<_ACEOF
3734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3743 for ac_header
in fcntl.h fpu_control.h
3745 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3747 echo "$as_me:$LINENO: checking for $ac_header" >&5
3748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3755 # Is the header compilable?
3756 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3758 cat >conftest.
$ac_ext <<_ACEOF
3761 cat confdefs.h
>>conftest.
$ac_ext
3762 cat >>conftest.
$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 $ac_includes_default
3765 #include <$ac_header>
3767 rm -f conftest.
$ac_objext
3768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3769 (eval $ac_compile) 2>conftest.er1
3771 grep -v '^ *+' conftest.er1
>conftest.err
3773 cat conftest.err
>&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); } &&
3776 { ac_try
='test -z "$ac_c_werror_flag"
3777 || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try
='test -s conftest.$ac_objext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_header_compiler
=yes
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.
$ac_ext >&5
3794 ac_header_compiler
=no
3796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3798 echo "${ECHO_T}$ac_header_compiler" >&6
3800 # Is the header present?
3801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3803 cat >conftest.
$ac_ext <<_ACEOF
3806 cat confdefs.h
>>conftest.
$ac_ext
3807 cat >>conftest.
$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <$ac_header>
3811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } >/dev
/null
; then
3819 if test -s conftest.err
; then
3820 ac_cpp_err
=$ac_c_preproc_warn_flag
3821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3828 if test -z "$ac_cpp_err"; then
3829 ac_header_preproc
=yes
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.
$ac_ext >&5
3834 ac_header_preproc
=no
3836 rm -f conftest.err conftest.
$ac_ext
3837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3838 echo "${ECHO_T}$ac_header_preproc" >&6
3840 # So? What about this header?
3841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3847 ac_header_preproc
=yes
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3864 ## ------------------------------------------ ##
3865 ## Report this to the AC_PACKAGE_NAME lists. ##
3866 ## ------------------------------------------ ##
3869 sed "s/^/$as_me: WARNING: /" >&2
3872 echo "$as_me:$LINENO: checking for $ac_header" >&5
3873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 eval "$as_ac_Header=\$ac_header_preproc"
3879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3884 cat >>confdefs.h
<<_ACEOF
3885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3895 for ac_header
in dlfcn.h errno.h sys
/stat.h
3897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3899 echo "$as_me:$LINENO: checking for $ac_header" >&5
3900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3907 # Is the header compilable?
3908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3910 cat >conftest.
$ac_ext <<_ACEOF
3913 cat confdefs.h
>>conftest.
$ac_ext
3914 cat >>conftest.
$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3916 $ac_includes_default
3917 #include <$ac_header>
3919 rm -f conftest.
$ac_objext
3920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3921 (eval $ac_compile) 2>conftest.er1
3923 grep -v '^ *+' conftest.er1
>conftest.err
3925 cat conftest.err
>&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); } &&
3928 { ac_try
='test -z "$ac_c_werror_flag"
3929 || test ! -s conftest.err'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; } &&
3935 { ac_try
='test -s conftest.$ac_objext'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; }; then
3941 ac_header_compiler
=yes
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.
$ac_ext >&5
3946 ac_header_compiler
=no
3948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3950 echo "${ECHO_T}$ac_header_compiler" >&6
3952 # Is the header present?
3953 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3955 cat >conftest.
$ac_ext <<_ACEOF
3958 cat confdefs.h
>>conftest.
$ac_ext
3959 cat >>conftest.
$ac_ext <<_ACEOF
3960 /* end confdefs.h. */
3961 #include <$ac_header>
3963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3964 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3966 grep -v '^ *+' conftest.er1
>conftest.err
3968 cat conftest.err
>&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } >/dev
/null
; then
3971 if test -s conftest.err
; then
3972 ac_cpp_err
=$ac_c_preproc_warn_flag
3973 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3980 if test -z "$ac_cpp_err"; then
3981 ac_header_preproc
=yes
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.
$ac_ext >&5
3986 ac_header_preproc
=no
3988 rm -f conftest.err conftest.
$ac_ext
3989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3990 echo "${ECHO_T}$ac_header_preproc" >&6
3992 # So? What about this header?
3993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3999 ac_header_preproc
=yes
4002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4016 ## ------------------------------------------ ##
4017 ## Report this to the AC_PACKAGE_NAME lists. ##
4018 ## ------------------------------------------ ##
4021 sed "s/^/$as_me: WARNING: /" >&2
4024 echo "$as_me:$LINENO: checking for $ac_header" >&5
4025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 eval "$as_ac_Header=\$ac_header_preproc"
4031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4036 cat >>confdefs.h
<<_ACEOF
4037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4048 for ac_func
in getrusage
time sigaction __setfpucw
4050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4051 echo "$as_me:$LINENO: checking for $ac_func" >&5
4052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4053 if eval "test \"\${$as_ac_var+set}\" = set"; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 cat >conftest.
$ac_ext <<_ACEOF
4059 cat confdefs.h
>>conftest.
$ac_ext
4060 cat >>conftest.
$ac_ext <<_ACEOF
4061 /* end confdefs.h. */
4062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4064 #define $ac_func innocuous_$ac_func
4066 /* System header to define __stub macros and hopefully few prototypes,
4067 which can conflict with char $ac_func (); below.
4068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4069 <limits.h> exists even on freestanding compilers. */
4072 # include <limits.h>
4074 # include <assert.h>
4079 /* Override any gcc2 internal prototype to avoid an error. */
4084 /* We use char because int might match the return type of a gcc2
4085 builtin and then its argument prototype would still apply. */
4087 /* The GNU C library defines this for functions which it implements
4088 to always fail with ENOSYS. Some functions are actually named
4089 something starting with __ and the normal name is an alias. */
4090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4093 char (*f) () = $ac_func;
4102 return f != $ac_func;
4107 rm -f conftest.
$ac_objext conftest
$ac_exeext
4108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4109 (eval $ac_link) 2>conftest.er1
4111 grep -v '^ *+' conftest.er1
>conftest.err
4113 cat conftest.err
>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } &&
4116 { ac_try
='test -z "$ac_c_werror_flag"
4117 || test ! -s conftest.err'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; } &&
4123 { ac_try
='test -s conftest$ac_exeext'
4124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; }; then
4129 eval "$as_ac_var=yes"
4131 echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.
$ac_ext >&5
4134 eval "$as_ac_var=no"
4136 rm -f conftest.err conftest.
$ac_objext \
4137 conftest
$ac_exeext conftest.
$ac_ext
4139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4141 if test `eval echo '${'$as_ac_var'}'` = yes; then
4142 cat >>confdefs.h
<<_ACEOF
4143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4150 # Check for socket libraries
4152 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4153 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4154 if test "${ac_cv_lib_socket_bind+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 ac_check_lib_save_LIBS
=$LIBS
4158 LIBS
="-lsocket $LIBS"
4159 cat >conftest.
$ac_ext <<_ACEOF
4162 cat confdefs.h
>>conftest.
$ac_ext
4163 cat >>conftest.
$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4166 /* Override any gcc2 internal prototype to avoid an error. */
4170 /* We use char because int might match the return type of a gcc2
4171 builtin and then its argument prototype would still apply. */
4181 rm -f conftest.
$ac_objext conftest
$ac_exeext
4182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4183 (eval $ac_link) 2>conftest.er1
4185 grep -v '^ *+' conftest.er1
>conftest.err
4187 cat conftest.err
>&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } &&
4190 { ac_try
='test -z "$ac_c_werror_flag"
4191 || test ! -s conftest.err'
4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; } &&
4197 { ac_try
='test -s conftest$ac_exeext'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; }; then
4203 ac_cv_lib_socket_bind
=yes
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.
$ac_ext >&5
4208 ac_cv_lib_socket_bind
=no
4210 rm -f conftest.err conftest.
$ac_objext \
4211 conftest
$ac_exeext conftest.
$ac_ext
4212 LIBS
=$ac_check_lib_save_LIBS
4214 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4215 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4216 if test $ac_cv_lib_socket_bind = yes; then
4217 cat >>confdefs.h
<<_ACEOF
4218 #define HAVE_LIBSOCKET 1
4221 LIBS
="-lsocket $LIBS"
4226 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4227 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4228 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 ac_check_lib_save_LIBS
=$LIBS
4233 cat >conftest.
$ac_ext <<_ACEOF
4236 cat confdefs.h
>>conftest.
$ac_ext
4237 cat >>conftest.
$ac_ext <<_ACEOF
4238 /* end confdefs.h. */
4240 /* Override any gcc2 internal prototype to avoid an error. */
4244 /* We use char because int might match the return type of a gcc2
4245 builtin and then its argument prototype would still apply. */
4246 char gethostbyname ();
4255 rm -f conftest.
$ac_objext conftest
$ac_exeext
4256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257 (eval $ac_link) 2>conftest.er1
4259 grep -v '^ *+' conftest.er1
>conftest.err
4261 cat conftest.err
>&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } &&
4264 { ac_try
='test -z "$ac_c_werror_flag"
4265 || test ! -s conftest.err'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; } &&
4271 { ac_try
='test -s conftest$ac_exeext'
4272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); }; }; then
4277 ac_cv_lib_nsl_gethostbyname
=yes
4279 echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.
$ac_ext >&5
4282 ac_cv_lib_nsl_gethostbyname
=no
4284 rm -f conftest.err conftest.
$ac_objext \
4285 conftest
$ac_exeext conftest.
$ac_ext
4286 LIBS
=$ac_check_lib_save_LIBS
4288 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4289 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4290 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4291 cat >>confdefs.h
<<_ACEOF
4292 #define HAVE_LIBNSL 1
4300 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4301 # using the same condition.
4302 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4303 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4304 if test "${ac_cv_search_zlibVersion+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 ac_func_search_save_LIBS
=$LIBS
4308 ac_cv_search_zlibVersion
=no
4309 cat >conftest.
$ac_ext <<_ACEOF
4312 cat confdefs.h
>>conftest.
$ac_ext
4313 cat >>conftest.
$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4316 /* Override any gcc2 internal prototype to avoid an error. */
4320 /* We use char because int might match the return type of a gcc2
4321 builtin and then its argument prototype would still apply. */
4322 char zlibVersion ();
4331 rm -f conftest.
$ac_objext conftest
$ac_exeext
4332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4333 (eval $ac_link) 2>conftest.er1
4335 grep -v '^ *+' conftest.er1
>conftest.err
4337 cat conftest.err
>&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 { ac_try
='test -z "$ac_c_werror_flag"
4341 || test ! -s conftest.err'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; } &&
4347 { ac_try
='test -s conftest$ac_exeext'
4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; }; then
4353 ac_cv_search_zlibVersion
="none required"
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4359 rm -f conftest.err conftest.
$ac_objext \
4360 conftest
$ac_exeext conftest.
$ac_ext
4361 if test "$ac_cv_search_zlibVersion" = no
; then
4363 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4364 cat >conftest.
$ac_ext <<_ACEOF
4367 cat confdefs.h
>>conftest.
$ac_ext
4368 cat >>conftest.
$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4371 /* Override any gcc2 internal prototype to avoid an error. */
4375 /* We use char because int might match the return type of a gcc2
4376 builtin and then its argument prototype would still apply. */
4377 char zlibVersion ();
4386 rm -f conftest.
$ac_objext conftest
$ac_exeext
4387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4388 (eval $ac_link) 2>conftest.er1
4390 grep -v '^ *+' conftest.er1
>conftest.err
4392 cat conftest.err
>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } &&
4395 { ac_try
='test -z "$ac_c_werror_flag"
4396 || test ! -s conftest.err'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; } &&
4402 { ac_try
='test -s conftest$ac_exeext'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4408 ac_cv_search_zlibVersion
="-l$ac_lib"
4411 echo "$as_me: failed program was:" >&5
4412 sed 's/^/| /' conftest.
$ac_ext >&5
4415 rm -f conftest.err conftest.
$ac_objext \
4416 conftest
$ac_exeext conftest.
$ac_ext
4419 LIBS
=$ac_func_search_save_LIBS
4421 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4422 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4423 if test "$ac_cv_search_zlibVersion" != no
; then
4424 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4426 for ac_header
in zlib.h
4428 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4430 echo "$as_me:$LINENO: checking for $ac_header" >&5
4431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4438 # Is the header compilable?
4439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4447 $ac_includes_default
4448 #include <$ac_header>
4450 rm -f conftest.
$ac_objext
4451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452 (eval $ac_compile) 2>conftest.er1
4454 grep -v '^ *+' conftest.er1
>conftest.err
4456 cat conftest.err
>&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); } &&
4459 { ac_try
='test -z "$ac_c_werror_flag"
4460 || test ! -s conftest.err'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; } &&
4466 { ac_try
='test -s conftest.$ac_objext'
4467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; }; then
4472 ac_header_compiler
=yes
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4477 ac_header_compiler
=no
4479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4481 echo "${ECHO_T}$ac_header_compiler" >&6
4483 # Is the header present?
4484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4486 cat >conftest.
$ac_ext <<_ACEOF
4489 cat confdefs.h
>>conftest.
$ac_ext
4490 cat >>conftest.
$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4492 #include <$ac_header>
4494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4497 grep -v '^ *+' conftest.er1
>conftest.err
4499 cat conftest.err
>&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); } >/dev
/null
; then
4502 if test -s conftest.err
; then
4503 ac_cpp_err
=$ac_c_preproc_warn_flag
4504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4511 if test -z "$ac_cpp_err"; then
4512 ac_header_preproc
=yes
4514 echo "$as_me: failed program was:" >&5
4515 sed 's/^/| /' conftest.
$ac_ext >&5
4517 ac_header_preproc
=no
4519 rm -f conftest.err conftest.
$ac_ext
4520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4521 echo "${ECHO_T}$ac_header_preproc" >&6
4523 # So? What about this header?
4524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4530 ac_header_preproc
=yes
4533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4547 ## ------------------------------------------ ##
4548 ## Report this to the AC_PACKAGE_NAME lists. ##
4549 ## ------------------------------------------ ##
4552 sed "s/^/$as_me: WARNING: /" >&2
4555 echo "$as_me:$LINENO: checking for $ac_header" >&5
4556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 eval "$as_ac_Header=\$ac_header_preproc"
4562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4567 cat >>confdefs.h
<<_ACEOF
4568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4578 .
${srcdir}/..
/..
/bfd
/configure.
host
4582 USE_MAINTAINER_MODE
=no
4583 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4584 if test "${enable_maintainer_mode+set}" = set; then
4585 enableval
="$enable_maintainer_mode"
4586 case "${enableval}" in
4587 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4589 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4590 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4591 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4593 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4594 echo "Setting maintainer mode" 6>&1
4601 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4602 if test "${enable_sim_bswap+set}" = set; then
4603 enableval
="$enable_sim_bswap"
4604 case "${enableval}" in
4605 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4606 no
) sim_bswap
="-DWITH_BSWAP=0";;
4607 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4608 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4609 { (exit 1); exit 1; }; }; sim_bswap
="";;
4611 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4612 echo "Setting bswap flags = $sim_bswap" 6>&1
4619 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4620 if test "${enable_sim_cflags+set}" = set; then
4621 enableval
="$enable_sim_cflags"
4622 case "${enableval}" in
4623 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4624 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4625 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4626 { (exit 1); exit 1; }; }; sim_cflags
="";;
4628 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4630 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4631 echo "Setting sim cflags = $sim_cflags" 6>&1
4638 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4639 if test "${enable_sim_debug+set}" = set; then
4640 enableval
="$enable_sim_debug"
4641 case "${enableval}" in
4642 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4643 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4644 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4646 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4647 echo "Setting sim debug = $sim_debug" 6>&1
4654 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4655 if test "${enable_sim_stdio+set}" = set; then
4656 enableval
="$enable_sim_stdio"
4657 case "${enableval}" in
4658 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4659 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4660 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4661 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4662 { (exit 1); exit 1; }; }; sim_stdio
="";;
4664 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4665 echo "Setting stdio flags = $sim_stdio" 6>&1
4672 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4673 if test "${enable_sim_trace+set}" = set; then
4674 enableval
="$enable_sim_trace"
4675 case "${enableval}" in
4676 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4677 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4679 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4682 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4683 if test x
"$sim_trace" = x
; then
4684 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4686 sim_trace
="${sim_trace}|TRACE_$x"
4689 sim_trace
="$sim_trace)'" ;;
4691 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4692 echo "Setting sim trace = $sim_trace" 6>&1
4699 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4700 if test "${enable_sim_profile+set}" = set; then
4701 enableval
="$enable_sim_profile"
4702 case "${enableval}" in
4703 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4704 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4706 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4709 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4710 if test x
"$sim_profile" = x
; then
4711 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4713 sim_profile
="${sim_profile}|PROFILE_$x"
4716 sim_profile
="$sim_profile)'" ;;
4718 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4719 echo "Setting sim profile = $sim_profile" 6>&1
4722 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4727 # Check whether --with-pkgversion or --without-pkgversion was given.
4728 if test "${with_pkgversion+set}" = set; then
4729 withval
="$with_pkgversion"
4731 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4732 echo "$as_me: error: package version not specified" >&2;}
4733 { (exit 1); exit 1; }; } ;;
4735 *) PKGVERSION
="($withval) " ;;
4745 # Check whether --with-bugurl or --without-bugurl was given.
4746 if test "${with_bugurl+set}" = set; then
4747 withval
="$with_bugurl"
4749 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4750 echo "$as_me: error: bug URL not specified" >&2;}
4751 { (exit 1); exit 1; }; } ;;
4754 *) BUGURL
="$withval"
4758 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4767 REPORT_BUGS_TO
="<$BUGURL>"
4768 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4775 cat >>confdefs.h
<<_ACEOF
4776 #define PKGVERSION "$PKGVERSION"
4780 cat >>confdefs.h
<<_ACEOF
4781 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4785 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4786 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4787 if test "${ac_cv_type_signal+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.
$ac_ext <<_ACEOF
4793 cat confdefs.h
>>conftest.
$ac_ext
4794 cat >>conftest.
$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 #include <sys/types.h>
4802 extern "C" void (*signal (int, void (*)(int)))(int);
4804 void (*signal ()) ();
4815 rm -f conftest.
$ac_objext
4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4817 (eval $ac_compile) 2>conftest.er1
4819 grep -v '^ *+' conftest.er1
>conftest.err
4821 cat conftest.err
>&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } &&
4824 { ac_try
='test -z "$ac_c_werror_flag"
4825 || test ! -s conftest.err'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; } &&
4831 { ac_try
='test -s conftest.$ac_objext'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; }; then
4837 ac_cv_type_signal
=void
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.
$ac_ext >&5
4842 ac_cv_type_signal
=int
4844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4846 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4847 echo "${ECHO_T}$ac_cv_type_signal" >&6
4849 cat >>confdefs.h
<<_ACEOF
4850 #define RETSIGTYPE $ac_cv_type_signal
4860 sim_link_links
=tconfig.h
4861 if test -f ${srcdir}/tconfig.
in
4863 sim_link_files
=tconfig.
in
4865 sim_link_files
=..
/common
/tconfig.
in
4868 # targ-vals.def points to the libc macro description file.
4870 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4872 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4873 sim_link_links
="${sim_link_links} targ-vals.def"
4877 wire_endian
="LITTLE_ENDIAN"
4879 # Check whether --enable-sim-endian or --disable-sim-endian was given.
4880 if test "${enable_sim_endian+set}" = set; then
4881 enableval
="$enable_sim_endian"
4882 case "${enableval}" in
4883 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
4884 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
4885 yes) if test x
"$wire_endian" != x
; then
4886 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4888 if test x
"$default_endian" != x
; then
4889 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${default_endian}"
4891 echo "No hard-wired endian for target $target" 1>&6
4892 sim_endian
="-DWITH_TARGET_BYTE_ORDER=0"
4895 no
) if test x
"$default_endian" != x
; then
4896 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4898 if test x
"$wire_endian" != x
; then
4899 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${wire_endian}"
4901 echo "No default endian for target $target" 1>&6
4902 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=0"
4905 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-endian\"" >&5
4906 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-endian\"" >&2;}
4907 { (exit 1); exit 1; }; }; sim_endian
="";;
4909 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
4910 echo "Setting endian flags = $sim_endian" 6>&1
4913 if test x
"$default_endian" != x
; then
4914 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4916 if test x
"$wire_endian" != x
; then
4917 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4923 wire_alignment
="NONSTRICT_ALIGNMENT"
4924 default_alignment
=""
4926 # Check whether --enable-sim-alignment or --disable-sim-alignment was given.
4927 if test "${enable_sim_alignment+set}" = set; then
4928 enableval
="$enable_sim_alignment"
4929 case "${enableval}" in
4930 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
4931 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
4932 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
4933 yes) if test x
"$wire_alignment" != x
; then
4934 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4936 if test x
"$default_alignment" != x
; then
4937 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
4939 echo "No hard-wired alignment for target $target" 1>&6
4940 sim_alignment
="-DWITH_ALIGNMENT=0"
4943 no
) if test x
"$default_alignment" != x
; then
4944 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4946 if test x
"$wire_alignment" != x
; then
4947 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
4949 echo "No default alignment for target $target" 1>&6
4950 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
4953 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&5
4954 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&2;}
4955 { (exit 1); exit 1; }; }; sim_alignment
="";;
4957 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
4958 echo "Setting alignment flags = $sim_alignment" 6>&1
4961 if test x
"$default_alignment" != x
; then
4962 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4964 if test x
"$wire_alignment" != x
; then
4965 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4972 # Check whether --enable-sim-hostendian or --disable-sim-hostendian was given.
4973 if test "${enable_sim_hostendian+set}" = set; then
4974 enableval
="$enable_sim_hostendian"
4975 case "${enableval}" in
4976 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
4977 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
4978 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
4979 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&5
4980 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&2;}
4981 { (exit 1); exit 1; }; }; sim_hostendian
="";;
4983 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
4984 echo "Setting hostendian flags = $sim_hostendian" 6>&1
4988 if test "x$cross_compiling" = "xno"; then
4989 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4990 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4991 if test "${ac_cv_c_bigendian+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 # See if sys/param.h defines the BYTE_ORDER macro.
4995 cat >conftest.
$ac_ext <<_ACEOF
4998 cat confdefs.h
>>conftest.
$ac_ext
4999 cat >>conftest.
$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5001 #include <sys/types.h>
5002 #include <sys/param.h>
5007 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5015 rm -f conftest.
$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017 (eval $ac_compile) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1
>conftest.err
5021 cat conftest.err
>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try
='test -z "$ac_c_werror_flag"
5025 || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try
='test -s conftest.$ac_objext'
5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; }; then
5037 # It does; now see whether it defined to BIG_ENDIAN or not.
5038 cat >conftest.
$ac_ext <<_ACEOF
5041 cat confdefs.h
>>conftest.
$ac_ext
5042 cat >>conftest.
$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
5044 #include <sys/types.h>
5045 #include <sys/param.h>
5050 #if BYTE_ORDER != BIG_ENDIAN
5058 rm -f conftest.
$ac_objext
5059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5060 (eval $ac_compile) 2>conftest.er1
5062 grep -v '^ *+' conftest.er1
>conftest.err
5064 cat conftest.err
>&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } &&
5067 { ac_try
='test -z "$ac_c_werror_flag"
5068 || test ! -s conftest.err'
5069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; } &&
5074 { ac_try
='test -s conftest.$ac_objext'
5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; }; then
5080 ac_cv_c_bigendian
=yes
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5085 ac_cv_c_bigendian
=no
5087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.
$ac_ext >&5
5092 # It does not; compile a test program.
5093 if test "$cross_compiling" = yes; then
5094 # try to guess the endianness by grepping values into an object file
5095 ac_cv_c_bigendian
=unknown
5096 cat >conftest.
$ac_ext <<_ACEOF
5099 cat confdefs.h
>>conftest.
$ac_ext
5100 cat >>conftest.
$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5102 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5103 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5104 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5105 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5106 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5107 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5111 _ascii (); _ebcdic ();
5116 rm -f conftest.
$ac_objext
5117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5118 (eval $ac_compile) 2>conftest.er1
5120 grep -v '^ *+' conftest.er1
>conftest.err
5122 cat conftest.err
>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } &&
5125 { ac_try
='test -z "$ac_c_werror_flag"
5126 || test ! -s conftest.err'
5127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131 (exit $ac_status); }; } &&
5132 { ac_try
='test -s conftest.$ac_objext'
5133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); }; }; then
5138 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5139 ac_cv_c_bigendian
=yes
5141 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5142 if test "$ac_cv_c_bigendian" = unknown
; then
5143 ac_cv_c_bigendian
=no
5145 # finding both strings is unlikely to happen, but who knows?
5146 ac_cv_c_bigendian
=unknown
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.
$ac_ext >&5
5154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5156 cat >conftest.
$ac_ext <<_ACEOF
5159 cat confdefs.h
>>conftest.
$ac_ext
5160 cat >>conftest.
$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5165 /* Are we little or big endian? From Harbison&Steele. */
5169 char c[sizeof (long)];
5172 exit (u.c[sizeof (long) - 1] == 1);
5175 rm -f conftest
$ac_exeext
5176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5177 (eval $ac_link) 2>&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); }; }; then
5186 ac_cv_c_bigendian
=no
5188 echo "$as_me: program exited with status $ac_status" >&5
5189 echo "$as_me: failed program was:" >&5
5190 sed 's/^/| /' conftest.
$ac_ext >&5
5193 ac_cv_c_bigendian
=yes
5195 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5200 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5201 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5202 case $ac_cv_c_bigendian in
5205 cat >>confdefs.h
<<\_ACEOF
5206 #define WORDS_BIGENDIAN 1
5212 { { echo "$as_me:$LINENO: error: unknown endianness
5213 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5214 echo "$as_me: error: unknown endianness
5215 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5216 { (exit 1); exit 1; }; } ;;
5219 if test $ac_cv_c_bigendian = yes; then
5220 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5222 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5225 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
5229 # NOTE: Don't add -Wall or -Wunused, they both include
5230 # -Wunused-parameter which reports bogus warnings.
5231 # NOTE: If you add to this list, remember to update
5232 # gdb/doc/gdbint.texinfo.
5233 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
5234 -Wformat -Wparentheses -Wpointer-arith"
5235 # GCC supports -Wuninitialized only with -O or -On, n != 0.
5236 if test x
${CFLAGS+set} = xset
; then
5240 build_warnings
="${build_warnings} -Wuninitialized"
5244 build_warnings
="${build_warnings} -Wuninitialized"
5246 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
5247 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
5248 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
5249 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
5250 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
5251 # -Woverloaded-virtual -Winline -Werror"
5252 # Check whether --enable-build-warnings or --disable-build-warnings was given.
5253 if test "${enable_build_warnings+set}" = set; then
5254 enableval
="$enable_build_warnings"
5255 case "${enableval}" in
5257 no
) build_warnings
="-w";;
5258 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5259 build_warnings
="${build_warnings} ${t}";;
5260 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5261 build_warnings
="${t} ${build_warnings}";;
5262 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5264 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5265 echo "Setting compiler warning flags = $build_warnings" 6>&1
5267 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
5268 if test "${enable_sim_build_warnings+set}" = set; then
5269 enableval
="$enable_sim_build_warnings"
5270 case "${enableval}" in
5272 no
) build_warnings
="-w";;
5273 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5274 build_warnings
="${build_warnings} ${t}";;
5275 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5276 build_warnings
="${t} ${build_warnings}";;
5277 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5279 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5280 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5284 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
5286 echo "$as_me:$LINENO: checking compiler warning flags" >&5
5287 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
5288 # Separate out the -Werror flag as some files just cannot be
5289 # compiled with it enabled.
5290 for w
in ${build_warnings}; do
5292 -Werr*) WERROR_CFLAGS
=-Werror ;;
5293 *) # Check that GCC accepts it
5294 saved_CFLAGS
="$CFLAGS"
5296 cat >conftest.
$ac_ext <<_ACEOF
5299 cat confdefs.h
>>conftest.
$ac_ext
5300 cat >>conftest.
$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5311 rm -f conftest.
$ac_objext
5312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5313 (eval $ac_compile) 2>conftest.er1
5315 grep -v '^ *+' conftest.er1
>conftest.err
5317 cat conftest.err
>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } &&
5320 { ac_try
='test -z "$ac_c_werror_flag"
5321 || test ! -s conftest.err'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; } &&
5327 { ac_try
='test -s conftest.$ac_objext'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; }; then
5333 WARN_CFLAGS
="${WARN_CFLAGS} $w"
5335 echo "$as_me: failed program was:" >&5
5336 sed 's/^/| /' conftest.
$ac_ext >&5
5339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5340 CFLAGS
="$saved_CFLAGS"
5343 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
5344 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
5348 default_sim_reserved_bits
="1"
5349 # Check whether --enable-sim-reserved-bits or --disable-sim-reserved-bits was given.
5350 if test "${enable_sim_reserved_bits+set}" = set; then
5351 enableval
="$enable_sim_reserved_bits"
5352 case "${enableval}" in
5353 yes) sim_reserved_bits
="-DWITH_RESERVED_BITS=1";;
5354 no
) sim_reserved_bits
="-DWITH_RESERVED_BITS=0";;
5355 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-reserved-bits does not take a value\"" >&5
5356 echo "$as_me: error: \"--enable-sim-reserved-bits does not take a value\"" >&2;}
5357 { (exit 1); exit 1; }; }; sim_reserved_bits
="";;
5359 if test x
"$silent" != x
"yes" && test x
"$sim_reserved_bits" != x
""; then
5360 echo "Setting reserved flags = $sim_reserved_bits" 6>&1
5363 sim_reserved_bits
="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}"
5365 wire_word_bitsize
="32"
5367 wire_address_bitsize
=""
5368 wire_cell_bitsize
=""
5369 # Check whether --enable-sim-bitsize or --disable-sim-bitsize was given.
5370 if test "${enable_sim_bitsize+set}" = set; then
5371 enableval
="$enable_sim_bitsize"
5373 case "${enableval}" in
5374 64,63 |
64,63,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";;
5375 32,31 |
32,31,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";;
5376 64,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
5377 32,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
5378 32) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
5379 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31"
5381 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0"
5383 64) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
5384 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63"
5386 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
5388 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" >&5
5389 echo "$as_me: error: \"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" >&2;}
5390 { (exit 1); exit 1; }; } ;;
5393 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
5396 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
5397 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
5398 * ) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" >&5
5399 echo "$as_me: error: \"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" >&2;}
5400 { (exit 1); exit 1; }; } ;;
5403 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
5406 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
5407 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
5408 * ) { { echo "$as_me:$LINENO: error: \"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" >&5
5409 echo "$as_me: error: \"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" >&2;}
5410 { (exit 1); exit 1; }; } ;;
5412 if test x
"$silent" != x
"yes" && test x
"$sim_bitsize" != x
""; then
5413 echo "Setting bitsize flags = $sim_bitsize" 6>&1
5417 if test x
"$wire_word_bitsize" != x
; then
5418 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize"
5420 if test x
"$wire_word_msb" != x
; then
5421 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb"
5423 if test x
"$wire_address_bitsize" != x
; then
5424 sim_bitsize
="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize"
5426 if test x
"$wire_cell_bitsize" != x
; then
5427 sim_bitsize
="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize"
5431 default_sim_inline
=""
5432 # Check whether --enable-sim-inline or --disable-sim-inline was given.
5433 if test "${enable_sim_inline+set}" = set; then
5434 enableval
="$enable_sim_inline"
5436 case "$enableval" in
5437 no
) sim_inline
="-DDEFAULT_INLINE=0";;
5438 0) sim_inline
="-DDEFAULT_INLINE=0";;
5439 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
5440 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
5441 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5444 *_INLINE
=*) new_flag
="-D$x";;
5445 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
5446 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
5447 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
5449 if test x
"$sim_inline" = x
""; then
5450 sim_inline
="$new_flag"
5452 sim_inline
="$sim_inline $new_flag"
5456 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
5457 echo "Setting inline flags = $sim_inline" 6>&1
5461 if test "x$cross_compiling" = "xno"; then
5462 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
5463 sim_inline
="${default_sim_inline}"
5464 if test x
"$silent" != x
"yes"; then
5465 echo "Setting inline flags = $sim_inline" 6>&1
5471 sim_inline
="-DDEFAULT_INLINE=0"
5475 if test x
"yes" = x
"yes"; then
5481 hardware
="core pal glue"
5483 hardware
="core pal glue mn103cpu mn103int mn103tim mn103ser mn103iop"
5485 sim_hw_cflags
="-DWITH_HW=1"
5487 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
5488 # Check whether --enable-sim-hardware or --disable-sim-hardware was given.
5489 if test "${enable_sim_hardware+set}" = set; then
5490 enableval
="$enable_sim_hardware"
5492 case "${enableval}" in
5495 ,*) sim_hw_p
=yes; hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
5496 *,) sim_hw_p
=yes; hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
5497 *) sim_hw_p
=yes; hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
5499 if test "$sim_hw_p" != yes; then
5501 sim_hw_cflags
="-DWITH_HW=0"
5504 sim_hw_cflags
="-DWITH_HW=1"
5507 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
5508 for i
in $hardware ; do
5511 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
5515 if test x
"$silent" != x
"yes" && test "$sim_hw_p" = "yes"; then
5516 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
5520 if test "$sim_hw_p" != yes; then
5522 sim_hw_cflags
="-DWITH_HW=0"
5525 if test x
"$silent" != x
"yes"; then
5526 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
5537 for ac_func
in time chmod utime fork execve execv chown
5539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5540 echo "$as_me:$LINENO: checking for $ac_func" >&5
5541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5542 if eval "test \"\${$as_ac_var+set}\" = set"; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 cat >conftest.
$ac_ext <<_ACEOF
5548 cat confdefs.h
>>conftest.
$ac_ext
5549 cat >>conftest.
$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5553 #define $ac_func innocuous_$ac_func
5555 /* System header to define __stub macros and hopefully few prototypes,
5556 which can conflict with char $ac_func (); below.
5557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5558 <limits.h> exists even on freestanding compilers. */
5561 # include <limits.h>
5563 # include <assert.h>
5568 /* Override any gcc2 internal prototype to avoid an error. */
5573 /* We use char because int might match the return type of a gcc2
5574 builtin and then its argument prototype would still apply. */
5576 /* The GNU C library defines this for functions which it implements
5577 to always fail with ENOSYS. Some functions are actually named
5578 something starting with __ and the normal name is an alias. */
5579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5582 char (*f) () = $ac_func;
5591 return f != $ac_func;
5596 rm -f conftest.
$ac_objext conftest
$ac_exeext
5597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5598 (eval $ac_link) 2>conftest.er1
5600 grep -v '^ *+' conftest.er1
>conftest.err
5602 cat conftest.err
>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } &&
5605 { ac_try
='test -z "$ac_c_werror_flag"
5606 || test ! -s conftest.err'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; } &&
5612 { ac_try
='test -s conftest$ac_exeext'
5613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617 (exit $ac_status); }; }; then
5618 eval "$as_ac_var=yes"
5620 echo "$as_me: failed program was:" >&5
5621 sed 's/^/| /' conftest.
$ac_ext >&5
5623 eval "$as_ac_var=no"
5625 rm -f conftest.err conftest.
$ac_objext \
5626 conftest
$ac_exeext conftest.
$ac_ext
5628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5630 if test `eval echo '${'$as_ac_var'}'` = yes; then
5631 cat >>confdefs.h
<<_ACEOF
5632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5644 for ac_header
in unistd.h stdlib.h string.h
strings.h utime.h
time.h
5646 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5648 echo "$as_me:$LINENO: checking for $ac_header" >&5
5649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5656 # Is the header compilable?
5657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5659 cat >conftest.
$ac_ext <<_ACEOF
5662 cat confdefs.h
>>conftest.
$ac_ext
5663 cat >>conftest.
$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5665 $ac_includes_default
5666 #include <$ac_header>
5668 rm -f conftest.
$ac_objext
5669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5670 (eval $ac_compile) 2>conftest.er1
5672 grep -v '^ *+' conftest.er1
>conftest.err
5674 cat conftest.err
>&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } &&
5677 { ac_try
='test -z "$ac_c_werror_flag"
5678 || test ! -s conftest.err'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; } &&
5684 { ac_try
='test -s conftest.$ac_objext'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 ac_header_compiler
=yes
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.
$ac_ext >&5
5695 ac_header_compiler
=no
5697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5699 echo "${ECHO_T}$ac_header_compiler" >&6
5701 # Is the header present?
5702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5704 cat >conftest.
$ac_ext <<_ACEOF
5707 cat confdefs.h
>>conftest.
$ac_ext
5708 cat >>conftest.
$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5710 #include <$ac_header>
5712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5715 grep -v '^ *+' conftest.er1
>conftest.err
5717 cat conftest.err
>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); } >/dev
/null
; then
5720 if test -s conftest.err
; then
5721 ac_cpp_err
=$ac_c_preproc_warn_flag
5722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5729 if test -z "$ac_cpp_err"; then
5730 ac_header_preproc
=yes
5732 echo "$as_me: failed program was:" >&5
5733 sed 's/^/| /' conftest.
$ac_ext >&5
5735 ac_header_preproc
=no
5737 rm -f conftest.err conftest.
$ac_ext
5738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5739 echo "${ECHO_T}$ac_header_preproc" >&6
5741 # So? What about this header?
5742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5748 ac_header_preproc
=yes
5751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5765 ## ------------------------------------------ ##
5766 ## Report this to the AC_PACKAGE_NAME lists. ##
5767 ## ------------------------------------------ ##
5770 sed "s/^/$as_me: WARNING: /" >&2
5773 echo "$as_me:$LINENO: checking for $ac_header" >&5
5774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 eval "$as_ac_Header=\$ac_header_preproc"
5780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5785 cat >>confdefs.h
<<_ACEOF
5786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5795 ac_sources
="$sim_link_files"
5796 ac_dests
="$sim_link_links"
5797 while test -n "$ac_sources"; do
5798 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
5799 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
5800 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
5802 ac_config_links
="$ac_config_links $ac_config_links_1"
5805 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
5806 cgen_breaks
="break cgen_rtx_error";
5809 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
5811 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
5813 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
5815 ac_config_commands
="$ac_config_commands Makefile"
5817 ac_config_commands
="$ac_config_commands stamp-h"
5819 cat >confcache
<<\_ACEOF
5820 # This file is a shell script that caches the results of configure
5821 # tests run on this system so they can be shared between configure
5822 # scripts and configure runs, see configure's option --config-cache.
5823 # It is not useful on other systems. If it contains results you don't
5824 # want to keep, you may remove or edit it.
5826 # config.status only pays attention to the cache file if you give it
5827 # the --recheck option to rerun configure.
5829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5835 # The following way of writing the cache mishandles newlines in values,
5836 # but we know of no workaround that is simple, portable, and efficient.
5837 # So, don't put newlines in cache variables' values.
5838 # Ultrix sh set writes to stderr and can't be redirected directly,
5839 # and sets the high bit in the cache file unless we assign to the vars.
5842 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5844 # `set' does not quote correctly, so add quotes (double-quote
5845 # substitution turns \\\\ into \\, and sed turns \\ into \).
5848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5851 # `set' quotes correctly as required by POSIX, so do not add quotes.
5853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5862 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5864 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5865 if test -w $cache_file; then
5866 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5867 cat confcache
>$cache_file
5869 echo "not updating unwritable cache $cache_file"
5874 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5875 # Let make expand exec_prefix.
5876 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5878 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5879 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5880 # trailing colons and then remove the whole line if VPATH becomes empty
5881 # (actually we leave an empty line to preserve line numbers).
5882 if test "x$srcdir" = x.
; then
5883 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5884 s/:*\$(srcdir):*/:/;
5885 s/:*\${srcdir}:*/:/;
5887 s/^\([^=]*=[ ]*\):*/\1/;
5893 DEFS
=-DHAVE_CONFIG_H
5897 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5898 # 1. Remove the extension, and $U if already installed.
5899 ac_i
=`echo "$ac_i" |
5900 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5902 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5903 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5907 LTLIBOBJS
=$ac_ltlibobjs
5911 : ${CONFIG_STATUS=./config.status}
5912 ac_clean_files_save
=$ac_clean_files
5913 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5916 cat >$CONFIG_STATUS <<_ACEOF
5918 # Generated by $as_me.
5919 # Run this file to recreate the current configuration.
5920 # Compiler output produced by configure, useful for debugging
5921 # configure, is in config.log if it exists.
5926 SHELL=\${CONFIG_SHELL-$SHELL}
5929 cat >>$CONFIG_STATUS <<\_ACEOF
5930 ## --------------------- ##
5931 ## M4sh Initialization. ##
5932 ## --------------------- ##
5934 # Be Bourne compatible
5935 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5938 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5939 # is contrary to our usage. Disable this feature.
5940 alias -g '${1+"$@"}'='"$@"'
5941 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5944 DUALCASE
=1; export DUALCASE
# for MKS sh
5946 # Support unset when possible.
5947 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5954 # Work around bugs in pre-3.0 UWIN ksh.
5955 $as_unset ENV MAIL MAILPATH
5962 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5963 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5964 LC_TELEPHONE LC_TIME
5966 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5967 eval $as_var=C
; export $as_var
5973 # Required to use basename.
5974 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5980 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5981 as_basename
=basename
5987 # Name of the executable.
5988 as_me
=`$as_basename "$0" ||
5989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5990 X"$0" : 'X\(//\)$' \| \
5991 X"$0" : 'X\(/\)$' \| \
5992 . : '\(.\)' 2>/dev/null ||
5994 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5995 /^X\/\(\/\/\)$/{ s//\1/; q; }
5996 /^X\/\(\/\).*/{ s//\1/; q; }
6000 # PATH needs CR, and LINENO needs CR and PATH.
6001 # Avoid depending upon Character Ranges.
6002 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6003 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6004 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6005 as_cr_digits
='0123456789'
6006 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6008 # The user is always right.
6009 if test "${PATH_SEPARATOR+set}" != set; then
6010 echo "#! /bin/sh" >conf$$.sh
6011 echo "exit 0" >>conf$$.sh
6013 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6024 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6025 test "x$as_lineno_1" != "x$as_lineno_2" &&
6026 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6027 # Find who we are. Look in the path if we contain no path at all
6030 *[\\/]* ) as_myself
=$0 ;;
6031 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6035 test -z "$as_dir" && as_dir
=.
6036 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6041 # We did not find ourselves, most probably we were run as `sh COMMAND'
6042 # in which case we are not to be found in the path.
6043 if test "x$as_myself" = x
; then
6046 if test ! -f "$as_myself"; then
6047 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6048 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6049 { (exit 1); exit 1; }; }
6051 case $CONFIG_SHELL in
6053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6054 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6057 test -z "$as_dir" && as_dir
=.
6058 for as_base
in sh bash ksh sh5
; do
6061 if ("$as_dir/$as_base" -c '
6064 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6065 test "x$as_lineno_1" != "x$as_lineno_2" &&
6066 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6067 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6068 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6069 CONFIG_SHELL
=$as_dir/$as_base
6071 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6080 # uniformly replaced by the line number. The first 'sed' inserts a
6081 # line-number line before each line; the second 'sed' does the real
6082 # work. The second script uses 'N' to pair each line-number line
6083 # with the numbered line, and appends trailing '-' during
6084 # substitution so that $LINENO is not a special case at line end.
6085 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6086 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6087 sed '=' <$as_myself |
6092 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6095 s,^['$as_cr_digits']*\n,,
6097 chmod +x
$as_me.lineno ||
6098 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6099 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6100 { (exit 1); exit 1; }; }
6102 # Don't try to exec as it changes $[0], causing all sort of problems
6103 # (the dirname of $[0] is not the place where we might find the
6104 # original and so on. Autoconf is especially sensible to this).
6106 # Exit status is that of the last command.
6111 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6112 *c
*,-n*) ECHO_N
= ECHO_C
='
6114 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6115 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6118 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6124 rm -f conf$$ conf$$.exe conf$$.
file
6126 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6127 # We could just check for DJGPP; but this test a) works b) is more generic
6128 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6129 if test -f conf$$.exe
; then
6130 # Don't use ln at all; we don't have any links
6135 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6140 rm -f conf$$ conf$$.exe conf$$.
file
6142 if mkdir
-p .
2>/dev
/null
; then
6145 test -d .
/-p && rmdir .
/-p
6149 as_executable_p
="test -f"
6151 # Sed expression to map a string onto a valid CPP name.
6152 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6154 # Sed expression to map a string onto a valid variable name.
6155 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6159 # We need space, tab and new line, in precisely that order.
6169 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6170 # report actual input values of CONFIG_FILES etc. instead of their
6171 # values after options handling. Logging --version etc. is OK.
6175 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6176 ## Running $as_me. ##
6181 This file was extended by $as_me, which was
6182 generated by GNU Autoconf 2.59. Invocation command line was
6184 CONFIG_FILES = $CONFIG_FILES
6185 CONFIG_HEADERS = $CONFIG_HEADERS
6186 CONFIG_LINKS = $CONFIG_LINKS
6187 CONFIG_COMMANDS = $CONFIG_COMMANDS
6191 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6195 # Files that config.status was made for.
6196 if test -n "$ac_config_files"; then
6197 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6200 if test -n "$ac_config_headers"; then
6201 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6204 if test -n "$ac_config_links"; then
6205 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6208 if test -n "$ac_config_commands"; then
6209 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6212 cat >>$CONFIG_STATUS <<\_ACEOF
6215 \`$as_me' instantiates files from templates according to the
6216 current configuration.
6218 Usage: $0 [OPTIONS] [FILE]...
6220 -h, --help print this help, then exit
6221 -V, --version print version number, then exit
6222 -q, --quiet do not print progress messages
6223 -d, --debug don't remove temporary files
6224 --recheck update $as_me by reconfiguring in the same conditions
6225 --file=FILE[:TEMPLATE]
6226 instantiate the configuration file FILE
6227 --header=FILE[:TEMPLATE]
6228 instantiate the configuration header FILE
6230 Configuration files:
6233 Configuration headers:
6236 Configuration links:
6239 Configuration commands:
6242 Report bugs to <bug-autoconf@gnu.org>."
6245 cat >>$CONFIG_STATUS <<_ACEOF
6248 configured by $0, generated by GNU Autoconf 2.59,
6249 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6251 Copyright (C) 2003 Free Software Foundation, Inc.
6252 This config.status script is free software; the Free Software Foundation
6253 gives unlimited permission to copy, distribute and modify it."
6258 cat >>$CONFIG_STATUS <<\_ACEOF
6259 # If no file are specified by the user, then we need to provide default
6260 # value. By we need to know if files were specified by the user.
6266 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6267 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6275 *) # This is not an option, so the user has probably given explicit
6278 ac_need_defaults
=false
;;
6282 # Handling of the options.
6284 cat >>$CONFIG_STATUS <<\_ACEOF
6285 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6287 --version |
--vers* |
-V )
6288 echo "$ac_cs_version"; exit 0 ;;
6290 # Conflict between --help and --header
6291 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6292 Try \`$0 --help' for more information." >&5
6293 echo "$as_me: error: ambiguous option: $1
6294 Try \`$0 --help' for more information." >&2;}
6295 { (exit 1); exit 1; }; };;
6296 --help |
--hel |
-h )
6297 echo "$ac_cs_usage"; exit 0 ;;
6298 --debug |
--d* |
-d )
6300 --file |
--fil |
--fi |
--f )
6302 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6303 ac_need_defaults
=false
;;
6304 --header |
--heade |
--head |
--hea )
6306 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6307 ac_need_defaults
=false
;;
6308 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6309 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6313 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6314 Try \`$0 --help' for more information." >&5
6315 echo "$as_me: error: unrecognized option: $1
6316 Try \`$0 --help' for more information." >&2;}
6317 { (exit 1); exit 1; }; } ;;
6319 *) ac_config_targets
="$ac_config_targets $1" ;;
6325 ac_configure_extra_args
=
6327 if $ac_cs_silent; then
6329 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6333 cat >>$CONFIG_STATUS <<_ACEOF
6334 if \$ac_cs_recheck; then
6335 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6336 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6345 cat >>$CONFIG_STATUS <<\_ACEOF
6346 for ac_config_target
in $ac_config_targets
6348 case "$ac_config_target" in
6349 # Handling of arguments.
6350 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
6351 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
6352 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
6353 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
6354 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
6355 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
6356 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6357 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6358 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6359 { (exit 1); exit 1; }; };;
6363 # If the user did not use the arguments to specify the items to instantiate,
6364 # then the envvar interface is used. Set only those that are not.
6365 # We use the long form for the default assignment because of an extremely
6366 # bizarre bug on SunOS 4.1.3.
6367 if $ac_need_defaults; then
6368 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6369 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6370 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6371 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6374 # Have a temporary directory for convenience. Make it in the build tree
6375 # simply because there is no reason to put it here, and in addition,
6376 # creating and moving files from /tmp can sometimes cause problems.
6377 # Create a temporary directory, and hook for its removal unless debugging.
6380 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6381 trap '{ (exit 1); exit 1; }' 1 2 13 15
6384 # Create a (secure) tmp directory for tmp files.
6387 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6388 test -n "$tmp" && test -d "$tmp"
6391 tmp
=.
/confstat$$
-$RANDOM
6392 (umask 077 && mkdir
$tmp)
6395 echo "$me: cannot create a temporary directory in ." >&2
6396 { (exit 1); exit 1; }
6401 cat >>$CONFIG_STATUS <<_ACEOF
6404 # CONFIG_FILES section.
6407 # No need to generate the scripts if there are no CONFIG_FILES.
6408 # This happens for instance when ./config.status config.h
6409 if test -n "\$CONFIG_FILES"; then
6410 # Protect against being on the right side of a sed subst in config.status.
6411 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6412 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6413 s,@SHELL@,$SHELL,;t t
6414 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6415 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6416 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6417 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6418 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6419 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6420 s,@exec_prefix@,$exec_prefix,;t t
6421 s,@prefix@,$prefix,;t t
6422 s,@program_transform_name@,$program_transform_name,;t t
6423 s,@bindir@,$bindir,;t t
6424 s,@sbindir@,$sbindir,;t t
6425 s,@libexecdir@,$libexecdir,;t t
6426 s,@datadir@,$datadir,;t t
6427 s,@sysconfdir@,$sysconfdir,;t t
6428 s,@sharedstatedir@,$sharedstatedir,;t t
6429 s,@localstatedir@,$localstatedir,;t t
6430 s,@libdir@,$libdir,;t t
6431 s,@includedir@,$includedir,;t t
6432 s,@oldincludedir@,$oldincludedir,;t t
6433 s,@infodir@,$infodir,;t t
6434 s,@mandir@,$mandir,;t t
6435 s,@build_alias@,$build_alias,;t t
6436 s,@host_alias@,$host_alias,;t t
6437 s,@target_alias@,$target_alias,;t t
6439 s,@ECHO_C@,$ECHO_C,;t t
6440 s,@ECHO_N@,$ECHO_N,;t t
6441 s,@ECHO_T@,$ECHO_T,;t t
6443 s,@sim_environment@,$sim_environment,;t t
6444 s,@sim_alignment@,$sim_alignment,;t t
6445 s,@sim_assert@,$sim_assert,;t t
6446 s,@sim_bitsize@,$sim_bitsize,;t t
6447 s,@sim_endian@,$sim_endian,;t t
6448 s,@sim_hostendian@,$sim_hostendian,;t t
6449 s,@sim_float@,$sim_float,;t t
6450 s,@sim_scache@,$sim_scache,;t t
6451 s,@sim_default_model@,$sim_default_model,;t t
6452 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6453 s,@sim_hw_objs@,$sim_hw_objs,;t t
6454 s,@sim_hw@,$sim_hw,;t t
6455 s,@sim_inline@,$sim_inline,;t t
6456 s,@sim_packages@,$sim_packages,;t t
6457 s,@sim_regparm@,$sim_regparm,;t t
6458 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6459 s,@sim_smp@,$sim_smp,;t t
6460 s,@sim_stdcall@,$sim_stdcall,;t t
6461 s,@sim_xor_endian@,$sim_xor_endian,;t t
6462 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6463 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6464 s,@build@,$build,;t t
6465 s,@build_cpu@,$build_cpu,;t t
6466 s,@build_vendor@,$build_vendor,;t t
6467 s,@build_os@,$build_os,;t t
6469 s,@host_cpu@,$host_cpu,;t t
6470 s,@host_vendor@,$host_vendor,;t t
6471 s,@host_os@,$host_os,;t t
6472 s,@target@,$target,;t t
6473 s,@target_cpu@,$target_cpu,;t t
6474 s,@target_vendor@,$target_vendor,;t t
6475 s,@target_os@,$target_os,;t t
6477 s,@CFLAGS@,$CFLAGS,;t t
6478 s,@LDFLAGS@,$LDFLAGS,;t t
6479 s,@CPPFLAGS@,$CPPFLAGS,;t t
6480 s,@ac_ct_CC@,$ac_ct_CC,;t t
6481 s,@EXEEXT@,$EXEEXT,;t t
6482 s,@OBJEXT@,$OBJEXT,;t t
6483 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6484 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6485 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6486 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6487 s,@HDEFINES@,$HDEFINES,;t t
6489 s,@RANLIB@,$RANLIB,;t t
6490 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6491 s,@USE_NLS@,$USE_NLS,;t t
6492 s,@LIBINTL@,$LIBINTL,;t t
6493 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6494 s,@INCINTL@,$INCINTL,;t t
6495 s,@XGETTEXT@,$XGETTEXT,;t t
6496 s,@GMSGFMT@,$GMSGFMT,;t t
6497 s,@POSUB@,$POSUB,;t t
6498 s,@CATALOGS@,$CATALOGS,;t t
6499 s,@DATADIRNAME@,$DATADIRNAME,;t t
6500 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6501 s,@GENCAT@,$GENCAT,;t t
6502 s,@CATOBJEXT@,$CATOBJEXT,;t t
6504 s,@EGREP@,$EGREP,;t t
6505 s,@MAINT@,$MAINT,;t t
6506 s,@sim_bswap@,$sim_bswap,;t t
6507 s,@sim_cflags@,$sim_cflags,;t t
6508 s,@sim_debug@,$sim_debug,;t t
6509 s,@sim_stdio@,$sim_stdio,;t t
6510 s,@sim_trace@,$sim_trace,;t t
6511 s,@sim_profile@,$sim_profile,;t t
6512 s,@PKGVERSION@,$PKGVERSION,;t t
6513 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
6514 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
6515 s,@cgen_breaks@,$cgen_breaks,;t t
6516 s,@LIBOBJS@,$LIBOBJS,;t t
6517 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6522 cat >>$CONFIG_STATUS <<\_ACEOF
6523 # Split the substitutions into bite-sized pieces for seds with
6524 # small command number limits, like on Digital OSF/1 and HP-UX.
6526 ac_sed_frag
=1 # Number of current file.
6527 ac_beg
=1 # First line for current file.
6528 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6531 while $ac_more_lines; do
6532 if test $ac_beg -gt 1; then
6533 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6535 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6537 if test ! -s $tmp/subs.frag
; then
6540 # The purpose of the label and of the branching condition is to
6541 # speed up the sed processing (if there are no `@' at all, there
6542 # is no need to browse any of the substitutions).
6543 # These are the two extra sed commands mentioned above.
6545 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6546 if test -z "$ac_sed_cmds"; then
6547 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6549 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6551 ac_sed_frag
=`expr $ac_sed_frag + 1`
6553 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6556 if test -z "$ac_sed_cmds"; then
6559 fi # test -n "$CONFIG_FILES"
6562 cat >>$CONFIG_STATUS <<\_ACEOF
6563 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6564 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6566 - |
*:- |
*:-:* ) # input from stdin
6568 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6569 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6570 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6571 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6572 * ) ac_file_in
=$ac_file.
in ;;
6575 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6576 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6578 X"$ac_file" : 'X\(//\)[^/]' \| \
6579 X"$ac_file" : 'X\(//\)$' \| \
6580 X"$ac_file" : 'X\(/\)' \| \
6581 . : '\(.\)' 2>/dev/null ||
6583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6585 /^X\(\/\/\)$/{ s//\1/; q; }
6586 /^X\(\/\).*/{ s//\1/; q; }
6588 { if $as_mkdir_p; then
6593 while test ! -d "$as_dir"; do
6594 as_dirs
="$as_dir $as_dirs"
6595 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6597 X"$as_dir" : 'X\(//\)[^/]' \| \
6598 X"$as_dir" : 'X\(//\)$' \| \
6599 X"$as_dir" : 'X\(/\)' \| \
6600 . : '\(.\)' 2>/dev/null ||
6602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6604 /^X\(\/\/\)$/{ s//\1/; q; }
6605 /^X\(\/\).*/{ s//\1/; q; }
6608 test ! -n "$as_dirs" || mkdir
$as_dirs
6609 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6610 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6611 { (exit 1); exit 1; }; }; }
6615 if test "$ac_dir" != .
; then
6616 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6617 # A "../" for each directory in $ac_dir_suffix.
6618 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6620 ac_dir_suffix
= ac_top_builddir
=
6624 .
) # No --srcdir option. We are building in place.
6626 if test -z "$ac_top_builddir"; then
6629 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6631 [\\/]* | ?
:[\\/]* ) # Absolute path.
6632 ac_srcdir
=$srcdir$ac_dir_suffix;
6633 ac_top_srcdir
=$srcdir ;;
6635 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6636 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6639 # Do not use `cd foo && pwd` to compute absolute paths, because
6640 # the directories may not exist.
6642 .
) ac_abs_builddir
="$ac_dir";;
6645 .
) ac_abs_builddir
=`pwd`;;
6646 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6647 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6650 case $ac_abs_builddir in
6651 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6653 case ${ac_top_builddir}.
in
6654 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6655 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6656 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6659 case $ac_abs_builddir in
6660 .
) ac_abs_srcdir
=$ac_srcdir;;
6663 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6664 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6665 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6668 case $ac_abs_builddir in
6669 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6671 case $ac_top_srcdir in
6672 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6673 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6674 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6680 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6681 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6684 if test x
"$ac_file" != x-
; then
6685 { echo "$as_me:$LINENO: creating $ac_file" >&5
6686 echo "$as_me: creating $ac_file" >&6;}
6689 # Let's still pretend it is `configure' which instantiates (i.e., don't
6690 # use $as_me), people would be surprised to read:
6691 # /* config.h. Generated by config.status. */
6692 if test x
"$ac_file" = x-
; then
6695 configure_input
="$ac_file. "
6697 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6698 sed 's,.*/,,'` by configure."
6700 # First look for the input files in the build tree, otherwise in the
6702 ac_file_inputs
=`IFS=:
6703 for f in $ac_file_in; do
6705 -) echo $tmp/stdin ;;
6707 # Absolute (can't be DOS-style, as IFS=:)
6708 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6709 echo "$as_me: error: cannot find input file: $f" >&2;}
6710 { (exit 1); exit 1; }; }
6713 if test -f "$f"; then
6716 elif test -f "$srcdir/$f"; then
6721 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6722 echo "$as_me: error: cannot find input file: $f" >&2;}
6723 { (exit 1); exit 1; }; }
6726 done` ||
{ (exit 1); exit 1; }
6728 cat >>$CONFIG_STATUS <<_ACEOF
6732 cat >>$CONFIG_STATUS <<\_ACEOF
6734 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6735 s
,@configure_input@
,$configure_input,;t t
6736 s
,@srcdir@
,$ac_srcdir,;t t
6737 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6738 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6739 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6740 s
,@builddir@
,$ac_builddir,;t t
6741 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6742 s
,@top_builddir@
,$ac_top_builddir,;t t
6743 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6744 s
,@INSTALL@
,$ac_INSTALL,;t t
6745 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6747 if test x"$ac_file" != x-; then
6748 mv $tmp/out $ac_file
6756 cat >>$CONFIG_STATUS <<\_ACEOF
6759 # CONFIG_HEADER section.
6762 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6763 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6765 # ac_d sets the value in "#define NAME VALUE" lines.
6766 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6767 ac_dB
='[ ].*$,\1#\2'
6770 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6771 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6772 ac_uB
='$,\1#\2define\3'
6776 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6777 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6779 - |
*:- |
*:-:* ) # input from stdin
6781 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6782 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6783 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6784 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6785 * ) ac_file_in
=$ac_file.
in ;;
6788 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6789 echo "$as_me: creating $ac_file" >&6;}
6791 # First look for the input files in the build tree, otherwise in the
6793 ac_file_inputs
=`IFS=:
6794 for f in $ac_file_in; do
6796 -) echo $tmp/stdin ;;
6798 # Absolute (can't be DOS-style, as IFS=:)
6799 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6800 echo "$as_me: error: cannot find input file: $f" >&2;}
6801 { (exit 1); exit 1; }; }
6802 # Do quote $f, to prevent DOS paths from being IFS'd.
6805 if test -f "$f"; then
6808 elif test -f "$srcdir/$f"; then
6813 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6814 echo "$as_me: error: cannot find input file: $f" >&2;}
6815 { (exit 1); exit 1; }; }
6818 done` ||
{ (exit 1); exit 1; }
6819 # Remove the trailing spaces.
6820 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6824 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6825 # `conftest.undefs', that substitutes the proper values into
6826 # config.h.in to produce config.h. The first handles `#define'
6827 # templates, and the second `#undef' templates.
6828 # And first: Protect against being on the right side of a sed subst in
6829 # config.status. Protect against being in an unquoted here document
6831 rm -f conftest.defines conftest.undefs
6832 # Using a here document instead of a string reduces the quoting nightmare.
6833 # Putting comments in sed scripts is not portable.
6835 # `end' is used to avoid that the second main sed command (meant for
6836 # 0-ary CPP macros) applies to n-ary macro definitions.
6837 # See the Autoconf documentation for `clear'.
6838 cat >confdef2sed.
sed <<\_ACEOF
6843 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6845 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6848 # If some macros were called several times there might be several times
6849 # the same #defines, which is useless. Nevertheless, we may not want to
6850 # sort them, since we want the *last* AC-DEFINE to be honored.
6851 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6852 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6853 rm -f confdef2sed.sed
6855 # This sed command replaces #undef with comments. This is necessary, for
6856 # example, in the case of _POSIX_SOURCE, which is predefined and required
6857 # on some systems where configure will not decide to define it.
6858 cat >>conftest.undefs <<\_ACEOF
6859 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6862 # Break up conftest.defines because some shells have a limit on the size
6863 # of here documents, and old seds have small limits too (100 cmds).
6864 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6865 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6866 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6867 echo ' :' >>$CONFIG_STATUS
6869 while grep . conftest.defines >/dev/null
6871 # Write a limited-size here document to $tmp/defines.sed.
6872 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6873 # Speed up: don't consider the non `#define' lines.
6874 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6875 # Work around the forget-to-reset-the-flag bug.
6876 echo 't clr' >>$CONFIG_STATUS
6877 echo ': clr' >>$CONFIG_STATUS
6878 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6880 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6884 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6885 rm -f conftest.defines
6886 mv conftest.
tail conftest.defines
6888 rm -f conftest.defines
6889 echo ' fi # grep' >>$CONFIG_STATUS
6890 echo >>$CONFIG_STATUS
6892 # Break up conftest.undefs because some shells have a limit on the size
6893 # of here documents, and old seds have small limits too (100 cmds).
6894 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6896 while grep . conftest.undefs
>/dev
/null
6898 # Write a limited-size here document to $tmp/undefs.sed.
6899 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6900 # Speed up: don't consider the non
`#undef'
6901 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6902 # Work around the forget-to-reset-the-flag bug.
6903 echo 't clr' >>$CONFIG_STATUS
6904 echo ': clr' >>$CONFIG_STATUS
6905 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6907 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6911 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6912 rm -f conftest.undefs
6913 mv conftest.tail conftest.undefs
6915 rm -f conftest.undefs
6917 cat >>$CONFIG_STATUS <<\_ACEOF
6918 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6919 # use $as_me), people would be surprised to read:
6920 # /* config.h. Generated by config.status. */
6921 if test x
"$ac_file" = x-
; then
6922 echo "/* Generated by configure. */" >$tmp/config.h
6924 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6926 cat $tmp/in >>$tmp/config.h
6928 if test x
"$ac_file" != x-
; then
6929 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6930 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6931 echo "$as_me: $ac_file is unchanged" >&6;}
6933 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6934 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6935 X"$ac_file" : 'X\(//\)[^/]' \| \
6936 X"$ac_file" : 'X\(//\)$' \| \
6937 X"$ac_file" : 'X\(/\)' \| \
6938 . : '\(.\)' 2>/dev/null ||
6940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6942 /^X\(\/\/\)$/{ s//\1/; q; }
6943 /^X\(\/\).*/{ s//\1/; q; }
6945 { if $as_mkdir_p; then
6950 while test ! -d "$as_dir"; do
6951 as_dirs
="$as_dir $as_dirs"
6952 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6954 X"$as_dir" : 'X\(//\)[^/]' \| \
6955 X"$as_dir" : 'X\(//\)$' \| \
6956 X"$as_dir" : 'X\(/\)' \| \
6957 . : '\(.\)' 2>/dev/null ||
6959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6960 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6961 /^X\(\/\/\)$/{ s//\1/; q; }
6962 /^X\(\/\).*/{ s//\1/; q; }
6965 test ! -n "$as_dirs" || mkdir
$as_dirs
6966 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6967 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6968 { (exit 1); exit 1; }; }; }
6971 mv $tmp/config.h
$ac_file
6979 cat >>$CONFIG_STATUS <<\_ACEOF
6982 # CONFIG_LINKS section.
6985 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
6986 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6987 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6989 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
6990 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
6992 if test ! -r $srcdir/$ac_source; then
6993 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
6994 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
6995 { (exit 1); exit 1; }; }
6999 # Make relative symlinks.
7000 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7001 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7002 X"$ac_dest" : 'X\(//\)[^/]' \| \
7003 X"$ac_dest" : 'X\(//\)$' \| \
7004 X"$ac_dest" : 'X\(/\)' \| \
7005 . : '\(.\)' 2>/dev/null ||
7007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7009 /^X\(\/\/\)$/{ s//\1/; q; }
7010 /^X\(\/\).*/{ s//\1/; q; }
7012 { if $as_mkdir_p; then
7013 mkdir
-p "$ac_dest_dir"
7015 as_dir
="$ac_dest_dir"
7017 while test ! -d "$as_dir"; do
7018 as_dirs
="$as_dir $as_dirs"
7019 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7021 X"$as_dir" : 'X\(//\)[^/]' \| \
7022 X"$as_dir" : 'X\(//\)$' \| \
7023 X"$as_dir" : 'X\(/\)' \| \
7024 . : '\(.\)' 2>/dev/null ||
7026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7028 /^X\(\/\/\)$/{ s//\1/; q; }
7029 /^X\(\/\).*/{ s//\1/; q; }
7032 test ! -n "$as_dirs" || mkdir
$as_dirs
7033 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
7034 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
7035 { (exit 1); exit 1; }; }; }
7039 if test "$ac_dest_dir" != .
; then
7040 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
7041 # A "../" for each directory in $ac_dir_suffix.
7042 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7044 ac_dir_suffix
= ac_top_builddir
=
7048 .
) # No --srcdir option. We are building in place.
7050 if test -z "$ac_top_builddir"; then
7053 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7055 [\\/]* | ?
:[\\/]* ) # Absolute path.
7056 ac_srcdir
=$srcdir$ac_dir_suffix;
7057 ac_top_srcdir
=$srcdir ;;
7059 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7060 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7063 # Do not use `cd foo && pwd` to compute absolute paths, because
7064 # the directories may not exist.
7066 .
) ac_abs_builddir
="$ac_dest_dir";;
7068 case "$ac_dest_dir" in
7069 .
) ac_abs_builddir
=`pwd`;;
7070 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
7071 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
7074 case $ac_abs_builddir in
7075 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7077 case ${ac_top_builddir}.
in
7078 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7079 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7080 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7083 case $ac_abs_builddir in
7084 .
) ac_abs_srcdir
=$ac_srcdir;;
7087 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7088 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7089 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7092 case $ac_abs_builddir in
7093 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7095 case $ac_top_srcdir in
7096 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7097 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7098 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7104 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
7105 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
7108 # Try a symlink, then a hard link, then a copy.
7109 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
7110 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
7111 cp -p $srcdir/$ac_source $ac_dest ||
7112 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
7113 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
7114 { (exit 1); exit 1; }; }
7117 cat >>$CONFIG_STATUS <<\_ACEOF
7120 # CONFIG_COMMANDS section.
7122 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7123 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7124 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7125 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7126 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7127 X"$ac_dest" : 'X\(//\)[^/]' \| \
7128 X"$ac_dest" : 'X\(//\)$' \| \
7129 X"$ac_dest" : 'X\(/\)' \| \
7130 . : '\(.\)' 2>/dev/null ||
7132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7134 /^X\(\/\/\)$/{ s//\1/; q; }
7135 /^X\(\/\).*/{ s//\1/; q; }
7137 { if $as_mkdir_p; then
7142 while test ! -d "$as_dir"; do
7143 as_dirs
="$as_dir $as_dirs"
7144 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7145 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7146 X"$as_dir" : 'X\(//\)[^/]' \| \
7147 X"$as_dir" : 'X\(//\)$' \| \
7148 X"$as_dir" : 'X\(/\)' \| \
7149 . : '\(.\)' 2>/dev/null ||
7151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7153 /^X\(\/\/\)$/{ s//\1/; q; }
7154 /^X\(\/\).*/{ s//\1/; q; }
7157 test ! -n "$as_dirs" || mkdir
$as_dirs
7158 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7159 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7160 { (exit 1); exit 1; }; }; }
7164 if test "$ac_dir" != .
; then
7165 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7166 # A "../" for each directory in $ac_dir_suffix.
7167 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7169 ac_dir_suffix
= ac_top_builddir
=
7173 .
) # No --srcdir option. We are building in place.
7175 if test -z "$ac_top_builddir"; then
7178 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7180 [\\/]* | ?
:[\\/]* ) # Absolute path.
7181 ac_srcdir
=$srcdir$ac_dir_suffix;
7182 ac_top_srcdir
=$srcdir ;;
7184 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7185 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7188 # Do not use `cd foo && pwd` to compute absolute paths, because
7189 # the directories may not exist.
7191 .
) ac_abs_builddir
="$ac_dir";;
7194 .
) ac_abs_builddir
=`pwd`;;
7195 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7196 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7199 case $ac_abs_builddir in
7200 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7202 case ${ac_top_builddir}.
in
7203 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7204 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7205 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7208 case $ac_abs_builddir in
7209 .
) ac_abs_srcdir
=$ac_srcdir;;
7212 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7213 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7214 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7217 case $ac_abs_builddir in
7218 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7220 case $ac_top_srcdir in
7221 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7222 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7223 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7228 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7229 echo "$as_me: executing $ac_dest commands" >&6;}
7231 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
7232 rm -f Makesim1.tmp Makesim2.tmp Makefile
7233 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
7234 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
7235 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
7236 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
7237 <Makefile.sim
>Makefile
7238 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
7240 stamp-h
) echo > stamp-h
;;
7245 cat >>$CONFIG_STATUS <<\_ACEOF
7247 { (exit 0); exit 0; }
7249 chmod +x
$CONFIG_STATUS
7250 ac_clean_files
=$ac_clean_files_save
7253 # configure is writing to config.log, and then calls config.status.
7254 # config.status does its own redirection, appending to config.log.
7255 # Unfortunately, on DOS this fails, as config.log is still kept open
7256 # by configure, so config.status won't be able to write to it; its
7257 # output is simply discarded. So we exec the FD to /dev/null,
7258 # effectively closing config.log, so it can be properly (re)opened and
7259 # appended to by config.status. When coming back to configure, we
7260 # need to make the FD available again.
7261 if test "$no_create" != yes; then
7263 ac_config_status_args
=
7264 test "$silent" = yes &&
7265 ac_config_status_args
="$ac_config_status_args --quiet"
7267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7270 # would make configure fail if this is the last instruction.
7271 $ac_cs_success ||
{ (exit 1); exit 1; }