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 CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile TERMCAP cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-maintainer-mode Enable developer functionality.
854 --enable-sim-bswap Use Host specific BSWAP instruction.
855 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
856 --enable-sim-debug=opts Enable debugging flags
857 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
858 --enable-sim-trace=opts Enable tracing flags
859 --enable-sim-profile=opts Enable profiling flags
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1280 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308 ac_config_headers="$ac_config_headers config.h:config.in"
1311 # This file contains common code used by all simulators.
1313 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1314 # directory. It is intended to be invoked before any target specific stuff.
1315 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1316 # It is intended to be invoked last.
1318 # The simulator's configure.
in should
look like
:
1320 # dnl Process this file with autoconf to produce a configure script.
1321 # sinclude(../common/aclocal.m4)
1323 # AC_INIT(Makefile.in)
1327 # ... target specific stuff ...
1378 sim_inline
="-DDEFAULT_INLINE=0"
1415 # intl sister-directory configuration rules.
1418 # The idea behind this macro is that there's no need to repeat all the
1419 # autoconf probes done by the intl directory - it's already done them
1420 # for us. In fact, there's no need even to look at the cache for the
1421 # answers. All we need to do is nab a few pieces of information.
1422 # The intl directory is set up to make this easy, by generating a
1423 # small file which can be sourced as a shell script; then we produce
1424 # the necessary substitutions and definitions for this directory.
1432 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1433 # it by inlining the macro's contents.
1434 # This file contains common code used by all simulators.
1436 # common.m4 invokes AC macros used by all simulators and by the common
1437 # directory. It is intended to be included before any target specific
1438 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1439 # the Makefile. It is intended to be invoked last.
1441 # The simulator's configure.in should look like:
1443 # dnl Process this file with autoconf to produce a configure script.
1445 # AC_INIT(Makefile.in)
1446 # AC_CONFIG_HEADER(config.h:config.in)
1448 # sinclude(../common/aclocal.m4)
1449 # sinclude(../common/common.m4)
1451 # ... target specific stuff ...
1454 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1455 if test -f $ac_dir/install-sh
; then
1457 ac_install_sh
="$ac_aux_dir/install-sh -c"
1459 elif test -f $ac_dir/install.sh
; then
1461 ac_install_sh
="$ac_aux_dir/install.sh -c"
1463 elif test -f $ac_dir/shtool
; then
1465 ac_install_sh
="$ac_aux_dir/shtool install -c"
1469 if test -z "$ac_aux_dir"; then
1470 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1471 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1472 { (exit 1); exit 1; }; }
1474 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1475 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1476 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1478 # Make sure we can run config.sub.
1479 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1480 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1481 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1482 { (exit 1); exit 1; }; }
1484 echo "$as_me:$LINENO: checking build system type" >&5
1485 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1486 if test "${ac_cv_build+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 ac_cv_build_alias
=$build_alias
1490 test -z "$ac_cv_build_alias" &&
1491 ac_cv_build_alias
=`$ac_config_guess`
1492 test -z "$ac_cv_build_alias" &&
1493 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1494 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1495 { (exit 1); exit 1; }; }
1496 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1497 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1498 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1499 { (exit 1); exit 1; }; }
1502 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1503 echo "${ECHO_T}$ac_cv_build" >&6
1505 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1506 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1507 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1510 echo "$as_me:$LINENO: checking host system type" >&5
1511 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1512 if test "${ac_cv_host+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 ac_cv_host_alias
=$host_alias
1516 test -z "$ac_cv_host_alias" &&
1517 ac_cv_host_alias
=$ac_cv_build_alias
1518 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1520 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1521 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1525 echo "${ECHO_T}$ac_cv_host" >&6
1527 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1528 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1529 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1532 echo "$as_me:$LINENO: checking target system type" >&5
1533 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1534 if test "${ac_cv_target+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 ac_cv_target_alias
=$target_alias
1538 test "x$ac_cv_target_alias" = "x" &&
1539 ac_cv_target_alias
=$ac_cv_host_alias
1540 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1542 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1543 { (exit 1); exit 1; }; }
1546 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1547 echo "${ECHO_T}$ac_cv_target" >&6
1548 target
=$ac_cv_target
1549 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1550 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1551 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1554 # The aliases save the names the user supplied, while $host etc.
1555 # will get canonicalized.
1556 test -n "$target_alias" &&
1557 test "$program_prefix$program_suffix$program_transform_name" = \
1559 program_prefix
=${target_alias}-
1560 test "$program_prefix" != NONE
&&
1561 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1562 # Use a double $ so make ignores it.
1563 test "$program_suffix" != NONE
&&
1564 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1565 # Double any \ or $. echo might interpret backslashes.
1566 # By default was `s,x,x', remove it if useless.
1567 cat <<\_ACEOF
>conftest.
sed
1568 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1570 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1574 ac_cpp
='$CPP $CPPFLAGS'
1575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1578 if test -n "$ac_tool_prefix"; then
1579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1580 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1581 echo "$as_me:$LINENO: checking for $ac_word" >&5
1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583 if test "${ac_cv_prog_CC+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 if test -n "$CC"; then
1587 ac_cv_prog_CC
="$CC" # Let the user override the test.
1589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir
=.
1594 for ac_exec_ext
in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 if test -n "$CC"; then
1607 echo "$as_me:$LINENO: result: $CC" >&5
1608 echo "${ECHO_T}$CC" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1615 if test -z "$ac_cv_prog_CC"; then
1617 # Extract the first word of "gcc", so it can be a program name with args.
1618 set dummy gcc
; ac_word
=$2
1619 echo "$as_me:$LINENO: checking for $ac_word" >&5
1620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 if test -n "$ac_ct_CC"; then
1625 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir
=.
1632 for ac_exec_ext
in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634 ac_cv_prog_ac_ct_CC
="gcc"
1635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1644 if test -n "$ac_ct_CC"; then
1645 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1646 echo "${ECHO_T}$ac_ct_CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1657 if test -z "$CC"; then
1658 if test -n "$ac_tool_prefix"; then
1659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1660 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$CC"; then
1667 ac_cv_prog_CC
="$CC" # Let the user override the test.
1669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir
=.
1674 for ac_exec_ext
in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686 if test -n "$CC"; then
1687 echo "$as_me:$LINENO: result: $CC" >&5
1688 echo "${ECHO_T}$CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1695 if test -z "$ac_cv_prog_CC"; then
1697 # Extract the first word of "cc", so it can be a program name with args.
1698 set dummy cc
; ac_word
=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir
=.
1712 for ac_exec_ext
in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC
="cc"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1738 if test -z "$CC"; then
1739 # Extract the first word of "cc", so it can be a program name with args.
1740 set dummy cc
; ac_word
=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_CC+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$CC"; then
1747 ac_cv_prog_CC
="$CC" # Let the user override the test.
1750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1754 test -z "$as_dir" && as_dir
=.
1755 for ac_exec_ext
in '' $ac_executable_extensions; do
1756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1758 ac_prog_rejected
=yes
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 if test $ac_prog_rejected = yes; then
1769 # We found a bogon in the path, so make sure we never use it.
1770 set dummy
$ac_cv_prog_CC
1772 if test $# != 0; then
1773 # We chose a different compiler from the bogus one.
1774 # However, it has the same basename, so the bogon will be chosen
1775 # first if we set CC to just the basename; use the full file name.
1777 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1783 if test -n "$CC"; then
1784 echo "$as_me:$LINENO: result: $CC" >&5
1785 echo "${ECHO_T}$CC" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1792 if test -z "$CC"; then
1793 if test -n "$ac_tool_prefix"; then
1796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1797 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_CC+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 if test -n "$CC"; then
1804 ac_cv_prog_CC
="$CC" # Let the user override the test.
1806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1810 test -z "$as_dir" && as_dir
=.
1811 for ac_exec_ext
in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test -n "$CC"; then
1824 echo "$as_me:$LINENO: result: $CC" >&5
1825 echo "${ECHO_T}$CC" >&6
1827 echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6
1831 test -n "$CC" && break
1834 if test -z "$CC"; then
1838 # Extract the first word of "$ac_prog", so it can be a program name with args.
1839 set dummy
$ac_prog; ac_word
=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_CC"; then
1846 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir
=.
1853 for ac_exec_ext
in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_CC
="$ac_prog"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1865 if test -n "$ac_ct_CC"; then
1866 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1867 echo "${ECHO_T}$ac_ct_CC" >&6
1869 echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1873 test -n "$ac_ct_CC" && break
1882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1883 See \`config.log' for more details." >&5
1884 echo "$as_me: error: no acceptable C compiler found in \$PATH
1885 See \`config.log' for more details." >&2;}
1886 { (exit 1); exit 1; }; }
1888 # Provide some information about the compiler.
1889 echo "$as_me:$LINENO:" \
1890 "checking for C compiler version" >&5
1891 ac_compiler
=`set X $ac_compile; echo $2`
1892 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1893 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }
1897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1898 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901 (exit $ac_status); }
1902 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1903 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); }
1908 cat >conftest.
$ac_ext <<_ACEOF
1911 cat confdefs.h
>>conftest.
$ac_ext
1912 cat >>conftest.
$ac_ext <<_ACEOF
1913 /* end confdefs.h. */
1923 ac_clean_files_save
=$ac_clean_files
1924 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1925 # Try to create an executable without -o first, disregard a.out.
1926 # It will help us diagnose broken compilers, and finding out an intuition
1928 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1929 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1930 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1931 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1932 (eval $ac_link_default) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; then
1936 # Find the output, starting from the most likely. This scheme is
1937 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1940 # Be careful to initialize this variable, since it used to be cached.
1941 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1943 # b.out is created by i960 compilers.
1944 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1946 test -f "$ac_file" ||
continue
1948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1951 # This is the source file.
1954 # We found the default executable, but exeext='' is most
1958 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1959 # FIXME: I believe we export ac_cv_exeext for Libtool,
1960 # but it would be cool to find out if it's true. Does anybody
1961 # maintain Libtool? --akim.
1969 echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.
$ac_ext >&5
1972 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1973 See \`config.log' for more details." >&5
1974 echo "$as_me: error: C compiler cannot create executables
1975 See \`config.log' for more details." >&2;}
1976 { (exit 77); exit 77; }; }
1979 ac_exeext
=$ac_cv_exeext
1980 echo "$as_me:$LINENO: result: $ac_file" >&5
1981 echo "${ECHO_T}$ac_file" >&6
1983 # Check the compiler produces executables we can run. If not, either
1984 # the compiler is broken, or we cross compile.
1985 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1986 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1987 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1988 # If not cross compiling, check that we can run a simple program.
1989 if test "$cross_compiling" != yes; then
1990 if { ac_try
='./$ac_file'
1991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }; }; then
1998 if test "$cross_compiling" = maybe
; then
2001 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2002 If you meant to cross compile, use \`--host'.
2003 See \`config.log' for more details." >&5
2004 echo "$as_me: error: cannot run C compiled programs.
2005 If you meant to cross compile, use \`--host'.
2006 See \`config.log' for more details." >&2;}
2007 { (exit 1); exit 1; }; }
2011 echo "$as_me:$LINENO: result: yes" >&5
2012 echo "${ECHO_T}yes" >&6
2014 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2015 ac_clean_files
=$ac_clean_files_save
2016 # Check the compiler produces executables we can run. If not, either
2017 # the compiler is broken, or we cross compile.
2018 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2019 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2020 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2021 echo "${ECHO_T}$cross_compiling" >&6
2023 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2024 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2026 (eval $ac_link) 2>&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; then
2030 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2031 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2032 # work properly (i.e., refer to `conftest.exe'), while it won't with
2034 for ac_file
in conftest.exe conftest conftest.
*; do
2035 test -f "$ac_file" ||
continue
2037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2038 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2045 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2046 See \`config.log' for more details." >&5
2047 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2048 See \`config.log' for more details." >&2;}
2049 { (exit 1); exit 1; }; }
2052 rm -f conftest
$ac_cv_exeext
2053 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2054 echo "${ECHO_T}$ac_cv_exeext" >&6
2056 rm -f conftest.
$ac_ext
2057 EXEEXT
=$ac_cv_exeext
2059 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2060 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2061 if test "${ac_cv_objext+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.
$ac_ext <<_ACEOF
2067 cat confdefs.h
>>conftest.
$ac_ext
2068 cat >>conftest.
$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2079 rm -f conftest.o conftest.obj
2080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2081 (eval $ac_compile) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; then
2085 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2087 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2088 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2093 echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.
$ac_ext >&5
2096 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2099 See \`config.log' for more details." >&2;}
2100 { (exit 1); exit 1; }; }
2103 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2105 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2106 echo "${ECHO_T}$ac_cv_objext" >&6
2107 OBJEXT
=$ac_cv_objext
2109 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2110 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2111 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 cat >conftest.
$ac_ext <<_ACEOF
2117 cat confdefs.h
>>conftest.
$ac_ext
2118 cat >>conftest.
$ac_ext <<_ACEOF
2119 /* end confdefs.h. */
2132 rm -f conftest.
$ac_objext
2133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2134 (eval $ac_compile) 2>conftest.er1
2136 grep -v '^ *+' conftest.er1
>conftest.err
2138 cat conftest.err
>&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); } &&
2141 { ac_try
='test -z "$ac_c_werror_flag"
2142 || test ! -s conftest.err'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; } &&
2148 { ac_try
='test -s conftest.$ac_objext'
2149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; }; then
2156 echo "$as_me: failed program was:" >&5
2157 sed 's/^/| /' conftest.
$ac_ext >&5
2161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2162 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2165 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2166 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2167 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2168 ac_test_CFLAGS
=${CFLAGS+set}
2169 ac_save_CFLAGS
=$CFLAGS
2171 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2172 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2173 if test "${ac_cv_prog_cc_g+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 cat >conftest.
$ac_ext <<_ACEOF
2179 cat confdefs.h
>>conftest.
$ac_ext
2180 cat >>conftest.
$ac_ext <<_ACEOF
2181 /* end confdefs.h. */
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1
>conftest.err
2197 cat conftest.err
>&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try
='test -z "$ac_c_werror_flag"
2201 || test ! -s conftest.err'
2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; } &&
2207 { ac_try
='test -s conftest.$ac_objext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.
$ac_ext >&5
2220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2222 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2223 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2224 if test "$ac_test_CFLAGS" = set; then
2225 CFLAGS
=$ac_save_CFLAGS
2226 elif test $ac_cv_prog_cc_g = yes; then
2227 if test "$GCC" = yes; then
2233 if test "$GCC" = yes; then
2239 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2240 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2241 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 ac_cv_prog_cc_stdc
=no
2246 cat >conftest.
$ac_ext <<_ACEOF
2249 cat confdefs.h
>>conftest.
$ac_ext
2250 cat >>conftest.
$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2254 #include <sys/types.h>
2255 #include <sys/stat.h>
2256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2257 struct buf { int x; };
2258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2259 static char *e (p, i)
2265 static char *f (char * (*g) (char **, int), char **p, ...)
2270 s = g (p, va_arg (v,int));
2275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2276 function prototypes and stuff, but not '\xHH' hex character constants.
2277 These don't provoke an error unfortunately, instead are silently treated
2278 as 'x'. The following induces an error, until -std1 is added to get
2279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2280 array size at least. It's necessary to write '\x00'==0 to get something
2281 that's true only with -std1. */
2282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2284 int test (int i, double x);
2285 struct s1 {int (*f) (int a);};
2286 struct s2 {int (*f) (double a);};
2287 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2293 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2298 # Don't try gcc -ansi; that turns off useful extensions and
2299 # breaks some systems' header files.
2300 # AIX -qlanglvl=ansi
2301 # Ultrix and OSF/1 -std1
2302 # HP-UX 10.20 and later -Ae
2303 # HP-UX older versions -Aa -D_HPUX_SOURCE
2304 # SVR4 -Xc -D__EXTENSIONS__
2305 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2307 CC
="$ac_save_CC $ac_arg"
2308 rm -f conftest.
$ac_objext
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>conftest.er1
2312 grep -v '^ *+' conftest.er1
>conftest.err
2314 cat conftest.err
>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } &&
2317 { ac_try
='test -z "$ac_c_werror_flag"
2318 || test ! -s conftest.err'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; } &&
2324 { ac_try
='test -s conftest.$ac_objext'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; }; then
2330 ac_cv_prog_cc_stdc
=$ac_arg
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f conftest.err conftest.
$ac_objext
2339 rm -f conftest.
$ac_ext conftest.
$ac_objext
2344 case "x$ac_cv_prog_cc_stdc" in
2346 echo "$as_me:$LINENO: result: none needed" >&5
2347 echo "${ECHO_T}none needed" >&6 ;;
2349 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2350 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2351 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2354 # Some people use a C++ compiler to compile C. Since we use `exit',
2355 # in C++ we need to declare it. In case someone uses the same compiler
2356 # for both compiling C and C++ we need to have the C++ compiler decide
2357 # the declaration of exit, since it's the most demanding environment.
2358 cat >conftest.
$ac_ext <<_ACEOF
2363 rm -f conftest.
$ac_objext
2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365 (eval $ac_compile) 2>conftest.er1
2367 grep -v '^ *+' conftest.er1
>conftest.err
2369 cat conftest.err
>&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } &&
2372 { ac_try
='test -z "$ac_c_werror_flag"
2373 || test ! -s conftest.err'
2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; } &&
2379 { ac_try
='test -s conftest.$ac_objext'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; }; then
2385 for ac_declaration
in \
2387 'extern "C" void std::exit (int) throw (); using std::exit;' \
2388 'extern "C" void std::exit (int); using std::exit;' \
2389 'extern "C" void exit (int) throw ();' \
2390 'extern "C" void exit (int);' \
2393 cat >conftest.
$ac_ext <<_ACEOF
2396 cat confdefs.h
>>conftest.
$ac_ext
2397 cat >>conftest.
$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2409 rm -f conftest.
$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try
='test -z "$ac_c_werror_flag"
2419 || test ! -s conftest.err'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; } &&
2425 { ac_try
='test -s conftest.$ac_objext'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2433 echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.
$ac_ext >&5
2438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2454 rm -f conftest.
$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try
='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.
$ac_ext >&5
2482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2485 if test -n "$ac_declaration"; then
2486 echo '#ifdef __cplusplus' >>confdefs.h
2487 echo $ac_declaration >>confdefs.h
2488 echo '#endif' >>confdefs.h
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2498 ac_cpp
='$CPP $CPPFLAGS'
2499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2503 # Find a good install program. We prefer a C program (faster),
2504 # so one script is as good as another. But avoid the broken or
2505 # incompatible versions:
2506 # SysV /etc/install, /usr/sbin/install
2507 # SunOS /usr/etc/install
2508 # IRIX /sbin/install
2510 # AmigaOS /C/install, which installs bootblocks on floppy discs
2511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2514 # OS/2's system install, which has a completely different semantic
2515 # ./install, which can be erroneously created by make from ./install.sh.
2516 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2517 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2518 if test -z "$INSTALL"; then
2519 if test "${ac_cv_path_install+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir
=.
2527 # Account for people who put trailing slashes in PATH elements.
2529 .
/ | .
// |
/cC
/* | \
2530 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2531 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2534 # OSF1 and SCO ODT 3.0 have their own names for install.
2535 # Don't use installbsd from OSF since it installs stuff as root
2537 for ac_prog
in ginstall scoinst
install; do
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2540 if test $ac_prog = install &&
2541 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2542 # AIX install. It has an incompatible calling convention.
2544 elif test $ac_prog = install &&
2545 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2546 # program-specific install script used by HP pwplus--don't use.
2549 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2561 if test "${ac_cv_path_install+set}" = set; then
2562 INSTALL
=$ac_cv_path_install
2564 # As a last resort, use the slow shell script. We don't cache a
2565 # path for INSTALL within a source directory, because that will
2566 # break other packages using the cache if that directory is
2567 # removed, or if the path is relative.
2568 INSTALL
=$ac_install_sh
2571 echo "$as_me:$LINENO: result: $INSTALL" >&5
2572 echo "${ECHO_T}$INSTALL" >&6
2574 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2575 # It thinks the first close brace ends the variable substitution.
2576 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2578 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2580 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2583 # Put a plausible default for CC_FOR_BUILD in Makefile.
2584 if test "x$cross_compiling" = "xno"; then
2585 CC_FOR_BUILD
='$(CC)'
2595 if test -n "$ac_tool_prefix"; then
2596 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2597 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2598 echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2600 if test "${ac_cv_prog_RANLIB+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 if test -n "$RANLIB"; then
2604 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 RANLIB
=$ac_cv_prog_RANLIB
2623 if test -n "$RANLIB"; then
2624 echo "$as_me:$LINENO: result: $RANLIB" >&5
2625 echo "${ECHO_T}$RANLIB" >&6
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2632 if test -z "$ac_cv_prog_RANLIB"; then
2633 ac_ct_RANLIB
=$RANLIB
2634 # Extract the first word of "ranlib", so it can be a program name with args.
2635 set dummy ranlib
; ac_word
=$2
2636 echo "$as_me:$LINENO: checking for $ac_word" >&5
2637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2638 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 if test -n "$ac_ct_RANLIB"; then
2642 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir
=.
2649 for ac_exec_ext
in '' $ac_executable_extensions; do
2650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2651 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2661 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2662 if test -n "$ac_ct_RANLIB"; then
2663 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2664 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2666 echo "$as_me:$LINENO: result: no" >&5
2667 echo "${ECHO_T}no" >&6
2670 RANLIB
=$ac_ct_RANLIB
2672 RANLIB
="$ac_cv_prog_RANLIB"
2679 # Check for common headers.
2680 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2681 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2684 ac_cpp
='$CPP $CPPFLAGS'
2685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2688 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2689 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2690 # On Suns, sometimes $CPP names a directory.
2691 if test -n "$CPP" && test -d "$CPP"; then
2694 if test -z "$CPP"; then
2695 if test "${ac_cv_prog_CPP+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 # Double quotes because CPP needs to be expanded
2699 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2702 for ac_c_preproc_warn_flag
in '' yes
2704 # Use a header file that comes with gcc, so configuring glibc
2705 # with a fresh cross-compiler works.
2706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2707 # <limits.h> exists even on freestanding compilers.
2708 # On the NeXT, cc -E runs the code through the compiler's parser,
2709 # not just through cpp. "Syntax error" is here to catch this case.
2710 cat >conftest.
$ac_ext <<_ACEOF
2713 cat confdefs.h
>>conftest.
$ac_ext
2714 cat >>conftest.
$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2717 # include <limits.h>
2719 # include <assert.h>
2723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } >/dev
/null
; then
2731 if test -s conftest.err
; then
2732 ac_cpp_err
=$ac_c_preproc_warn_flag
2733 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2740 if test -z "$ac_cpp_err"; then
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.
$ac_ext >&5
2746 # Broken: fails on valid input.
2749 rm -f conftest.err conftest.
$ac_ext
2751 # OK, works on sane cases. Now check whether non-existent headers
2752 # can be detected and how.
2753 cat >conftest.
$ac_ext <<_ACEOF
2756 cat confdefs.h
>>conftest.
$ac_ext
2757 cat >>conftest.
$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2759 #include <ac_nonexistent.h>
2761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2764 grep -v '^ *+' conftest.er1
>conftest.err
2766 cat conftest.err
>&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } >/dev
/null
; then
2769 if test -s conftest.err
; then
2770 ac_cpp_err
=$ac_c_preproc_warn_flag
2771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2778 if test -z "$ac_cpp_err"; then
2779 # Broken: success on invalid input.
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.
$ac_ext >&5
2785 # Passes both tests.
2789 rm -f conftest.err conftest.
$ac_ext
2792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2793 rm -f conftest.err conftest.
$ac_ext
2794 if $ac_preproc_ok; then
2806 echo "$as_me:$LINENO: result: $CPP" >&5
2807 echo "${ECHO_T}$CPP" >&6
2809 for ac_c_preproc_warn_flag
in '' yes
2811 # Use a header file that comes with gcc, so configuring glibc
2812 # with a fresh cross-compiler works.
2813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2814 # <limits.h> exists even on freestanding compilers.
2815 # On the NeXT, cc -E runs the code through the compiler's parser,
2816 # not just through cpp. "Syntax error" is here to catch this case.
2817 cat >conftest.
$ac_ext <<_ACEOF
2820 cat confdefs.h
>>conftest.
$ac_ext
2821 cat >>conftest.
$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2824 # include <limits.h>
2826 # include <assert.h>
2830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2833 grep -v '^ *+' conftest.er1
>conftest.err
2835 cat conftest.err
>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } >/dev
/null
; then
2838 if test -s conftest.err
; then
2839 ac_cpp_err
=$ac_c_preproc_warn_flag
2840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2847 if test -z "$ac_cpp_err"; then
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2853 # Broken: fails on valid input.
2856 rm -f conftest.err conftest.
$ac_ext
2858 # OK, works on sane cases. Now check whether non-existent headers
2859 # can be detected and how.
2860 cat >conftest.
$ac_ext <<_ACEOF
2863 cat confdefs.h
>>conftest.
$ac_ext
2864 cat >>conftest.
$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2866 #include <ac_nonexistent.h>
2868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2871 grep -v '^ *+' conftest.er1
>conftest.err
2873 cat conftest.err
>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } >/dev
/null
; then
2876 if test -s conftest.err
; then
2877 ac_cpp_err
=$ac_c_preproc_warn_flag
2878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2885 if test -z "$ac_cpp_err"; then
2886 # Broken: success on invalid input.
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2892 # Passes both tests.
2896 rm -f conftest.err conftest.
$ac_ext
2899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2900 rm -f conftest.err conftest.
$ac_ext
2901 if $ac_preproc_ok; then
2904 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2905 See \`config.log' for more details." >&5
2906 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2907 See \`config.log' for more details." >&2;}
2908 { (exit 1); exit 1; }; }
2912 ac_cpp
='$CPP $CPPFLAGS'
2913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2918 echo "$as_me:$LINENO: checking for egrep" >&5
2919 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2920 if test "${ac_cv_prog_egrep+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2924 then ac_cv_prog_egrep
='grep -E'
2925 else ac_cv_prog_egrep
='egrep'
2928 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2929 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2930 EGREP
=$ac_cv_prog_egrep
2933 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2934 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2935 if test "${ac_cv_header_stdc+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 cat >conftest.
$ac_ext <<_ACEOF
2941 cat confdefs.h
>>conftest.
$ac_ext
2942 cat >>conftest.
$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2957 rm -f conftest.
$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2961 grep -v '^ *+' conftest.er1
>conftest.err
2963 cat conftest.err
>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try
='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try
='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 ac_cv_header_stdc
=yes
2981 echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.
$ac_ext >&5
2984 ac_cv_header_stdc
=no
2986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2988 if test $ac_cv_header_stdc = yes; then
2989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2990 cat >conftest.
$ac_ext <<_ACEOF
2993 cat confdefs.h
>>conftest.
$ac_ext
2994 cat >>conftest.
$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
2999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3000 $EGREP "memchr" >/dev
/null
2>&1; then
3003 ac_cv_header_stdc
=no
3009 if test $ac_cv_header_stdc = yes; then
3010 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3011 cat >conftest.
$ac_ext <<_ACEOF
3014 cat confdefs.h
>>conftest.
$ac_ext
3015 cat >>conftest.
$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3021 $EGREP "free" >/dev
/null
2>&1; then
3024 ac_cv_header_stdc
=no
3030 if test $ac_cv_header_stdc = yes; then
3031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3032 if test "$cross_compiling" = yes; then
3035 cat >conftest.
$ac_ext <<_ACEOF
3038 cat confdefs.h
>>conftest.
$ac_ext
3039 cat >>conftest.
$ac_ext <<_ACEOF
3040 /* end confdefs.h. */
3042 #if ((' ' & 0x0FF) == 0x020)
3043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3046 # define ISLOWER(c) \
3047 (('a' <= (c) && (c) <= 'i') \
3048 || ('j' <= (c) && (c) <= 'r') \
3049 || ('s' <= (c) && (c) <= 'z'))
3050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3058 for (i = 0; i < 256; i++)
3059 if (XOR (islower (i), ISLOWER (i))
3060 || toupper (i) != TOUPPER (i))
3065 rm -f conftest
$ac_exeext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3067 (eval $ac_link) 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3078 echo "$as_me: program exited with status $ac_status" >&5
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.
$ac_ext >&5
3083 ac_cv_header_stdc
=no
3085 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3089 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3090 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3091 if test $ac_cv_header_stdc = yes; then
3093 cat >>confdefs.h
<<\_ACEOF
3094 #define STDC_HEADERS 1
3099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3109 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3110 inttypes.h stdint.h unistd.h
3112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3113 echo "$as_me:$LINENO: checking for $ac_header" >&5
3114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 cat >conftest.
$ac_ext <<_ACEOF
3121 cat confdefs.h
>>conftest.
$ac_ext
3122 cat >>conftest.
$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124 $ac_includes_default
3126 #include <$ac_header>
3128 rm -f conftest.
$ac_objext
3129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3130 (eval $ac_compile) 2>conftest.er1
3132 grep -v '^ *+' conftest.er1
>conftest.err
3134 cat conftest.err
>&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } &&
3137 { ac_try
='test -z "$ac_c_werror_flag"
3138 || test ! -s conftest.err'
3139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; } &&
3144 { ac_try
='test -s conftest.$ac_objext'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; }; then
3150 eval "$as_ac_Header=yes"
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 eval "$as_ac_Header=no"
3157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3162 cat >>confdefs.h
<<_ACEOF
3163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3176 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3178 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3180 echo "$as_me:$LINENO: checking for $ac_header" >&5
3181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3188 # Is the header compilable?
3189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3191 cat >conftest.
$ac_ext <<_ACEOF
3194 cat confdefs.h
>>conftest.
$ac_ext
3195 cat >>conftest.
$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3197 $ac_includes_default
3198 #include <$ac_header>
3200 rm -f conftest.
$ac_objext
3201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1
>conftest.err
3206 cat conftest.err
>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try
='test -z "$ac_c_werror_flag"
3210 || test ! -s conftest.err'
3211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); }; } &&
3216 { ac_try
='test -s conftest.$ac_objext'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; }; then
3222 ac_header_compiler
=yes
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3227 ac_header_compiler
=no
3229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3231 echo "${ECHO_T}$ac_header_compiler" >&6
3233 # Is the header present?
3234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3239 cat confdefs.h
>>conftest.
$ac_ext
3240 cat >>conftest.
$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3242 #include <$ac_header>
3244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3247 grep -v '^ *+' conftest.er1
>conftest.err
3249 cat conftest.err
>&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } >/dev
/null
; then
3252 if test -s conftest.err
; then
3253 ac_cpp_err
=$ac_c_preproc_warn_flag
3254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3261 if test -z "$ac_cpp_err"; then
3262 ac_header_preproc
=yes
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.
$ac_ext >&5
3267 ac_header_preproc
=no
3269 rm -f conftest.err conftest.
$ac_ext
3270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3271 echo "${ECHO_T}$ac_header_preproc" >&6
3273 # So? What about this header?
3274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3280 ac_header_preproc
=yes
3283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3297 ## ------------------------------------------ ##
3298 ## Report this to the AC_PACKAGE_NAME lists. ##
3299 ## ------------------------------------------ ##
3302 sed "s/^/$as_me: WARNING: /" >&2
3305 echo "$as_me:$LINENO: checking for $ac_header" >&5
3306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 eval "$as_ac_Header=\$ac_header_preproc"
3312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3317 cat >>confdefs.h
<<_ACEOF
3318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3327 for ac_header
in sys
/time.h sys
/resource.h
3329 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3331 echo "$as_me:$LINENO: checking for $ac_header" >&5
3332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3339 # Is the header compilable?
3340 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3342 cat >conftest.
$ac_ext <<_ACEOF
3345 cat confdefs.h
>>conftest.
$ac_ext
3346 cat >>conftest.
$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3348 $ac_includes_default
3349 #include <$ac_header>
3351 rm -f conftest.
$ac_objext
3352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3353 (eval $ac_compile) 2>conftest.er1
3355 grep -v '^ *+' conftest.er1
>conftest.err
3357 cat conftest.err
>&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } &&
3360 { ac_try
='test -z "$ac_c_werror_flag"
3361 || test ! -s conftest.err'
3362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; } &&
3367 { ac_try
='test -s conftest.$ac_objext'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; }; then
3373 ac_header_compiler
=yes
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.
$ac_ext >&5
3378 ac_header_compiler
=no
3380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3382 echo "${ECHO_T}$ac_header_compiler" >&6
3384 # Is the header present?
3385 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3393 #include <$ac_header>
3395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3396 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
3403 if test -s conftest.err
; then
3404 ac_cpp_err
=$ac_c_preproc_warn_flag
3405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3412 if test -z "$ac_cpp_err"; then
3413 ac_header_preproc
=yes
3415 echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.
$ac_ext >&5
3418 ac_header_preproc
=no
3420 rm -f conftest.err conftest.
$ac_ext
3421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3422 echo "${ECHO_T}$ac_header_preproc" >&6
3424 # So? What about this header?
3425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3431 ac_header_preproc
=yes
3434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3448 ## ------------------------------------------ ##
3449 ## Report this to the AC_PACKAGE_NAME lists. ##
3450 ## ------------------------------------------ ##
3453 sed "s/^/$as_me: WARNING: /" >&2
3456 echo "$as_me:$LINENO: checking for $ac_header" >&5
3457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 eval "$as_ac_Header=\$ac_header_preproc"
3463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3468 cat >>confdefs.h
<<_ACEOF
3469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3478 for ac_header
in fcntl.h fpu_control.h
3480 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3482 echo "$as_me:$LINENO: checking for $ac_header" >&5
3483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3490 # Is the header compilable?
3491 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3493 cat >conftest.
$ac_ext <<_ACEOF
3496 cat confdefs.h
>>conftest.
$ac_ext
3497 cat >>conftest.
$ac_ext <<_ACEOF
3498 /* end confdefs.h. */
3499 $ac_includes_default
3500 #include <$ac_header>
3502 rm -f conftest.
$ac_objext
3503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3504 (eval $ac_compile) 2>conftest.er1
3506 grep -v '^ *+' conftest.er1
>conftest.err
3508 cat conftest.err
>&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } &&
3511 { ac_try
='test -z "$ac_c_werror_flag"
3512 || test ! -s conftest.err'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; } &&
3518 { ac_try
='test -s conftest.$ac_objext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_header_compiler
=yes
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3529 ac_header_compiler
=no
3531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3533 echo "${ECHO_T}$ac_header_compiler" >&6
3535 # Is the header present?
3536 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <$ac_header>
3546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3549 grep -v '^ *+' conftest.er1
>conftest.err
3551 cat conftest.err
>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } >/dev
/null
; then
3554 if test -s conftest.err
; then
3555 ac_cpp_err
=$ac_c_preproc_warn_flag
3556 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3563 if test -z "$ac_cpp_err"; then
3564 ac_header_preproc
=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.
$ac_ext >&5
3569 ac_header_preproc
=no
3571 rm -f conftest.err conftest.
$ac_ext
3572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3573 echo "${ECHO_T}$ac_header_preproc" >&6
3575 # So? What about this header?
3576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3582 ac_header_preproc
=yes
3585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3589 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3591 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3592 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3595 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3599 ## ------------------------------------------ ##
3600 ## Report this to the AC_PACKAGE_NAME lists. ##
3601 ## ------------------------------------------ ##
3604 sed "s/^/$as_me: WARNING: /" >&2
3607 echo "$as_me:$LINENO: checking for $ac_header" >&5
3608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 eval "$as_ac_Header=\$ac_header_preproc"
3614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3619 cat >>confdefs.h
<<_ACEOF
3620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3630 for ac_header
in dlfcn.h errno.h sys
/stat.h
3632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3634 echo "$as_me:$LINENO: checking for $ac_header" >&5
3635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3642 # Is the header compilable?
3643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3645 cat >conftest.
$ac_ext <<_ACEOF
3648 cat confdefs.h
>>conftest.
$ac_ext
3649 cat >>conftest.
$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 $ac_includes_default
3652 #include <$ac_header>
3654 rm -f conftest.
$ac_objext
3655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3656 (eval $ac_compile) 2>conftest.er1
3658 grep -v '^ *+' conftest.er1
>conftest.err
3660 cat conftest.err
>&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); } &&
3663 { ac_try
='test -z "$ac_c_werror_flag"
3664 || test ! -s conftest.err'
3665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }; } &&
3670 { ac_try
='test -s conftest.$ac_objext'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; }; then
3676 ac_header_compiler
=yes
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.
$ac_ext >&5
3681 ac_header_compiler
=no
3683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3685 echo "${ECHO_T}$ac_header_compiler" >&6
3687 # Is the header present?
3688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3690 cat >conftest.
$ac_ext <<_ACEOF
3693 cat confdefs.h
>>conftest.
$ac_ext
3694 cat >>conftest.
$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3696 #include <$ac_header>
3698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3701 grep -v '^ *+' conftest.er1
>conftest.err
3703 cat conftest.err
>&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); } >/dev
/null
; then
3706 if test -s conftest.err
; then
3707 ac_cpp_err
=$ac_c_preproc_warn_flag
3708 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3715 if test -z "$ac_cpp_err"; then
3716 ac_header_preproc
=yes
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.
$ac_ext >&5
3721 ac_header_preproc
=no
3723 rm -f conftest.err conftest.
$ac_ext
3724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3725 echo "${ECHO_T}$ac_header_preproc" >&6
3727 # So? What about this header?
3728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3734 ac_header_preproc
=yes
3737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3751 ## ------------------------------------------ ##
3752 ## Report this to the AC_PACKAGE_NAME lists. ##
3753 ## ------------------------------------------ ##
3756 sed "s/^/$as_me: WARNING: /" >&2
3759 echo "$as_me:$LINENO: checking for $ac_header" >&5
3760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 eval "$as_ac_Header=\$ac_header_preproc"
3766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3771 cat >>confdefs.h
<<_ACEOF
3772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3783 for ac_func
in getrusage
time sigaction __setfpucw
3785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3786 echo "$as_me:$LINENO: checking for $ac_func" >&5
3787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3788 if eval "test \"\${$as_ac_var+set}\" = set"; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 cat >conftest.
$ac_ext <<_ACEOF
3794 cat confdefs.h
>>conftest.
$ac_ext
3795 cat >>conftest.
$ac_ext <<_ACEOF
3796 /* end confdefs.h. */
3797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3799 #define $ac_func innocuous_$ac_func
3801 /* System header to define __stub macros and hopefully few prototypes,
3802 which can conflict with char $ac_func (); below.
3803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804 <limits.h> exists even on freestanding compilers. */
3807 # include <limits.h>
3809 # include <assert.h>
3814 /* Override any gcc2 internal prototype to avoid an error. */
3819 /* We use char because int might match the return type of a gcc2
3820 builtin and then its argument prototype would still apply. */
3822 /* The GNU C library defines this for functions which it implements
3823 to always fail with ENOSYS. Some functions are actually named
3824 something starting with __ and the normal name is an alias. */
3825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3828 char (*f) () = $ac_func;
3837 return f != $ac_func;
3842 rm -f conftest.
$ac_objext conftest
$ac_exeext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3844 (eval $ac_link) 2>conftest.er1
3846 grep -v '^ *+' conftest.er1
>conftest.err
3848 cat conftest.err
>&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } &&
3851 { ac_try
='test -z "$ac_c_werror_flag"
3852 || test ! -s conftest.err'
3853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); }; } &&
3858 { ac_try
='test -s conftest$ac_exeext'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; }; then
3864 eval "$as_ac_var=yes"
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.
$ac_ext >&5
3869 eval "$as_ac_var=no"
3871 rm -f conftest.err conftest.
$ac_objext \
3872 conftest
$ac_exeext conftest.
$ac_ext
3874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3876 if test `eval echo '${'$as_ac_var'}'` = yes; then
3877 cat >>confdefs.h
<<_ACEOF
3878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3885 # Check for socket libraries
3887 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
3888 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
3889 if test "${ac_cv_lib_socket_bind+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 ac_check_lib_save_LIBS
=$LIBS
3893 LIBS
="-lsocket $LIBS"
3894 cat >conftest.
$ac_ext <<_ACEOF
3897 cat confdefs.h
>>conftest.
$ac_ext
3898 cat >>conftest.
$ac_ext <<_ACEOF
3899 /* end confdefs.h. */
3901 /* Override any gcc2 internal prototype to avoid an error. */
3905 /* We use char because int might match the return type of a gcc2
3906 builtin and then its argument prototype would still apply. */
3916 rm -f conftest.
$ac_objext conftest
$ac_exeext
3917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3918 (eval $ac_link) 2>conftest.er1
3920 grep -v '^ *+' conftest.er1
>conftest.err
3922 cat conftest.err
>&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); } &&
3925 { ac_try
='test -z "$ac_c_werror_flag"
3926 || test ! -s conftest.err'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; } &&
3932 { ac_try
='test -s conftest$ac_exeext'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; }; then
3938 ac_cv_lib_socket_bind
=yes
3940 echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.
$ac_ext >&5
3943 ac_cv_lib_socket_bind
=no
3945 rm -f conftest.err conftest.
$ac_objext \
3946 conftest
$ac_exeext conftest.
$ac_ext
3947 LIBS
=$ac_check_lib_save_LIBS
3949 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
3950 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
3951 if test $ac_cv_lib_socket_bind = yes; then
3952 cat >>confdefs.h
<<_ACEOF
3953 #define HAVE_LIBSOCKET 1
3956 LIBS
="-lsocket $LIBS"
3961 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3962 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3963 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 ac_check_lib_save_LIBS
=$LIBS
3968 cat >conftest.
$ac_ext <<_ACEOF
3971 cat confdefs.h
>>conftest.
$ac_ext
3972 cat >>conftest.
$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3975 /* Override any gcc2 internal prototype to avoid an error. */
3979 /* We use char because int might match the return type of a gcc2
3980 builtin and then its argument prototype would still apply. */
3981 char gethostbyname ();
3990 rm -f conftest.
$ac_objext conftest
$ac_exeext
3991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3992 (eval $ac_link) 2>conftest.er1
3994 grep -v '^ *+' conftest.er1
>conftest.err
3996 cat conftest.err
>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } &&
3999 { ac_try
='test -z "$ac_c_werror_flag"
4000 || test ! -s conftest.err'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; } &&
4006 { ac_try
='test -s conftest$ac_exeext'
4007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; }; then
4012 ac_cv_lib_nsl_gethostbyname
=yes
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.
$ac_ext >&5
4017 ac_cv_lib_nsl_gethostbyname
=no
4019 rm -f conftest.err conftest.
$ac_objext \
4020 conftest
$ac_exeext conftest.
$ac_ext
4021 LIBS
=$ac_check_lib_save_LIBS
4023 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4024 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4025 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4026 cat >>confdefs.h
<<_ACEOF
4027 #define HAVE_LIBNSL 1
4035 .
${srcdir}/..
/..
/bfd
/configure.
host
4039 USE_MAINTAINER_MODE
=no
4040 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4041 if test "${enable_maintainer_mode+set}" = set; then
4042 enableval
="$enable_maintainer_mode"
4043 case "${enableval}" in
4044 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4046 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4047 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4048 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4050 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4051 echo "Setting maintainer mode" 6>&1
4058 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4059 if test "${enable_sim_bswap+set}" = set; then
4060 enableval
="$enable_sim_bswap"
4061 case "${enableval}" in
4062 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4063 no
) sim_bswap
="-DWITH_BSWAP=0";;
4064 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4065 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4066 { (exit 1); exit 1; }; }; sim_bswap
="";;
4068 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4069 echo "Setting bswap flags = $sim_bswap" 6>&1
4076 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4077 if test "${enable_sim_cflags+set}" = set; then
4078 enableval
="$enable_sim_cflags"
4079 case "${enableval}" in
4080 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4081 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4082 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4083 { (exit 1); exit 1; }; }; sim_cflags
="";;
4085 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4087 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4088 echo "Setting sim cflags = $sim_cflags" 6>&1
4095 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4096 if test "${enable_sim_debug+set}" = set; then
4097 enableval
="$enable_sim_debug"
4098 case "${enableval}" in
4099 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4100 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4101 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4103 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4104 echo "Setting sim debug = $sim_debug" 6>&1
4111 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4112 if test "${enable_sim_stdio+set}" = set; then
4113 enableval
="$enable_sim_stdio"
4114 case "${enableval}" in
4115 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4116 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4117 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4118 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4119 { (exit 1); exit 1; }; }; sim_stdio
="";;
4121 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4122 echo "Setting stdio flags = $sim_stdio" 6>&1
4129 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4130 if test "${enable_sim_trace+set}" = set; then
4131 enableval
="$enable_sim_trace"
4132 case "${enableval}" in
4133 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4134 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4136 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4139 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4140 if test x
"$sim_trace" = x
; then
4141 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4143 sim_trace
="${sim_trace}|TRACE_$x"
4146 sim_trace
="$sim_trace)'" ;;
4148 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4149 echo "Setting sim trace = $sim_trace" 6>&1
4156 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4157 if test "${enable_sim_profile+set}" = set; then
4158 enableval
="$enable_sim_profile"
4159 case "${enableval}" in
4160 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4161 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4163 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4166 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4167 if test x
"$sim_profile" = x
; then
4168 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4170 sim_profile
="${sim_profile}|PROFILE_$x"
4173 sim_profile
="$sim_profile)'" ;;
4175 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4176 echo "Setting sim profile = $sim_profile" 6>&1
4179 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4183 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4184 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4185 if test "${ac_cv_type_signal+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 cat >conftest.
$ac_ext <<_ACEOF
4191 cat confdefs.h
>>conftest.
$ac_ext
4192 cat >>conftest.
$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4194 #include <sys/types.h>
4200 extern "C" void (*signal (int, void (*)(int)))(int);
4202 void (*signal ()) ();
4213 rm -f conftest.
$ac_objext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4215 (eval $ac_compile) 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try
='test -z "$ac_c_werror_flag"
4223 || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; } &&
4229 { ac_try
='test -s conftest.$ac_objext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 ac_cv_type_signal
=void
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.
$ac_ext >&5
4240 ac_cv_type_signal
=int
4242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4244 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4245 echo "${ECHO_T}$ac_cv_type_signal" >&6
4247 cat >>confdefs.h
<<_ACEOF
4248 #define RETSIGTYPE $ac_cv_type_signal
4258 sim_link_links
=tconfig.h
4259 if test -f ${srcdir}/tconfig.
in
4261 sim_link_files
=tconfig.
in
4263 sim_link_files
=..
/common
/tconfig.
in
4266 # targ-vals.def points to the libc macro description file.
4268 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4270 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4271 sim_link_links
="${sim_link_links} targ-vals.def"
4275 for ac_header
in stdlib.h
4277 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4279 echo "$as_me:$LINENO: checking for $ac_header" >&5
4280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4287 # Is the header compilable?
4288 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4290 cat >conftest.
$ac_ext <<_ACEOF
4293 cat confdefs.h
>>conftest.
$ac_ext
4294 cat >>conftest.
$ac_ext <<_ACEOF
4295 /* end confdefs.h. */
4296 $ac_includes_default
4297 #include <$ac_header>
4299 rm -f conftest.
$ac_objext
4300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4301 (eval $ac_compile) 2>conftest.er1
4303 grep -v '^ *+' conftest.er1
>conftest.err
4305 cat conftest.err
>&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } &&
4308 { ac_try
='test -z "$ac_c_werror_flag"
4309 || test ! -s conftest.err'
4310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; } &&
4315 { ac_try
='test -s conftest.$ac_objext'
4316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); }; }; then
4321 ac_header_compiler
=yes
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.
$ac_ext >&5
4326 ac_header_compiler
=no
4328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4330 echo "${ECHO_T}$ac_header_compiler" >&6
4332 # Is the header present?
4333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4335 cat >conftest.
$ac_ext <<_ACEOF
4338 cat confdefs.h
>>conftest.
$ac_ext
4339 cat >>conftest.
$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4341 #include <$ac_header>
4343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4346 grep -v '^ *+' conftest.er1
>conftest.err
4348 cat conftest.err
>&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); } >/dev
/null
; then
4351 if test -s conftest.err
; then
4352 ac_cpp_err
=$ac_c_preproc_warn_flag
4353 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4360 if test -z "$ac_cpp_err"; then
4361 ac_header_preproc
=yes
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.
$ac_ext >&5
4366 ac_header_preproc
=no
4368 rm -f conftest.err conftest.
$ac_ext
4369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4370 echo "${ECHO_T}$ac_header_preproc" >&6
4372 # So? What about this header?
4373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4378 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4379 ac_header_preproc
=yes
4382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4387 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4389 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4396 ## ------------------------------------------ ##
4397 ## Report this to the AC_PACKAGE_NAME lists. ##
4398 ## ------------------------------------------ ##
4401 sed "s/^/$as_me: WARNING: /" >&2
4404 echo "$as_me:$LINENO: checking for $ac_header" >&5
4405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 eval "$as_ac_Header=\$ac_header_preproc"
4411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4416 cat >>confdefs.h
<<_ACEOF
4417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4425 # In the Cygwin environment, we need some additional flags.
4426 echo "$as_me:$LINENO: checking for cygwin" >&5
4427 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
4428 if test "${sim_cv_os_cygwin+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 cat >conftest.
$ac_ext <<_ACEOF
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4443 $EGREP "lose" >/dev
/null
2>&1; then
4444 sim_cv_os_cygwin
=yes
4451 echo "$as_me:$LINENO: result: $sim_cv_os_cygwin" >&5
4452 echo "${ECHO_T}$sim_cv_os_cygwin" >&6
4454 if test x
$sim_cv_os_cygwin = xyes
; then
4455 TERMCAP
='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32'
4457 echo "$as_me:$LINENO: checking for main in -ltermcap" >&5
4458 echo $ECHO_N "checking for main in -ltermcap... $ECHO_C" >&6
4459 if test "${ac_cv_lib_termcap_main+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 ac_check_lib_save_LIBS
=$LIBS
4463 LIBS
="-ltermcap $LIBS"
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4480 rm -f conftest.
$ac_objext conftest
$ac_exeext
4481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4482 (eval $ac_link) 2>conftest.er1
4484 grep -v '^ *+' conftest.er1
>conftest.err
4486 cat conftest.err
>&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); } &&
4489 { ac_try
='test -z "$ac_c_werror_flag"
4490 || test ! -s conftest.err'
4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; } &&
4496 { ac_try
='test -s conftest$ac_exeext'
4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; }; then
4502 ac_cv_lib_termcap_main
=yes
4504 echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.
$ac_ext >&5
4507 ac_cv_lib_termcap_main
=no
4509 rm -f conftest.err conftest.
$ac_objext \
4510 conftest
$ac_exeext conftest.
$ac_ext
4511 LIBS
=$ac_check_lib_save_LIBS
4513 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_main" >&5
4514 echo "${ECHO_T}$ac_cv_lib_termcap_main" >&6
4515 if test $ac_cv_lib_termcap_main = yes; then
4525 ac_sources
="$sim_link_files"
4526 ac_dests
="$sim_link_links"
4527 while test -n "$ac_sources"; do
4528 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
4529 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
4530 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
4532 ac_config_links
="$ac_config_links $ac_config_links_1"
4535 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
4536 cgen_breaks
="break cgen_rtx_error";
4539 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
4541 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
4543 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
4545 ac_config_commands
="$ac_config_commands Makefile"
4547 ac_config_commands
="$ac_config_commands stamp-h"
4549 cat >confcache
<<\_ACEOF
4550 # This file is a shell script that caches the results of configure
4551 # tests run on this system so they can be shared between configure
4552 # scripts and configure runs, see configure's option --config-cache.
4553 # It is not useful on other systems. If it contains results you don't
4554 # want to keep, you may remove or edit it.
4556 # config.status only pays attention to the cache file if you give it
4557 # the --recheck option to rerun configure.
4559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4565 # The following way of writing the cache mishandles newlines in values,
4566 # but we know of no workaround that is simple, portable, and efficient.
4567 # So, don't put newlines in cache variables' values.
4568 # Ultrix sh set writes to stderr and can't be redirected directly,
4569 # and sets the high bit in the cache file unless we assign to the vars.
4572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4574 # `set' does not quote correctly, so add quotes (double-quote
4575 # substitution turns \\\\ into \\, and sed turns \\ into \).
4578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4581 # `set' quotes correctly as required by POSIX, so do not add quotes.
4583 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4592 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4594 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4595 if test -w $cache_file; then
4596 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4597 cat confcache
>$cache_file
4599 echo "not updating unwritable cache $cache_file"
4604 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4605 # Let make expand exec_prefix.
4606 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4610 # trailing colons and then remove the whole line if VPATH becomes empty
4611 # (actually we leave an empty line to preserve line numbers).
4612 if test "x$srcdir" = x.
; then
4613 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4614 s/:*\$(srcdir):*/:/;
4615 s/:*\${srcdir}:*/:/;
4617 s/^\([^=]*=[ ]*\):*/\1/;
4623 DEFS
=-DHAVE_CONFIG_H
4627 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4628 # 1. Remove the extension, and $U if already installed.
4629 ac_i
=`echo "$ac_i" |
4630 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4632 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4633 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4637 LTLIBOBJS
=$ac_ltlibobjs
4641 : ${CONFIG_STATUS=./config.status}
4642 ac_clean_files_save
=$ac_clean_files
4643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4646 cat >$CONFIG_STATUS <<_ACEOF
4648 # Generated by $as_me.
4649 # Run this file to recreate the current configuration.
4650 # Compiler output produced by configure, useful for debugging
4651 # configure, is in config.log if it exists.
4656 SHELL=\${CONFIG_SHELL-$SHELL}
4659 cat >>$CONFIG_STATUS <<\_ACEOF
4660 ## --------------------- ##
4661 ## M4sh Initialization. ##
4662 ## --------------------- ##
4664 # Be Bourne compatible
4665 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4668 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4669 # is contrary to our usage. Disable this feature.
4670 alias -g '${1+"$@"}'='"$@"'
4671 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4674 DUALCASE
=1; export DUALCASE
# for MKS sh
4676 # Support unset when possible.
4677 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4684 # Work around bugs in pre-3.0 UWIN ksh.
4685 $as_unset ENV MAIL MAILPATH
4692 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4693 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4694 LC_TELEPHONE LC_TIME
4696 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4697 eval $as_var=C
; export $as_var
4703 # Required to use basename.
4704 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4710 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4711 as_basename
=basename
4717 # Name of the executable.
4718 as_me
=`$as_basename "$0" ||
4719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4720 X"$0" : 'X\(//\)$' \| \
4721 X"$0" : 'X\(/\)$' \| \
4722 . : '\(.\)' 2>/dev/null ||
4724 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4725 /^X\/\(\/\/\)$/{ s//\1/; q; }
4726 /^X\/\(\/\).*/{ s//\1/; q; }
4730 # PATH needs CR, and LINENO needs CR and PATH.
4731 # Avoid depending upon Character Ranges.
4732 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4733 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4734 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4735 as_cr_digits
='0123456789'
4736 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4738 # The user is always right.
4739 if test "${PATH_SEPARATOR+set}" != set; then
4740 echo "#! /bin/sh" >conf$$.sh
4741 echo "exit 0" >>conf$$.sh
4743 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4754 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4755 test "x$as_lineno_1" != "x$as_lineno_2" &&
4756 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4757 # Find who we are. Look in the path if we contain no path at all
4760 *[\\/]* ) as_myself
=$0 ;;
4761 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4771 # We did not find ourselves, most probably we were run as `sh COMMAND'
4772 # in which case we are not to be found in the path.
4773 if test "x$as_myself" = x
; then
4776 if test ! -f "$as_myself"; then
4777 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4778 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4779 { (exit 1); exit 1; }; }
4781 case $CONFIG_SHELL in
4783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4787 test -z "$as_dir" && as_dir
=.
4788 for as_base
in sh bash ksh sh5
; do
4791 if ("$as_dir/$as_base" -c '
4794 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4795 test "x$as_lineno_1" != "x$as_lineno_2" &&
4796 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4797 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4798 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4799 CONFIG_SHELL
=$as_dir/$as_base
4801 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4809 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4810 # uniformly replaced by the line number. The first 'sed' inserts a
4811 # line-number line before each line; the second 'sed' does the real
4812 # work. The second script uses 'N' to pair each line-number line
4813 # with the numbered line, and appends trailing '-' during
4814 # substitution so that $LINENO is not a special case at line end.
4815 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4816 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4817 sed '=' <$as_myself |
4822 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4825 s,^['$as_cr_digits']*\n,,
4827 chmod +x
$as_me.lineno ||
4828 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4829 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4830 { (exit 1); exit 1; }; }
4832 # Don't try to exec as it changes $[0], causing all sort of problems
4833 # (the dirname of $[0] is not the place where we might find the
4834 # original and so on. Autoconf is especially sensible to this).
4836 # Exit status is that of the last command.
4841 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4842 *c
*,-n*) ECHO_N
= ECHO_C
='
4844 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4845 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4848 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4854 rm -f conf$$ conf$$.exe conf$$.
file
4856 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4857 # We could just check for DJGPP; but this test a) works b) is more generic
4858 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4859 if test -f conf$$.exe
; then
4860 # Don't use ln at all; we don't have any links
4865 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4870 rm -f conf$$ conf$$.exe conf$$.
file
4872 if mkdir
-p .
2>/dev
/null
; then
4875 test -d .
/-p && rmdir .
/-p
4879 as_executable_p
="test -f"
4881 # Sed expression to map a string onto a valid CPP name.
4882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4884 # Sed expression to map a string onto a valid variable name.
4885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4889 # We need space, tab and new line, in precisely that order.
4899 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4900 # report actual input values of CONFIG_FILES etc. instead of their
4901 # values after options handling. Logging --version etc. is OK.
4905 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4906 ## Running $as_me. ##
4911 This file was extended by $as_me, which was
4912 generated by GNU Autoconf 2.59. Invocation command line was
4914 CONFIG_FILES = $CONFIG_FILES
4915 CONFIG_HEADERS = $CONFIG_HEADERS
4916 CONFIG_LINKS = $CONFIG_LINKS
4917 CONFIG_COMMANDS = $CONFIG_COMMANDS
4921 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4925 # Files that config.status was made for.
4926 if test -n "$ac_config_files"; then
4927 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4930 if test -n "$ac_config_headers"; then
4931 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4934 if test -n "$ac_config_links"; then
4935 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4938 if test -n "$ac_config_commands"; then
4939 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4942 cat >>$CONFIG_STATUS <<\_ACEOF
4945 \`$as_me' instantiates files from templates according to the
4946 current configuration.
4948 Usage: $0 [OPTIONS] [FILE]...
4950 -h, --help print this help, then exit
4951 -V, --version print version number, then exit
4952 -q, --quiet do not print progress messages
4953 -d, --debug don't remove temporary files
4954 --recheck update $as_me by reconfiguring in the same conditions
4955 --file=FILE[:TEMPLATE]
4956 instantiate the configuration file FILE
4957 --header=FILE[:TEMPLATE]
4958 instantiate the configuration header FILE
4960 Configuration files:
4963 Configuration headers:
4966 Configuration links:
4969 Configuration commands:
4972 Report bugs to <bug-autoconf@gnu.org>."
4975 cat >>$CONFIG_STATUS <<_ACEOF
4978 configured by $0, generated by GNU Autoconf 2.59,
4979 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4981 Copyright (C) 2003 Free Software Foundation, Inc.
4982 This config.status script is free software; the Free Software Foundation
4983 gives unlimited permission to copy, distribute and modify it."
4988 cat >>$CONFIG_STATUS <<\_ACEOF
4989 # If no file are specified by the user, then we need to provide default
4990 # value. By we need to know if files were specified by the user.
4996 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4997 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5005 *) # This is not an option, so the user has probably given explicit
5008 ac_need_defaults
=false
;;
5012 # Handling of the options.
5014 cat >>$CONFIG_STATUS <<\_ACEOF
5015 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5017 --version |
--vers* |
-V )
5018 echo "$ac_cs_version"; exit 0 ;;
5020 # Conflict between --help and --header
5021 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5022 Try \`$0 --help' for more information." >&5
5023 echo "$as_me: error: ambiguous option: $1
5024 Try \`$0 --help' for more information." >&2;}
5025 { (exit 1); exit 1; }; };;
5026 --help |
--hel |
-h )
5027 echo "$ac_cs_usage"; exit 0 ;;
5028 --debug |
--d* |
-d )
5030 --file |
--fil |
--fi |
--f )
5032 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5033 ac_need_defaults
=false
;;
5034 --header |
--heade |
--head |
--hea )
5036 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5037 ac_need_defaults
=false
;;
5038 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5039 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5043 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5044 Try \`$0 --help' for more information." >&5
5045 echo "$as_me: error: unrecognized option: $1
5046 Try \`$0 --help' for more information." >&2;}
5047 { (exit 1); exit 1; }; } ;;
5049 *) ac_config_targets
="$ac_config_targets $1" ;;
5055 ac_configure_extra_args
=
5057 if $ac_cs_silent; then
5059 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5063 cat >>$CONFIG_STATUS <<_ACEOF
5064 if \$ac_cs_recheck; then
5065 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5066 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5075 cat >>$CONFIG_STATUS <<\_ACEOF
5076 for ac_config_target
in $ac_config_targets
5078 case "$ac_config_target" in
5079 # Handling of arguments.
5080 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5081 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5082 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5083 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
5084 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5085 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5086 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5087 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5088 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5089 { (exit 1); exit 1; }; };;
5093 # If the user did not use the arguments to specify the items to instantiate,
5094 # then the envvar interface is used. Set only those that are not.
5095 # We use the long form for the default assignment because of an extremely
5096 # bizarre bug on SunOS 4.1.3.
5097 if $ac_need_defaults; then
5098 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5099 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5100 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5101 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5104 # Have a temporary directory for convenience. Make it in the build tree
5105 # simply because there is no reason to put it here, and in addition,
5106 # creating and moving files from /tmp can sometimes cause problems.
5107 # Create a temporary directory, and hook for its removal unless debugging.
5110 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5111 trap '{ (exit 1); exit 1; }' 1 2 13 15
5114 # Create a (secure) tmp directory for tmp files.
5117 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5118 test -n "$tmp" && test -d "$tmp"
5121 tmp
=.
/confstat$$
-$RANDOM
5122 (umask 077 && mkdir
$tmp)
5125 echo "$me: cannot create a temporary directory in ." >&2
5126 { (exit 1); exit 1; }
5131 cat >>$CONFIG_STATUS <<_ACEOF
5134 # CONFIG_FILES section.
5137 # No need to generate the scripts if there are no CONFIG_FILES.
5138 # This happens for instance when ./config.status config.h
5139 if test -n "\$CONFIG_FILES"; then
5140 # Protect against being on the right side of a sed subst in config.status.
5141 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5142 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5143 s,@SHELL@,$SHELL,;t t
5144 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5145 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5146 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5147 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5148 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5149 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5150 s,@exec_prefix@,$exec_prefix,;t t
5151 s,@prefix@,$prefix,;t t
5152 s,@program_transform_name@,$program_transform_name,;t t
5153 s,@bindir@,$bindir,;t t
5154 s,@sbindir@,$sbindir,;t t
5155 s,@libexecdir@,$libexecdir,;t t
5156 s,@datadir@,$datadir,;t t
5157 s,@sysconfdir@,$sysconfdir,;t t
5158 s,@sharedstatedir@,$sharedstatedir,;t t
5159 s,@localstatedir@,$localstatedir,;t t
5160 s,@libdir@,$libdir,;t t
5161 s,@includedir@,$includedir,;t t
5162 s,@oldincludedir@,$oldincludedir,;t t
5163 s,@infodir@,$infodir,;t t
5164 s,@mandir@,$mandir,;t t
5165 s,@build_alias@,$build_alias,;t t
5166 s,@host_alias@,$host_alias,;t t
5167 s,@target_alias@,$target_alias,;t t
5169 s,@ECHO_C@,$ECHO_C,;t t
5170 s,@ECHO_N@,$ECHO_N,;t t
5171 s,@ECHO_T@,$ECHO_T,;t t
5173 s,@sim_environment@,$sim_environment,;t t
5174 s,@sim_alignment@,$sim_alignment,;t t
5175 s,@sim_assert@,$sim_assert,;t t
5176 s,@sim_bitsize@,$sim_bitsize,;t t
5177 s,@sim_endian@,$sim_endian,;t t
5178 s,@sim_hostendian@,$sim_hostendian,;t t
5179 s,@sim_float@,$sim_float,;t t
5180 s,@sim_scache@,$sim_scache,;t t
5181 s,@sim_default_model@,$sim_default_model,;t t
5182 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
5183 s,@sim_hw_objs@,$sim_hw_objs,;t t
5184 s,@sim_hw@,$sim_hw,;t t
5185 s,@sim_inline@,$sim_inline,;t t
5186 s,@sim_packages@,$sim_packages,;t t
5187 s,@sim_regparm@,$sim_regparm,;t t
5188 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
5189 s,@sim_smp@,$sim_smp,;t t
5190 s,@sim_stdcall@,$sim_stdcall,;t t
5191 s,@sim_xor_endian@,$sim_xor_endian,;t t
5192 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5193 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
5194 s,@build@,$build,;t t
5195 s,@build_cpu@,$build_cpu,;t t
5196 s,@build_vendor@,$build_vendor,;t t
5197 s,@build_os@,$build_os,;t t
5199 s,@host_cpu@,$host_cpu,;t t
5200 s,@host_vendor@,$host_vendor,;t t
5201 s,@host_os@,$host_os,;t t
5202 s,@target@,$target,;t t
5203 s,@target_cpu@,$target_cpu,;t t
5204 s,@target_vendor@,$target_vendor,;t t
5205 s,@target_os@,$target_os,;t t
5207 s,@CFLAGS@,$CFLAGS,;t t
5208 s,@LDFLAGS@,$LDFLAGS,;t t
5209 s,@CPPFLAGS@,$CPPFLAGS,;t t
5210 s,@ac_ct_CC@,$ac_ct_CC,;t t
5211 s,@EXEEXT@,$EXEEXT,;t t
5212 s,@OBJEXT@,$OBJEXT,;t t
5213 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5214 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5215 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5216 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
5217 s,@HDEFINES@,$HDEFINES,;t t
5219 s,@RANLIB@,$RANLIB,;t t
5220 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5222 s,@EGREP@,$EGREP,;t t
5223 s,@MAINT@,$MAINT,;t t
5224 s,@sim_bswap@,$sim_bswap,;t t
5225 s,@sim_cflags@,$sim_cflags,;t t
5226 s,@sim_debug@,$sim_debug,;t t
5227 s,@sim_stdio@,$sim_stdio,;t t
5228 s,@sim_trace@,$sim_trace,;t t
5229 s,@sim_profile@,$sim_profile,;t t
5230 s,@TERMCAP@,$TERMCAP,;t t
5231 s,@cgen_breaks@,$cgen_breaks,;t t
5232 s,@LIBOBJS@,$LIBOBJS,;t t
5233 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5238 cat >>$CONFIG_STATUS <<\_ACEOF
5239 # Split the substitutions into bite-sized pieces for seds with
5240 # small command number limits, like on Digital OSF/1 and HP-UX.
5242 ac_sed_frag
=1 # Number of current file.
5243 ac_beg
=1 # First line for current file.
5244 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5247 while $ac_more_lines; do
5248 if test $ac_beg -gt 1; then
5249 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5251 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5253 if test ! -s $tmp/subs.frag
; then
5256 # The purpose of the label and of the branching condition is to
5257 # speed up the sed processing (if there are no `@' at all, there
5258 # is no need to browse any of the substitutions).
5259 # These are the two extra sed commands mentioned above.
5261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5262 if test -z "$ac_sed_cmds"; then
5263 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5265 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5267 ac_sed_frag
=`expr $ac_sed_frag + 1`
5269 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5272 if test -z "$ac_sed_cmds"; then
5275 fi # test -n "$CONFIG_FILES"
5278 cat >>$CONFIG_STATUS <<\_ACEOF
5279 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5280 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5282 - |
*:- |
*:-:* ) # input from stdin
5284 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5285 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5286 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5287 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5288 * ) ac_file_in
=$ac_file.
in ;;
5291 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5292 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5294 X"$ac_file" : 'X\(//\)[^/]' \| \
5295 X"$ac_file" : 'X\(//\)$' \| \
5296 X"$ac_file" : 'X\(/\)' \| \
5297 . : '\(.\)' 2>/dev/null ||
5299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5300 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5301 /^X\(\/\/\)$/{ s//\1/; q; }
5302 /^X\(\/\).*/{ s//\1/; q; }
5304 { if $as_mkdir_p; then
5309 while test ! -d "$as_dir"; do
5310 as_dirs
="$as_dir $as_dirs"
5311 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5313 X"$as_dir" : 'X\(//\)[^/]' \| \
5314 X"$as_dir" : 'X\(//\)$' \| \
5315 X"$as_dir" : 'X\(/\)' \| \
5316 . : '\(.\)' 2>/dev/null ||
5318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5320 /^X\(\/\/\)$/{ s//\1/; q; }
5321 /^X\(\/\).*/{ s//\1/; q; }
5324 test ! -n "$as_dirs" || mkdir
$as_dirs
5325 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5326 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5327 { (exit 1); exit 1; }; }; }
5331 if test "$ac_dir" != .
; then
5332 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5333 # A "../" for each directory in $ac_dir_suffix.
5334 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5336 ac_dir_suffix
= ac_top_builddir
=
5340 .
) # No --srcdir option. We are building in place.
5342 if test -z "$ac_top_builddir"; then
5345 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5347 [\\/]* | ?
:[\\/]* ) # Absolute path.
5348 ac_srcdir
=$srcdir$ac_dir_suffix;
5349 ac_top_srcdir
=$srcdir ;;
5351 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5352 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5355 # Do not use `cd foo && pwd` to compute absolute paths, because
5356 # the directories may not exist.
5358 .
) ac_abs_builddir
="$ac_dir";;
5361 .
) ac_abs_builddir
=`pwd`;;
5362 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5363 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5366 case $ac_abs_builddir in
5367 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5369 case ${ac_top_builddir}.
in
5370 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5371 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5372 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5375 case $ac_abs_builddir in
5376 .
) ac_abs_srcdir
=$ac_srcdir;;
5379 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5380 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5381 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5384 case $ac_abs_builddir in
5385 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5387 case $ac_top_srcdir in
5388 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5389 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5390 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5396 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5397 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5400 if test x
"$ac_file" != x-
; then
5401 { echo "$as_me:$LINENO: creating $ac_file" >&5
5402 echo "$as_me: creating $ac_file" >&6;}
5405 # Let's still pretend it is `configure' which instantiates (i.e., don't
5406 # use $as_me), people would be surprised to read:
5407 # /* config.h. Generated by config.status. */
5408 if test x
"$ac_file" = x-
; then
5411 configure_input
="$ac_file. "
5413 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5414 sed 's,.*/,,'` by configure."
5416 # First look for the input files in the build tree, otherwise in the
5418 ac_file_inputs
=`IFS=:
5419 for f in $ac_file_in; do
5421 -) echo $tmp/stdin ;;
5423 # Absolute (can't be DOS-style, as IFS=:)
5424 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5425 echo "$as_me: error: cannot find input file: $f" >&2;}
5426 { (exit 1); exit 1; }; }
5429 if test -f "$f"; then
5432 elif test -f "$srcdir/$f"; then
5437 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5438 echo "$as_me: error: cannot find input file: $f" >&2;}
5439 { (exit 1); exit 1; }; }
5442 done` ||
{ (exit 1); exit 1; }
5444 cat >>$CONFIG_STATUS <<_ACEOF
5448 cat >>$CONFIG_STATUS <<\_ACEOF
5450 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5451 s
,@configure_input@
,$configure_input,;t t
5452 s
,@srcdir@
,$ac_srcdir,;t t
5453 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5454 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5455 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5456 s
,@builddir@
,$ac_builddir,;t t
5457 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5458 s
,@top_builddir@
,$ac_top_builddir,;t t
5459 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5460 s
,@INSTALL@
,$ac_INSTALL,;t t
5461 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5463 if test x"$ac_file" != x-; then
5464 mv $tmp/out $ac_file
5472 cat >>$CONFIG_STATUS <<\_ACEOF
5475 # CONFIG_HEADER section.
5478 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5479 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5481 # ac_d sets the value in "#define NAME VALUE" lines.
5482 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5483 ac_dB
='[ ].*$,\1#\2'
5486 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5487 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5488 ac_uB
='$,\1#\2define\3'
5492 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5493 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5495 - |
*:- |
*:-:* ) # input from stdin
5497 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5498 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5499 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5500 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5501 * ) ac_file_in
=$ac_file.
in ;;
5504 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5505 echo "$as_me: creating $ac_file" >&6;}
5507 # First look for the input files in the build tree, otherwise in the
5509 ac_file_inputs
=`IFS=:
5510 for f in $ac_file_in; do
5512 -) echo $tmp/stdin ;;
5514 # Absolute (can't be DOS-style, as IFS=:)
5515 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5516 echo "$as_me: error: cannot find input file: $f" >&2;}
5517 { (exit 1); exit 1; }; }
5518 # Do quote $f, to prevent DOS paths from being IFS'd.
5521 if test -f "$f"; then
5524 elif test -f "$srcdir/$f"; then
5529 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5530 echo "$as_me: error: cannot find input file: $f" >&2;}
5531 { (exit 1); exit 1; }; }
5534 done` ||
{ (exit 1); exit 1; }
5535 # Remove the trailing spaces.
5536 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5540 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5541 # `conftest.undefs', that substitutes the proper values into
5542 # config.h.in to produce config.h. The first handles `#define'
5543 # templates, and the second `#undef' templates.
5544 # And first: Protect against being on the right side of a sed subst in
5545 # config.status. Protect against being in an unquoted here document
5547 rm -f conftest.defines conftest.undefs
5548 # Using a here document instead of a string reduces the quoting nightmare.
5549 # Putting comments in sed scripts is not portable.
5551 # `end' is used to avoid that the second main sed command (meant for
5552 # 0-ary CPP macros) applies to n-ary macro definitions.
5553 # See the Autoconf documentation for `clear'.
5554 cat >confdef2sed.
sed <<\_ACEOF
5559 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5561 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5564 # If some macros were called several times there might be several times
5565 # the same #defines, which is useless. Nevertheless, we may not want to
5566 # sort them, since we want the *last* AC-DEFINE to be honored.
5567 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5568 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5569 rm -f confdef2sed.sed
5571 # This sed command replaces #undef with comments. This is necessary, for
5572 # example, in the case of _POSIX_SOURCE, which is predefined and required
5573 # on some systems where configure will not decide to define it.
5574 cat >>conftest.undefs <<\_ACEOF
5575 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5578 # Break up conftest.defines because some shells have a limit on the size
5579 # of here documents, and old seds have small limits too (100 cmds).
5580 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5581 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5582 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5583 echo ' :' >>$CONFIG_STATUS
5585 while grep . conftest.defines >/dev/null
5587 # Write a limited-size here document to $tmp/defines.sed.
5588 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5589 # Speed up: don't consider the non `#define' lines.
5590 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5591 # Work around the forget-to-reset-the-flag bug.
5592 echo 't clr' >>$CONFIG_STATUS
5593 echo ': clr' >>$CONFIG_STATUS
5594 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5596 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5600 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5601 rm -f conftest.defines
5602 mv conftest.
tail conftest.defines
5604 rm -f conftest.defines
5605 echo ' fi # grep' >>$CONFIG_STATUS
5606 echo >>$CONFIG_STATUS
5608 # Break up conftest.undefs because some shells have a limit on the size
5609 # of here documents, and old seds have small limits too (100 cmds).
5610 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5612 while grep . conftest.undefs
>/dev
/null
5614 # Write a limited-size here document to $tmp/undefs.sed.
5615 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5616 # Speed up: don't consider the non
`#undef'
5617 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5618 # Work around the forget-to-reset-the-flag bug.
5619 echo 't clr' >>$CONFIG_STATUS
5620 echo ': clr' >>$CONFIG_STATUS
5621 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5623 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5627 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5628 rm -f conftest.undefs
5629 mv conftest.tail conftest.undefs
5631 rm -f conftest.undefs
5633 cat >>$CONFIG_STATUS <<\_ACEOF
5634 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5635 # use $as_me), people would be surprised to read:
5636 # /* config.h. Generated by config.status. */
5637 if test x
"$ac_file" = x-
; then
5638 echo "/* Generated by configure. */" >$tmp/config.h
5640 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5642 cat $tmp/in >>$tmp/config.h
5644 if test x
"$ac_file" != x-
; then
5645 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5646 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5647 echo "$as_me: $ac_file is unchanged" >&6;}
5649 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5650 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5651 X"$ac_file" : 'X\(//\)[^/]' \| \
5652 X"$ac_file" : 'X\(//\)$' \| \
5653 X"$ac_file" : 'X\(/\)' \| \
5654 . : '\(.\)' 2>/dev/null ||
5656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5658 /^X\(\/\/\)$/{ s//\1/; q; }
5659 /^X\(\/\).*/{ s//\1/; q; }
5661 { if $as_mkdir_p; then
5666 while test ! -d "$as_dir"; do
5667 as_dirs
="$as_dir $as_dirs"
5668 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5670 X"$as_dir" : 'X\(//\)[^/]' \| \
5671 X"$as_dir" : 'X\(//\)$' \| \
5672 X"$as_dir" : 'X\(/\)' \| \
5673 . : '\(.\)' 2>/dev/null ||
5675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5677 /^X\(\/\/\)$/{ s//\1/; q; }
5678 /^X\(\/\).*/{ s//\1/; q; }
5681 test ! -n "$as_dirs" || mkdir
$as_dirs
5682 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5683 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5684 { (exit 1); exit 1; }; }; }
5687 mv $tmp/config.h
$ac_file
5695 cat >>$CONFIG_STATUS <<\_ACEOF
5698 # CONFIG_LINKS section.
5701 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
5702 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5703 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5705 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
5706 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
5708 if test ! -r $srcdir/$ac_source; then
5709 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
5710 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
5711 { (exit 1); exit 1; }; }
5715 # Make relative symlinks.
5716 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5717 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5718 X"$ac_dest" : 'X\(//\)[^/]' \| \
5719 X"$ac_dest" : 'X\(//\)$' \| \
5720 X"$ac_dest" : 'X\(/\)' \| \
5721 . : '\(.\)' 2>/dev/null ||
5723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5725 /^X\(\/\/\)$/{ s//\1/; q; }
5726 /^X\(\/\).*/{ s//\1/; q; }
5728 { if $as_mkdir_p; then
5729 mkdir
-p "$ac_dest_dir"
5731 as_dir
="$ac_dest_dir"
5733 while test ! -d "$as_dir"; do
5734 as_dirs
="$as_dir $as_dirs"
5735 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5737 X"$as_dir" : 'X\(//\)[^/]' \| \
5738 X"$as_dir" : 'X\(//\)$' \| \
5739 X"$as_dir" : 'X\(/\)' \| \
5740 . : '\(.\)' 2>/dev/null ||
5742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5744 /^X\(\/\/\)$/{ s//\1/; q; }
5745 /^X\(\/\).*/{ s//\1/; q; }
5748 test ! -n "$as_dirs" || mkdir
$as_dirs
5749 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
5750 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
5751 { (exit 1); exit 1; }; }; }
5755 if test "$ac_dest_dir" != .
; then
5756 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
5757 # A "../" for each directory in $ac_dir_suffix.
5758 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5760 ac_dir_suffix
= ac_top_builddir
=
5764 .
) # No --srcdir option. We are building in place.
5766 if test -z "$ac_top_builddir"; then
5769 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5771 [\\/]* | ?
:[\\/]* ) # Absolute path.
5772 ac_srcdir
=$srcdir$ac_dir_suffix;
5773 ac_top_srcdir
=$srcdir ;;
5775 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5776 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5779 # Do not use `cd foo && pwd` to compute absolute paths, because
5780 # the directories may not exist.
5782 .
) ac_abs_builddir
="$ac_dest_dir";;
5784 case "$ac_dest_dir" in
5785 .
) ac_abs_builddir
=`pwd`;;
5786 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
5787 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
5790 case $ac_abs_builddir in
5791 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5793 case ${ac_top_builddir}.
in
5794 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5795 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5796 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5799 case $ac_abs_builddir in
5800 .
) ac_abs_srcdir
=$ac_srcdir;;
5803 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5804 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5805 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5808 case $ac_abs_builddir in
5809 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5811 case $ac_top_srcdir in
5812 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5813 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5814 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5820 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
5821 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
5824 # Try a symlink, then a hard link, then a copy.
5825 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
5826 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
5827 cp -p $srcdir/$ac_source $ac_dest ||
5828 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
5829 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
5830 { (exit 1); exit 1; }; }
5833 cat >>$CONFIG_STATUS <<\_ACEOF
5836 # CONFIG_COMMANDS section.
5838 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
5839 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5840 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5841 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5842 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5843 X"$ac_dest" : 'X\(//\)[^/]' \| \
5844 X"$ac_dest" : 'X\(//\)$' \| \
5845 X"$ac_dest" : 'X\(/\)' \| \
5846 . : '\(.\)' 2>/dev/null ||
5848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5849 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5850 /^X\(\/\/\)$/{ s//\1/; q; }
5851 /^X\(\/\).*/{ s//\1/; q; }
5853 { if $as_mkdir_p; then
5858 while test ! -d "$as_dir"; do
5859 as_dirs
="$as_dir $as_dirs"
5860 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5861 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5862 X"$as_dir" : 'X\(//\)[^/]' \| \
5863 X"$as_dir" : 'X\(//\)$' \| \
5864 X"$as_dir" : 'X\(/\)' \| \
5865 . : '\(.\)' 2>/dev/null ||
5867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5869 /^X\(\/\/\)$/{ s//\1/; q; }
5870 /^X\(\/\).*/{ s//\1/; q; }
5873 test ! -n "$as_dirs" || mkdir
$as_dirs
5874 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5875 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5876 { (exit 1); exit 1; }; }; }
5880 if test "$ac_dir" != .
; then
5881 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5882 # A "../" for each directory in $ac_dir_suffix.
5883 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5885 ac_dir_suffix
= ac_top_builddir
=
5889 .
) # No --srcdir option. We are building in place.
5891 if test -z "$ac_top_builddir"; then
5894 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5896 [\\/]* | ?
:[\\/]* ) # Absolute path.
5897 ac_srcdir
=$srcdir$ac_dir_suffix;
5898 ac_top_srcdir
=$srcdir ;;
5900 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5901 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5904 # Do not use `cd foo && pwd` to compute absolute paths, because
5905 # the directories may not exist.
5907 .
) ac_abs_builddir
="$ac_dir";;
5910 .
) ac_abs_builddir
=`pwd`;;
5911 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5912 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5915 case $ac_abs_builddir in
5916 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5918 case ${ac_top_builddir}.
in
5919 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5920 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5921 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5924 case $ac_abs_builddir in
5925 .
) ac_abs_srcdir
=$ac_srcdir;;
5928 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5929 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5930 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5933 case $ac_abs_builddir in
5934 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5936 case $ac_top_srcdir in
5937 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5938 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5939 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5944 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5945 echo "$as_me: executing $ac_dest commands" >&6;}
5947 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
5948 rm -f Makesim1.tmp Makesim2.tmp Makefile
5949 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
5950 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
5951 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
5952 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
5953 <Makefile.sim
>Makefile
5954 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
5956 stamp-h
) echo > stamp-h
;;
5961 cat >>$CONFIG_STATUS <<\_ACEOF
5963 { (exit 0); exit 0; }
5965 chmod +x
$CONFIG_STATUS
5966 ac_clean_files
=$ac_clean_files_save
5969 # configure is writing to config.log, and then calls config.status.
5970 # config.status does its own redirection, appending to config.log.
5971 # Unfortunately, on DOS this fails, as config.log is still kept open
5972 # by configure, so config.status won't be able to write to it; its
5973 # output is simply discarded. So we exec the FD to /dev/null,
5974 # effectively closing config.log, so it can be properly (re)opened and
5975 # appended to by config.status. When coming back to configure, we
5976 # need to make the FD available again.
5977 if test "$no_create" != yes; then
5979 ac_config_status_args
=
5980 test "$silent" = yes &&
5981 ac_config_status_args
="$ac_config_status_args --quiet"
5983 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5985 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5986 # would make configure fail if this is the last instruction.
5987 $ac_cs_success ||
{ (exit 1); exit 1; }