2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI CGEN_MAINT cgendir cgen cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
861 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
862 --enable-sim-hostendian=end Specify
host byte endian orientation.
863 --enable-sim-scache=size Specify simulator execution cache size.
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-hardware=LIST Specify the hardware to be included
in the build.
867 --enable-sim-default-model=model Specify default model to simulate.
868 --enable-sim-environment=environment Specify mixed
, user
, virtual or operating environment.
869 --enable-sim-inline=inlines Specify
which functions should be inlined.
870 --enable-cgen-maint=DIR build cgen generated files
873 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
874 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
875 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
876 --with-bugurl=URL Direct users to URL to report a bug
878 Some influential environment variables
:
879 CC C compiler
command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
882 nonstandard directory
<lib dir
>
883 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
884 headers
in a nonstandard directory
<include dir
>
887 Use these variables to override the choices made by
`configure' or to help
888 it to find libraries and programs with nonstandard names/locations.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo
&& pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
986 Copyright (C) 2003 Free Software Foundation, Inc.
987 This configure script is free software; the Free Software Foundation
988 gives unlimited permission to copy, distribute and modify it.
994 This file contains any messages produced by compilers while
995 running configure, to aid debugging if configure makes a mistake.
997 It was created by $as_me, which was
998 generated by GNU Autoconf 2.59. Invocation command line was
1009 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1010 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1011 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1012 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1013 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1016 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1018 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1020 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1021 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1022 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1023 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1024 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1032 test -z "$as_dir" && as_dir=.
1033 echo "PATH: $as_dir"
1048 # Keep a trace of the command line.
1049 # Strip out --no-create and --no-recursion so they do not pile up.
1050 # Strip out --silent because we don't want to record it for future runs.
1051 # Also quote any args containing shell meta-characters.
1052 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_must_keep_next=false
1063 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1067 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1068 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1071 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1073 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1074 if test $ac_must_keep_next = true; then
1075 ac_must_keep_next=false # Got value, back to normal.
1078 *=* | --config-cache | -C | -disable-* | --disable-* \
1079 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1080 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1081 | -with-* | --with-* | -without-* | --without-* | --x)
1082 case "$ac_configure_args0 " in
1083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086 -* ) ac_must_keep_next=true ;;
1089 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1090 # Get rid of the leading space.
1096 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1097 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1099 # When interrupted or exit'd, cleanup temporary files, and complete
1100 # config.log. We remove comments because anyway the quotes in there
1101 # would cause problems or look ugly.
1102 # WARNING: Be sure not to use single quotes in there, as some shells,
1103 # such as our DU 5.0 friend, will then `close
' the trap.
1104 trap 'exit_status
=$?
1105 # Save into config.log some information that might help in debugging.
1110 ## ---------------- ##
1111 ## Cache variables. ##
1112 ## ---------------- ##
1115 # The following way of writing the cache mishandles newlines in values,
1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1133 ## ----------------- ##
1134 ## Output variables. ##
1135 ## ----------------- ##
1138 for ac_var
in $ac_subst_vars
1140 eval ac_val
=$
`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -n "$ac_subst_files"; then
1152 for ac_var
in $ac_subst_files
1154 eval ac_val
=$
`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1160 if test -s confdefs.h
; then
1167 sed "/^$/d" confdefs.h |
sort
1170 test "$ac_signal" != 0 &&
1171 echo "$as_me: caught signal $ac_signal"
1172 echo "$as_me: exit $exit_status"
1174 rm -f core
*.core
&&
1175 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1178 for ac_signal in 1 2 13 15; do
1179 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1184 rm -rf conftest* confdefs.h
1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188 # Predefined preprocessor variables.
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_NAME "$PACKAGE_NAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_STRING "$PACKAGE_STRING"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1215 # Let the site file select an alternate cache file if it wants to.
1216 # Prefer explicitly selected file to automatically selected ones.
1217 if test -z "$CONFIG_SITE"; then
1218 if test "x$prefix" != xNONE; then
1219 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1221 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1224 for ac_site_file in $CONFIG_SITE; do
1225 if test -r "$ac_site_file"; then
1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1227 echo "$as_me: loading site script $ac_site_file" >&6;}
1228 sed 's
/^
/|
/' "$ac_site_file" >&5
1233 if test -r "$cache_file"; then
1234 # Some versions of bash will fail to source /dev/null (special
1235 # files actually), so we avoid doing that.
1236 if test -f "$cache_file"; then
1237 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1238 echo "$as_me: loading cache $cache_file" >&6;}
1240 [\\/]* | ?:[\\/]* ) . $cache_file;;
1241 *) . ./$cache_file;;
1245 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1246 echo "$as_me: creating cache $cache_file" >&6;}
1250 # Check that the precious variables saved in the cache have kept the same
1252 ac_cache_corrupted=false
1253 for ac_var in `(set) 2>&1 |
1254 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1255 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1256 eval ac_new_set=\$ac_env_${ac_var}_set
1257 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1258 eval ac_new_val="\$ac_env_${ac_var}_value"
1259 case $ac_old_set,$ac_new_set in
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1263 ac_cache_corrupted=: ;;
1265 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1270 if test "x$ac_old_val" != "x$ac_new_val"; then
1271 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1272 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1273 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1274 echo "$as_me: former value: $ac_old_val" >&2;}
1275 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1276 echo "$as_me: current value: $ac_new_val" >&2;}
1277 ac_cache_corrupted=:
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg=$ac_var=$ac_new_val ;;
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1295 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1296 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1297 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1298 { (exit 1); exit 1; }; }
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1304 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1325 ac_config_headers="$ac_config_headers config.h:config.in"
1328 # This file contains common code used by all simulators.
1330 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1331 # directory. It is intended to be invoked before any target specific stuff.
1332 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1333 # It is intended to be invoked last.
1335 # The simulator's configure.
in should
look like
:
1337 # dnl Process this file with autoconf to produce a configure script.
1338 # sinclude(../common/aclocal.m4)
1340 # AC_INIT(Makefile.in)
1344 # ... target specific stuff ...
1348 # Include global overrides and fixes for Autoconf.
1379 # _AC_OUTPUT_SUBDIRS
1380 # ------------------
1381 # This is a subroutine of AC_OUTPUT, but it does not go into
1382 # config.status, rather, it is called after running config.status.
1383 # _AC_OUTPUT_SUBDIRS
1388 # _AC_ARG_VAR_VALIDATE
1389 # --------------------
1390 # The code is the same as autoconf 2.59, but with a more lenient check
1391 # on precious variables and an output of pwd that have been added in
1393 # _AC_ARG_VAR_VALIDATE
1398 # AC_MSG_FAILURE(ERROR, [EXIT-STATUS = 1])
1399 # ----------------------------------------
1400 # This is the same code as in 2.59 and 2.61, except it also outputs pwd.
1457 sim_inline
="-DDEFAULT_INLINE=0"
1494 # intl sister-directory configuration rules.
1497 # The idea behind this macro is that there's no need to repeat all the
1498 # autoconf probes done by the intl directory - it's already done them
1499 # for us. In fact, there's no need even to look at the cache for the
1500 # answers. All we need to do is nab a few pieces of information.
1501 # The intl directory is set up to make this easy, by generating a
1502 # small file which can be sourced as a shell script; then we produce
1503 # the necessary substitutions and definitions for this directory.
1507 # Autoconf M4 include file defining utility macros for complex Canadian
1519 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1521 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1524 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1525 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1529 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1530 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1534 # Backported from Autoconf 2.5x; can go away when and if
1535 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1540 # ACX_HAVE_GCC_FOR_TARGET
1541 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1544 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1545 # Searching for installed target binutils. We need to take extra care,
1546 # else we may find the wrong assembler, linker, etc., and lose.
1548 # First try --with-build-time-tools, if specified.
1550 # For build != host, we ask the installed GCC for the name of the tool it
1551 # uses, and accept it if it is an absolute path. This is because the
1552 # only good choice for a compiler is the same GCC version that is being
1553 # installed (or we couldn't make target libraries), and we assume that
1554 # on the host system we'll have not only the same GCC version, but also
1555 # the same binutils version.
1557 # For build == host, search the same directories that the installed
1558 # compiler will search. We used to do this for the assembler, linker,
1559 # and nm only; for simplicity of configuration, however, we extend this
1560 # criterion to tools (such as ar and ranlib) that are never invoked by
1561 # the compiler, to avoid mismatches.
1563 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1564 # if build == target. This makes the most sense only when bootstrapping,
1565 # but we also do so when build != host. In this case, we hope that the
1566 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1568 # If we do not find a suitable binary, then try the user's path.
1572 # AC_PROG_CPP_WERROR
1573 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1574 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1575 # For now, using this also overrides header checks to use only the
1576 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1577 # bit harder from here).
1578 # Eventually autoconf will default to checking headers with the compiler
1579 # instead, and we'll have to do this differently.
1581 # AC_PROG_CPP_WERROR
1584 # We require the gnatbind program, and a compiler driver that
1585 # understands Ada. We use the user's CC setting, already found,
1586 # and possibly add $1 to the command-line parameters.
1588 # Sets the shell variable have_gnat to yes or no as appropriate, and
1589 # substitutes GNATBIND and GNATMAKE.
1615 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1616 # it by inlining the macro's contents.
1617 # This file contains common code used by all simulators.
1619 # common.m4 invokes AC macros used by all simulators and by the common
1620 # directory. It is intended to be included before any target specific
1621 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1622 # the Makefile. It is intended to be invoked last.
1624 # The simulator's configure.in should look like:
1626 # dnl Process this file with autoconf to produce a configure script.
1628 # AC_INIT(Makefile.in)
1629 # AC_CONFIG_HEADER(config.h:config.in)
1631 # sinclude(../common/aclocal.m4)
1632 # sinclude(../common/common.m4)
1634 # ... target specific stuff ...
1637 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1638 if test -f $ac_dir/install-sh
; then
1640 ac_install_sh
="$ac_aux_dir/install-sh -c"
1642 elif test -f $ac_dir/install.sh
; then
1644 ac_install_sh
="$ac_aux_dir/install.sh -c"
1646 elif test -f $ac_dir/shtool
; then
1648 ac_install_sh
="$ac_aux_dir/shtool install -c"
1652 if test -z "$ac_aux_dir"; then
1653 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1654 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1655 { (exit 1); exit 1; }; }
1657 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1658 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1659 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1661 # Make sure we can run config.sub.
1662 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1663 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1664 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1665 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: checking build system type" >&5
1668 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1669 if test "${ac_cv_build+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 ac_cv_build_alias
=$build_alias
1673 test -z "$ac_cv_build_alias" &&
1674 ac_cv_build_alias
=`$ac_config_guess`
1675 test -z "$ac_cv_build_alias" &&
1676 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1677 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1678 { (exit 1); exit 1; }; }
1679 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1680 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1681 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1682 { (exit 1); exit 1; }; }
1685 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1686 echo "${ECHO_T}$ac_cv_build" >&6
1688 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1689 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1690 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1693 echo "$as_me:$LINENO: checking host system type" >&5
1694 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1695 if test "${ac_cv_host+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 ac_cv_host_alias
=$host_alias
1699 test -z "$ac_cv_host_alias" &&
1700 ac_cv_host_alias
=$ac_cv_build_alias
1701 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1702 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1703 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1704 { (exit 1); exit 1; }; }
1707 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1708 echo "${ECHO_T}$ac_cv_host" >&6
1710 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1711 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1712 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1715 echo "$as_me:$LINENO: checking target system type" >&5
1716 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1717 if test "${ac_cv_target+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 ac_cv_target_alias
=$target_alias
1721 test "x$ac_cv_target_alias" = "x" &&
1722 ac_cv_target_alias
=$ac_cv_host_alias
1723 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1724 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1725 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1726 { (exit 1); exit 1; }; }
1729 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1730 echo "${ECHO_T}$ac_cv_target" >&6
1731 target
=$ac_cv_target
1732 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1733 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1734 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1737 # The aliases save the names the user supplied, while $host etc.
1738 # will get canonicalized.
1739 test -n "$target_alias" &&
1740 test "$program_prefix$program_suffix$program_transform_name" = \
1742 program_prefix
=${target_alias}-
1743 test "$program_prefix" != NONE
&&
1744 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1745 # Use a double $ so make ignores it.
1746 test "$program_suffix" != NONE
&&
1747 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1748 # Double any \ or $. echo might interpret backslashes.
1749 # By default was `s,x,x', remove it if useless.
1750 cat <<\_ACEOF
>conftest.
sed
1751 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1753 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1757 ac_cpp
='$CPP $CPPFLAGS'
1758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1761 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1763 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC
="$CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1798 if test -z "$ac_cv_prog_CC"; then
1800 # Extract the first word of "gcc", so it can be a program name with args.
1801 set dummy gcc
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$ac_ct_CC"; then
1808 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_ac_ct_CC
="gcc"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1827 if test -n "$ac_ct_CC"; then
1828 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1829 echo "${ECHO_T}$ac_ct_CC" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1840 if test -z "$CC"; then
1841 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1843 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC
="$CC" # Let the user override the test.
1852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir
=.
1857 for ac_exec_ext
in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test -n "$CC"; then
1870 echo "$as_me:$LINENO: result: $CC" >&5
1871 echo "${ECHO_T}$CC" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1878 if test -z "$ac_cv_prog_CC"; then
1880 # Extract the first word of "cc", so it can be a program name with args.
1881 set dummy cc
; ac_word
=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$ac_ct_CC"; then
1888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_ac_ct_CC
="cc"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1907 if test -n "$ac_ct_CC"; then
1908 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1909 echo "${ECHO_T}$ac_ct_CC" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1921 if test -z "$CC"; then
1922 # Extract the first word of "cc", so it can be a program name with args.
1923 set dummy cc
; ac_word
=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC
="$CC" # Let the user override the test.
1933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir
=.
1938 for ac_exec_ext
in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1941 ac_prog_rejected
=yes
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 if test $ac_prog_rejected = yes; then
1952 # We found a bogon in the path, so make sure we never use it.
1953 set dummy
$ac_cv_prog_CC
1955 if test $# != 0; then
1956 # We chose a different compiler from the bogus one.
1957 # However, it has the same basename, so the bogon will be chosen
1958 # first if we set CC to just the basename; use the full file name.
1960 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1966 if test -n "$CC"; then
1967 echo "$as_me:$LINENO: result: $CC" >&5
1968 echo "${ECHO_T}$CC" >&6
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1975 if test -z "$CC"; then
1976 if test -n "$ac_tool_prefix"; then
1979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC
="$CC" # Let the user override the test.
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 for ac_exec_ext
in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 if test -n "$CC"; then
2007 echo "$as_me:$LINENO: result: $CC" >&5
2008 echo "${ECHO_T}$CC" >&6
2010 echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6
2014 test -n "$CC" && break
2017 if test -z "$CC"; then
2021 # Extract the first word of "$ac_prog", so it can be a program name with args.
2022 set dummy
$ac_prog; ac_word
=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$ac_ct_CC"; then
2029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_ac_ct_CC
="$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2048 if test -n "$ac_ct_CC"; then
2049 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2050 echo "${ECHO_T}$ac_ct_CC" >&6
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2056 test -n "$ac_ct_CC" && break
2065 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2066 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2068 See \`config.log' for more details." >&5
2069 echo "$as_me: error: no acceptable C compiler found in \$PATH
2070 See \`config.log' for more details." >&2;}
2071 { (exit 1); exit 1; }; }; }
2073 # Provide some information about the compiler.
2074 echo "$as_me:$LINENO:" \
2075 "checking for C compiler version" >&5
2076 ac_compiler
=`set X $ac_compile; echo $2`
2077 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2078 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }
2082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2083 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }
2087 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2088 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }
2093 cat >conftest.
$ac_ext <<_ACEOF
2096 cat confdefs.h
>>conftest.
$ac_ext
2097 cat >>conftest.
$ac_ext <<_ACEOF
2098 /* end confdefs.h. */
2108 ac_clean_files_save
=$ac_clean_files
2109 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2110 # Try to create an executable without -o first, disregard a.out.
2111 # It will help us diagnose broken compilers, and finding out an intuition
2113 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2114 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2115 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2116 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2117 (eval $ac_link_default) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; then
2121 # Find the output, starting from the most likely. This scheme is
2122 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2125 # Be careful to initialize this variable, since it used to be cached.
2126 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2128 # b.out is created by i960 compilers.
2129 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2131 test -f "$ac_file" ||
continue
2133 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2136 # This is the source file.
2139 # We found the default executable, but exeext='' is most
2143 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2144 # FIXME: I believe we export ac_cv_exeext for Libtool,
2145 # but it would be cool to find out if it's true. Does anybody
2146 # maintain Libtool? --akim.
2154 echo "$as_me: failed program was:" >&5
2155 sed 's/^/| /' conftest.
$ac_ext >&5
2157 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2158 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2160 See \`config.log' for more details." >&5
2161 echo "$as_me: error: C compiler cannot create executables
2162 See \`config.log' for more details." >&2;}
2163 { (exit 77); exit 77; }; }; }
2166 ac_exeext
=$ac_cv_exeext
2167 echo "$as_me:$LINENO: result: $ac_file" >&5
2168 echo "${ECHO_T}$ac_file" >&6
2170 # Check the compiler produces executables we can run. If not, either
2171 # the compiler is broken, or we cross compile.
2172 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2173 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2174 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2175 # If not cross compiling, check that we can run a simple program.
2176 if test "$cross_compiling" != yes; then
2177 if { ac_try
='./$ac_file'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; }; then
2185 if test "$cross_compiling" = maybe
; then
2188 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2189 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2190 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2191 If you meant to cross compile, use \`--host'.
2192 See \`config.log' for more details." >&5
2193 echo "$as_me: error: cannot run C compiled programs.
2194 If you meant to cross compile, use \`--host'.
2195 See \`config.log' for more details." >&2;}
2196 { (exit 1); exit 1; }; }; }
2200 echo "$as_me:$LINENO: result: yes" >&5
2201 echo "${ECHO_T}yes" >&6
2203 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2204 ac_clean_files
=$ac_clean_files_save
2205 # Check the compiler produces executables we can run. If not, either
2206 # the compiler is broken, or we cross compile.
2207 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2208 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2209 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2210 echo "${ECHO_T}$cross_compiling" >&6
2212 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2213 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2215 (eval $ac_link) 2>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; then
2219 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2220 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2221 # work properly (i.e., refer to `conftest.exe'), while it won't with
2223 for ac_file
in conftest.exe conftest conftest.
*; do
2224 test -f "$ac_file" ||
continue
2226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2227 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2234 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2235 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2236 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2239 See \`config.log' for more details." >&2;}
2240 { (exit 1); exit 1; }; }; }
2243 rm -f conftest
$ac_cv_exeext
2244 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2245 echo "${ECHO_T}$ac_cv_exeext" >&6
2247 rm -f conftest.
$ac_ext
2248 EXEEXT
=$ac_cv_exeext
2250 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2251 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2252 if test "${ac_cv_objext+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 cat >conftest.
$ac_ext <<_ACEOF
2258 cat confdefs.h
>>conftest.
$ac_ext
2259 cat >>conftest.
$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2270 rm -f conftest.o conftest.obj
2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272 (eval $ac_compile) 2>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; then
2276 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2278 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2279 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2284 echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.
$ac_ext >&5
2287 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2288 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2290 See \`config.log' for more details." >&5
2291 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2292 See \`config.log' for more details." >&2;}
2293 { (exit 1); exit 1; }; }; }
2296 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2298 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2299 echo "${ECHO_T}$ac_cv_objext" >&6
2300 OBJEXT
=$ac_cv_objext
2302 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2303 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2304 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 cat >conftest.
$ac_ext <<_ACEOF
2310 cat confdefs.h
>>conftest.
$ac_ext
2311 cat >>conftest.
$ac_ext <<_ACEOF
2312 /* end confdefs.h. */
2325 rm -f conftest.
$ac_objext
2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2327 (eval $ac_compile) 2>conftest.er1
2329 grep -v '^ *+' conftest.er1
>conftest.err
2331 cat conftest.err
>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); } &&
2334 { ac_try
='test -z "$ac_c_werror_flag"
2335 || test ! -s conftest.err'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; } &&
2341 { ac_try
='test -s conftest.$ac_objext'
2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; }; then
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2355 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2358 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2359 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2360 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2361 ac_test_CFLAGS
=${CFLAGS+set}
2362 ac_save_CFLAGS
=$CFLAGS
2364 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2365 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2366 if test "${ac_cv_prog_cc_g+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 cat >conftest.
$ac_ext <<_ACEOF
2372 cat confdefs.h
>>conftest.
$ac_ext
2373 cat >>conftest.
$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 rm -f conftest.
$ac_objext
2385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386 (eval $ac_compile) 2>conftest.er1
2388 grep -v '^ *+' conftest.er1
>conftest.err
2390 cat conftest.err
>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); } &&
2393 { ac_try
='test -z "$ac_c_werror_flag"
2394 || test ! -s conftest.err'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; } &&
2400 { ac_try
='test -s conftest.$ac_objext'
2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; }; then
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2415 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2416 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2417 if test "$ac_test_CFLAGS" = set; then
2418 CFLAGS
=$ac_save_CFLAGS
2419 elif test $ac_cv_prog_cc_g = yes; then
2420 if test "$GCC" = yes; then
2426 if test "$GCC" = yes; then
2432 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2433 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2434 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 ac_cv_prog_cc_stdc
=no
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2447 #include <sys/types.h>
2448 #include <sys/stat.h>
2449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2450 struct buf { int x; };
2451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2452 static char *e (p, i)
2458 static char *f (char * (*g) (char **, int), char **p, ...)
2463 s = g (p, va_arg (v,int));
2468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2469 function prototypes and stuff, but not '\xHH' hex character constants.
2470 These don't provoke an error unfortunately, instead are silently treated
2471 as 'x'. The following induces an error, until -std1 is added to get
2472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2473 array size at least. It's necessary to write '\x00'==0 to get something
2474 that's true only with -std1. */
2475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2477 int test (int i, double x);
2478 struct s1 {int (*f) (int a);};
2479 struct s2 {int (*f) (double a);};
2480 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2486 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2491 # Don't try gcc -ansi; that turns off useful extensions and
2492 # breaks some systems' header files.
2493 # AIX -qlanglvl=ansi
2494 # Ultrix and OSF/1 -std1
2495 # HP-UX 10.20 and later -Ae
2496 # HP-UX older versions -Aa -D_HPUX_SOURCE
2497 # SVR4 -Xc -D__EXTENSIONS__
2498 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2500 CC
="$ac_save_CC $ac_arg"
2501 rm -f conftest.
$ac_objext
2502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2503 (eval $ac_compile) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1
>conftest.err
2507 cat conftest.err
>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } &&
2510 { ac_try
='test -z "$ac_c_werror_flag"
2511 || test ! -s conftest.err'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; } &&
2517 { ac_try
='test -s conftest.$ac_objext'
2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; }; then
2523 ac_cv_prog_cc_stdc
=$ac_arg
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2530 rm -f conftest.err conftest.
$ac_objext
2532 rm -f conftest.
$ac_ext conftest.
$ac_objext
2537 case "x$ac_cv_prog_cc_stdc" in
2539 echo "$as_me:$LINENO: result: none needed" >&5
2540 echo "${ECHO_T}none needed" >&6 ;;
2542 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2543 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2544 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2547 # Some people use a C++ compiler to compile C. Since we use `exit',
2548 # in C++ we need to declare it. In case someone uses the same compiler
2549 # for both compiling C and C++ we need to have the C++ compiler decide
2550 # the declaration of exit, since it's the most demanding environment.
2551 cat >conftest.
$ac_ext <<_ACEOF
2556 rm -f conftest.
$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1
>conftest.err
2562 cat conftest.err
>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try
='test -z "$ac_c_werror_flag"
2566 || test ! -s conftest.err'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; } &&
2572 { ac_try
='test -s conftest.$ac_objext'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; }; then
2578 for ac_declaration
in \
2580 'extern "C" void std::exit (int) throw (); using std::exit;' \
2581 'extern "C" void std::exit (int); using std::exit;' \
2582 'extern "C" void exit (int) throw ();' \
2583 'extern "C" void exit (int);' \
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2602 rm -f conftest.
$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604 (eval $ac_compile) 2>conftest.er1
2606 grep -v '^ *+' conftest.er1
>conftest.err
2608 cat conftest.err
>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try
='test -z "$ac_c_werror_flag"
2612 || test ! -s conftest.err'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; } &&
2618 { ac_try
='test -s conftest.$ac_objext'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; }; then
2626 echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.
$ac_ext >&5
2631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2632 cat >conftest.
$ac_ext <<_ACEOF
2635 cat confdefs.h
>>conftest.
$ac_ext
2636 cat >>conftest.
$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 rm -f conftest.
$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649 (eval $ac_compile) 2>conftest.er1
2651 grep -v '^ *+' conftest.er1
>conftest.err
2653 cat conftest.err
>&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); } &&
2656 { ac_try
='test -z "$ac_c_werror_flag"
2657 || test ! -s conftest.err'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; } &&
2663 { ac_try
='test -s conftest.$ac_objext'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.
$ac_ext >&5
2675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2678 if test -n "$ac_declaration"; then
2679 echo '#ifdef __cplusplus' >>confdefs.h
2680 echo $ac_declaration >>confdefs.h
2681 echo '#endif' >>confdefs.h
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.
$ac_ext >&5
2689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2691 ac_cpp
='$CPP $CPPFLAGS'
2692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2696 # Find a good install program. We prefer a C program (faster),
2697 # so one script is as good as another. But avoid the broken or
2698 # incompatible versions:
2699 # SysV /etc/install, /usr/sbin/install
2700 # SunOS /usr/etc/install
2701 # IRIX /sbin/install
2703 # AmigaOS /C/install, which installs bootblocks on floppy discs
2704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2707 # OS/2's system install, which has a completely different semantic
2708 # ./install, which can be erroneously created by make from ./install.sh.
2709 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2710 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2711 if test -z "$INSTALL"; then
2712 if test "${ac_cv_path_install+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 # Account for people who put trailing slashes in PATH elements.
2722 .
/ | .
// |
/cC
/* | \
2723 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2724 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2727 # OSF1 and SCO ODT 3.0 have their own names for install.
2728 # Don't use installbsd from OSF since it installs stuff as root
2730 for ac_prog
in ginstall scoinst
install; do
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2733 if test $ac_prog = install &&
2734 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2735 # AIX install. It has an incompatible calling convention.
2737 elif test $ac_prog = install &&
2738 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2739 # program-specific install script used by HP pwplus--don't use.
2742 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2754 if test "${ac_cv_path_install+set}" = set; then
2755 INSTALL
=$ac_cv_path_install
2757 # As a last resort, use the slow shell script. We don't cache a
2758 # path for INSTALL within a source directory, because that will
2759 # break other packages using the cache if that directory is
2760 # removed, or if the path is relative.
2761 INSTALL
=$ac_install_sh
2764 echo "$as_me:$LINENO: result: $INSTALL" >&5
2765 echo "${ECHO_T}$INSTALL" >&6
2767 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2768 # It thinks the first close brace ends the variable substitution.
2769 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2771 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2773 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2776 # Put a plausible default for CC_FOR_BUILD in Makefile.
2777 if test "x$cross_compiling" = "xno"; then
2778 CC_FOR_BUILD
='$(CC)'
2788 if test -n "$ac_tool_prefix"; then
2789 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2790 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2791 echo "$as_me:$LINENO: checking for $ac_word" >&5
2792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2793 if test "${ac_cv_prog_RANLIB+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
2796 if test -n "$RANLIB"; then
2797 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2806 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 RANLIB
=$ac_cv_prog_RANLIB
2816 if test -n "$RANLIB"; then
2817 echo "$as_me:$LINENO: result: $RANLIB" >&5
2818 echo "${ECHO_T}$RANLIB" >&6
2820 echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6
2825 if test -z "$ac_cv_prog_RANLIB"; then
2826 ac_ct_RANLIB
=$RANLIB
2827 # Extract the first word of "ranlib", so it can be a program name with args.
2828 set dummy ranlib
; ac_word
=$2
2829 echo "$as_me:$LINENO: checking for $ac_word" >&5
2830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2831 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 if test -n "$ac_ct_RANLIB"; then
2835 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir
=.
2842 for ac_exec_ext
in '' $ac_executable_extensions; do
2843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2854 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2855 if test -n "$ac_ct_RANLIB"; then
2856 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2857 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2859 echo "$as_me:$LINENO: result: no" >&5
2860 echo "${ECHO_T}no" >&6
2863 RANLIB
=$ac_ct_RANLIB
2865 RANLIB
="$ac_cv_prog_RANLIB"
2870 # If we haven't got the data from the intl directory,
2871 # assume NLS is disabled.
2880 if test -f ..
/..
/intl
/config.intl
; then
2881 . ..
/..
/intl
/config.intl
2883 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2884 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2885 if test x
"$USE_NLS" != xyes
; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2889 echo "$as_me:$LINENO: result: yes" >&5
2890 echo "${ECHO_T}yes" >&6
2892 cat >>confdefs.h
<<\_ACEOF
2893 #define ENABLE_NLS 1
2897 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2898 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2899 # Look for .po and .gmo files in the source directory.
2902 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2903 # If there aren't any .gmo files the shell will give us the
2904 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2906 case "$cat" in *\
**)
2909 # The quadruple backslash is collapsed to a double backslash
2910 # by the backticks, then collapsed again by the double quotes,
2911 # leaving us with one backslash in the sed expression (right
2912 # before the dot that mustn't act as a wildcard).
2913 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2914 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2915 # The user is allowed to set LINGUAS to a list of languages to
2916 # install catalogs for. If it's empty that means "all of them."
2917 if test "x$LINGUAS" = x
; then
2918 CATALOGS
="$CATALOGS $cat"
2919 XLINGUAS
="$XLINGUAS $lang"
2921 case "$LINGUAS" in *$lang*)
2922 CATALOGS
="$CATALOGS $cat"
2923 XLINGUAS
="$XLINGUAS $lang"
2929 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2930 echo "${ECHO_T}$LINGUAS" >&6
2943 # Check for common headers.
2944 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2945 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2948 ac_cpp
='$CPP $CPPFLAGS'
2949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2952 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2953 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2954 # On Suns, sometimes $CPP names a directory.
2955 if test -n "$CPP" && test -d "$CPP"; then
2958 if test -z "$CPP"; then
2959 if test "${ac_cv_prog_CPP+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 # Double quotes because CPP needs to be expanded
2963 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2966 for ac_c_preproc_warn_flag
in '' yes
2968 # Use a header file that comes with gcc, so configuring glibc
2969 # with a fresh cross-compiler works.
2970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2971 # <limits.h> exists even on freestanding compilers.
2972 # On the NeXT, cc -E runs the code through the compiler's parser,
2973 # not just through cpp. "Syntax error" is here to catch this case.
2974 cat >conftest.
$ac_ext <<_ACEOF
2977 cat confdefs.h
>>conftest.
$ac_ext
2978 cat >>conftest.
$ac_ext <<_ACEOF
2979 /* end confdefs.h. */
2981 # include <limits.h>
2983 # include <assert.h>
2987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev
/null
; then
2995 if test -s conftest.err
; then
2996 ac_cpp_err
=$ac_c_preproc_warn_flag
2997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.
$ac_ext >&5
3010 # Broken: fails on valid input.
3013 rm -f conftest.err conftest.
$ac_ext
3015 # OK, works on sane cases. Now check whether non-existent headers
3016 # can be detected and how.
3017 cat >conftest.
$ac_ext <<_ACEOF
3020 cat confdefs.h
>>conftest.
$ac_ext
3021 cat >>conftest.
$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3023 #include <ac_nonexistent.h>
3025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3028 grep -v '^ *+' conftest.er1
>conftest.err
3030 cat conftest.err
>&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } >/dev
/null
; then
3033 if test -s conftest.err
; then
3034 ac_cpp_err
=$ac_c_preproc_warn_flag
3035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3042 if test -z "$ac_cpp_err"; then
3043 # Broken: success on invalid input.
3046 echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.
$ac_ext >&5
3049 # Passes both tests.
3053 rm -f conftest.err conftest.
$ac_ext
3056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3057 rm -f conftest.err conftest.
$ac_ext
3058 if $ac_preproc_ok; then
3070 echo "$as_me:$LINENO: result: $CPP" >&5
3071 echo "${ECHO_T}$CPP" >&6
3073 for ac_c_preproc_warn_flag
in '' yes
3075 # Use a header file that comes with gcc, so configuring glibc
3076 # with a fresh cross-compiler works.
3077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3078 # <limits.h> exists even on freestanding compilers.
3079 # On the NeXT, cc -E runs the code through the compiler's parser,
3080 # not just through cpp. "Syntax error" is here to catch this case.
3081 cat >conftest.
$ac_ext <<_ACEOF
3084 cat confdefs.h
>>conftest.
$ac_ext
3085 cat >>conftest.
$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3088 # include <limits.h>
3090 # include <assert.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev
/null
; then
3102 if test -s conftest.err
; then
3103 ac_cpp_err
=$ac_c_preproc_warn_flag
3104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3111 if test -z "$ac_cpp_err"; then
3114 echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.
$ac_ext >&5
3117 # Broken: fails on valid input.
3120 rm -f conftest.err conftest.
$ac_ext
3122 # OK, works on sane cases. Now check whether non-existent headers
3123 # can be detected and how.
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130 #include <ac_nonexistent.h>
3132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3135 grep -v '^ *+' conftest.er1
>conftest.err
3137 cat conftest.err
>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev
/null
; then
3140 if test -s conftest.err
; then
3141 ac_cpp_err
=$ac_c_preproc_warn_flag
3142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3149 if test -z "$ac_cpp_err"; then
3150 # Broken: success on invalid input.
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.
$ac_ext >&5
3156 # Passes both tests.
3160 rm -f conftest.err conftest.
$ac_ext
3163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3164 rm -f conftest.err conftest.
$ac_ext
3165 if $ac_preproc_ok; then
3168 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3169 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3170 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3171 See \`config.log' for more details." >&5
3172 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3173 See \`config.log' for more details." >&2;}
3174 { (exit 1); exit 1; }; }; }
3178 ac_cpp
='$CPP $CPPFLAGS'
3179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3184 echo "$as_me:$LINENO: checking for egrep" >&5
3185 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3186 if test "${ac_cv_prog_egrep+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3190 then ac_cv_prog_egrep
='grep -E'
3191 else ac_cv_prog_egrep
='egrep'
3194 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3195 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3196 EGREP
=$ac_cv_prog_egrep
3199 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3200 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3201 if test "${ac_cv_header_stdc+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 cat >conftest.
$ac_ext <<_ACEOF
3207 cat confdefs.h
>>conftest.
$ac_ext
3208 cat >>conftest.
$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3223 rm -f conftest.
$ac_objext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>conftest.er1
3227 grep -v '^ *+' conftest.er1
>conftest.err
3229 cat conftest.err
>&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try
='test -z "$ac_c_werror_flag"
3233 || test ! -s conftest.err'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; } &&
3239 { ac_try
='test -s conftest.$ac_objext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3245 ac_cv_header_stdc
=yes
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.
$ac_ext >&5
3250 ac_cv_header_stdc
=no
3252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3254 if test $ac_cv_header_stdc = yes; then
3255 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3256 cat >conftest.
$ac_ext <<_ACEOF
3259 cat confdefs.h
>>conftest.
$ac_ext
3260 cat >>conftest.
$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3266 $EGREP "memchr" >/dev
/null
2>&1; then
3269 ac_cv_header_stdc
=no
3275 if test $ac_cv_header_stdc = yes; then
3276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3277 cat >conftest.
$ac_ext <<_ACEOF
3280 cat confdefs.h
>>conftest.
$ac_ext
3281 cat >>conftest.
$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3287 $EGREP "free" >/dev
/null
2>&1; then
3290 ac_cv_header_stdc
=no
3296 if test $ac_cv_header_stdc = yes; then
3297 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3298 if test "$cross_compiling" = yes; then
3301 cat >conftest.
$ac_ext <<_ACEOF
3304 cat confdefs.h
>>conftest.
$ac_ext
3305 cat >>conftest.
$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3308 #if ((' ' & 0x0FF) == 0x020)
3309 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3310 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3312 # define ISLOWER(c) \
3313 (('a' <= (c) && (c) <= 'i') \
3314 || ('j' <= (c) && (c) <= 'r') \
3315 || ('s' <= (c) && (c) <= 'z'))
3316 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3319 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3324 for (i = 0; i < 256; i++)
3325 if (XOR (islower (i), ISLOWER (i))
3326 || toupper (i) != TOUPPER (i))
3331 rm -f conftest
$ac_exeext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3333 (eval $ac_link) 2>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3344 echo "$as_me: program exited with status $ac_status" >&5
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3349 ac_cv_header_stdc
=no
3351 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3355 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3356 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3357 if test $ac_cv_header_stdc = yes; then
3359 cat >>confdefs.h
<<\_ACEOF
3360 #define STDC_HEADERS 1
3365 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3375 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3376 inttypes.h stdint.h unistd.h
3378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3379 echo "$as_me:$LINENO: checking for $ac_header" >&5
3380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 cat >conftest.
$ac_ext <<_ACEOF
3387 cat confdefs.h
>>conftest.
$ac_ext
3388 cat >>conftest.
$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3390 $ac_includes_default
3392 #include <$ac_header>
3394 rm -f conftest.
$ac_objext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3396 (eval $ac_compile) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1
>conftest.err
3400 cat conftest.err
>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try
='test -z "$ac_c_werror_flag"
3404 || test ! -s conftest.err'
3405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try
='test -s conftest.$ac_objext'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; }; then
3416 eval "$as_ac_Header=yes"
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 eval "$as_ac_Header=no"
3423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3428 cat >>confdefs.h
<<_ACEOF
3429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3442 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3446 echo "$as_me:$LINENO: checking for $ac_header" >&5
3447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3454 # Is the header compilable?
3455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3457 cat >conftest.
$ac_ext <<_ACEOF
3460 cat confdefs.h
>>conftest.
$ac_ext
3461 cat >>conftest.
$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3463 $ac_includes_default
3464 #include <$ac_header>
3466 rm -f conftest.
$ac_objext
3467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3468 (eval $ac_compile) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1
>conftest.err
3472 cat conftest.err
>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try
='test -z "$ac_c_werror_flag"
3476 || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try
='test -s conftest.$ac_objext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 ac_header_compiler
=yes
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.
$ac_ext >&5
3493 ac_header_compiler
=no
3495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3497 echo "${ECHO_T}$ac_header_compiler" >&6
3499 # Is the header present?
3500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3502 cat >conftest.
$ac_ext <<_ACEOF
3505 cat confdefs.h
>>conftest.
$ac_ext
3506 cat >>conftest.
$ac_ext <<_ACEOF
3507 /* end confdefs.h. */
3508 #include <$ac_header>
3510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } >/dev
/null
; then
3518 if test -s conftest.err
; then
3519 ac_cpp_err
=$ac_c_preproc_warn_flag
3520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3527 if test -z "$ac_cpp_err"; then
3528 ac_header_preproc
=yes
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.
$ac_ext >&5
3533 ac_header_preproc
=no
3535 rm -f conftest.err conftest.
$ac_ext
3536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3537 echo "${ECHO_T}$ac_header_preproc" >&6
3539 # So? What about this header?
3540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3546 ac_header_preproc
=yes
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3563 ## ------------------------------------------ ##
3564 ## Report this to the AC_PACKAGE_NAME lists. ##
3565 ## ------------------------------------------ ##
3568 sed "s/^/$as_me: WARNING: /" >&2
3571 echo "$as_me:$LINENO: checking for $ac_header" >&5
3572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3574 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 eval "$as_ac_Header=\$ac_header_preproc"
3578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3583 cat >>confdefs.h
<<_ACEOF
3584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3593 for ac_header
in sys
/time.h sys
/resource.h
3595 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3597 echo "$as_me:$LINENO: checking for $ac_header" >&5
3598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3605 # Is the header compilable?
3606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3608 cat >conftest.
$ac_ext <<_ACEOF
3611 cat confdefs.h
>>conftest.
$ac_ext
3612 cat >>conftest.
$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 $ac_includes_default
3615 #include <$ac_header>
3617 rm -f conftest.
$ac_objext
3618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3619 (eval $ac_compile) 2>conftest.er1
3621 grep -v '^ *+' conftest.er1
>conftest.err
3623 cat conftest.err
>&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } &&
3626 { ac_try
='test -z "$ac_c_werror_flag"
3627 || test ! -s conftest.err'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; } &&
3633 { ac_try
='test -s conftest.$ac_objext'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; }; then
3639 ac_header_compiler
=yes
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.
$ac_ext >&5
3644 ac_header_compiler
=no
3646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3648 echo "${ECHO_T}$ac_header_compiler" >&6
3650 # Is the header present?
3651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3653 cat >conftest.
$ac_ext <<_ACEOF
3656 cat confdefs.h
>>conftest.
$ac_ext
3657 cat >>conftest.
$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3659 #include <$ac_header>
3661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } >/dev
/null
; then
3669 if test -s conftest.err
; then
3670 ac_cpp_err
=$ac_c_preproc_warn_flag
3671 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3678 if test -z "$ac_cpp_err"; then
3679 ac_header_preproc
=yes
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 ac_header_preproc
=no
3686 rm -f conftest.err conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3688 echo "${ECHO_T}$ac_header_preproc" >&6
3690 # So? What about this header?
3691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3697 ac_header_preproc
=yes
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3714 ## ------------------------------------------ ##
3715 ## Report this to the AC_PACKAGE_NAME lists. ##
3716 ## ------------------------------------------ ##
3719 sed "s/^/$as_me: WARNING: /" >&2
3722 echo "$as_me:$LINENO: checking for $ac_header" >&5
3723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 eval "$as_ac_Header=\$ac_header_preproc"
3729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3734 cat >>confdefs.h
<<_ACEOF
3735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3744 for ac_header
in fcntl.h fpu_control.h
3746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3748 echo "$as_me:$LINENO: checking for $ac_header" >&5
3749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3756 # Is the header compilable?
3757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3759 cat >conftest.
$ac_ext <<_ACEOF
3762 cat confdefs.h
>>conftest.
$ac_ext
3763 cat >>conftest.
$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3765 $ac_includes_default
3766 #include <$ac_header>
3768 rm -f conftest.
$ac_objext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3770 (eval $ac_compile) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag"
3778 || test ! -s conftest.err'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; } &&
3784 { ac_try
='test -s conftest.$ac_objext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 ac_header_compiler
=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 ac_header_compiler
=no
3797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3799 echo "${ECHO_T}$ac_header_compiler" >&6
3801 # Is the header present?
3802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3804 cat >conftest.
$ac_ext <<_ACEOF
3807 cat confdefs.h
>>conftest.
$ac_ext
3808 cat >>conftest.
$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3810 #include <$ac_header>
3812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3815 grep -v '^ *+' conftest.er1
>conftest.err
3817 cat conftest.err
>&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } >/dev
/null
; then
3820 if test -s conftest.err
; then
3821 ac_cpp_err
=$ac_c_preproc_warn_flag
3822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3829 if test -z "$ac_cpp_err"; then
3830 ac_header_preproc
=yes
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.
$ac_ext >&5
3835 ac_header_preproc
=no
3837 rm -f conftest.err conftest.
$ac_ext
3838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3839 echo "${ECHO_T}$ac_header_preproc" >&6
3841 # So? What about this header?
3842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3848 ac_header_preproc
=yes
3851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3865 ## ------------------------------------------ ##
3866 ## Report this to the AC_PACKAGE_NAME lists. ##
3867 ## ------------------------------------------ ##
3870 sed "s/^/$as_me: WARNING: /" >&2
3873 echo "$as_me:$LINENO: checking for $ac_header" >&5
3874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 eval "$as_ac_Header=\$ac_header_preproc"
3880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3885 cat >>confdefs.h
<<_ACEOF
3886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3896 for ac_header
in dlfcn.h errno.h sys
/stat.h
3898 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3900 echo "$as_me:$LINENO: checking for $ac_header" >&5
3901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3908 # Is the header compilable?
3909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3911 cat >conftest.
$ac_ext <<_ACEOF
3914 cat confdefs.h
>>conftest.
$ac_ext
3915 cat >>conftest.
$ac_ext <<_ACEOF
3916 /* end confdefs.h. */
3917 $ac_includes_default
3918 #include <$ac_header>
3920 rm -f conftest.
$ac_objext
3921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3922 (eval $ac_compile) 2>conftest.er1
3924 grep -v '^ *+' conftest.er1
>conftest.err
3926 cat conftest.err
>&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } &&
3929 { ac_try
='test -z "$ac_c_werror_flag"
3930 || test ! -s conftest.err'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; } &&
3936 { ac_try
='test -s conftest.$ac_objext'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; }; then
3942 ac_header_compiler
=yes
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.
$ac_ext >&5
3947 ac_header_compiler
=no
3949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3951 echo "${ECHO_T}$ac_header_compiler" >&6
3953 # Is the header present?
3954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3956 cat >conftest.
$ac_ext <<_ACEOF
3959 cat confdefs.h
>>conftest.
$ac_ext
3960 cat >>conftest.
$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3962 #include <$ac_header>
3964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } >/dev
/null
; then
3972 if test -s conftest.err
; then
3973 ac_cpp_err
=$ac_c_preproc_warn_flag
3974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3981 if test -z "$ac_cpp_err"; then
3982 ac_header_preproc
=yes
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 ac_header_preproc
=no
3989 rm -f conftest.err conftest.
$ac_ext
3990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3991 echo "${ECHO_T}$ac_header_preproc" >&6
3993 # So? What about this header?
3994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4000 ac_header_preproc
=yes
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4017 ## ------------------------------------------ ##
4018 ## Report this to the AC_PACKAGE_NAME lists. ##
4019 ## ------------------------------------------ ##
4022 sed "s/^/$as_me: WARNING: /" >&2
4025 echo "$as_me:$LINENO: checking for $ac_header" >&5
4026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 eval "$as_ac_Header=\$ac_header_preproc"
4032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4037 cat >>confdefs.h
<<_ACEOF
4038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4049 for ac_func
in getrusage
time sigaction __setfpucw
4051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4052 echo "$as_me:$LINENO: checking for $ac_func" >&5
4053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4054 if eval "test \"\${$as_ac_var+set}\" = set"; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 cat >conftest.
$ac_ext <<_ACEOF
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4065 #define $ac_func innocuous_$ac_func
4067 /* System header to define __stub macros and hopefully few prototypes,
4068 which can conflict with char $ac_func (); below.
4069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4070 <limits.h> exists even on freestanding compilers. */
4073 # include <limits.h>
4075 # include <assert.h>
4080 /* Override any gcc2 internal prototype to avoid an error. */
4085 /* We use char because int might match the return type of a gcc2
4086 builtin and then its argument prototype would still apply. */
4088 /* The GNU C library defines this for functions which it implements
4089 to always fail with ENOSYS. Some functions are actually named
4090 something starting with __ and the normal name is an alias. */
4091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4094 char (*f) () = $ac_func;
4103 return f != $ac_func;
4108 rm -f conftest.
$ac_objext conftest
$ac_exeext
4109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4110 (eval $ac_link) 2>conftest.er1
4112 grep -v '^ *+' conftest.er1
>conftest.err
4114 cat conftest.err
>&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } &&
4117 { ac_try
='test -z "$ac_c_werror_flag"
4118 || test ! -s conftest.err'
4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); }; } &&
4124 { ac_try
='test -s conftest$ac_exeext'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; }; then
4130 eval "$as_ac_var=yes"
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.
$ac_ext >&5
4135 eval "$as_ac_var=no"
4137 rm -f conftest.err conftest.
$ac_objext \
4138 conftest
$ac_exeext conftest.
$ac_ext
4140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4142 if test `eval echo '${'$as_ac_var'}'` = yes; then
4143 cat >>confdefs.h
<<_ACEOF
4144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4151 # Check for socket libraries
4153 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4154 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4155 if test "${ac_cv_lib_socket_bind+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 ac_check_lib_save_LIBS
=$LIBS
4159 LIBS
="-lsocket $LIBS"
4160 cat >conftest.
$ac_ext <<_ACEOF
4163 cat confdefs.h
>>conftest.
$ac_ext
4164 cat >>conftest.
$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4167 /* Override any gcc2 internal prototype to avoid an error. */
4171 /* We use char because int might match the return type of a gcc2
4172 builtin and then its argument prototype would still apply. */
4182 rm -f conftest.
$ac_objext conftest
$ac_exeext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4184 (eval $ac_link) 2>conftest.er1
4186 grep -v '^ *+' conftest.er1
>conftest.err
4188 cat conftest.err
>&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); } &&
4191 { ac_try
='test -z "$ac_c_werror_flag"
4192 || test ! -s conftest.err'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; } &&
4198 { ac_try
='test -s conftest$ac_exeext'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; }; then
4204 ac_cv_lib_socket_bind
=yes
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.
$ac_ext >&5
4209 ac_cv_lib_socket_bind
=no
4211 rm -f conftest.err conftest.
$ac_objext \
4212 conftest
$ac_exeext conftest.
$ac_ext
4213 LIBS
=$ac_check_lib_save_LIBS
4215 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4216 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4217 if test $ac_cv_lib_socket_bind = yes; then
4218 cat >>confdefs.h
<<_ACEOF
4219 #define HAVE_LIBSOCKET 1
4222 LIBS
="-lsocket $LIBS"
4227 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4228 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4229 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 ac_check_lib_save_LIBS
=$LIBS
4234 cat >conftest.
$ac_ext <<_ACEOF
4237 cat confdefs.h
>>conftest.
$ac_ext
4238 cat >>conftest.
$ac_ext <<_ACEOF
4239 /* end confdefs.h. */
4241 /* Override any gcc2 internal prototype to avoid an error. */
4245 /* We use char because int might match the return type of a gcc2
4246 builtin and then its argument prototype would still apply. */
4247 char gethostbyname ();
4256 rm -f conftest.
$ac_objext conftest
$ac_exeext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1
>conftest.err
4262 cat conftest.err
>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -z "$ac_c_werror_flag"
4266 || test ! -s conftest.err'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; } &&
4272 { ac_try
='test -s conftest$ac_exeext'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4278 ac_cv_lib_nsl_gethostbyname
=yes
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.
$ac_ext >&5
4283 ac_cv_lib_nsl_gethostbyname
=no
4285 rm -f conftest.err conftest.
$ac_objext \
4286 conftest
$ac_exeext conftest.
$ac_ext
4287 LIBS
=$ac_check_lib_save_LIBS
4289 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4290 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4291 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4292 cat >>confdefs.h
<<_ACEOF
4293 #define HAVE_LIBNSL 1
4301 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4302 # using the same condition.
4303 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4304 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4305 if test "${ac_cv_search_zlibVersion+set}" = set; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 ac_func_search_save_LIBS
=$LIBS
4309 ac_cv_search_zlibVersion
=no
4310 cat >conftest.
$ac_ext <<_ACEOF
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4317 /* Override any gcc2 internal prototype to avoid an error. */
4321 /* We use char because int might match the return type of a gcc2
4322 builtin and then its argument prototype would still apply. */
4323 char zlibVersion ();
4332 rm -f conftest.
$ac_objext conftest
$ac_exeext
4333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4334 (eval $ac_link) 2>conftest.er1
4336 grep -v '^ *+' conftest.er1
>conftest.err
4338 cat conftest.err
>&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); } &&
4341 { ac_try
='test -z "$ac_c_werror_flag"
4342 || test ! -s conftest.err'
4343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); }; } &&
4348 { ac_try
='test -s conftest$ac_exeext'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; }; then
4354 ac_cv_search_zlibVersion
="none required"
4356 echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.
$ac_ext >&5
4360 rm -f conftest.err conftest.
$ac_objext \
4361 conftest
$ac_exeext conftest.
$ac_ext
4362 if test "$ac_cv_search_zlibVersion" = no
; then
4364 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4365 cat >conftest.
$ac_ext <<_ACEOF
4368 cat confdefs.h
>>conftest.
$ac_ext
4369 cat >>conftest.
$ac_ext <<_ACEOF
4370 /* end confdefs.h. */
4372 /* Override any gcc2 internal prototype to avoid an error. */
4376 /* We use char because int might match the return type of a gcc2
4377 builtin and then its argument prototype would still apply. */
4378 char zlibVersion ();
4387 rm -f conftest.
$ac_objext conftest
$ac_exeext
4388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4389 (eval $ac_link) 2>conftest.er1
4391 grep -v '^ *+' conftest.er1
>conftest.err
4393 cat conftest.err
>&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } &&
4396 { ac_try
='test -z "$ac_c_werror_flag"
4397 || test ! -s conftest.err'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; } &&
4403 { ac_try
='test -s conftest$ac_exeext'
4404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); }; }; then
4409 ac_cv_search_zlibVersion
="-l$ac_lib"
4412 echo "$as_me: failed program was:" >&5
4413 sed 's/^/| /' conftest.
$ac_ext >&5
4416 rm -f conftest.err conftest.
$ac_objext \
4417 conftest
$ac_exeext conftest.
$ac_ext
4420 LIBS
=$ac_func_search_save_LIBS
4422 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4423 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4424 if test "$ac_cv_search_zlibVersion" != no
; then
4425 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4427 for ac_header
in zlib.h
4429 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4431 echo "$as_me:$LINENO: checking for $ac_header" >&5
4432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4439 # Is the header compilable?
4440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4442 cat >conftest.
$ac_ext <<_ACEOF
4445 cat confdefs.h
>>conftest.
$ac_ext
4446 cat >>conftest.
$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 $ac_includes_default
4449 #include <$ac_header>
4451 rm -f conftest.
$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1
>conftest.err
4457 cat conftest.err
>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try
='test -z "$ac_c_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try
='test -s conftest.$ac_objext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 ac_header_compiler
=yes
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.
$ac_ext >&5
4478 ac_header_compiler
=no
4480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4482 echo "${ECHO_T}$ac_header_compiler" >&6
4484 # Is the header present?
4485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4487 cat >conftest.
$ac_ext <<_ACEOF
4490 cat confdefs.h
>>conftest.
$ac_ext
4491 cat >>conftest.
$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 #include <$ac_header>
4495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1
>conftest.err
4500 cat conftest.err
>&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } >/dev
/null
; then
4503 if test -s conftest.err
; then
4504 ac_cpp_err
=$ac_c_preproc_warn_flag
4505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4512 if test -z "$ac_cpp_err"; then
4513 ac_header_preproc
=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.
$ac_ext >&5
4518 ac_header_preproc
=no
4520 rm -f conftest.err conftest.
$ac_ext
4521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4522 echo "${ECHO_T}$ac_header_preproc" >&6
4524 # So? What about this header?
4525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4531 ac_header_preproc
=yes
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4548 ## ------------------------------------------ ##
4549 ## Report this to the AC_PACKAGE_NAME lists. ##
4550 ## ------------------------------------------ ##
4553 sed "s/^/$as_me: WARNING: /" >&2
4556 echo "$as_me:$LINENO: checking for $ac_header" >&5
4557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 eval "$as_ac_Header=\$ac_header_preproc"
4563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4568 cat >>confdefs.h
<<_ACEOF
4569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4579 .
${srcdir}/..
/..
/bfd
/configure.
host
4583 USE_MAINTAINER_MODE
=no
4584 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4585 if test "${enable_maintainer_mode+set}" = set; then
4586 enableval
="$enable_maintainer_mode"
4587 case "${enableval}" in
4588 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4590 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4591 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4592 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4594 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4595 echo "Setting maintainer mode" 6>&1
4602 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4603 if test "${enable_sim_bswap+set}" = set; then
4604 enableval
="$enable_sim_bswap"
4605 case "${enableval}" in
4606 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4607 no
) sim_bswap
="-DWITH_BSWAP=0";;
4608 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4609 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4610 { (exit 1); exit 1; }; }; sim_bswap
="";;
4612 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4613 echo "Setting bswap flags = $sim_bswap" 6>&1
4620 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4621 if test "${enable_sim_cflags+set}" = set; then
4622 enableval
="$enable_sim_cflags"
4623 case "${enableval}" in
4624 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4625 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4626 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4627 { (exit 1); exit 1; }; }; sim_cflags
="";;
4629 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4631 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4632 echo "Setting sim cflags = $sim_cflags" 6>&1
4639 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4640 if test "${enable_sim_debug+set}" = set; then
4641 enableval
="$enable_sim_debug"
4642 case "${enableval}" in
4643 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4644 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4645 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4647 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4648 echo "Setting sim debug = $sim_debug" 6>&1
4655 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4656 if test "${enable_sim_stdio+set}" = set; then
4657 enableval
="$enable_sim_stdio"
4658 case "${enableval}" in
4659 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4660 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4661 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4662 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4663 { (exit 1); exit 1; }; }; sim_stdio
="";;
4665 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4666 echo "Setting stdio flags = $sim_stdio" 6>&1
4673 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4674 if test "${enable_sim_trace+set}" = set; then
4675 enableval
="$enable_sim_trace"
4676 case "${enableval}" in
4677 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4678 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4680 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4683 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4684 if test x
"$sim_trace" = x
; then
4685 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4687 sim_trace
="${sim_trace}|TRACE_$x"
4690 sim_trace
="$sim_trace)'" ;;
4692 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4693 echo "Setting sim trace = $sim_trace" 6>&1
4700 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4701 if test "${enable_sim_profile+set}" = set; then
4702 enableval
="$enable_sim_profile"
4703 case "${enableval}" in
4704 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4705 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4707 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4710 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4711 if test x
"$sim_profile" = x
; then
4712 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4714 sim_profile
="${sim_profile}|PROFILE_$x"
4717 sim_profile
="$sim_profile)'" ;;
4719 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4720 echo "Setting sim profile = $sim_profile" 6>&1
4723 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4728 # Check whether --with-pkgversion or --without-pkgversion was given.
4729 if test "${with_pkgversion+set}" = set; then
4730 withval
="$with_pkgversion"
4732 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4733 echo "$as_me: error: package version not specified" >&2;}
4734 { (exit 1); exit 1; }; } ;;
4736 *) PKGVERSION
="($withval) " ;;
4746 # Check whether --with-bugurl or --without-bugurl was given.
4747 if test "${with_bugurl+set}" = set; then
4748 withval
="$with_bugurl"
4750 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4751 echo "$as_me: error: bug URL not specified" >&2;}
4752 { (exit 1); exit 1; }; } ;;
4755 *) BUGURL
="$withval"
4759 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4768 REPORT_BUGS_TO
="<$BUGURL>"
4769 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4776 cat >>confdefs.h
<<_ACEOF
4777 #define PKGVERSION "$PKGVERSION"
4781 cat >>confdefs.h
<<_ACEOF
4782 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4786 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4787 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4788 if test "${ac_cv_type_signal+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.
$ac_ext <<_ACEOF
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 #include <sys/types.h>
4803 extern "C" void (*signal (int, void (*)(int)))(int);
4805 void (*signal ()) ();
4816 rm -f conftest.
$ac_objext
4817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4818 (eval $ac_compile) 2>conftest.er1
4820 grep -v '^ *+' conftest.er1
>conftest.err
4822 cat conftest.err
>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } &&
4825 { ac_try
='test -z "$ac_c_werror_flag"
4826 || test ! -s conftest.err'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; } &&
4832 { ac_try
='test -s conftest.$ac_objext'
4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; }; then
4838 ac_cv_type_signal
=void
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4843 ac_cv_type_signal
=int
4845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4847 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4848 echo "${ECHO_T}$ac_cv_type_signal" >&6
4850 cat >>confdefs.h
<<_ACEOF
4851 #define RETSIGTYPE $ac_cv_type_signal
4861 sim_link_links
=tconfig.h
4862 if test -f ${srcdir}/tconfig.
in
4864 sim_link_files
=tconfig.
in
4866 sim_link_files
=..
/common
/tconfig.
in
4869 # targ-vals.def points to the libc macro description file.
4871 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4873 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4874 sim_link_links
="${sim_link_links} targ-vals.def"
4877 # For dv-rv and rvdummy.
4882 for ac_header
in sys
/socket.h sys
/select.h limits.h sys
/param.h
4884 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4886 echo "$as_me:$LINENO: checking for $ac_header" >&5
4887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4894 # Is the header compilable?
4895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4897 cat >conftest.
$ac_ext <<_ACEOF
4900 cat confdefs.h
>>conftest.
$ac_ext
4901 cat >>conftest.
$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4903 $ac_includes_default
4904 #include <$ac_header>
4906 rm -f conftest.
$ac_objext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4908 (eval $ac_compile) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } &&
4915 { ac_try
='test -z "$ac_c_werror_flag"
4916 || test ! -s conftest.err'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; } &&
4922 { ac_try
='test -s conftest.$ac_objext'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; }; then
4928 ac_header_compiler
=yes
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.
$ac_ext >&5
4933 ac_header_compiler
=no
4935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4937 echo "${ECHO_T}$ac_header_compiler" >&6
4939 # Is the header present?
4940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4942 cat >conftest.
$ac_ext <<_ACEOF
4945 cat confdefs.h
>>conftest.
$ac_ext
4946 cat >>conftest.
$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 #include <$ac_header>
4950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4953 grep -v '^ *+' conftest.er1
>conftest.err
4955 cat conftest.err
>&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } >/dev
/null
; then
4958 if test -s conftest.err
; then
4959 ac_cpp_err
=$ac_c_preproc_warn_flag
4960 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4967 if test -z "$ac_cpp_err"; then
4968 ac_header_preproc
=yes
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.
$ac_ext >&5
4973 ac_header_preproc
=no
4975 rm -f conftest.err conftest.
$ac_ext
4976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4977 echo "${ECHO_T}$ac_header_preproc" >&6
4979 # So? What about this header?
4980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4986 ac_header_preproc
=yes
4989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5003 ## ------------------------------------------ ##
5004 ## Report this to the AC_PACKAGE_NAME lists. ##
5005 ## ------------------------------------------ ##
5008 sed "s/^/$as_me: WARNING: /" >&2
5011 echo "$as_me:$LINENO: checking for $ac_header" >&5
5012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 eval "$as_ac_Header=\$ac_header_preproc"
5018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5023 cat >>confdefs.h
<<_ACEOF
5024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5032 wire_alignment
="NONSTRICT_ALIGNMENT"
5033 default_alignment
=""
5035 # Check whether --enable-sim-alignment or --disable-sim-alignment was given.
5036 if test "${enable_sim_alignment+set}" = set; then
5037 enableval
="$enable_sim_alignment"
5038 case "${enableval}" in
5039 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
5040 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
5041 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
5042 yes) if test x
"$wire_alignment" != x
; then
5043 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
5045 if test x
"$default_alignment" != x
; then
5046 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
5048 echo "No hard-wired alignment for target $target" 1>&6
5049 sim_alignment
="-DWITH_ALIGNMENT=0"
5052 no
) if test x
"$default_alignment" != x
; then
5053 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
5055 if test x
"$wire_alignment" != x
; then
5056 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
5058 echo "No default alignment for target $target" 1>&6
5059 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
5062 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&5
5063 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-alignment\"" >&2;}
5064 { (exit 1); exit 1; }; }; sim_alignment
="";;
5066 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
5067 echo "Setting alignment flags = $sim_alignment" 6>&1
5070 if test x
"$default_alignment" != x
; then
5071 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
5073 if test x
"$wire_alignment" != x
; then
5074 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
5081 # Check whether --enable-sim-hostendian or --disable-sim-hostendian was given.
5082 if test "${enable_sim_hostendian+set}" = set; then
5083 enableval
="$enable_sim_hostendian"
5084 case "${enableval}" in
5085 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
5086 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
5087 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
5088 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&5
5089 echo "$as_me: error: \"Unknown value $enableval for --enable-sim-hostendian\"" >&2;}
5090 { (exit 1); exit 1; }; }; sim_hostendian
="";;
5092 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
5093 echo "Setting hostendian flags = $sim_hostendian" 6>&1
5097 if test "x$cross_compiling" = "xno"; then
5098 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5099 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5100 if test "${ac_cv_c_bigendian+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 # See if sys/param.h defines the BYTE_ORDER macro.
5104 cat >conftest.
$ac_ext <<_ACEOF
5107 cat confdefs.h
>>conftest.
$ac_ext
5108 cat >>conftest.
$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5110 #include <sys/types.h>
5111 #include <sys/param.h>
5116 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5124 rm -f conftest.
$ac_objext
5125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5126 (eval $ac_compile) 2>conftest.er1
5128 grep -v '^ *+' conftest.er1
>conftest.err
5130 cat conftest.err
>&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } &&
5133 { ac_try
='test -z "$ac_c_werror_flag"
5134 || test ! -s conftest.err'
5135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); }; } &&
5140 { ac_try
='test -s conftest.$ac_objext'
5141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; }; then
5146 # It does; now see whether it defined to BIG_ENDIAN or not.
5147 cat >conftest.
$ac_ext <<_ACEOF
5150 cat confdefs.h
>>conftest.
$ac_ext
5151 cat >>conftest.
$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5153 #include <sys/types.h>
5154 #include <sys/param.h>
5159 #if BYTE_ORDER != BIG_ENDIAN
5167 rm -f conftest.
$ac_objext
5168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5169 (eval $ac_compile) 2>conftest.er1
5171 grep -v '^ *+' conftest.er1
>conftest.err
5173 cat conftest.err
>&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } &&
5176 { ac_try
='test -z "$ac_c_werror_flag"
5177 || test ! -s conftest.err'
5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }; } &&
5183 { ac_try
='test -s conftest.$ac_objext'
5184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); }; }; then
5189 ac_cv_c_bigendian
=yes
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 ac_cv_c_bigendian
=no
5196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5201 # It does not; compile a test program.
5202 if test "$cross_compiling" = yes; then
5203 # try to guess the endianness by grepping values into an object file
5204 ac_cv_c_bigendian
=unknown
5205 cat >conftest.
$ac_ext <<_ACEOF
5208 cat confdefs.h
>>conftest.
$ac_ext
5209 cat >>conftest.
$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5211 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5212 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5213 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5214 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5215 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5216 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5220 _ascii (); _ebcdic ();
5225 rm -f conftest.
$ac_objext
5226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5227 (eval $ac_compile) 2>conftest.er1
5229 grep -v '^ *+' conftest.er1
>conftest.err
5231 cat conftest.err
>&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } &&
5234 { ac_try
='test -z "$ac_c_werror_flag"
5235 || test ! -s conftest.err'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; } &&
5241 { ac_try
='test -s conftest.$ac_objext'
5242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }; }; then
5247 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5248 ac_cv_c_bigendian
=yes
5250 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5251 if test "$ac_cv_c_bigendian" = unknown
; then
5252 ac_cv_c_bigendian
=no
5254 # finding both strings is unlikely to happen, but who knows?
5255 ac_cv_c_bigendian
=unknown
5259 echo "$as_me: failed program was:" >&5
5260 sed 's/^/| /' conftest.
$ac_ext >&5
5263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5265 cat >conftest.
$ac_ext <<_ACEOF
5268 cat confdefs.h
>>conftest.
$ac_ext
5269 cat >>conftest.
$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5274 /* Are we little or big endian? From Harbison&Steele. */
5278 char c[sizeof (long)];
5281 exit (u.c[sizeof (long) - 1] == 1);
5284 rm -f conftest
$ac_exeext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5286 (eval $ac_link) 2>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5295 ac_cv_c_bigendian
=no
5297 echo "$as_me: program exited with status $ac_status" >&5
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.
$ac_ext >&5
5302 ac_cv_c_bigendian
=yes
5304 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5309 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5310 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5311 case $ac_cv_c_bigendian in
5314 cat >>confdefs.h
<<\_ACEOF
5315 #define WORDS_BIGENDIAN 1
5321 { { echo "$as_me:$LINENO: error: unknown endianness
5322 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5323 echo "$as_me: error: unknown endianness
5324 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5325 { (exit 1); exit 1; }; } ;;
5328 if test $ac_cv_c_bigendian = yes; then
5329 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5331 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5334 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
5338 default_sim_scache
="16384"
5339 # Check whether --enable-sim-scache or --disable-sim-scache was given.
5340 if test "${enable_sim_scache+set}" = set; then
5341 enableval
="$enable_sim_scache"
5342 case "${enableval}" in
5343 yes) sim_scache
="-DWITH_SCACHE=${default_sim_scache}";;
5344 no
) sim_scache
="-DWITH_SCACHE=0" ;;
5345 [0-9]*) sim_scache
="-DWITH_SCACHE=${enableval}";;
5346 *) { { echo "$as_me:$LINENO: error: \"Bad value $enableval passed to --enable-sim-scache\"" >&5
5347 echo "$as_me: error: \"Bad value $enableval passed to --enable-sim-scache\"" >&2;}
5348 { (exit 1); exit 1; }; };
5351 if test x
"$silent" != x
"yes" && test x
"$sim_scache" != x
""; then
5352 echo "Setting scache size = $sim_scache" 6>&1
5355 sim_scache
="-DWITH_SCACHE=${default_sim_scache}"
5359 # NOTE: Don't add -Wall or -Wunused, they both include
5360 # -Wunused-parameter which reports bogus warnings.
5361 # NOTE: If you add to this list, remember to update
5362 # gdb/doc/gdbint.texinfo.
5363 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
5364 -Wformat -Wparentheses -Wpointer-arith"
5365 # GCC supports -Wuninitialized only with -O or -On, n != 0.
5366 if test x
${CFLAGS+set} = xset
; then
5370 build_warnings
="${build_warnings} -Wuninitialized"
5374 build_warnings
="${build_warnings} -Wuninitialized"
5376 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
5377 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
5378 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
5379 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
5380 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
5381 # -Woverloaded-virtual -Winline -Werror"
5382 # Check whether --enable-build-warnings or --disable-build-warnings was given.
5383 if test "${enable_build_warnings+set}" = set; then
5384 enableval
="$enable_build_warnings"
5385 case "${enableval}" in
5387 no
) build_warnings
="-w";;
5388 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5389 build_warnings
="${build_warnings} ${t}";;
5390 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5391 build_warnings
="${t} ${build_warnings}";;
5392 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5394 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5395 echo "Setting compiler warning flags = $build_warnings" 6>&1
5397 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
5398 if test "${enable_sim_build_warnings+set}" = set; then
5399 enableval
="$enable_sim_build_warnings"
5400 case "${enableval}" in
5402 no
) build_warnings
="-w";;
5403 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5404 build_warnings
="${build_warnings} ${t}";;
5405 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5406 build_warnings
="${t} ${build_warnings}";;
5407 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5409 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5410 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5414 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
5416 echo "$as_me:$LINENO: checking compiler warning flags" >&5
5417 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
5418 # Separate out the -Werror flag as some files just cannot be
5419 # compiled with it enabled.
5420 for w
in ${build_warnings}; do
5422 -Werr*) WERROR_CFLAGS
=-Werror ;;
5423 *) # Check that GCC accepts it
5424 saved_CFLAGS
="$CFLAGS"
5426 cat >conftest.
$ac_ext <<_ACEOF
5429 cat confdefs.h
>>conftest.
$ac_ext
5430 cat >>conftest.
$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5441 rm -f conftest.
$ac_objext
5442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5443 (eval $ac_compile) 2>conftest.er1
5445 grep -v '^ *+' conftest.er1
>conftest.err
5447 cat conftest.err
>&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } &&
5450 { ac_try
='test -z "$ac_c_werror_flag"
5451 || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try
='test -s conftest.$ac_objext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 WARN_CFLAGS
="${WARN_CFLAGS} $w"
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.
$ac_ext >&5
5469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5470 CFLAGS
="$saved_CFLAGS"
5473 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
5474 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
5478 if test x
"no" = x
"yes"; then
5484 hardware
="core pal glue"
5486 hardware
="core pal glue rv cris"
5488 sim_hw_cflags
="-DWITH_HW=1"
5490 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
5491 # Check whether --enable-sim-hardware or --disable-sim-hardware was given.
5492 if test "${enable_sim_hardware+set}" = set; then
5493 enableval
="$enable_sim_hardware"
5495 case "${enableval}" in
5498 ,*) sim_hw_p
=yes; hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
5499 *,) sim_hw_p
=yes; hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
5500 *) sim_hw_p
=yes; hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
5502 if test "$sim_hw_p" != yes; then
5504 sim_hw_cflags
="-DWITH_HW=0"
5507 sim_hw_cflags
="-DWITH_HW=1"
5510 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
5511 for i
in $hardware ; do
5514 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
5518 if test x
"$silent" != x
"yes" && test "$sim_hw_p" = "yes"; then
5519 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
5523 if test "$sim_hw_p" != yes; then
5525 sim_hw_cflags
="-DWITH_HW=0"
5528 if test x
"$silent" != x
"yes"; then
5529 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
5533 # The default model shouldn't matter as long as there's a BFD.
5535 default_sim_default_model
="crisv32"
5536 # Check whether --enable-sim-default-model or --disable-sim-default-model was given.
5537 if test "${enable_sim_default_model+set}" = set; then
5538 enableval
="$enable_sim_default_model"
5539 case "${enableval}" in
5540 yes|no
) { { echo "$as_me:$LINENO: error: \"Missing argument to --enable-sim-default-model\"" >&5
5541 echo "$as_me: error: \"Missing argument to --enable-sim-default-model\"" >&2;}
5542 { (exit 1); exit 1; }; };;
5543 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
5545 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
5546 echo "Setting default model = $sim_default_model" 6>&1
5549 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
5553 # Check whether --enable-sim-environment or --disable-sim-environment was given.
5554 if test "${enable_sim_environment+set}" = set; then
5555 enableval
="$enable_sim_environment"
5556 case "${enableval}" in
5557 all | ALL
) sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT";;
5558 user | USER
) sim_environment
="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
5559 virtual | VIRTUAL
) sim_environment
="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
5560 operating | OPERATING
) sim_environment
="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
5561 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-environment\"" >&5
5562 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-environment\"" >&2;}
5563 { (exit 1); exit 1; }; };
5564 sim_environment
="";;
5566 if test x
"$silent" != x
"yes" && test x
"$sim_environment" != x
""; then
5567 echo "Setting sim environment = $sim_environment" 6>&1
5570 sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT"
5573 default_sim_inline
=""
5574 # Check whether --enable-sim-inline or --disable-sim-inline was given.
5575 if test "${enable_sim_inline+set}" = set; then
5576 enableval
="$enable_sim_inline"
5578 case "$enableval" in
5579 no
) sim_inline
="-DDEFAULT_INLINE=0";;
5580 0) sim_inline
="-DDEFAULT_INLINE=0";;
5581 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
5582 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
5583 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5586 *_INLINE
=*) new_flag
="-D$x";;
5587 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
5588 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
5589 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
5591 if test x
"$sim_inline" = x
""; then
5592 sim_inline
="$new_flag"
5594 sim_inline
="$sim_inline $new_flag"
5598 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
5599 echo "Setting inline flags = $sim_inline" 6>&1
5603 if test "x$cross_compiling" = "xno"; then
5604 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
5605 sim_inline
="${default_sim_inline}"
5606 if test x
"$silent" != x
"yes"; then
5607 echo "Setting inline flags = $sim_inline" 6>&1
5613 sim_inline
="-DDEFAULT_INLINE=0"
5619 cgendir
='$(srcdir)/../../cgen'
5620 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
5621 if test "${enable_cgen_maint+set}" = set; then
5622 enableval
="$enable_cgen_maint"
5623 case "${enableval}" in
5624 yes) cgen_maint
=yes ;;
5625 no
) cgen_maint
=no
;;
5627 # argument is cgen install directory (not implemented yet).
5628 # Having a `share' directory might be more appropriate for the .scm,
5630 cgendir
=${cgen_maint}/lib
/cgen
5634 fi; if test x
${cgen_maint} != xno
; then
5645 ac_sources
="$sim_link_files"
5646 ac_dests
="$sim_link_links"
5647 while test -n "$ac_sources"; do
5648 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
5649 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
5650 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
5652 ac_config_links
="$ac_config_links $ac_config_links_1"
5655 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
5656 cgen_breaks
="break cgen_rtx_error";
5659 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
5661 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
5663 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
5665 ac_config_commands
="$ac_config_commands Makefile"
5667 ac_config_commands
="$ac_config_commands stamp-h"
5669 cat >confcache
<<\_ACEOF
5670 # This file is a shell script that caches the results of configure
5671 # tests run on this system so they can be shared between configure
5672 # scripts and configure runs, see configure's option --config-cache.
5673 # It is not useful on other systems. If it contains results you don't
5674 # want to keep, you may remove or edit it.
5676 # config.status only pays attention to the cache file if you give it
5677 # the --recheck option to rerun configure.
5679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5685 # The following way of writing the cache mishandles newlines in values,
5686 # but we know of no workaround that is simple, portable, and efficient.
5687 # So, don't put newlines in cache variables' values.
5688 # Ultrix sh set writes to stderr and can't be redirected directly,
5689 # and sets the high bit in the cache file unless we assign to the vars.
5692 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5694 # `set' does not quote correctly, so add quotes (double-quote
5695 # substitution turns \\\\ into \\, and sed turns \\ into \).
5698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5701 # `set' quotes correctly as required by POSIX, so do not add quotes.
5703 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5712 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5714 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5715 if test -w $cache_file; then
5716 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5717 cat confcache
>$cache_file
5719 echo "not updating unwritable cache $cache_file"
5724 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5725 # Let make expand exec_prefix.
5726 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5728 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5729 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5730 # trailing colons and then remove the whole line if VPATH becomes empty
5731 # (actually we leave an empty line to preserve line numbers).
5732 if test "x$srcdir" = x.
; then
5733 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5734 s/:*\$(srcdir):*/:/;
5735 s/:*\${srcdir}:*/:/;
5737 s/^\([^=]*=[ ]*\):*/\1/;
5743 DEFS
=-DHAVE_CONFIG_H
5747 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5748 # 1. Remove the extension, and $U if already installed.
5749 ac_i
=`echo "$ac_i" |
5750 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5752 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5753 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5757 LTLIBOBJS
=$ac_ltlibobjs
5761 : ${CONFIG_STATUS=./config.status}
5762 ac_clean_files_save
=$ac_clean_files
5763 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5764 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5765 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5766 cat >$CONFIG_STATUS <<_ACEOF
5768 # Generated by $as_me.
5769 # Run this file to recreate the current configuration.
5770 # Compiler output produced by configure, useful for debugging
5771 # configure, is in config.log if it exists.
5776 SHELL=\${CONFIG_SHELL-$SHELL}
5779 cat >>$CONFIG_STATUS <<\_ACEOF
5780 ## --------------------- ##
5781 ## M4sh Initialization. ##
5782 ## --------------------- ##
5784 # Be Bourne compatible
5785 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5788 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5789 # is contrary to our usage. Disable this feature.
5790 alias -g '${1+"$@"}'='"$@"'
5791 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5794 DUALCASE
=1; export DUALCASE
# for MKS sh
5796 # Support unset when possible.
5797 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5804 # Work around bugs in pre-3.0 UWIN ksh.
5805 $as_unset ENV MAIL MAILPATH
5812 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5813 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5814 LC_TELEPHONE LC_TIME
5816 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5817 eval $as_var=C
; export $as_var
5823 # Required to use basename.
5824 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5830 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5831 as_basename
=basename
5837 # Name of the executable.
5838 as_me
=`$as_basename "$0" ||
5839 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5840 X"$0" : 'X\(//\)$' \| \
5841 X"$0" : 'X\(/\)$' \| \
5842 . : '\(.\)' 2>/dev/null ||
5844 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5845 /^X\/\(\/\/\)$/{ s//\1/; q; }
5846 /^X\/\(\/\).*/{ s//\1/; q; }
5850 # PATH needs CR, and LINENO needs CR and PATH.
5851 # Avoid depending upon Character Ranges.
5852 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5853 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5854 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5855 as_cr_digits
='0123456789'
5856 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5858 # The user is always right.
5859 if test "${PATH_SEPARATOR+set}" != set; then
5860 echo "#! /bin/sh" >conf$$.sh
5861 echo "exit 0" >>conf$$.sh
5863 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5874 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5875 test "x$as_lineno_1" != "x$as_lineno_2" &&
5876 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5877 # Find who we are. Look in the path if we contain no path at all
5880 *[\\/]* ) as_myself
=$0 ;;
5881 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir
=.
5886 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5891 # We did not find ourselves, most probably we were run as `sh COMMAND'
5892 # in which case we are not to be found in the path.
5893 if test "x$as_myself" = x
; then
5896 if test ! -f "$as_myself"; then
5897 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5898 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5899 { (exit 1); exit 1; }; }
5901 case $CONFIG_SHELL in
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5904 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5907 test -z "$as_dir" && as_dir
=.
5908 for as_base
in sh bash ksh sh5
; do
5911 if ("$as_dir/$as_base" -c '
5914 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5915 test "x$as_lineno_1" != "x$as_lineno_2" &&
5916 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5917 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5918 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5919 CONFIG_SHELL
=$as_dir/$as_base
5921 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5929 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5930 # uniformly replaced by the line number. The first 'sed' inserts a
5931 # line-number line before each line; the second 'sed' does the real
5932 # work. The second script uses 'N' to pair each line-number line
5933 # with the numbered line, and appends trailing '-' during
5934 # substitution so that $LINENO is not a special case at line end.
5935 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5936 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5937 sed '=' <$as_myself |
5942 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5945 s,^['$as_cr_digits']*\n,,
5947 chmod +x
$as_me.lineno ||
5948 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5949 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5950 { (exit 1); exit 1; }; }
5952 # Don't try to exec as it changes $[0], causing all sort of problems
5953 # (the dirname of $[0] is not the place where we might find the
5954 # original and so on. Autoconf is especially sensible to this).
5956 # Exit status is that of the last command.
5961 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5962 *c
*,-n*) ECHO_N
= ECHO_C
='
5964 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5965 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5968 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5974 rm -f conf$$ conf$$.exe conf$$.
file
5976 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5977 # We could just check for DJGPP; but this test a) works b) is more generic
5978 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5979 if test -f conf$$.exe
; then
5980 # Don't use ln at all; we don't have any links
5985 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5990 rm -f conf$$ conf$$.exe conf$$.
file
5992 if mkdir
-p .
2>/dev
/null
; then
5995 test -d .
/-p && rmdir .
/-p
5999 as_executable_p
="test -f"
6001 # Sed expression to map a string onto a valid CPP name.
6002 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6004 # Sed expression to map a string onto a valid variable name.
6005 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6009 # We need space, tab and new line, in precisely that order.
6019 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6020 # report actual input values of CONFIG_FILES etc. instead of their
6021 # values after options handling. Logging --version etc. is OK.
6025 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6026 ## Running $as_me. ##
6031 This file was extended by $as_me, which was
6032 generated by GNU Autoconf 2.59. Invocation command line was
6034 CONFIG_FILES = $CONFIG_FILES
6035 CONFIG_HEADERS = $CONFIG_HEADERS
6036 CONFIG_LINKS = $CONFIG_LINKS
6037 CONFIG_COMMANDS = $CONFIG_COMMANDS
6041 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6045 # Files that config.status was made for.
6046 if test -n "$ac_config_files"; then
6047 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6050 if test -n "$ac_config_headers"; then
6051 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6054 if test -n "$ac_config_links"; then
6055 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6058 if test -n "$ac_config_commands"; then
6059 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6062 cat >>$CONFIG_STATUS <<\_ACEOF
6065 \`$as_me' instantiates files from templates according to the
6066 current configuration.
6068 Usage: $0 [OPTIONS] [FILE]...
6070 -h, --help print this help, then exit
6071 -V, --version print version number, then exit
6072 -q, --quiet do not print progress messages
6073 -d, --debug don't remove temporary files
6074 --recheck update $as_me by reconfiguring in the same conditions
6075 --file=FILE[:TEMPLATE]
6076 instantiate the configuration file FILE
6077 --header=FILE[:TEMPLATE]
6078 instantiate the configuration header FILE
6080 Configuration files:
6083 Configuration headers:
6086 Configuration links:
6089 Configuration commands:
6092 Report bugs to <bug-autoconf@gnu.org>."
6095 cat >>$CONFIG_STATUS <<_ACEOF
6098 configured by $0, generated by GNU Autoconf 2.59,
6099 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6101 Copyright (C) 2003 Free Software Foundation, Inc.
6102 This config.status script is free software; the Free Software Foundation
6103 gives unlimited permission to copy, distribute and modify it."
6108 cat >>$CONFIG_STATUS <<\_ACEOF
6109 # If no file are specified by the user, then we need to provide default
6110 # value. By we need to know if files were specified by the user.
6116 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6117 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6125 *) # This is not an option, so the user has probably given explicit
6128 ac_need_defaults
=false
;;
6132 # Handling of the options.
6134 cat >>$CONFIG_STATUS <<\_ACEOF
6135 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6137 --version |
--vers* |
-V )
6138 echo "$ac_cs_version"; exit 0 ;;
6140 # Conflict between --help and --header
6141 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6142 Try \`$0 --help' for more information." >&5
6143 echo "$as_me: error: ambiguous option: $1
6144 Try \`$0 --help' for more information." >&2;}
6145 { (exit 1); exit 1; }; };;
6146 --help |
--hel |
-h )
6147 echo "$ac_cs_usage"; exit 0 ;;
6148 --debug |
--d* |
-d )
6150 --file |
--fil |
--fi |
--f )
6152 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6153 ac_need_defaults
=false
;;
6154 --header |
--heade |
--head |
--hea )
6156 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6157 ac_need_defaults
=false
;;
6158 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6159 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6163 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6164 Try \`$0 --help' for more information." >&5
6165 echo "$as_me: error: unrecognized option: $1
6166 Try \`$0 --help' for more information." >&2;}
6167 { (exit 1); exit 1; }; } ;;
6169 *) ac_config_targets
="$ac_config_targets $1" ;;
6175 ac_configure_extra_args
=
6177 if $ac_cs_silent; then
6179 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6183 cat >>$CONFIG_STATUS <<_ACEOF
6184 if \$ac_cs_recheck; then
6185 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6186 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6195 cat >>$CONFIG_STATUS <<\_ACEOF
6196 for ac_config_target
in $ac_config_targets
6198 case "$ac_config_target" in
6199 # Handling of arguments.
6200 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
6201 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
6202 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
6203 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
6204 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
6205 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
6206 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6207 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6208 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6209 { (exit 1); exit 1; }; };;
6213 # If the user did not use the arguments to specify the items to instantiate,
6214 # then the envvar interface is used. Set only those that are not.
6215 # We use the long form for the default assignment because of an extremely
6216 # bizarre bug on SunOS 4.1.3.
6217 if $ac_need_defaults; then
6218 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6219 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6220 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6221 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6224 # Have a temporary directory for convenience. Make it in the build tree
6225 # simply because there is no reason to put it here, and in addition,
6226 # creating and moving files from /tmp can sometimes cause problems.
6227 # Create a temporary directory, and hook for its removal unless debugging.
6230 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6231 trap '{ (exit 1); exit 1; }' 1 2 13 15
6234 # Create a (secure) tmp directory for tmp files.
6237 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6238 test -n "$tmp" && test -d "$tmp"
6241 tmp
=.
/confstat$$
-$RANDOM
6242 (umask 077 && mkdir
$tmp)
6245 echo "$me: cannot create a temporary directory in ." >&2
6246 { (exit 1); exit 1; }
6251 cat >>$CONFIG_STATUS <<_ACEOF
6254 # CONFIG_FILES section.
6257 # No need to generate the scripts if there are no CONFIG_FILES.
6258 # This happens for instance when ./config.status config.h
6259 if test -n "\$CONFIG_FILES"; then
6260 # Protect against being on the right side of a sed subst in config.status.
6261 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6262 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6263 s,@SHELL@,$SHELL,;t t
6264 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6265 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6266 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6267 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6268 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6269 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6270 s,@exec_prefix@,$exec_prefix,;t t
6271 s,@prefix@,$prefix,;t t
6272 s,@program_transform_name@,$program_transform_name,;t t
6273 s,@bindir@,$bindir,;t t
6274 s,@sbindir@,$sbindir,;t t
6275 s,@libexecdir@,$libexecdir,;t t
6276 s,@datadir@,$datadir,;t t
6277 s,@sysconfdir@,$sysconfdir,;t t
6278 s,@sharedstatedir@,$sharedstatedir,;t t
6279 s,@localstatedir@,$localstatedir,;t t
6280 s,@libdir@,$libdir,;t t
6281 s,@includedir@,$includedir,;t t
6282 s,@oldincludedir@,$oldincludedir,;t t
6283 s,@infodir@,$infodir,;t t
6284 s,@mandir@,$mandir,;t t
6285 s,@build_alias@,$build_alias,;t t
6286 s,@host_alias@,$host_alias,;t t
6287 s,@target_alias@,$target_alias,;t t
6289 s,@ECHO_C@,$ECHO_C,;t t
6290 s,@ECHO_N@,$ECHO_N,;t t
6291 s,@ECHO_T@,$ECHO_T,;t t
6293 s,@sim_environment@,$sim_environment,;t t
6294 s,@sim_alignment@,$sim_alignment,;t t
6295 s,@sim_assert@,$sim_assert,;t t
6296 s,@sim_bitsize@,$sim_bitsize,;t t
6297 s,@sim_endian@,$sim_endian,;t t
6298 s,@sim_hostendian@,$sim_hostendian,;t t
6299 s,@sim_float@,$sim_float,;t t
6300 s,@sim_scache@,$sim_scache,;t t
6301 s,@sim_default_model@,$sim_default_model,;t t
6302 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6303 s,@sim_hw_objs@,$sim_hw_objs,;t t
6304 s,@sim_hw@,$sim_hw,;t t
6305 s,@sim_inline@,$sim_inline,;t t
6306 s,@sim_packages@,$sim_packages,;t t
6307 s,@sim_regparm@,$sim_regparm,;t t
6308 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6309 s,@sim_smp@,$sim_smp,;t t
6310 s,@sim_stdcall@,$sim_stdcall,;t t
6311 s,@sim_xor_endian@,$sim_xor_endian,;t t
6312 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6313 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6314 s,@build@,$build,;t t
6315 s,@build_cpu@,$build_cpu,;t t
6316 s,@build_vendor@,$build_vendor,;t t
6317 s,@build_os@,$build_os,;t t
6319 s,@host_cpu@,$host_cpu,;t t
6320 s,@host_vendor@,$host_vendor,;t t
6321 s,@host_os@,$host_os,;t t
6322 s,@target@,$target,;t t
6323 s,@target_cpu@,$target_cpu,;t t
6324 s,@target_vendor@,$target_vendor,;t t
6325 s,@target_os@,$target_os,;t t
6327 s,@CFLAGS@,$CFLAGS,;t t
6328 s,@LDFLAGS@,$LDFLAGS,;t t
6329 s,@CPPFLAGS@,$CPPFLAGS,;t t
6330 s,@ac_ct_CC@,$ac_ct_CC,;t t
6331 s,@EXEEXT@,$EXEEXT,;t t
6332 s,@OBJEXT@,$OBJEXT,;t t
6333 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6334 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6335 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6336 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6337 s,@HDEFINES@,$HDEFINES,;t t
6339 s,@RANLIB@,$RANLIB,;t t
6340 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6341 s,@USE_NLS@,$USE_NLS,;t t
6342 s,@LIBINTL@,$LIBINTL,;t t
6343 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6344 s,@INCINTL@,$INCINTL,;t t
6345 s,@XGETTEXT@,$XGETTEXT,;t t
6346 s,@GMSGFMT@,$GMSGFMT,;t t
6347 s,@POSUB@,$POSUB,;t t
6348 s,@CATALOGS@,$CATALOGS,;t t
6349 s,@DATADIRNAME@,$DATADIRNAME,;t t
6350 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6351 s,@GENCAT@,$GENCAT,;t t
6352 s,@CATOBJEXT@,$CATOBJEXT,;t t
6354 s,@EGREP@,$EGREP,;t t
6355 s,@MAINT@,$MAINT,;t t
6356 s,@sim_bswap@,$sim_bswap,;t t
6357 s,@sim_cflags@,$sim_cflags,;t t
6358 s,@sim_debug@,$sim_debug,;t t
6359 s,@sim_stdio@,$sim_stdio,;t t
6360 s,@sim_trace@,$sim_trace,;t t
6361 s,@sim_profile@,$sim_profile,;t t
6362 s,@PKGVERSION@,$PKGVERSION,;t t
6363 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
6364 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
6365 s,@CGEN_MAINT@,$CGEN_MAINT,;t t
6366 s,@cgendir@,$cgendir,;t t
6368 s,@cgen_breaks@,$cgen_breaks,;t t
6369 s,@LIBOBJS@,$LIBOBJS,;t t
6370 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6375 cat >>$CONFIG_STATUS <<\_ACEOF
6376 # Split the substitutions into bite-sized pieces for seds with
6377 # small command number limits, like on Digital OSF/1 and HP-UX.
6379 ac_sed_frag
=1 # Number of current file.
6380 ac_beg
=1 # First line for current file.
6381 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6384 while $ac_more_lines; do
6385 if test $ac_beg -gt 1; then
6386 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6388 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6390 if test ! -s $tmp/subs.frag
; then
6393 # The purpose of the label and of the branching condition is to
6394 # speed up the sed processing (if there are no `@' at all, there
6395 # is no need to browse any of the substitutions).
6396 # These are the two extra sed commands mentioned above.
6398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6399 if test -z "$ac_sed_cmds"; then
6400 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6402 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6404 ac_sed_frag
=`expr $ac_sed_frag + 1`
6406 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6409 if test -z "$ac_sed_cmds"; then
6412 fi # test -n "$CONFIG_FILES"
6415 cat >>$CONFIG_STATUS <<\_ACEOF
6416 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6417 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6419 - |
*:- |
*:-:* ) # input from stdin
6421 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6422 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6423 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6424 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6425 * ) ac_file_in
=$ac_file.
in ;;
6428 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6429 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6431 X"$ac_file" : 'X\(//\)[^/]' \| \
6432 X"$ac_file" : 'X\(//\)$' \| \
6433 X"$ac_file" : 'X\(/\)' \| \
6434 . : '\(.\)' 2>/dev/null ||
6436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6438 /^X\(\/\/\)$/{ s//\1/; q; }
6439 /^X\(\/\).*/{ s//\1/; q; }
6441 { if $as_mkdir_p; then
6446 while test ! -d "$as_dir"; do
6447 as_dirs
="$as_dir $as_dirs"
6448 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6450 X"$as_dir" : 'X\(//\)[^/]' \| \
6451 X"$as_dir" : 'X\(//\)$' \| \
6452 X"$as_dir" : 'X\(/\)' \| \
6453 . : '\(.\)' 2>/dev/null ||
6455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6457 /^X\(\/\/\)$/{ s//\1/; q; }
6458 /^X\(\/\).*/{ s//\1/; q; }
6461 test ! -n "$as_dirs" || mkdir
$as_dirs
6462 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6463 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6464 { (exit 1); exit 1; }; }; }
6468 if test "$ac_dir" != .
; then
6469 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6470 # A "../" for each directory in $ac_dir_suffix.
6471 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6473 ac_dir_suffix
= ac_top_builddir
=
6477 .
) # No --srcdir option. We are building in place.
6479 if test -z "$ac_top_builddir"; then
6482 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6484 [\\/]* | ?
:[\\/]* ) # Absolute path.
6485 ac_srcdir
=$srcdir$ac_dir_suffix;
6486 ac_top_srcdir
=$srcdir ;;
6488 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6489 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6492 # Do not use `cd foo && pwd` to compute absolute paths, because
6493 # the directories may not exist.
6495 .
) ac_abs_builddir
="$ac_dir";;
6498 .
) ac_abs_builddir
=`pwd`;;
6499 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6500 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6503 case $ac_abs_builddir in
6504 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6506 case ${ac_top_builddir}.
in
6507 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6508 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6509 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6512 case $ac_abs_builddir in
6513 .
) ac_abs_srcdir
=$ac_srcdir;;
6516 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6517 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6518 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6521 case $ac_abs_builddir in
6522 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6524 case $ac_top_srcdir in
6525 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6526 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6527 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6533 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6534 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6537 if test x
"$ac_file" != x-
; then
6538 { echo "$as_me:$LINENO: creating $ac_file" >&5
6539 echo "$as_me: creating $ac_file" >&6;}
6542 # Let's still pretend it is `configure' which instantiates (i.e., don't
6543 # use $as_me), people would be surprised to read:
6544 # /* config.h. Generated by config.status. */
6545 if test x
"$ac_file" = x-
; then
6548 configure_input
="$ac_file. "
6550 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6551 sed 's,.*/,,'` by configure."
6553 # First look for the input files in the build tree, otherwise in the
6555 ac_file_inputs
=`IFS=:
6556 for f in $ac_file_in; do
6558 -) echo $tmp/stdin ;;
6560 # Absolute (can't be DOS-style, as IFS=:)
6561 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6562 echo "$as_me: error: cannot find input file: $f" >&2;}
6563 { (exit 1); exit 1; }; }
6566 if test -f "$f"; then
6569 elif test -f "$srcdir/$f"; then
6574 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6575 echo "$as_me: error: cannot find input file: $f" >&2;}
6576 { (exit 1); exit 1; }; }
6579 done` ||
{ (exit 1); exit 1; }
6581 cat >>$CONFIG_STATUS <<_ACEOF
6585 cat >>$CONFIG_STATUS <<\_ACEOF
6587 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6588 s
,@configure_input@
,$configure_input,;t t
6589 s
,@srcdir@
,$ac_srcdir,;t t
6590 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6591 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6592 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6593 s
,@builddir@
,$ac_builddir,;t t
6594 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6595 s
,@top_builddir@
,$ac_top_builddir,;t t
6596 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6597 s
,@INSTALL@
,$ac_INSTALL,;t t
6598 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6600 if test x"$ac_file" != x-; then
6601 mv $tmp/out $ac_file
6609 cat >>$CONFIG_STATUS <<\_ACEOF
6612 # CONFIG_HEADER section.
6615 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6616 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6618 # ac_d sets the value in "#define NAME VALUE" lines.
6619 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6620 ac_dB
='[ ].*$,\1#\2'
6623 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6624 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6625 ac_uB
='$,\1#\2define\3'
6629 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6630 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6632 - |
*:- |
*:-:* ) # input from stdin
6634 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6635 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6636 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6637 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6638 * ) ac_file_in
=$ac_file.
in ;;
6641 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6642 echo "$as_me: creating $ac_file" >&6;}
6644 # First look for the input files in the build tree, otherwise in the
6646 ac_file_inputs
=`IFS=:
6647 for f in $ac_file_in; do
6649 -) echo $tmp/stdin ;;
6651 # Absolute (can't be DOS-style, as IFS=:)
6652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6653 echo "$as_me: error: cannot find input file: $f" >&2;}
6654 { (exit 1); exit 1; }; }
6655 # Do quote $f, to prevent DOS paths from being IFS'd.
6658 if test -f "$f"; then
6661 elif test -f "$srcdir/$f"; then
6666 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6667 echo "$as_me: error: cannot find input file: $f" >&2;}
6668 { (exit 1); exit 1; }; }
6671 done` ||
{ (exit 1); exit 1; }
6672 # Remove the trailing spaces.
6673 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6677 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6678 # `conftest.undefs', that substitutes the proper values into
6679 # config.h.in to produce config.h. The first handles `#define'
6680 # templates, and the second `#undef' templates.
6681 # And first: Protect against being on the right side of a sed subst in
6682 # config.status. Protect against being in an unquoted here document
6684 rm -f conftest.defines conftest.undefs
6685 # Using a here document instead of a string reduces the quoting nightmare.
6686 # Putting comments in sed scripts is not portable.
6688 # `end' is used to avoid that the second main sed command (meant for
6689 # 0-ary CPP macros) applies to n-ary macro definitions.
6690 # See the Autoconf documentation for `clear'.
6691 cat >confdef2sed.
sed <<\_ACEOF
6696 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6698 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6701 # If some macros were called several times there might be several times
6702 # the same #defines, which is useless. Nevertheless, we may not want to
6703 # sort them, since we want the *last* AC-DEFINE to be honored.
6704 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6705 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6706 rm -f confdef2sed.sed
6708 # This sed command replaces #undef with comments. This is necessary, for
6709 # example, in the case of _POSIX_SOURCE, which is predefined and required
6710 # on some systems where configure will not decide to define it.
6711 cat >>conftest.undefs <<\_ACEOF
6712 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6715 # Break up conftest.defines because some shells have a limit on the size
6716 # of here documents, and old seds have small limits too (100 cmds).
6717 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6718 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6719 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6720 echo ' :' >>$CONFIG_STATUS
6722 while grep . conftest.defines >/dev/null
6724 # Write a limited-size here document to $tmp/defines.sed.
6725 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6726 # Speed up: don't consider the non `#define' lines.
6727 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6728 # Work around the forget-to-reset-the-flag bug.
6729 echo 't clr' >>$CONFIG_STATUS
6730 echo ': clr' >>$CONFIG_STATUS
6731 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6733 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6737 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6738 rm -f conftest.defines
6739 mv conftest.
tail conftest.defines
6741 rm -f conftest.defines
6742 echo ' fi # grep' >>$CONFIG_STATUS
6743 echo >>$CONFIG_STATUS
6745 # Break up conftest.undefs because some shells have a limit on the size
6746 # of here documents, and old seds have small limits too (100 cmds).
6747 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6749 while grep . conftest.undefs
>/dev
/null
6751 # Write a limited-size here document to $tmp/undefs.sed.
6752 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6753 # Speed up: don't consider the non
`#undef'
6754 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6755 # Work around the forget-to-reset-the-flag bug.
6756 echo 't clr' >>$CONFIG_STATUS
6757 echo ': clr' >>$CONFIG_STATUS
6758 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6760 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6764 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6765 rm -f conftest.undefs
6766 mv conftest.tail conftest.undefs
6768 rm -f conftest.undefs
6770 cat >>$CONFIG_STATUS <<\_ACEOF
6771 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6772 # use $as_me), people would be surprised to read:
6773 # /* config.h. Generated by config.status. */
6774 if test x
"$ac_file" = x-
; then
6775 echo "/* Generated by configure. */" >$tmp/config.h
6777 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6779 cat $tmp/in >>$tmp/config.h
6781 if test x
"$ac_file" != x-
; then
6782 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6783 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6784 echo "$as_me: $ac_file is unchanged" >&6;}
6786 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6788 X"$ac_file" : 'X\(//\)[^/]' \| \
6789 X"$ac_file" : 'X\(//\)$' \| \
6790 X"$ac_file" : 'X\(/\)' \| \
6791 . : '\(.\)' 2>/dev/null ||
6793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6794 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6795 /^X\(\/\/\)$/{ s//\1/; q; }
6796 /^X\(\/\).*/{ s//\1/; q; }
6798 { if $as_mkdir_p; then
6803 while test ! -d "$as_dir"; do
6804 as_dirs
="$as_dir $as_dirs"
6805 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6807 X"$as_dir" : 'X\(//\)[^/]' \| \
6808 X"$as_dir" : 'X\(//\)$' \| \
6809 X"$as_dir" : 'X\(/\)' \| \
6810 . : '\(.\)' 2>/dev/null ||
6812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6814 /^X\(\/\/\)$/{ s//\1/; q; }
6815 /^X\(\/\).*/{ s//\1/; q; }
6818 test ! -n "$as_dirs" || mkdir
$as_dirs
6819 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6820 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6821 { (exit 1); exit 1; }; }; }
6824 mv $tmp/config.h
$ac_file
6832 cat >>$CONFIG_STATUS <<\_ACEOF
6835 # CONFIG_LINKS section.
6838 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
6839 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6840 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6842 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
6843 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
6845 if test ! -r $srcdir/$ac_source; then
6846 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
6847 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
6848 { (exit 1); exit 1; }; }
6852 # Make relative symlinks.
6853 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6854 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6855 X"$ac_dest" : 'X\(//\)[^/]' \| \
6856 X"$ac_dest" : 'X\(//\)$' \| \
6857 X"$ac_dest" : 'X\(/\)' \| \
6858 . : '\(.\)' 2>/dev/null ||
6860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6862 /^X\(\/\/\)$/{ s//\1/; q; }
6863 /^X\(\/\).*/{ s//\1/; q; }
6865 { if $as_mkdir_p; then
6866 mkdir
-p "$ac_dest_dir"
6868 as_dir
="$ac_dest_dir"
6870 while test ! -d "$as_dir"; do
6871 as_dirs
="$as_dir $as_dirs"
6872 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6874 X"$as_dir" : 'X\(//\)[^/]' \| \
6875 X"$as_dir" : 'X\(//\)$' \| \
6876 X"$as_dir" : 'X\(/\)' \| \
6877 . : '\(.\)' 2>/dev/null ||
6879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6881 /^X\(\/\/\)$/{ s//\1/; q; }
6882 /^X\(\/\).*/{ s//\1/; q; }
6885 test ! -n "$as_dirs" || mkdir
$as_dirs
6886 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
6887 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
6888 { (exit 1); exit 1; }; }; }
6892 if test "$ac_dest_dir" != .
; then
6893 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
6894 # A "../" for each directory in $ac_dir_suffix.
6895 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6897 ac_dir_suffix
= ac_top_builddir
=
6901 .
) # No --srcdir option. We are building in place.
6903 if test -z "$ac_top_builddir"; then
6906 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6908 [\\/]* | ?
:[\\/]* ) # Absolute path.
6909 ac_srcdir
=$srcdir$ac_dir_suffix;
6910 ac_top_srcdir
=$srcdir ;;
6912 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6913 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6916 # Do not use `cd foo && pwd` to compute absolute paths, because
6917 # the directories may not exist.
6919 .
) ac_abs_builddir
="$ac_dest_dir";;
6921 case "$ac_dest_dir" in
6922 .
) ac_abs_builddir
=`pwd`;;
6923 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
6924 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
6927 case $ac_abs_builddir in
6928 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6930 case ${ac_top_builddir}.
in
6931 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6932 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6933 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6936 case $ac_abs_builddir in
6937 .
) ac_abs_srcdir
=$ac_srcdir;;
6940 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6941 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6942 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6945 case $ac_abs_builddir in
6946 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6948 case $ac_top_srcdir in
6949 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6950 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6951 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6957 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
6958 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
6961 # Try a symlink, then a hard link, then a copy.
6962 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
6963 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
6964 cp -p $srcdir/$ac_source $ac_dest ||
6965 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
6966 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
6967 { (exit 1); exit 1; }; }
6970 cat >>$CONFIG_STATUS <<\_ACEOF
6973 # CONFIG_COMMANDS section.
6975 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6976 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6977 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6978 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6979 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6980 X"$ac_dest" : 'X\(//\)[^/]' \| \
6981 X"$ac_dest" : 'X\(//\)$' \| \
6982 X"$ac_dest" : 'X\(/\)' \| \
6983 . : '\(.\)' 2>/dev/null ||
6985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6986 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6987 /^X\(\/\/\)$/{ s//\1/; q; }
6988 /^X\(\/\).*/{ s//\1/; q; }
6990 { if $as_mkdir_p; then
6995 while test ! -d "$as_dir"; do
6996 as_dirs
="$as_dir $as_dirs"
6997 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6999 X"$as_dir" : 'X\(//\)[^/]' \| \
7000 X"$as_dir" : 'X\(//\)$' \| \
7001 X"$as_dir" : 'X\(/\)' \| \
7002 . : '\(.\)' 2>/dev/null ||
7004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7006 /^X\(\/\/\)$/{ s//\1/; q; }
7007 /^X\(\/\).*/{ s//\1/; q; }
7010 test ! -n "$as_dirs" || mkdir
$as_dirs
7011 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7012 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7013 { (exit 1); exit 1; }; }; }
7017 if test "$ac_dir" != .
; then
7018 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7019 # A "../" for each directory in $ac_dir_suffix.
7020 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7022 ac_dir_suffix
= ac_top_builddir
=
7026 .
) # No --srcdir option. We are building in place.
7028 if test -z "$ac_top_builddir"; then
7031 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7033 [\\/]* | ?
:[\\/]* ) # Absolute path.
7034 ac_srcdir
=$srcdir$ac_dir_suffix;
7035 ac_top_srcdir
=$srcdir ;;
7037 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7038 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7041 # Do not use `cd foo && pwd` to compute absolute paths, because
7042 # the directories may not exist.
7044 .
) ac_abs_builddir
="$ac_dir";;
7047 .
) ac_abs_builddir
=`pwd`;;
7048 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7049 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7052 case $ac_abs_builddir in
7053 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7055 case ${ac_top_builddir}.
in
7056 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7057 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7058 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7061 case $ac_abs_builddir in
7062 .
) ac_abs_srcdir
=$ac_srcdir;;
7065 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7066 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7067 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7070 case $ac_abs_builddir in
7071 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7073 case $ac_top_srcdir in
7074 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7075 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7076 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7081 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7082 echo "$as_me: executing $ac_dest commands" >&6;}
7084 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
7085 rm -f Makesim1.tmp Makesim2.tmp Makefile
7086 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
7087 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
7088 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
7089 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
7090 <Makefile.sim
>Makefile
7091 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
7093 stamp-h
) echo > stamp-h
;;
7098 cat >>$CONFIG_STATUS <<\_ACEOF
7100 { (exit 0); exit 0; }
7102 chmod +x
$CONFIG_STATUS
7103 ac_clean_files
=$ac_clean_files_save
7106 # configure is writing to config.log, and then calls config.status.
7107 # config.status does its own redirection, appending to config.log.
7108 # Unfortunately, on DOS this fails, as config.log is still kept open
7109 # by configure, so config.status won't be able to write to it; its
7110 # output is simply discarded. So we exec the FD to /dev/null,
7111 # effectively closing config.log, so it can be properly (re)opened and
7112 # appended to by config.status. When coming back to configure, we
7113 # need to make the FD available again.
7114 if test "$no_create" != yes; then
7116 ac_config_status_args
=
7117 test "$silent" = yes &&
7118 ac_config_status_args
="$ac_config_status_args --quiet"
7120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7123 # would make configure fail if this is the last instruction.
7124 $ac_cs_success ||
{ (exit 1); exit 1; }