2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-maintainer-mode Enable developer functionality.
854 --enable-sim-bswap Use Host specific BSWAP instruction.
855 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
856 --enable-sim-debug=opts Enable debugging flags
857 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
858 --enable-sim-trace=opts Enable tracing flags
859 --enable-sim-profile=opts Enable profiling flags
862 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
863 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
864 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
865 --with-bugurl=URL Direct users to URL to report a bug
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1314 ac_config_headers="$ac_config_headers config.h:config.in"
1317 # This file contains common code used by all simulators.
1319 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1320 # directory. It is intended to be invoked before any target specific stuff.
1321 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1322 # It is intended to be invoked last.
1324 # The simulator's configure.
in should
look like
:
1326 # dnl Process this file with autoconf to produce a configure script.
1327 # sinclude(../common/aclocal.m4)
1329 # AC_INIT(Makefile.in)
1333 # ... target specific stuff ...
1384 sim_inline
="-DDEFAULT_INLINE=0"
1421 # intl sister-directory configuration rules.
1424 # The idea behind this macro is that there's no need to repeat all the
1425 # autoconf probes done by the intl directory - it's already done them
1426 # for us. In fact, there's no need even to look at the cache for the
1427 # answers. All we need to do is nab a few pieces of information.
1428 # The intl directory is set up to make this easy, by generating a
1429 # small file which can be sourced as a shell script; then we produce
1430 # the necessary substitutions and definitions for this directory.
1434 # Autoconf M4 include file defining utility macros for complex Canadian
1446 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1448 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1451 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1452 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1456 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1457 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1461 # Backported from Autoconf 2.5x; can go away when and if
1462 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1467 # ACX_HAVE_GCC_FOR_TARGET
1468 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1471 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1472 # Searching for installed target binutils. We need to take extra care,
1473 # else we may find the wrong assembler, linker, etc., and lose.
1475 # First try --with-build-time-tools, if specified.
1477 # For build != host, we ask the installed GCC for the name of the tool it
1478 # uses, and accept it if it is an absolute path. This is because the
1479 # only good choice for a compiler is the same GCC version that is being
1480 # installed (or we couldn't make target libraries), and we assume that
1481 # on the host system we'll have not only the same GCC version, but also
1482 # the same binutils version.
1484 # For build == host, search the same directories that the installed
1485 # compiler will search. We used to do this for the assembler, linker,
1486 # and nm only; for simplicity of configuration, however, we extend this
1487 # criterion to tools (such as ar and ranlib) that are never invoked by
1488 # the compiler, to avoid mismatches.
1490 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1491 # if build == target. This makes the most sense only when bootstrapping,
1492 # but we also do so when build != host. In this case, we hope that the
1493 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1495 # If we do not find a suitable binary, then try the user's path.
1499 # AC_PROG_CPP_WERROR
1500 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1501 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1502 # For now, using this also overrides header checks to use only the
1503 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1504 # bit harder from here).
1505 # Eventually autoconf will default to checking headers with the compiler
1506 # instead, and we'll have to do this differently.
1508 # AC_PROG_CPP_WERROR
1511 # We require the gnatbind program, and a compiler driver that
1512 # understands Ada. We use the user's CC setting, already found,
1513 # and possibly add $1 to the command-line parameters.
1515 # Sets the shell variable have_gnat to yes or no as appropriate, and
1516 # substitutes GNATBIND and GNATMAKE.
1542 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1543 # it by inlining the macro's contents.
1544 # This file contains common code used by all simulators.
1546 # common.m4 invokes AC macros used by all simulators and by the common
1547 # directory. It is intended to be included before any target specific
1548 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1549 # the Makefile. It is intended to be invoked last.
1551 # The simulator's configure.in should look like:
1553 # dnl Process this file with autoconf to produce a configure script.
1555 # AC_INIT(Makefile.in)
1556 # AC_CONFIG_HEADER(config.h:config.in)
1558 # sinclude(../common/aclocal.m4)
1559 # sinclude(../common/common.m4)
1561 # ... target specific stuff ...
1564 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1565 if test -f $ac_dir/install-sh
; then
1567 ac_install_sh
="$ac_aux_dir/install-sh -c"
1569 elif test -f $ac_dir/install.sh
; then
1571 ac_install_sh
="$ac_aux_dir/install.sh -c"
1573 elif test -f $ac_dir/shtool
; then
1575 ac_install_sh
="$ac_aux_dir/shtool install -c"
1579 if test -z "$ac_aux_dir"; then
1580 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1581 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1582 { (exit 1); exit 1; }; }
1584 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1585 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1586 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1588 # Make sure we can run config.sub.
1589 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1590 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1591 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1592 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: checking build system type" >&5
1595 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1596 if test "${ac_cv_build+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 ac_cv_build_alias
=$build_alias
1600 test -z "$ac_cv_build_alias" &&
1601 ac_cv_build_alias
=`$ac_config_guess`
1602 test -z "$ac_cv_build_alias" &&
1603 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1604 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1605 { (exit 1); exit 1; }; }
1606 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1607 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1608 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1609 { (exit 1); exit 1; }; }
1612 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1613 echo "${ECHO_T}$ac_cv_build" >&6
1615 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1616 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1617 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1620 echo "$as_me:$LINENO: checking host system type" >&5
1621 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1622 if test "${ac_cv_host+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 ac_cv_host_alias
=$host_alias
1626 test -z "$ac_cv_host_alias" &&
1627 ac_cv_host_alias
=$ac_cv_build_alias
1628 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1629 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1630 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1631 { (exit 1); exit 1; }; }
1634 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1635 echo "${ECHO_T}$ac_cv_host" >&6
1637 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1638 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1639 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1642 echo "$as_me:$LINENO: checking target system type" >&5
1643 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1644 if test "${ac_cv_target+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 ac_cv_target_alias
=$target_alias
1648 test "x$ac_cv_target_alias" = "x" &&
1649 ac_cv_target_alias
=$ac_cv_host_alias
1650 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1651 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1652 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1653 { (exit 1); exit 1; }; }
1656 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1657 echo "${ECHO_T}$ac_cv_target" >&6
1658 target
=$ac_cv_target
1659 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1660 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1661 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1664 # The aliases save the names the user supplied, while $host etc.
1665 # will get canonicalized.
1666 test -n "$target_alias" &&
1667 test "$program_prefix$program_suffix$program_transform_name" = \
1669 program_prefix
=${target_alias}-
1670 test "$program_prefix" != NONE
&&
1671 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1672 # Use a double $ so make ignores it.
1673 test "$program_suffix" != NONE
&&
1674 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1675 # Double any \ or $. echo might interpret backslashes.
1676 # By default was `s,x,x', remove it if useless.
1677 cat <<\_ACEOF
>conftest.
sed
1678 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1680 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1684 ac_cpp
='$CPP $CPPFLAGS'
1685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1688 if test -n "$ac_tool_prefix"; then
1689 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1690 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC
="$CC" # Let the user override the test.
1699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1703 test -z "$as_dir" && as_dir
=.
1704 for ac_exec_ext
in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 if test -n "$CC"; then
1717 echo "$as_me:$LINENO: result: $CC" >&5
1718 echo "${ECHO_T}$CC" >&6
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1725 if test -z "$ac_cv_prog_CC"; then
1727 # Extract the first word of "gcc", so it can be a program name with args.
1728 set dummy gcc
; ac_word
=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 if test -n "$ac_ct_CC"; then
1735 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1741 test -z "$as_dir" && as_dir
=.
1742 for ac_exec_ext
in '' $ac_executable_extensions; do
1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744 ac_cv_prog_ac_ct_CC
="gcc"
1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1754 if test -n "$ac_ct_CC"; then
1755 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1756 echo "${ECHO_T}$ac_ct_CC" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1767 if test -z "$CC"; then
1768 if test -n "$ac_tool_prefix"; then
1769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1770 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_prog_CC+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 if test -n "$CC"; then
1777 ac_cv_prog_CC
="$CC" # Let the user override the test.
1779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir
=.
1784 for ac_exec_ext
in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1796 if test -n "$CC"; then
1797 echo "$as_me:$LINENO: result: $CC" >&5
1798 echo "${ECHO_T}$CC" >&6
1800 echo "$as_me:$LINENO: result: no" >&5
1801 echo "${ECHO_T}no" >&6
1805 if test -z "$ac_cv_prog_CC"; then
1807 # Extract the first word of "cc", so it can be a program name with args.
1808 set dummy cc
; ac_word
=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$ac_ct_CC"; then
1815 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir
=.
1822 for ac_exec_ext
in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_ac_ct_CC
="cc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1834 if test -n "$ac_ct_CC"; then
1835 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1836 echo "${ECHO_T}$ac_ct_CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1848 if test -z "$CC"; then
1849 # Extract the first word of "cc", so it can be a program name with args.
1850 set dummy cc
; ac_word
=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_CC+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 if test -n "$CC"; then
1857 ac_cv_prog_CC
="$CC" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1868 ac_prog_rejected
=yes
1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 if test $ac_prog_rejected = yes; then
1879 # We found a bogon in the path, so make sure we never use it.
1880 set dummy
$ac_cv_prog_CC
1882 if test $# != 0; then
1883 # We chose a different compiler from the bogus one.
1884 # However, it has the same basename, so the bogon will be chosen
1885 # first if we set CC to just the basename; use the full file name.
1887 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1893 if test -n "$CC"; then
1894 echo "$as_me:$LINENO: result: $CC" >&5
1895 echo "${ECHO_T}$CC" >&6
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1902 if test -z "$CC"; then
1903 if test -n "$ac_tool_prefix"; then
1906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1907 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1908 echo "$as_me:$LINENO: checking for $ac_word" >&5
1909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1910 if test "${ac_cv_prog_CC+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 if test -n "$CC"; then
1914 ac_cv_prog_CC
="$CC" # Let the user override the test.
1916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1920 test -z "$as_dir" && as_dir
=.
1921 for ac_exec_ext
in '' $ac_executable_extensions; do
1922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 if test -n "$CC"; then
1934 echo "$as_me:$LINENO: result: $CC" >&5
1935 echo "${ECHO_T}$CC" >&6
1937 echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6
1941 test -n "$CC" && break
1944 if test -z "$CC"; then
1948 # Extract the first word of "$ac_prog", so it can be a program name with args.
1949 set dummy
$ac_prog; ac_word
=$2
1950 echo "$as_me:$LINENO: checking for $ac_word" >&5
1951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 if test -n "$ac_ct_CC"; then
1956 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir
=.
1963 for ac_exec_ext
in '' $ac_executable_extensions; do
1964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1965 ac_cv_prog_ac_ct_CC
="$ac_prog"
1966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1975 if test -n "$ac_ct_CC"; then
1976 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1977 echo "${ECHO_T}$ac_ct_CC" >&6
1979 echo "$as_me:$LINENO: result: no" >&5
1980 echo "${ECHO_T}no" >&6
1983 test -n "$ac_ct_CC" && break
1992 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1993 See \`config.log' for more details." >&5
1994 echo "$as_me: error: no acceptable C compiler found in \$PATH
1995 See \`config.log' for more details." >&2;}
1996 { (exit 1); exit 1; }; }
1998 # Provide some information about the compiler.
1999 echo "$as_me:$LINENO:" \
2000 "checking for C compiler version" >&5
2001 ac_compiler
=`set X $ac_compile; echo $2`
2002 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2003 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2008 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }
2012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2013 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }
2018 cat >conftest.
$ac_ext <<_ACEOF
2021 cat confdefs.h
>>conftest.
$ac_ext
2022 cat >>conftest.
$ac_ext <<_ACEOF
2023 /* end confdefs.h. */
2033 ac_clean_files_save
=$ac_clean_files
2034 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2035 # Try to create an executable without -o first, disregard a.out.
2036 # It will help us diagnose broken compilers, and finding out an intuition
2038 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2039 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2040 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2041 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2042 (eval $ac_link_default) 2>&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }; then
2046 # Find the output, starting from the most likely. This scheme is
2047 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2050 # Be careful to initialize this variable, since it used to be cached.
2051 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2053 # b.out is created by i960 compilers.
2054 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2056 test -f "$ac_file" ||
continue
2058 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2061 # This is the source file.
2064 # We found the default executable, but exeext='' is most
2068 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2069 # FIXME: I believe we export ac_cv_exeext for Libtool,
2070 # but it would be cool to find out if it's true. Does anybody
2071 # maintain Libtool? --akim.
2079 echo "$as_me: failed program was:" >&5
2080 sed 's/^/| /' conftest.
$ac_ext >&5
2082 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2083 See \`config.log' for more details." >&5
2084 echo "$as_me: error: C compiler cannot create executables
2085 See \`config.log' for more details." >&2;}
2086 { (exit 77); exit 77; }; }
2089 ac_exeext
=$ac_cv_exeext
2090 echo "$as_me:$LINENO: result: $ac_file" >&5
2091 echo "${ECHO_T}$ac_file" >&6
2093 # Check the compiler produces executables we can run. If not, either
2094 # the compiler is broken, or we cross compile.
2095 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2096 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2097 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2098 # If not cross compiling, check that we can run a simple program.
2099 if test "$cross_compiling" != yes; then
2100 if { ac_try
='./$ac_file'
2101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105 (exit $ac_status); }; }; then
2108 if test "$cross_compiling" = maybe
; then
2111 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2112 If you meant to cross compile, use \`--host'.
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: cannot run C compiled programs.
2115 If you meant to cross compile, use \`--host'.
2116 See \`config.log' for more details." >&2;}
2117 { (exit 1); exit 1; }; }
2121 echo "$as_me:$LINENO: result: yes" >&5
2122 echo "${ECHO_T}yes" >&6
2124 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2125 ac_clean_files
=$ac_clean_files_save
2126 # Check the compiler produces executables we can run. If not, either
2127 # the compiler is broken, or we cross compile.
2128 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2129 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2130 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2131 echo "${ECHO_T}$cross_compiling" >&6
2133 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2134 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2136 (eval $ac_link) 2>&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; then
2140 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2141 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2142 # work properly (i.e., refer to `conftest.exe'), while it won't with
2144 for ac_file
in conftest.exe conftest conftest.
*; do
2145 test -f "$ac_file" ||
continue
2147 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2148 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2155 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2156 See \`config.log' for more details." >&5
2157 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2158 See \`config.log' for more details." >&2;}
2159 { (exit 1); exit 1; }; }
2162 rm -f conftest
$ac_cv_exeext
2163 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2164 echo "${ECHO_T}$ac_cv_exeext" >&6
2166 rm -f conftest.
$ac_ext
2167 EXEEXT
=$ac_cv_exeext
2169 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2170 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2171 if test "${ac_cv_objext+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 cat >conftest.
$ac_ext <<_ACEOF
2177 cat confdefs.h
>>conftest.
$ac_ext
2178 cat >>conftest.
$ac_ext <<_ACEOF
2179 /* end confdefs.h. */
2189 rm -f conftest.o conftest.obj
2190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2191 (eval $ac_compile) 2>&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; then
2195 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2197 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2198 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2203 echo "$as_me: failed program was:" >&5
2204 sed 's/^/| /' conftest.
$ac_ext >&5
2206 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2207 See \`config.log' for more details." >&5
2208 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2209 See \`config.log' for more details." >&2;}
2210 { (exit 1); exit 1; }; }
2213 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2215 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2216 echo "${ECHO_T}$ac_cv_objext" >&6
2217 OBJEXT
=$ac_cv_objext
2219 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2220 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2221 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 cat >conftest.
$ac_ext <<_ACEOF
2227 cat confdefs.h
>>conftest.
$ac_ext
2228 cat >>conftest.
$ac_ext <<_ACEOF
2229 /* end confdefs.h. */
2242 rm -f conftest.
$ac_objext
2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2244 (eval $ac_compile) 2>conftest.er1
2246 grep -v '^ *+' conftest.er1
>conftest.err
2248 cat conftest.err
>&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); } &&
2251 { ac_try
='test -z "$ac_c_werror_flag"
2252 || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.
$ac_ext >&5
2271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2272 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2275 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2276 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2277 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2278 ac_test_CFLAGS
=${CFLAGS+set}
2279 ac_save_CFLAGS
=$CFLAGS
2281 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2282 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2283 if test "${ac_cv_prog_cc_g+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 cat >conftest.
$ac_ext <<_ACEOF
2289 cat confdefs.h
>>conftest.
$ac_ext
2290 cat >>conftest.
$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2301 rm -f conftest.
$ac_objext
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>conftest.er1
2305 grep -v '^ *+' conftest.er1
>conftest.err
2307 cat conftest.err
>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); } &&
2310 { ac_try
='test -z "$ac_c_werror_flag"
2311 || test ! -s conftest.err'
2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; } &&
2317 { ac_try
='test -s conftest.$ac_objext'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; }; then
2325 echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.
$ac_ext >&5
2330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2332 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2333 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2334 if test "$ac_test_CFLAGS" = set; then
2335 CFLAGS
=$ac_save_CFLAGS
2336 elif test $ac_cv_prog_cc_g = yes; then
2337 if test "$GCC" = yes; then
2343 if test "$GCC" = yes; then
2349 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2350 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2351 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 ac_cv_prog_cc_stdc
=no
2356 cat >conftest.
$ac_ext <<_ACEOF
2359 cat confdefs.h
>>conftest.
$ac_ext
2360 cat >>conftest.
$ac_ext <<_ACEOF
2361 /* end confdefs.h. */
2364 #include <sys/types.h>
2365 #include <sys/stat.h>
2366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2367 struct buf { int x; };
2368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2369 static char *e (p, i)
2375 static char *f (char * (*g) (char **, int), char **p, ...)
2380 s = g (p, va_arg (v,int));
2385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2386 function prototypes and stuff, but not '\xHH' hex character constants.
2387 These don't provoke an error unfortunately, instead are silently treated
2388 as 'x'. The following induces an error, until -std1 is added to get
2389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2390 array size at least. It's necessary to write '\x00'==0 to get something
2391 that's true only with -std1. */
2392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2394 int test (int i, double x);
2395 struct s1 {int (*f) (int a);};
2396 struct s2 {int (*f) (double a);};
2397 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2403 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2408 # Don't try gcc -ansi; that turns off useful extensions and
2409 # breaks some systems' header files.
2410 # AIX -qlanglvl=ansi
2411 # Ultrix and OSF/1 -std1
2412 # HP-UX 10.20 and later -Ae
2413 # HP-UX older versions -Aa -D_HPUX_SOURCE
2414 # SVR4 -Xc -D__EXTENSIONS__
2415 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2417 CC
="$ac_save_CC $ac_arg"
2418 rm -f conftest.
$ac_objext
2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420 (eval $ac_compile) 2>conftest.er1
2422 grep -v '^ *+' conftest.er1
>conftest.err
2424 cat conftest.err
>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } &&
2427 { ac_try
='test -z "$ac_c_werror_flag"
2428 || test ! -s conftest.err'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; } &&
2434 { ac_try
='test -s conftest.$ac_objext'
2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; }; then
2440 ac_cv_prog_cc_stdc
=$ac_arg
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.
$ac_ext >&5
2447 rm -f conftest.err conftest.
$ac_objext
2449 rm -f conftest.
$ac_ext conftest.
$ac_objext
2454 case "x$ac_cv_prog_cc_stdc" in
2456 echo "$as_me:$LINENO: result: none needed" >&5
2457 echo "${ECHO_T}none needed" >&6 ;;
2459 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2460 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2461 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2464 # Some people use a C++ compiler to compile C. Since we use `exit',
2465 # in C++ we need to declare it. In case someone uses the same compiler
2466 # for both compiling C and C++ we need to have the C++ compiler decide
2467 # the declaration of exit, since it's the most demanding environment.
2468 cat >conftest.
$ac_ext <<_ACEOF
2473 rm -f conftest.
$ac_objext
2474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2475 (eval $ac_compile) 2>conftest.er1
2477 grep -v '^ *+' conftest.er1
>conftest.err
2479 cat conftest.err
>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } &&
2482 { ac_try
='test -z "$ac_c_werror_flag"
2483 || test ! -s conftest.err'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; } &&
2489 { ac_try
='test -s conftest.$ac_objext'
2490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; }; then
2495 for ac_declaration
in \
2497 'extern "C" void std::exit (int) throw (); using std::exit;' \
2498 'extern "C" void std::exit (int); using std::exit;' \
2499 'extern "C" void exit (int) throw ();' \
2500 'extern "C" void exit (int);' \
2503 cat >conftest.
$ac_ext <<_ACEOF
2506 cat confdefs.h
>>conftest.
$ac_ext
2507 cat >>conftest.
$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2519 rm -f conftest.
$ac_objext
2520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2521 (eval $ac_compile) 2>conftest.er1
2523 grep -v '^ *+' conftest.er1
>conftest.err
2525 cat conftest.err
>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); } &&
2528 { ac_try
='test -z "$ac_c_werror_flag"
2529 || test ! -s conftest.err'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; } &&
2535 { ac_try
='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2549 cat >conftest.
$ac_ext <<_ACEOF
2552 cat confdefs.h
>>conftest.
$ac_ext
2553 cat >>conftest.
$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2564 rm -f conftest.
$ac_objext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566 (eval $ac_compile) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1
>conftest.err
2570 cat conftest.err
>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try
='test -z "$ac_c_werror_flag"
2574 || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try
='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2595 if test -n "$ac_declaration"; then
2596 echo '#ifdef __cplusplus' >>confdefs.h
2597 echo $ac_declaration >>confdefs.h
2598 echo '#endif' >>confdefs.h
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2608 ac_cpp
='$CPP $CPPFLAGS'
2609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2613 # Find a good install program. We prefer a C program (faster),
2614 # so one script is as good as another. But avoid the broken or
2615 # incompatible versions:
2616 # SysV /etc/install, /usr/sbin/install
2617 # SunOS /usr/etc/install
2618 # IRIX /sbin/install
2620 # AmigaOS /C/install, which installs bootblocks on floppy discs
2621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2624 # OS/2's system install, which has a completely different semantic
2625 # ./install, which can be erroneously created by make from ./install.sh.
2626 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2627 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2628 if test -z "$INSTALL"; then
2629 if test "${ac_cv_path_install+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir
=.
2637 # Account for people who put trailing slashes in PATH elements.
2639 .
/ | .
// |
/cC
/* | \
2640 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2641 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2644 # OSF1 and SCO ODT 3.0 have their own names for install.
2645 # Don't use installbsd from OSF since it installs stuff as root
2647 for ac_prog
in ginstall scoinst
install; do
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2650 if test $ac_prog = install &&
2651 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2652 # AIX install. It has an incompatible calling convention.
2654 elif test $ac_prog = install &&
2655 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2656 # program-specific install script used by HP pwplus--don't use.
2659 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2671 if test "${ac_cv_path_install+set}" = set; then
2672 INSTALL
=$ac_cv_path_install
2674 # As a last resort, use the slow shell script. We don't cache a
2675 # path for INSTALL within a source directory, because that will
2676 # break other packages using the cache if that directory is
2677 # removed, or if the path is relative.
2678 INSTALL
=$ac_install_sh
2681 echo "$as_me:$LINENO: result: $INSTALL" >&5
2682 echo "${ECHO_T}$INSTALL" >&6
2684 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2685 # It thinks the first close brace ends the variable substitution.
2686 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2688 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2690 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2693 # Put a plausible default for CC_FOR_BUILD in Makefile.
2694 if test "x$cross_compiling" = "xno"; then
2695 CC_FOR_BUILD
='$(CC)'
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2707 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2708 echo "$as_me:$LINENO: checking for $ac_word" >&5
2709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2710 if test "${ac_cv_prog_RANLIB+set}" = set; then
2711 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 if test -n "$RANLIB"; then
2714 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2723 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 RANLIB
=$ac_cv_prog_RANLIB
2733 if test -n "$RANLIB"; then
2734 echo "$as_me:$LINENO: result: $RANLIB" >&5
2735 echo "${ECHO_T}$RANLIB" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2742 if test -z "$ac_cv_prog_RANLIB"; then
2743 ac_ct_RANLIB
=$RANLIB
2744 # Extract the first word of "ranlib", so it can be a program name with args.
2745 set dummy ranlib
; ac_word
=$2
2746 echo "$as_me:$LINENO: checking for $ac_word" >&5
2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 if test -n "$ac_ct_RANLIB"; then
2752 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir
=.
2759 for ac_exec_ext
in '' $ac_executable_extensions; do
2760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2761 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2771 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2772 if test -n "$ac_ct_RANLIB"; then
2773 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2774 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2776 echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6
2780 RANLIB
=$ac_ct_RANLIB
2782 RANLIB
="$ac_cv_prog_RANLIB"
2787 # If we haven't got the data from the intl directory,
2788 # assume NLS is disabled.
2797 if test -f ..
/..
/intl
/config.intl
; then
2798 . ..
/..
/intl
/config.intl
2800 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2801 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2802 if test x
"$USE_NLS" != xyes
; then
2803 echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2809 cat >>confdefs.h
<<\_ACEOF
2810 #define ENABLE_NLS 1
2814 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2815 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2816 # Look for .po and .gmo files in the source directory.
2819 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2820 # If there aren't any .gmo files the shell will give us the
2821 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2823 case "$cat" in *\
**)
2826 # The quadruple backslash is collapsed to a double backslash
2827 # by the backticks, then collapsed again by the double quotes,
2828 # leaving us with one backslash in the sed expression (right
2829 # before the dot that mustn't act as a wildcard).
2830 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2831 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2832 # The user is allowed to set LINGUAS to a list of languages to
2833 # install catalogs for. If it's empty that means "all of them."
2834 if test "x$LINGUAS" = x
; then
2835 CATALOGS
="$CATALOGS $cat"
2836 XLINGUAS
="$XLINGUAS $lang"
2838 case "$LINGUAS" in *$lang*)
2839 CATALOGS
="$CATALOGS $cat"
2840 XLINGUAS
="$XLINGUAS $lang"
2846 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2847 echo "${ECHO_T}$LINGUAS" >&6
2860 # Check for common headers.
2861 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2862 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2865 ac_cpp
='$CPP $CPPFLAGS'
2866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2869 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2870 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2871 # On Suns, sometimes $CPP names a directory.
2872 if test -n "$CPP" && test -d "$CPP"; then
2875 if test -z "$CPP"; then
2876 if test "${ac_cv_prog_CPP+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 # Double quotes because CPP needs to be expanded
2880 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2883 for ac_c_preproc_warn_flag
in '' yes
2885 # Use a header file that comes with gcc, so configuring glibc
2886 # with a fresh cross-compiler works.
2887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2888 # <limits.h> exists even on freestanding compilers.
2889 # On the NeXT, cc -E runs the code through the compiler's parser,
2890 # not just through cpp. "Syntax error" is here to catch this case.
2891 cat >conftest.
$ac_ext <<_ACEOF
2894 cat confdefs.h
>>conftest.
$ac_ext
2895 cat >>conftest.
$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2898 # include <limits.h>
2900 # include <assert.h>
2904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1
>conftest.err
2909 cat conftest.err
>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } >/dev
/null
; then
2912 if test -s conftest.err
; then
2913 ac_cpp_err
=$ac_c_preproc_warn_flag
2914 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2921 if test -z "$ac_cpp_err"; then
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.
$ac_ext >&5
2927 # Broken: fails on valid input.
2930 rm -f conftest.err conftest.
$ac_ext
2932 # OK, works on sane cases. Now check whether non-existent headers
2933 # can be detected and how.
2934 cat >conftest.
$ac_ext <<_ACEOF
2937 cat confdefs.h
>>conftest.
$ac_ext
2938 cat >>conftest.
$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2940 #include <ac_nonexistent.h>
2942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2945 grep -v '^ *+' conftest.er1
>conftest.err
2947 cat conftest.err
>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } >/dev
/null
; then
2950 if test -s conftest.err
; then
2951 ac_cpp_err
=$ac_c_preproc_warn_flag
2952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2959 if test -z "$ac_cpp_err"; then
2960 # Broken: success on invalid input.
2963 echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.
$ac_ext >&5
2966 # Passes both tests.
2970 rm -f conftest.err conftest.
$ac_ext
2973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2974 rm -f conftest.err conftest.
$ac_ext
2975 if $ac_preproc_ok; then
2987 echo "$as_me:$LINENO: result: $CPP" >&5
2988 echo "${ECHO_T}$CPP" >&6
2990 for ac_c_preproc_warn_flag
in '' yes
2992 # Use a header file that comes with gcc, so configuring glibc
2993 # with a fresh cross-compiler works.
2994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2995 # <limits.h> exists even on freestanding compilers.
2996 # On the NeXT, cc -E runs the code through the compiler's parser,
2997 # not just through cpp. "Syntax error" is here to catch this case.
2998 cat >conftest.
$ac_ext <<_ACEOF
3001 cat confdefs.h
>>conftest.
$ac_ext
3002 cat >>conftest.
$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3005 # include <limits.h>
3007 # include <assert.h>
3011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3014 grep -v '^ *+' conftest.er1
>conftest.err
3016 cat conftest.err
>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } >/dev
/null
; then
3019 if test -s conftest.err
; then
3020 ac_cpp_err
=$ac_c_preproc_warn_flag
3021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3028 if test -z "$ac_cpp_err"; then
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.
$ac_ext >&5
3034 # Broken: fails on valid input.
3037 rm -f conftest.err conftest.
$ac_ext
3039 # OK, works on sane cases. Now check whether non-existent headers
3040 # can be detected and how.
3041 cat >conftest.
$ac_ext <<_ACEOF
3044 cat confdefs.h
>>conftest.
$ac_ext
3045 cat >>conftest.
$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3047 #include <ac_nonexistent.h>
3049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3052 grep -v '^ *+' conftest.er1
>conftest.err
3054 cat conftest.err
>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } >/dev
/null
; then
3057 if test -s conftest.err
; then
3058 ac_cpp_err
=$ac_c_preproc_warn_flag
3059 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3066 if test -z "$ac_cpp_err"; then
3067 # Broken: success on invalid input.
3070 echo "$as_me: failed program was:" >&5
3071 sed 's/^/| /' conftest.
$ac_ext >&5
3073 # Passes both tests.
3077 rm -f conftest.err conftest.
$ac_ext
3080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3081 rm -f conftest.err conftest.
$ac_ext
3082 if $ac_preproc_ok; then
3085 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3086 See \`config.log' for more details." >&5
3087 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3088 See \`config.log' for more details." >&2;}
3089 { (exit 1); exit 1; }; }
3093 ac_cpp
='$CPP $CPPFLAGS'
3094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3099 echo "$as_me:$LINENO: checking for egrep" >&5
3100 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3101 if test "${ac_cv_prog_egrep+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3105 then ac_cv_prog_egrep
='grep -E'
3106 else ac_cv_prog_egrep
='egrep'
3109 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3110 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3111 EGREP
=$ac_cv_prog_egrep
3114 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3115 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3116 if test "${ac_cv_header_stdc+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 cat >conftest.
$ac_ext <<_ACEOF
3122 cat confdefs.h
>>conftest.
$ac_ext
3123 cat >>conftest.
$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3138 rm -f conftest.
$ac_objext
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140 (eval $ac_compile) 2>conftest.er1
3142 grep -v '^ *+' conftest.er1
>conftest.err
3144 cat conftest.err
>&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); } &&
3147 { ac_try
='test -z "$ac_c_werror_flag"
3148 || test ! -s conftest.err'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; } &&
3154 { ac_try
='test -s conftest.$ac_objext'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; }; then
3160 ac_cv_header_stdc
=yes
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.
$ac_ext >&5
3165 ac_cv_header_stdc
=no
3167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3169 if test $ac_cv_header_stdc = yes; then
3170 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3171 cat >conftest.
$ac_ext <<_ACEOF
3174 cat confdefs.h
>>conftest.
$ac_ext
3175 cat >>conftest.
$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3181 $EGREP "memchr" >/dev
/null
2>&1; then
3184 ac_cv_header_stdc
=no
3190 if test $ac_cv_header_stdc = yes; then
3191 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3192 cat >conftest.
$ac_ext <<_ACEOF
3195 cat confdefs.h
>>conftest.
$ac_ext
3196 cat >>conftest.
$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3202 $EGREP "free" >/dev
/null
2>&1; then
3205 ac_cv_header_stdc
=no
3211 if test $ac_cv_header_stdc = yes; then
3212 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3213 if test "$cross_compiling" = yes; then
3216 cat >conftest.
$ac_ext <<_ACEOF
3219 cat confdefs.h
>>conftest.
$ac_ext
3220 cat >>conftest.
$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3223 #if ((' ' & 0x0FF) == 0x020)
3224 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3225 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3227 # define ISLOWER(c) \
3228 (('a' <= (c) && (c) <= 'i') \
3229 || ('j' <= (c) && (c) <= 'r') \
3230 || ('s' <= (c) && (c) <= 'z'))
3231 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3234 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3239 for (i = 0; i < 256; i++)
3240 if (XOR (islower (i), ISLOWER (i))
3241 || toupper (i) != TOUPPER (i))
3246 rm -f conftest
$ac_exeext
3247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3248 (eval $ac_link) 2>&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; }; then
3259 echo "$as_me: program exited with status $ac_status" >&5
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.
$ac_ext >&5
3264 ac_cv_header_stdc
=no
3266 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3270 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3271 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3272 if test $ac_cv_header_stdc = yes; then
3274 cat >>confdefs.h
<<\_ACEOF
3275 #define STDC_HEADERS 1
3280 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3290 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3291 inttypes.h stdint.h unistd.h
3293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3294 echo "$as_me:$LINENO: checking for $ac_header" >&5
3295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3297 echo $ECHO_N "(cached) $ECHO_C" >&6
3299 cat >conftest.
$ac_ext <<_ACEOF
3302 cat confdefs.h
>>conftest.
$ac_ext
3303 cat >>conftest.
$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3305 $ac_includes_default
3307 #include <$ac_header>
3309 rm -f conftest.
$ac_objext
3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311 (eval $ac_compile) 2>conftest.er1
3313 grep -v '^ *+' conftest.er1
>conftest.err
3315 cat conftest.err
>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try
='test -z "$ac_c_werror_flag"
3319 || test ! -s conftest.err'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; } &&
3325 { ac_try
='test -s conftest.$ac_objext'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3331 eval "$as_ac_Header=yes"
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.
$ac_ext >&5
3336 eval "$as_ac_Header=no"
3338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3343 cat >>confdefs.h
<<_ACEOF
3344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3357 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3359 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3361 echo "$as_me:$LINENO: checking for $ac_header" >&5
3362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3369 # Is the header compilable?
3370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3372 cat >conftest.
$ac_ext <<_ACEOF
3375 cat confdefs.h
>>conftest.
$ac_ext
3376 cat >>conftest.
$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3378 $ac_includes_default
3379 #include <$ac_header>
3381 rm -f conftest.
$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try
='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try
='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3403 ac_header_compiler
=yes
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.
$ac_ext >&5
3408 ac_header_compiler
=no
3410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3412 echo "${ECHO_T}$ac_header_compiler" >&6
3414 # Is the header present?
3415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3417 cat >conftest.
$ac_ext <<_ACEOF
3420 cat confdefs.h
>>conftest.
$ac_ext
3421 cat >>conftest.
$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3423 #include <$ac_header>
3425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } >/dev
/null
; then
3433 if test -s conftest.err
; then
3434 ac_cpp_err
=$ac_c_preproc_warn_flag
3435 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3442 if test -z "$ac_cpp_err"; then
3443 ac_header_preproc
=yes
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.
$ac_ext >&5
3448 ac_header_preproc
=no
3450 rm -f conftest.err conftest.
$ac_ext
3451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3452 echo "${ECHO_T}$ac_header_preproc" >&6
3454 # So? What about this header?
3455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3461 ac_header_preproc
=yes
3464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3478 ## ------------------------------------------ ##
3479 ## Report this to the AC_PACKAGE_NAME lists. ##
3480 ## ------------------------------------------ ##
3483 sed "s/^/$as_me: WARNING: /" >&2
3486 echo "$as_me:$LINENO: checking for $ac_header" >&5
3487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 eval "$as_ac_Header=\$ac_header_preproc"
3493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3498 cat >>confdefs.h
<<_ACEOF
3499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3508 for ac_header
in sys
/time.h sys
/resource.h
3510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3512 echo "$as_me:$LINENO: checking for $ac_header" >&5
3513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3520 # Is the header compilable?
3521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3529 $ac_includes_default
3530 #include <$ac_header>
3532 rm -f conftest.
$ac_objext
3533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534 (eval $ac_compile) 2>conftest.er1
3536 grep -v '^ *+' conftest.er1
>conftest.err
3538 cat conftest.err
>&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } &&
3541 { ac_try
='test -z "$ac_c_werror_flag"
3542 || test ! -s conftest.err'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; } &&
3548 { ac_try
='test -s conftest.$ac_objext'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; }; then
3554 ac_header_compiler
=yes
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.
$ac_ext >&5
3559 ac_header_compiler
=no
3561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3563 echo "${ECHO_T}$ac_header_compiler" >&6
3565 # Is the header present?
3566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3568 cat >conftest.
$ac_ext <<_ACEOF
3571 cat confdefs.h
>>conftest.
$ac_ext
3572 cat >>conftest.
$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3574 #include <$ac_header>
3576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } >/dev
/null
; then
3584 if test -s conftest.err
; then
3585 ac_cpp_err
=$ac_c_preproc_warn_flag
3586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3593 if test -z "$ac_cpp_err"; then
3594 ac_header_preproc
=yes
3596 echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.
$ac_ext >&5
3599 ac_header_preproc
=no
3601 rm -f conftest.err conftest.
$ac_ext
3602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3603 echo "${ECHO_T}$ac_header_preproc" >&6
3605 # So? What about this header?
3606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3612 ac_header_preproc
=yes
3615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3629 ## ------------------------------------------ ##
3630 ## Report this to the AC_PACKAGE_NAME lists. ##
3631 ## ------------------------------------------ ##
3634 sed "s/^/$as_me: WARNING: /" >&2
3637 echo "$as_me:$LINENO: checking for $ac_header" >&5
3638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 eval "$as_ac_Header=\$ac_header_preproc"
3644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3649 cat >>confdefs.h
<<_ACEOF
3650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3659 for ac_header
in fcntl.h fpu_control.h
3661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3663 echo "$as_me:$LINENO: checking for $ac_header" >&5
3664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3671 # Is the header compilable?
3672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3680 $ac_includes_default
3681 #include <$ac_header>
3683 rm -f conftest.
$ac_objext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3685 (eval $ac_compile) 2>conftest.er1
3687 grep -v '^ *+' conftest.er1
>conftest.err
3689 cat conftest.err
>&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try
='test -z "$ac_c_werror_flag"
3693 || test ! -s conftest.err'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; } &&
3699 { ac_try
='test -s conftest.$ac_objext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3705 ac_header_compiler
=yes
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.
$ac_ext >&5
3710 ac_header_compiler
=no
3712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3714 echo "${ECHO_T}$ac_header_compiler" >&6
3716 # Is the header present?
3717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3719 cat >conftest.
$ac_ext <<_ACEOF
3722 cat confdefs.h
>>conftest.
$ac_ext
3723 cat >>conftest.
$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725 #include <$ac_header>
3727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3728 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3730 grep -v '^ *+' conftest.er1
>conftest.err
3732 cat conftest.err
>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } >/dev
/null
; then
3735 if test -s conftest.err
; then
3736 ac_cpp_err
=$ac_c_preproc_warn_flag
3737 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3744 if test -z "$ac_cpp_err"; then
3745 ac_header_preproc
=yes
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.
$ac_ext >&5
3750 ac_header_preproc
=no
3752 rm -f conftest.err conftest.
$ac_ext
3753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3754 echo "${ECHO_T}$ac_header_preproc" >&6
3756 # So? What about this header?
3757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3763 ac_header_preproc
=yes
3766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3780 ## ------------------------------------------ ##
3781 ## Report this to the AC_PACKAGE_NAME lists. ##
3782 ## ------------------------------------------ ##
3785 sed "s/^/$as_me: WARNING: /" >&2
3788 echo "$as_me:$LINENO: checking for $ac_header" >&5
3789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 eval "$as_ac_Header=\$ac_header_preproc"
3795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3800 cat >>confdefs.h
<<_ACEOF
3801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3811 for ac_header
in dlfcn.h errno.h sys
/stat.h
3813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3815 echo "$as_me:$LINENO: checking for $ac_header" >&5
3816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3823 # Is the header compilable?
3824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3826 cat >conftest.
$ac_ext <<_ACEOF
3829 cat confdefs.h
>>conftest.
$ac_ext
3830 cat >>conftest.
$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 $ac_includes_default
3833 #include <$ac_header>
3835 rm -f conftest.
$ac_objext
3836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3837 (eval $ac_compile) 2>conftest.er1
3839 grep -v '^ *+' conftest.er1
>conftest.err
3841 cat conftest.err
>&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } &&
3844 { ac_try
='test -z "$ac_c_werror_flag"
3845 || test ! -s conftest.err'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; } &&
3851 { ac_try
='test -s conftest.$ac_objext'
3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; }; then
3857 ac_header_compiler
=yes
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.
$ac_ext >&5
3862 ac_header_compiler
=no
3864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3866 echo "${ECHO_T}$ac_header_compiler" >&6
3868 # Is the header present?
3869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3871 cat >conftest.
$ac_ext <<_ACEOF
3874 cat confdefs.h
>>conftest.
$ac_ext
3875 cat >>conftest.
$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3877 #include <$ac_header>
3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3882 grep -v '^ *+' conftest.er1
>conftest.err
3884 cat conftest.err
>&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } >/dev
/null
; then
3887 if test -s conftest.err
; then
3888 ac_cpp_err
=$ac_c_preproc_warn_flag
3889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3896 if test -z "$ac_cpp_err"; then
3897 ac_header_preproc
=yes
3899 echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3902 ac_header_preproc
=no
3904 rm -f conftest.err conftest.
$ac_ext
3905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3906 echo "${ECHO_T}$ac_header_preproc" >&6
3908 # So? What about this header?
3909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3915 ac_header_preproc
=yes
3918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3932 ## ------------------------------------------ ##
3933 ## Report this to the AC_PACKAGE_NAME lists. ##
3934 ## ------------------------------------------ ##
3937 sed "s/^/$as_me: WARNING: /" >&2
3940 echo "$as_me:$LINENO: checking for $ac_header" >&5
3941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 eval "$as_ac_Header=\$ac_header_preproc"
3947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3952 cat >>confdefs.h
<<_ACEOF
3953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3964 for ac_func
in getrusage
time sigaction __setfpucw
3966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3967 echo "$as_me:$LINENO: checking for $ac_func" >&5
3968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3969 if eval "test \"\${$as_ac_var+set}\" = set"; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 cat >conftest.
$ac_ext <<_ACEOF
3975 cat confdefs.h
>>conftest.
$ac_ext
3976 cat >>conftest.
$ac_ext <<_ACEOF
3977 /* end confdefs.h. */
3978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3980 #define $ac_func innocuous_$ac_func
3982 /* System header to define __stub macros and hopefully few prototypes,
3983 which can conflict with char $ac_func (); below.
3984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3985 <limits.h> exists even on freestanding compilers. */
3988 # include <limits.h>
3990 # include <assert.h>
3995 /* Override any gcc2 internal prototype to avoid an error. */
4000 /* We use char because int might match the return type of a gcc2
4001 builtin and then its argument prototype would still apply. */
4003 /* The GNU C library defines this for functions which it implements
4004 to always fail with ENOSYS. Some functions are actually named
4005 something starting with __ and the normal name is an alias. */
4006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4009 char (*f) () = $ac_func;
4018 return f != $ac_func;
4023 rm -f conftest.
$ac_objext conftest
$ac_exeext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4025 (eval $ac_link) 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -z "$ac_c_werror_flag"
4033 || test ! -s conftest.err'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest$ac_exeext'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4045 eval "$as_ac_var=yes"
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4050 eval "$as_ac_var=no"
4052 rm -f conftest.err conftest.
$ac_objext \
4053 conftest
$ac_exeext conftest.
$ac_ext
4055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4057 if test `eval echo '${'$as_ac_var'}'` = yes; then
4058 cat >>confdefs.h
<<_ACEOF
4059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4066 # Check for socket libraries
4068 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4069 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4070 if test "${ac_cv_lib_socket_bind+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 ac_check_lib_save_LIBS
=$LIBS
4074 LIBS
="-lsocket $LIBS"
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4082 /* Override any gcc2 internal prototype to avoid an error. */
4086 /* We use char because int might match the return type of a gcc2
4087 builtin and then its argument prototype would still apply. */
4097 rm -f conftest.
$ac_objext conftest
$ac_exeext
4098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4099 (eval $ac_link) 2>conftest.er1
4101 grep -v '^ *+' conftest.er1
>conftest.err
4103 cat conftest.err
>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } &&
4106 { ac_try
='test -z "$ac_c_werror_flag"
4107 || test ! -s conftest.err'
4108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); }; } &&
4113 { ac_try
='test -s conftest$ac_exeext'
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then
4119 ac_cv_lib_socket_bind
=yes
4121 echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.
$ac_ext >&5
4124 ac_cv_lib_socket_bind
=no
4126 rm -f conftest.err conftest.
$ac_objext \
4127 conftest
$ac_exeext conftest.
$ac_ext
4128 LIBS
=$ac_check_lib_save_LIBS
4130 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4131 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4132 if test $ac_cv_lib_socket_bind = yes; then
4133 cat >>confdefs.h
<<_ACEOF
4134 #define HAVE_LIBSOCKET 1
4137 LIBS
="-lsocket $LIBS"
4142 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4143 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4144 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 ac_check_lib_save_LIBS
=$LIBS
4149 cat >conftest.
$ac_ext <<_ACEOF
4152 cat confdefs.h
>>conftest.
$ac_ext
4153 cat >>conftest.
$ac_ext <<_ACEOF
4154 /* end confdefs.h. */
4156 /* Override any gcc2 internal prototype to avoid an error. */
4160 /* We use char because int might match the return type of a gcc2
4161 builtin and then its argument prototype would still apply. */
4162 char gethostbyname ();
4171 rm -f conftest.
$ac_objext conftest
$ac_exeext
4172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4173 (eval $ac_link) 2>conftest.er1
4175 grep -v '^ *+' conftest.er1
>conftest.err
4177 cat conftest.err
>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } &&
4180 { ac_try
='test -z "$ac_c_werror_flag"
4181 || test ! -s conftest.err'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; } &&
4187 { ac_try
='test -s conftest$ac_exeext'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4193 ac_cv_lib_nsl_gethostbyname
=yes
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.
$ac_ext >&5
4198 ac_cv_lib_nsl_gethostbyname
=no
4200 rm -f conftest.err conftest.
$ac_objext \
4201 conftest
$ac_exeext conftest.
$ac_ext
4202 LIBS
=$ac_check_lib_save_LIBS
4204 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4205 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4206 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4207 cat >>confdefs.h
<<_ACEOF
4208 #define HAVE_LIBNSL 1
4216 .
${srcdir}/..
/..
/bfd
/configure.
host
4220 USE_MAINTAINER_MODE
=no
4221 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4222 if test "${enable_maintainer_mode+set}" = set; then
4223 enableval
="$enable_maintainer_mode"
4224 case "${enableval}" in
4225 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4227 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4228 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4229 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4231 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4232 echo "Setting maintainer mode" 6>&1
4239 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4240 if test "${enable_sim_bswap+set}" = set; then
4241 enableval
="$enable_sim_bswap"
4242 case "${enableval}" in
4243 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4244 no
) sim_bswap
="-DWITH_BSWAP=0";;
4245 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4246 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4247 { (exit 1); exit 1; }; }; sim_bswap
="";;
4249 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4250 echo "Setting bswap flags = $sim_bswap" 6>&1
4257 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4258 if test "${enable_sim_cflags+set}" = set; then
4259 enableval
="$enable_sim_cflags"
4260 case "${enableval}" in
4261 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4262 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4263 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4264 { (exit 1); exit 1; }; }; sim_cflags
="";;
4266 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4268 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4269 echo "Setting sim cflags = $sim_cflags" 6>&1
4276 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4277 if test "${enable_sim_debug+set}" = set; then
4278 enableval
="$enable_sim_debug"
4279 case "${enableval}" in
4280 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4281 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4282 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4284 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4285 echo "Setting sim debug = $sim_debug" 6>&1
4292 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4293 if test "${enable_sim_stdio+set}" = set; then
4294 enableval
="$enable_sim_stdio"
4295 case "${enableval}" in
4296 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4297 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4298 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4299 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4300 { (exit 1); exit 1; }; }; sim_stdio
="";;
4302 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4303 echo "Setting stdio flags = $sim_stdio" 6>&1
4310 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4311 if test "${enable_sim_trace+set}" = set; then
4312 enableval
="$enable_sim_trace"
4313 case "${enableval}" in
4314 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4315 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4317 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4320 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4321 if test x
"$sim_trace" = x
; then
4322 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4324 sim_trace
="${sim_trace}|TRACE_$x"
4327 sim_trace
="$sim_trace)'" ;;
4329 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4330 echo "Setting sim trace = $sim_trace" 6>&1
4337 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4338 if test "${enable_sim_profile+set}" = set; then
4339 enableval
="$enable_sim_profile"
4340 case "${enableval}" in
4341 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4342 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4344 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4347 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4348 if test x
"$sim_profile" = x
; then
4349 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4351 sim_profile
="${sim_profile}|PROFILE_$x"
4354 sim_profile
="$sim_profile)'" ;;
4356 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4357 echo "Setting sim profile = $sim_profile" 6>&1
4360 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4365 # Check whether --with-pkgversion or --without-pkgversion was given.
4366 if test "${with_pkgversion+set}" = set; then
4367 withval
="$with_pkgversion"
4369 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4370 echo "$as_me: error: package version not specified" >&2;}
4371 { (exit 1); exit 1; }; } ;;
4373 *) PKGVERSION
="($withval) " ;;
4383 # Check whether --with-bugurl or --without-bugurl was given.
4384 if test "${with_bugurl+set}" = set; then
4385 withval
="$with_bugurl"
4387 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4388 echo "$as_me: error: bug URL not specified" >&2;}
4389 { (exit 1); exit 1; }; } ;;
4392 *) BUGURL
="$withval"
4396 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4405 REPORT_BUGS_TO
="<$BUGURL>"
4406 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4413 cat >>confdefs.h
<<_ACEOF
4414 #define PKGVERSION "$PKGVERSION"
4418 cat >>confdefs.h
<<_ACEOF
4419 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4423 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4424 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4425 if test "${ac_cv_type_signal+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 cat >conftest.
$ac_ext <<_ACEOF
4431 cat confdefs.h
>>conftest.
$ac_ext
4432 cat >>conftest.
$ac_ext <<_ACEOF
4433 /* end confdefs.h. */
4434 #include <sys/types.h>
4440 extern "C" void (*signal (int, void (*)(int)))(int);
4442 void (*signal ()) ();
4453 rm -f conftest.
$ac_objext
4454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4455 (eval $ac_compile) 2>conftest.er1
4457 grep -v '^ *+' conftest.er1
>conftest.err
4459 cat conftest.err
>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try
='test -z "$ac_c_werror_flag"
4463 || test ! -s conftest.err'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; } &&
4469 { ac_try
='test -s conftest.$ac_objext'
4470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_type_signal
=void
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.
$ac_ext >&5
4480 ac_cv_type_signal
=int
4482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4485 echo "${ECHO_T}$ac_cv_type_signal" >&6
4487 cat >>confdefs.h
<<_ACEOF
4488 #define RETSIGTYPE $ac_cv_type_signal
4498 sim_link_links
=tconfig.h
4499 if test -f ${srcdir}/tconfig.
in
4501 sim_link_files
=tconfig.
in
4503 sim_link_files
=..
/common
/tconfig.
in
4506 # targ-vals.def points to the libc macro description file.
4508 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4510 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4511 sim_link_links
="${sim_link_links} targ-vals.def"
4517 for ac_header
in stdlib.h
time.h sys
/param.h
4519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4521 echo "$as_me:$LINENO: checking for $ac_header" >&5
4522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4529 # Is the header compilable?
4530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4538 $ac_includes_default
4539 #include <$ac_header>
4541 rm -f conftest.
$ac_objext
4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4543 (eval $ac_compile) 2>conftest.er1
4545 grep -v '^ *+' conftest.er1
>conftest.err
4547 cat conftest.err
>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try
='test -z "$ac_c_werror_flag"
4551 || test ! -s conftest.err'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; } &&
4557 { ac_try
='test -s conftest.$ac_objext'
4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; }; then
4563 ac_header_compiler
=yes
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4568 ac_header_compiler
=no
4570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4572 echo "${ECHO_T}$ac_header_compiler" >&6
4574 # Is the header present?
4575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4577 cat >conftest.
$ac_ext <<_ACEOF
4580 cat confdefs.h
>>conftest.
$ac_ext
4581 cat >>conftest.
$ac_ext <<_ACEOF
4582 /* end confdefs.h. */
4583 #include <$ac_header>
4585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4588 grep -v '^ *+' conftest.er1
>conftest.err
4590 cat conftest.err
>&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); } >/dev
/null
; then
4593 if test -s conftest.err
; then
4594 ac_cpp_err
=$ac_c_preproc_warn_flag
4595 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4602 if test -z "$ac_cpp_err"; then
4603 ac_header_preproc
=yes
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.
$ac_ext >&5
4608 ac_header_preproc
=no
4610 rm -f conftest.err conftest.
$ac_ext
4611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4612 echo "${ECHO_T}$ac_header_preproc" >&6
4614 # So? What about this header?
4615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4621 ac_header_preproc
=yes
4624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4638 ## ------------------------------------------ ##
4639 ## Report this to the AC_PACKAGE_NAME lists. ##
4640 ## ------------------------------------------ ##
4643 sed "s/^/$as_me: WARNING: /" >&2
4646 echo "$as_me:$LINENO: checking for $ac_header" >&5
4647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 eval "$as_ac_Header=\$ac_header_preproc"
4653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4658 cat >>confdefs.h
<<_ACEOF
4659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4668 ac_sources
="$sim_link_files"
4669 ac_dests
="$sim_link_links"
4670 while test -n "$ac_sources"; do
4671 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
4672 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
4673 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
4675 ac_config_links
="$ac_config_links $ac_config_links_1"
4678 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
4679 cgen_breaks
="break cgen_rtx_error";
4682 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
4684 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
4686 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
4688 ac_config_commands
="$ac_config_commands Makefile"
4690 ac_config_commands
="$ac_config_commands stamp-h"
4692 cat >confcache
<<\_ACEOF
4693 # This file is a shell script that caches the results of configure
4694 # tests run on this system so they can be shared between configure
4695 # scripts and configure runs, see configure's option --config-cache.
4696 # It is not useful on other systems. If it contains results you don't
4697 # want to keep, you may remove or edit it.
4699 # config.status only pays attention to the cache file if you give it
4700 # the --recheck option to rerun configure.
4702 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4703 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4708 # The following way of writing the cache mishandles newlines in values,
4709 # but we know of no workaround that is simple, portable, and efficient.
4710 # So, don't put newlines in cache variables' values.
4711 # Ultrix sh set writes to stderr and can't be redirected directly,
4712 # and sets the high bit in the cache file unless we assign to the vars.
4715 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4717 # `set' does not quote correctly, so add quotes (double-quote
4718 # substitution turns \\\\ into \\, and sed turns \\ into \).
4721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4724 # `set' quotes correctly as required by POSIX, so do not add quotes.
4726 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4733 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4735 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4737 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4738 if test -w $cache_file; then
4739 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4740 cat confcache
>$cache_file
4742 echo "not updating unwritable cache $cache_file"
4747 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4748 # Let make expand exec_prefix.
4749 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4751 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4752 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4753 # trailing colons and then remove the whole line if VPATH becomes empty
4754 # (actually we leave an empty line to preserve line numbers).
4755 if test "x$srcdir" = x.
; then
4756 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4757 s/:*\$(srcdir):*/:/;
4758 s/:*\${srcdir}:*/:/;
4760 s/^\([^=]*=[ ]*\):*/\1/;
4766 DEFS
=-DHAVE_CONFIG_H
4770 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4771 # 1. Remove the extension, and $U if already installed.
4772 ac_i
=`echo "$ac_i" |
4773 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4775 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4776 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4780 LTLIBOBJS
=$ac_ltlibobjs
4784 : ${CONFIG_STATUS=./config.status}
4785 ac_clean_files_save
=$ac_clean_files
4786 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4787 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4788 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4789 cat >$CONFIG_STATUS <<_ACEOF
4791 # Generated by $as_me.
4792 # Run this file to recreate the current configuration.
4793 # Compiler output produced by configure, useful for debugging
4794 # configure, is in config.log if it exists.
4799 SHELL=\${CONFIG_SHELL-$SHELL}
4802 cat >>$CONFIG_STATUS <<\_ACEOF
4803 ## --------------------- ##
4804 ## M4sh Initialization. ##
4805 ## --------------------- ##
4807 # Be Bourne compatible
4808 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4811 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4812 # is contrary to our usage. Disable this feature.
4813 alias -g '${1+"$@"}'='"$@"'
4814 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4817 DUALCASE
=1; export DUALCASE
# for MKS sh
4819 # Support unset when possible.
4820 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4827 # Work around bugs in pre-3.0 UWIN ksh.
4828 $as_unset ENV MAIL MAILPATH
4835 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4836 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4837 LC_TELEPHONE LC_TIME
4839 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4840 eval $as_var=C
; export $as_var
4846 # Required to use basename.
4847 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4853 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4854 as_basename
=basename
4860 # Name of the executable.
4861 as_me
=`$as_basename "$0" ||
4862 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4863 X"$0" : 'X\(//\)$' \| \
4864 X"$0" : 'X\(/\)$' \| \
4865 . : '\(.\)' 2>/dev/null ||
4867 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4868 /^X\/\(\/\/\)$/{ s//\1/; q; }
4869 /^X\/\(\/\).*/{ s//\1/; q; }
4873 # PATH needs CR, and LINENO needs CR and PATH.
4874 # Avoid depending upon Character Ranges.
4875 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4876 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4877 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4878 as_cr_digits
='0123456789'
4879 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4881 # The user is always right.
4882 if test "${PATH_SEPARATOR+set}" != set; then
4883 echo "#! /bin/sh" >conf$$.sh
4884 echo "exit 0" >>conf$$.sh
4886 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4897 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4898 test "x$as_lineno_1" != "x$as_lineno_2" &&
4899 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4900 # Find who we are. Look in the path if we contain no path at all
4903 *[\\/]* ) as_myself
=$0 ;;
4904 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir
=.
4909 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4914 # We did not find ourselves, most probably we were run as `sh COMMAND'
4915 # in which case we are not to be found in the path.
4916 if test "x$as_myself" = x
; then
4919 if test ! -f "$as_myself"; then
4920 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4921 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4922 { (exit 1); exit 1; }; }
4924 case $CONFIG_SHELL in
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4930 test -z "$as_dir" && as_dir
=.
4931 for as_base
in sh bash ksh sh5
; do
4934 if ("$as_dir/$as_base" -c '
4937 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4938 test "x$as_lineno_1" != "x$as_lineno_2" &&
4939 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4940 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4941 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4942 CONFIG_SHELL
=$as_dir/$as_base
4944 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4952 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4953 # uniformly replaced by the line number. The first 'sed' inserts a
4954 # line-number line before each line; the second 'sed' does the real
4955 # work. The second script uses 'N' to pair each line-number line
4956 # with the numbered line, and appends trailing '-' during
4957 # substitution so that $LINENO is not a special case at line end.
4958 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4959 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4960 sed '=' <$as_myself |
4965 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4968 s,^['$as_cr_digits']*\n,,
4970 chmod +x
$as_me.lineno ||
4971 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4972 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4973 { (exit 1); exit 1; }; }
4975 # Don't try to exec as it changes $[0], causing all sort of problems
4976 # (the dirname of $[0] is not the place where we might find the
4977 # original and so on. Autoconf is especially sensible to this).
4979 # Exit status is that of the last command.
4984 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4985 *c
*,-n*) ECHO_N
= ECHO_C
='
4987 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4988 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4991 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4997 rm -f conf$$ conf$$.exe conf$$.
file
4999 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5000 # We could just check for DJGPP; but this test a) works b) is more generic
5001 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5002 if test -f conf$$.exe
; then
5003 # Don't use ln at all; we don't have any links
5008 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5013 rm -f conf$$ conf$$.exe conf$$.
file
5015 if mkdir
-p .
2>/dev
/null
; then
5018 test -d .
/-p && rmdir .
/-p
5022 as_executable_p
="test -f"
5024 # Sed expression to map a string onto a valid CPP name.
5025 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5027 # Sed expression to map a string onto a valid variable name.
5028 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5032 # We need space, tab and new line, in precisely that order.
5042 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5043 # report actual input values of CONFIG_FILES etc. instead of their
5044 # values after options handling. Logging --version etc. is OK.
5048 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5049 ## Running $as_me. ##
5054 This file was extended by $as_me, which was
5055 generated by GNU Autoconf 2.59. Invocation command line was
5057 CONFIG_FILES = $CONFIG_FILES
5058 CONFIG_HEADERS = $CONFIG_HEADERS
5059 CONFIG_LINKS = $CONFIG_LINKS
5060 CONFIG_COMMANDS = $CONFIG_COMMANDS
5064 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5068 # Files that config.status was made for.
5069 if test -n "$ac_config_files"; then
5070 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5073 if test -n "$ac_config_headers"; then
5074 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5077 if test -n "$ac_config_links"; then
5078 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5081 if test -n "$ac_config_commands"; then
5082 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5085 cat >>$CONFIG_STATUS <<\_ACEOF
5088 \`$as_me' instantiates files from templates according to the
5089 current configuration.
5091 Usage: $0 [OPTIONS] [FILE]...
5093 -h, --help print this help, then exit
5094 -V, --version print version number, then exit
5095 -q, --quiet do not print progress messages
5096 -d, --debug don't remove temporary files
5097 --recheck update $as_me by reconfiguring in the same conditions
5098 --file=FILE[:TEMPLATE]
5099 instantiate the configuration file FILE
5100 --header=FILE[:TEMPLATE]
5101 instantiate the configuration header FILE
5103 Configuration files:
5106 Configuration headers:
5109 Configuration links:
5112 Configuration commands:
5115 Report bugs to <bug-autoconf@gnu.org>."
5118 cat >>$CONFIG_STATUS <<_ACEOF
5121 configured by $0, generated by GNU Autoconf 2.59,
5122 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5124 Copyright (C) 2003 Free Software Foundation, Inc.
5125 This config.status script is free software; the Free Software Foundation
5126 gives unlimited permission to copy, distribute and modify it."
5131 cat >>$CONFIG_STATUS <<\_ACEOF
5132 # If no file are specified by the user, then we need to provide default
5133 # value. By we need to know if files were specified by the user.
5139 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5140 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5148 *) # This is not an option, so the user has probably given explicit
5151 ac_need_defaults
=false
;;
5155 # Handling of the options.
5157 cat >>$CONFIG_STATUS <<\_ACEOF
5158 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5160 --version |
--vers* |
-V )
5161 echo "$ac_cs_version"; exit 0 ;;
5163 # Conflict between --help and --header
5164 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5165 Try \`$0 --help' for more information." >&5
5166 echo "$as_me: error: ambiguous option: $1
5167 Try \`$0 --help' for more information." >&2;}
5168 { (exit 1); exit 1; }; };;
5169 --help |
--hel |
-h )
5170 echo "$ac_cs_usage"; exit 0 ;;
5171 --debug |
--d* |
-d )
5173 --file |
--fil |
--fi |
--f )
5175 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5176 ac_need_defaults
=false
;;
5177 --header |
--heade |
--head |
--hea )
5179 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5180 ac_need_defaults
=false
;;
5181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5182 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5186 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5187 Try \`$0 --help' for more information." >&5
5188 echo "$as_me: error: unrecognized option: $1
5189 Try \`$0 --help' for more information." >&2;}
5190 { (exit 1); exit 1; }; } ;;
5192 *) ac_config_targets
="$ac_config_targets $1" ;;
5198 ac_configure_extra_args
=
5200 if $ac_cs_silent; then
5202 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5206 cat >>$CONFIG_STATUS <<_ACEOF
5207 if \$ac_cs_recheck; then
5208 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5209 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5218 cat >>$CONFIG_STATUS <<\_ACEOF
5219 for ac_config_target
in $ac_config_targets
5221 case "$ac_config_target" in
5222 # Handling of arguments.
5223 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5224 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5225 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5226 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
5227 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5228 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5229 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5230 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5231 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5232 { (exit 1); exit 1; }; };;
5236 # If the user did not use the arguments to specify the items to instantiate,
5237 # then the envvar interface is used. Set only those that are not.
5238 # We use the long form for the default assignment because of an extremely
5239 # bizarre bug on SunOS 4.1.3.
5240 if $ac_need_defaults; then
5241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5243 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5244 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5247 # Have a temporary directory for convenience. Make it in the build tree
5248 # simply because there is no reason to put it here, and in addition,
5249 # creating and moving files from /tmp can sometimes cause problems.
5250 # Create a temporary directory, and hook for its removal unless debugging.
5253 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5254 trap '{ (exit 1); exit 1; }' 1 2 13 15
5257 # Create a (secure) tmp directory for tmp files.
5260 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5261 test -n "$tmp" && test -d "$tmp"
5264 tmp
=.
/confstat$$
-$RANDOM
5265 (umask 077 && mkdir
$tmp)
5268 echo "$me: cannot create a temporary directory in ." >&2
5269 { (exit 1); exit 1; }
5274 cat >>$CONFIG_STATUS <<_ACEOF
5277 # CONFIG_FILES section.
5280 # No need to generate the scripts if there are no CONFIG_FILES.
5281 # This happens for instance when ./config.status config.h
5282 if test -n "\$CONFIG_FILES"; then
5283 # Protect against being on the right side of a sed subst in config.status.
5284 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5285 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5286 s,@SHELL@,$SHELL,;t t
5287 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5288 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5289 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5290 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5291 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5292 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5293 s,@exec_prefix@,$exec_prefix,;t t
5294 s,@prefix@,$prefix,;t t
5295 s,@program_transform_name@,$program_transform_name,;t t
5296 s,@bindir@,$bindir,;t t
5297 s,@sbindir@,$sbindir,;t t
5298 s,@libexecdir@,$libexecdir,;t t
5299 s,@datadir@,$datadir,;t t
5300 s,@sysconfdir@,$sysconfdir,;t t
5301 s,@sharedstatedir@,$sharedstatedir,;t t
5302 s,@localstatedir@,$localstatedir,;t t
5303 s,@libdir@,$libdir,;t t
5304 s,@includedir@,$includedir,;t t
5305 s,@oldincludedir@,$oldincludedir,;t t
5306 s,@infodir@,$infodir,;t t
5307 s,@mandir@,$mandir,;t t
5308 s,@build_alias@,$build_alias,;t t
5309 s,@host_alias@,$host_alias,;t t
5310 s,@target_alias@,$target_alias,;t t
5312 s,@ECHO_C@,$ECHO_C,;t t
5313 s,@ECHO_N@,$ECHO_N,;t t
5314 s,@ECHO_T@,$ECHO_T,;t t
5316 s,@sim_environment@,$sim_environment,;t t
5317 s,@sim_alignment@,$sim_alignment,;t t
5318 s,@sim_assert@,$sim_assert,;t t
5319 s,@sim_bitsize@,$sim_bitsize,;t t
5320 s,@sim_endian@,$sim_endian,;t t
5321 s,@sim_hostendian@,$sim_hostendian,;t t
5322 s,@sim_float@,$sim_float,;t t
5323 s,@sim_scache@,$sim_scache,;t t
5324 s,@sim_default_model@,$sim_default_model,;t t
5325 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
5326 s,@sim_hw_objs@,$sim_hw_objs,;t t
5327 s,@sim_hw@,$sim_hw,;t t
5328 s,@sim_inline@,$sim_inline,;t t
5329 s,@sim_packages@,$sim_packages,;t t
5330 s,@sim_regparm@,$sim_regparm,;t t
5331 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
5332 s,@sim_smp@,$sim_smp,;t t
5333 s,@sim_stdcall@,$sim_stdcall,;t t
5334 s,@sim_xor_endian@,$sim_xor_endian,;t t
5335 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5336 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
5337 s,@build@,$build,;t t
5338 s,@build_cpu@,$build_cpu,;t t
5339 s,@build_vendor@,$build_vendor,;t t
5340 s,@build_os@,$build_os,;t t
5342 s,@host_cpu@,$host_cpu,;t t
5343 s,@host_vendor@,$host_vendor,;t t
5344 s,@host_os@,$host_os,;t t
5345 s,@target@,$target,;t t
5346 s,@target_cpu@,$target_cpu,;t t
5347 s,@target_vendor@,$target_vendor,;t t
5348 s,@target_os@,$target_os,;t t
5350 s,@CFLAGS@,$CFLAGS,;t t
5351 s,@LDFLAGS@,$LDFLAGS,;t t
5352 s,@CPPFLAGS@,$CPPFLAGS,;t t
5353 s,@ac_ct_CC@,$ac_ct_CC,;t t
5354 s,@EXEEXT@,$EXEEXT,;t t
5355 s,@OBJEXT@,$OBJEXT,;t t
5356 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5357 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5358 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5359 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
5360 s,@HDEFINES@,$HDEFINES,;t t
5362 s,@RANLIB@,$RANLIB,;t t
5363 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5364 s,@USE_NLS@,$USE_NLS,;t t
5365 s,@LIBINTL@,$LIBINTL,;t t
5366 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
5367 s,@INCINTL@,$INCINTL,;t t
5368 s,@XGETTEXT@,$XGETTEXT,;t t
5369 s,@GMSGFMT@,$GMSGFMT,;t t
5370 s,@POSUB@,$POSUB,;t t
5371 s,@CATALOGS@,$CATALOGS,;t t
5372 s,@DATADIRNAME@,$DATADIRNAME,;t t
5373 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5374 s,@GENCAT@,$GENCAT,;t t
5375 s,@CATOBJEXT@,$CATOBJEXT,;t t
5377 s,@EGREP@,$EGREP,;t t
5378 s,@MAINT@,$MAINT,;t t
5379 s,@sim_bswap@,$sim_bswap,;t t
5380 s,@sim_cflags@,$sim_cflags,;t t
5381 s,@sim_debug@,$sim_debug,;t t
5382 s,@sim_stdio@,$sim_stdio,;t t
5383 s,@sim_trace@,$sim_trace,;t t
5384 s,@sim_profile@,$sim_profile,;t t
5385 s,@PKGVERSION@,$PKGVERSION,;t t
5386 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
5387 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
5388 s,@cgen_breaks@,$cgen_breaks,;t t
5389 s,@LIBOBJS@,$LIBOBJS,;t t
5390 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5395 cat >>$CONFIG_STATUS <<\_ACEOF
5396 # Split the substitutions into bite-sized pieces for seds with
5397 # small command number limits, like on Digital OSF/1 and HP-UX.
5399 ac_sed_frag
=1 # Number of current file.
5400 ac_beg
=1 # First line for current file.
5401 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5404 while $ac_more_lines; do
5405 if test $ac_beg -gt 1; then
5406 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5408 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5410 if test ! -s $tmp/subs.frag
; then
5413 # The purpose of the label and of the branching condition is to
5414 # speed up the sed processing (if there are no `@' at all, there
5415 # is no need to browse any of the substitutions).
5416 # These are the two extra sed commands mentioned above.
5418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5419 if test -z "$ac_sed_cmds"; then
5420 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5422 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5424 ac_sed_frag
=`expr $ac_sed_frag + 1`
5426 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5429 if test -z "$ac_sed_cmds"; then
5432 fi # test -n "$CONFIG_FILES"
5435 cat >>$CONFIG_STATUS <<\_ACEOF
5436 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5437 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5439 - |
*:- |
*:-:* ) # input from stdin
5441 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5442 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5443 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5444 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5445 * ) ac_file_in
=$ac_file.
in ;;
5448 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5449 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5451 X"$ac_file" : 'X\(//\)[^/]' \| \
5452 X"$ac_file" : 'X\(//\)$' \| \
5453 X"$ac_file" : 'X\(/\)' \| \
5454 . : '\(.\)' 2>/dev/null ||
5456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5458 /^X\(\/\/\)$/{ s//\1/; q; }
5459 /^X\(\/\).*/{ s//\1/; q; }
5461 { if $as_mkdir_p; then
5466 while test ! -d "$as_dir"; do
5467 as_dirs
="$as_dir $as_dirs"
5468 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5470 X"$as_dir" : 'X\(//\)[^/]' \| \
5471 X"$as_dir" : 'X\(//\)$' \| \
5472 X"$as_dir" : 'X\(/\)' \| \
5473 . : '\(.\)' 2>/dev/null ||
5475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5477 /^X\(\/\/\)$/{ s//\1/; q; }
5478 /^X\(\/\).*/{ s//\1/; q; }
5481 test ! -n "$as_dirs" || mkdir
$as_dirs
5482 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5483 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5484 { (exit 1); exit 1; }; }; }
5488 if test "$ac_dir" != .
; then
5489 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5490 # A "../" for each directory in $ac_dir_suffix.
5491 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5493 ac_dir_suffix
= ac_top_builddir
=
5497 .
) # No --srcdir option. We are building in place.
5499 if test -z "$ac_top_builddir"; then
5502 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5504 [\\/]* | ?
:[\\/]* ) # Absolute path.
5505 ac_srcdir
=$srcdir$ac_dir_suffix;
5506 ac_top_srcdir
=$srcdir ;;
5508 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5509 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5512 # Do not use `cd foo && pwd` to compute absolute paths, because
5513 # the directories may not exist.
5515 .
) ac_abs_builddir
="$ac_dir";;
5518 .
) ac_abs_builddir
=`pwd`;;
5519 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5520 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5523 case $ac_abs_builddir in
5524 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5526 case ${ac_top_builddir}.
in
5527 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5528 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5529 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5532 case $ac_abs_builddir in
5533 .
) ac_abs_srcdir
=$ac_srcdir;;
5536 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5537 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5538 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5541 case $ac_abs_builddir in
5542 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5544 case $ac_top_srcdir in
5545 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5546 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5547 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5553 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5554 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5557 if test x
"$ac_file" != x-
; then
5558 { echo "$as_me:$LINENO: creating $ac_file" >&5
5559 echo "$as_me: creating $ac_file" >&6;}
5562 # Let's still pretend it is `configure' which instantiates (i.e., don't
5563 # use $as_me), people would be surprised to read:
5564 # /* config.h. Generated by config.status. */
5565 if test x
"$ac_file" = x-
; then
5568 configure_input
="$ac_file. "
5570 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5571 sed 's,.*/,,'` by configure."
5573 # First look for the input files in the build tree, otherwise in the
5575 ac_file_inputs
=`IFS=:
5576 for f in $ac_file_in; do
5578 -) echo $tmp/stdin ;;
5580 # Absolute (can't be DOS-style, as IFS=:)
5581 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5582 echo "$as_me: error: cannot find input file: $f" >&2;}
5583 { (exit 1); exit 1; }; }
5586 if test -f "$f"; then
5589 elif test -f "$srcdir/$f"; then
5594 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5595 echo "$as_me: error: cannot find input file: $f" >&2;}
5596 { (exit 1); exit 1; }; }
5599 done` ||
{ (exit 1); exit 1; }
5601 cat >>$CONFIG_STATUS <<_ACEOF
5605 cat >>$CONFIG_STATUS <<\_ACEOF
5607 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5608 s
,@configure_input@
,$configure_input,;t t
5609 s
,@srcdir@
,$ac_srcdir,;t t
5610 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5611 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5612 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5613 s
,@builddir@
,$ac_builddir,;t t
5614 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5615 s
,@top_builddir@
,$ac_top_builddir,;t t
5616 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5617 s
,@INSTALL@
,$ac_INSTALL,;t t
5618 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5620 if test x"$ac_file" != x-; then
5621 mv $tmp/out $ac_file
5629 cat >>$CONFIG_STATUS <<\_ACEOF
5632 # CONFIG_HEADER section.
5635 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5636 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5638 # ac_d sets the value in "#define NAME VALUE" lines.
5639 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5640 ac_dB
='[ ].*$,\1#\2'
5643 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5644 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5645 ac_uB
='$,\1#\2define\3'
5649 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5650 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5652 - |
*:- |
*:-:* ) # input from stdin
5654 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5655 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5656 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5657 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5658 * ) ac_file_in
=$ac_file.
in ;;
5661 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5662 echo "$as_me: creating $ac_file" >&6;}
5664 # First look for the input files in the build tree, otherwise in the
5666 ac_file_inputs
=`IFS=:
5667 for f in $ac_file_in; do
5669 -) echo $tmp/stdin ;;
5671 # Absolute (can't be DOS-style, as IFS=:)
5672 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5673 echo "$as_me: error: cannot find input file: $f" >&2;}
5674 { (exit 1); exit 1; }; }
5675 # Do quote $f, to prevent DOS paths from being IFS'd.
5678 if test -f "$f"; then
5681 elif test -f "$srcdir/$f"; then
5686 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5687 echo "$as_me: error: cannot find input file: $f" >&2;}
5688 { (exit 1); exit 1; }; }
5691 done` ||
{ (exit 1); exit 1; }
5692 # Remove the trailing spaces.
5693 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5697 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5698 # `conftest.undefs', that substitutes the proper values into
5699 # config.h.in to produce config.h. The first handles `#define'
5700 # templates, and the second `#undef' templates.
5701 # And first: Protect against being on the right side of a sed subst in
5702 # config.status. Protect against being in an unquoted here document
5704 rm -f conftest.defines conftest.undefs
5705 # Using a here document instead of a string reduces the quoting nightmare.
5706 # Putting comments in sed scripts is not portable.
5708 # `end' is used to avoid that the second main sed command (meant for
5709 # 0-ary CPP macros) applies to n-ary macro definitions.
5710 # See the Autoconf documentation for `clear'.
5711 cat >confdef2sed.
sed <<\_ACEOF
5716 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5718 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5721 # If some macros were called several times there might be several times
5722 # the same #defines, which is useless. Nevertheless, we may not want to
5723 # sort them, since we want the *last* AC-DEFINE to be honored.
5724 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5725 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5726 rm -f confdef2sed.sed
5728 # This sed command replaces #undef with comments. This is necessary, for
5729 # example, in the case of _POSIX_SOURCE, which is predefined and required
5730 # on some systems where configure will not decide to define it.
5731 cat >>conftest.undefs <<\_ACEOF
5732 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5735 # Break up conftest.defines because some shells have a limit on the size
5736 # of here documents, and old seds have small limits too (100 cmds).
5737 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5738 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5739 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5740 echo ' :' >>$CONFIG_STATUS
5742 while grep . conftest.defines >/dev/null
5744 # Write a limited-size here document to $tmp/defines.sed.
5745 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5746 # Speed up: don't consider the non `#define' lines.
5747 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5748 # Work around the forget-to-reset-the-flag bug.
5749 echo 't clr' >>$CONFIG_STATUS
5750 echo ': clr' >>$CONFIG_STATUS
5751 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5753 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5757 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5758 rm -f conftest.defines
5759 mv conftest.
tail conftest.defines
5761 rm -f conftest.defines
5762 echo ' fi # grep' >>$CONFIG_STATUS
5763 echo >>$CONFIG_STATUS
5765 # Break up conftest.undefs because some shells have a limit on the size
5766 # of here documents, and old seds have small limits too (100 cmds).
5767 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5769 while grep . conftest.undefs
>/dev
/null
5771 # Write a limited-size here document to $tmp/undefs.sed.
5772 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5773 # Speed up: don't consider the non
`#undef'
5774 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5775 # Work around the forget-to-reset-the-flag bug.
5776 echo 't clr' >>$CONFIG_STATUS
5777 echo ': clr' >>$CONFIG_STATUS
5778 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5780 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5784 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5785 rm -f conftest.undefs
5786 mv conftest.tail conftest.undefs
5788 rm -f conftest.undefs
5790 cat >>$CONFIG_STATUS <<\_ACEOF
5791 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5792 # use $as_me), people would be surprised to read:
5793 # /* config.h. Generated by config.status. */
5794 if test x
"$ac_file" = x-
; then
5795 echo "/* Generated by configure. */" >$tmp/config.h
5797 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5799 cat $tmp/in >>$tmp/config.h
5801 if test x
"$ac_file" != x-
; then
5802 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5803 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5804 echo "$as_me: $ac_file is unchanged" >&6;}
5806 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5807 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5808 X"$ac_file" : 'X\(//\)[^/]' \| \
5809 X"$ac_file" : 'X\(//\)$' \| \
5810 X"$ac_file" : 'X\(/\)' \| \
5811 . : '\(.\)' 2>/dev/null ||
5813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5815 /^X\(\/\/\)$/{ s//\1/; q; }
5816 /^X\(\/\).*/{ s//\1/; q; }
5818 { if $as_mkdir_p; then
5823 while test ! -d "$as_dir"; do
5824 as_dirs
="$as_dir $as_dirs"
5825 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5826 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5827 X"$as_dir" : 'X\(//\)[^/]' \| \
5828 X"$as_dir" : 'X\(//\)$' \| \
5829 X"$as_dir" : 'X\(/\)' \| \
5830 . : '\(.\)' 2>/dev/null ||
5832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5833 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5834 /^X\(\/\/\)$/{ s//\1/; q; }
5835 /^X\(\/\).*/{ s//\1/; q; }
5838 test ! -n "$as_dirs" || mkdir
$as_dirs
5839 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5840 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5841 { (exit 1); exit 1; }; }; }
5844 mv $tmp/config.h
$ac_file
5852 cat >>$CONFIG_STATUS <<\_ACEOF
5855 # CONFIG_LINKS section.
5858 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
5859 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5860 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5862 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
5863 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
5865 if test ! -r $srcdir/$ac_source; then
5866 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
5867 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
5868 { (exit 1); exit 1; }; }
5872 # Make relative symlinks.
5873 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5874 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5875 X"$ac_dest" : 'X\(//\)[^/]' \| \
5876 X"$ac_dest" : 'X\(//\)$' \| \
5877 X"$ac_dest" : 'X\(/\)' \| \
5878 . : '\(.\)' 2>/dev/null ||
5880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5882 /^X\(\/\/\)$/{ s//\1/; q; }
5883 /^X\(\/\).*/{ s//\1/; q; }
5885 { if $as_mkdir_p; then
5886 mkdir
-p "$ac_dest_dir"
5888 as_dir
="$ac_dest_dir"
5890 while test ! -d "$as_dir"; do
5891 as_dirs
="$as_dir $as_dirs"
5892 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5894 X"$as_dir" : 'X\(//\)[^/]' \| \
5895 X"$as_dir" : 'X\(//\)$' \| \
5896 X"$as_dir" : 'X\(/\)' \| \
5897 . : '\(.\)' 2>/dev/null ||
5899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5901 /^X\(\/\/\)$/{ s//\1/; q; }
5902 /^X\(\/\).*/{ s//\1/; q; }
5905 test ! -n "$as_dirs" || mkdir
$as_dirs
5906 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
5907 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
5908 { (exit 1); exit 1; }; }; }
5912 if test "$ac_dest_dir" != .
; then
5913 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
5914 # A "../" for each directory in $ac_dir_suffix.
5915 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5917 ac_dir_suffix
= ac_top_builddir
=
5921 .
) # No --srcdir option. We are building in place.
5923 if test -z "$ac_top_builddir"; then
5926 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5928 [\\/]* | ?
:[\\/]* ) # Absolute path.
5929 ac_srcdir
=$srcdir$ac_dir_suffix;
5930 ac_top_srcdir
=$srcdir ;;
5932 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5933 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5936 # Do not use `cd foo && pwd` to compute absolute paths, because
5937 # the directories may not exist.
5939 .
) ac_abs_builddir
="$ac_dest_dir";;
5941 case "$ac_dest_dir" in
5942 .
) ac_abs_builddir
=`pwd`;;
5943 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
5944 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
5947 case $ac_abs_builddir in
5948 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5950 case ${ac_top_builddir}.
in
5951 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5952 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5953 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5956 case $ac_abs_builddir in
5957 .
) ac_abs_srcdir
=$ac_srcdir;;
5960 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5961 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5962 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5965 case $ac_abs_builddir in
5966 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5968 case $ac_top_srcdir in
5969 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5970 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5971 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5977 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
5978 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
5981 # Try a symlink, then a hard link, then a copy.
5982 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
5983 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
5984 cp -p $srcdir/$ac_source $ac_dest ||
5985 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
5986 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
5987 { (exit 1); exit 1; }; }
5990 cat >>$CONFIG_STATUS <<\_ACEOF
5993 # CONFIG_COMMANDS section.
5995 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
5996 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5997 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5998 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5999 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6000 X"$ac_dest" : 'X\(//\)[^/]' \| \
6001 X"$ac_dest" : 'X\(//\)$' \| \
6002 X"$ac_dest" : 'X\(/\)' \| \
6003 . : '\(.\)' 2>/dev/null ||
6005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6007 /^X\(\/\/\)$/{ s//\1/; q; }
6008 /^X\(\/\).*/{ s//\1/; q; }
6010 { if $as_mkdir_p; then
6015 while test ! -d "$as_dir"; do
6016 as_dirs
="$as_dir $as_dirs"
6017 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6019 X"$as_dir" : 'X\(//\)[^/]' \| \
6020 X"$as_dir" : 'X\(//\)$' \| \
6021 X"$as_dir" : 'X\(/\)' \| \
6022 . : '\(.\)' 2>/dev/null ||
6024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6026 /^X\(\/\/\)$/{ s//\1/; q; }
6027 /^X\(\/\).*/{ s//\1/; q; }
6030 test ! -n "$as_dirs" || mkdir
$as_dirs
6031 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6032 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6033 { (exit 1); exit 1; }; }; }
6037 if test "$ac_dir" != .
; then
6038 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6039 # A "../" for each directory in $ac_dir_suffix.
6040 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6042 ac_dir_suffix
= ac_top_builddir
=
6046 .
) # No --srcdir option. We are building in place.
6048 if test -z "$ac_top_builddir"; then
6051 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6053 [\\/]* | ?
:[\\/]* ) # Absolute path.
6054 ac_srcdir
=$srcdir$ac_dir_suffix;
6055 ac_top_srcdir
=$srcdir ;;
6057 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6058 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6061 # Do not use `cd foo && pwd` to compute absolute paths, because
6062 # the directories may not exist.
6064 .
) ac_abs_builddir
="$ac_dir";;
6067 .
) ac_abs_builddir
=`pwd`;;
6068 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6069 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6072 case $ac_abs_builddir in
6073 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6075 case ${ac_top_builddir}.
in
6076 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6077 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6078 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6081 case $ac_abs_builddir in
6082 .
) ac_abs_srcdir
=$ac_srcdir;;
6085 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6086 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6087 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6090 case $ac_abs_builddir in
6091 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6093 case $ac_top_srcdir in
6094 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6095 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6096 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6101 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6102 echo "$as_me: executing $ac_dest commands" >&6;}
6104 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
6105 rm -f Makesim1.tmp Makesim2.tmp Makefile
6106 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
6107 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
6108 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
6109 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
6110 <Makefile.sim
>Makefile
6111 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
6113 stamp-h
) echo > stamp-h
;;
6118 cat >>$CONFIG_STATUS <<\_ACEOF
6120 { (exit 0); exit 0; }
6122 chmod +x
$CONFIG_STATUS
6123 ac_clean_files
=$ac_clean_files_save
6126 # configure is writing to config.log, and then calls config.status.
6127 # config.status does its own redirection, appending to config.log.
6128 # Unfortunately, on DOS this fails, as config.log is still kept open
6129 # by configure, so config.status won't be able to write to it; its
6130 # output is simply discarded. So we exec the FD to /dev/null,
6131 # effectively closing config.log, so it can be properly (re)opened and
6132 # appended to by config.status. When coming back to configure, we
6133 # need to make the FD available again.
6134 if test "$no_create" != yes; then
6136 ac_config_status_args
=
6137 test "$silent" = yes &&
6138 ac_config_status_args
="$ac_config_status_args --quiet"
6140 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6142 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6143 # would make configure fail if this is the last instruction.
6144 $ac_cs_success ||
{ (exit 1); exit 1; }