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 COPRO cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
865 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
866 --with-bugurl=URL Direct users to URL to report a bug
868 Some influential environment variables
:
869 CC C compiler
command
870 CFLAGS C compiler flags
871 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
872 nonstandard directory
<lib dir
>
873 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
874 headers
in a nonstandard directory
<include dir
>
877 Use these variables to override the choices made by
`configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1000 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1001 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1002 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1003 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1006 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1008 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1010 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1011 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1012 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1014 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close
' the trap.
1094 trap 'exit_status
=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var
in $ac_subst_vars
1130 eval ac_val
=$
`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var
in $ac_subst_files
1144 eval ac_val
=$
`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h
; then
1157 sed "/^$/d" confdefs.h |
sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core
*.core
&&
1165 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's
/^
/|
/' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1262 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1287 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315 ac_config_headers="$ac_config_headers config.h:config.in"
1318 # This file contains common code used by all simulators.
1320 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1321 # directory. It is intended to be invoked before any target specific stuff.
1322 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1323 # It is intended to be invoked last.
1325 # The simulator's configure.
in should
look like
:
1327 # dnl Process this file with autoconf to produce a configure script.
1328 # sinclude(../common/aclocal.m4)
1330 # AC_INIT(Makefile.in)
1334 # ... target specific stuff ...
1338 # Include global overrides and fixes for Autoconf.
1369 # _AC_OUTPUT_SUBDIRS
1370 # ------------------
1371 # This is a subroutine of AC_OUTPUT, but it does not go into
1372 # config.status, rather, it is called after running config.status.
1373 # _AC_OUTPUT_SUBDIRS
1378 # _AC_ARG_VAR_VALIDATE
1379 # --------------------
1380 # The code is the same as autoconf 2.59, but with a more lenient check
1381 # on precious variables and an output of pwd that have been added in
1383 # _AC_ARG_VAR_VALIDATE
1388 # AC_MSG_FAILURE(ERROR, [EXIT-STATUS = 1])
1389 # ----------------------------------------
1390 # This is the same code as in 2.59 and 2.61, except it also outputs pwd.
1447 sim_inline
="-DDEFAULT_INLINE=0"
1484 # intl sister-directory configuration rules.
1487 # The idea behind this macro is that there's no need to repeat all the
1488 # autoconf probes done by the intl directory - it's already done them
1489 # for us. In fact, there's no need even to look at the cache for the
1490 # answers. All we need to do is nab a few pieces of information.
1491 # The intl directory is set up to make this easy, by generating a
1492 # small file which can be sourced as a shell script; then we produce
1493 # the necessary substitutions and definitions for this directory.
1497 # Autoconf M4 include file defining utility macros for complex Canadian
1509 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1511 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1514 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1515 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1519 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1520 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1524 # Backported from Autoconf 2.5x; can go away when and if
1525 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1530 # ACX_HAVE_GCC_FOR_TARGET
1531 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1534 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1535 # Searching for installed target binutils. We need to take extra care,
1536 # else we may find the wrong assembler, linker, etc., and lose.
1538 # First try --with-build-time-tools, if specified.
1540 # For build != host, we ask the installed GCC for the name of the tool it
1541 # uses, and accept it if it is an absolute path. This is because the
1542 # only good choice for a compiler is the same GCC version that is being
1543 # installed (or we couldn't make target libraries), and we assume that
1544 # on the host system we'll have not only the same GCC version, but also
1545 # the same binutils version.
1547 # For build == host, search the same directories that the installed
1548 # compiler will search. We used to do this for the assembler, linker,
1549 # and nm only; for simplicity of configuration, however, we extend this
1550 # criterion to tools (such as ar and ranlib) that are never invoked by
1551 # the compiler, to avoid mismatches.
1553 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1554 # if build == target. This makes the most sense only when bootstrapping,
1555 # but we also do so when build != host. In this case, we hope that the
1556 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1558 # If we do not find a suitable binary, then try the user's path.
1562 # AC_PROG_CPP_WERROR
1563 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1564 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1565 # For now, using this also overrides header checks to use only the
1566 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1567 # bit harder from here).
1568 # Eventually autoconf will default to checking headers with the compiler
1569 # instead, and we'll have to do this differently.
1571 # AC_PROG_CPP_WERROR
1574 # We require the gnatbind program, and a compiler driver that
1575 # understands Ada. We use the user's CC setting, already found,
1576 # and possibly add $1 to the command-line parameters.
1578 # Sets the shell variable have_gnat to yes or no as appropriate, and
1579 # substitutes GNATBIND and GNATMAKE.
1605 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1606 # it by inlining the macro's contents.
1607 # This file contains common code used by all simulators.
1609 # common.m4 invokes AC macros used by all simulators and by the common
1610 # directory. It is intended to be included before any target specific
1611 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1612 # the Makefile. It is intended to be invoked last.
1614 # The simulator's configure.in should look like:
1616 # dnl Process this file with autoconf to produce a configure script.
1618 # AC_INIT(Makefile.in)
1619 # AC_CONFIG_HEADER(config.h:config.in)
1621 # sinclude(../common/aclocal.m4)
1622 # sinclude(../common/common.m4)
1624 # ... target specific stuff ...
1627 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1628 if test -f $ac_dir/install-sh
; then
1630 ac_install_sh
="$ac_aux_dir/install-sh -c"
1632 elif test -f $ac_dir/install.sh
; then
1634 ac_install_sh
="$ac_aux_dir/install.sh -c"
1636 elif test -f $ac_dir/shtool
; then
1638 ac_install_sh
="$ac_aux_dir/shtool install -c"
1642 if test -z "$ac_aux_dir"; then
1643 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1644 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1645 { (exit 1); exit 1; }; }
1647 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1648 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1649 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1651 # Make sure we can run config.sub.
1652 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1653 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1654 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1655 { (exit 1); exit 1; }; }
1657 echo "$as_me:$LINENO: checking build system type" >&5
1658 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1659 if test "${ac_cv_build+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 ac_cv_build_alias
=$build_alias
1663 test -z "$ac_cv_build_alias" &&
1664 ac_cv_build_alias
=`$ac_config_guess`
1665 test -z "$ac_cv_build_alias" &&
1666 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1667 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1668 { (exit 1); exit 1; }; }
1669 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1670 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1671 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1672 { (exit 1); exit 1; }; }
1675 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1676 echo "${ECHO_T}$ac_cv_build" >&6
1678 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1679 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1680 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1683 echo "$as_me:$LINENO: checking host system type" >&5
1684 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1685 if test "${ac_cv_host+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 ac_cv_host_alias
=$host_alias
1689 test -z "$ac_cv_host_alias" &&
1690 ac_cv_host_alias
=$ac_cv_build_alias
1691 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1692 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1693 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1694 { (exit 1); exit 1; }; }
1697 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1698 echo "${ECHO_T}$ac_cv_host" >&6
1700 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1701 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1702 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1705 echo "$as_me:$LINENO: checking target system type" >&5
1706 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1707 if test "${ac_cv_target+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 ac_cv_target_alias
=$target_alias
1711 test "x$ac_cv_target_alias" = "x" &&
1712 ac_cv_target_alias
=$ac_cv_host_alias
1713 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1714 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1715 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1716 { (exit 1); exit 1; }; }
1719 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1720 echo "${ECHO_T}$ac_cv_target" >&6
1721 target
=$ac_cv_target
1722 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1723 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1724 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1727 # The aliases save the names the user supplied, while $host etc.
1728 # will get canonicalized.
1729 test -n "$target_alias" &&
1730 test "$program_prefix$program_suffix$program_transform_name" = \
1732 program_prefix
=${target_alias}-
1733 test "$program_prefix" != NONE
&&
1734 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1735 # Use a double $ so make ignores it.
1736 test "$program_suffix" != NONE
&&
1737 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1738 # Double any \ or $. echo might interpret backslashes.
1739 # By default was `s,x,x', remove it if useless.
1740 cat <<\_ACEOF
>conftest.
sed
1741 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1743 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1747 ac_cpp
='$CPP $CPPFLAGS'
1748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1751 if test -n "$ac_tool_prefix"; then
1752 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1753 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1754 echo "$as_me:$LINENO: checking for $ac_word" >&5
1755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756 if test "${ac_cv_prog_CC+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 if test -n "$CC"; then
1760 ac_cv_prog_CC
="$CC" # Let the user override the test.
1762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1766 test -z "$as_dir" && as_dir
=.
1767 for ac_exec_ext
in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 if test -n "$CC"; then
1780 echo "$as_me:$LINENO: result: $CC" >&5
1781 echo "${ECHO_T}$CC" >&6
1783 echo "$as_me:$LINENO: result: no" >&5
1784 echo "${ECHO_T}no" >&6
1788 if test -z "$ac_cv_prog_CC"; then
1790 # Extract the first word of "gcc", so it can be a program name with args.
1791 set dummy gcc
; ac_word
=$2
1792 echo "$as_me:$LINENO: checking for $ac_word" >&5
1793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 if test -n "$ac_ct_CC"; then
1798 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1804 test -z "$as_dir" && as_dir
=.
1805 for ac_exec_ext
in '' $ac_executable_extensions; do
1806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1807 ac_cv_prog_ac_ct_CC
="gcc"
1808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1816 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1817 if test -n "$ac_ct_CC"; then
1818 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1819 echo "${ECHO_T}$ac_ct_CC" >&6
1821 echo "$as_me:$LINENO: result: no" >&5
1822 echo "${ECHO_T}no" >&6
1830 if test -z "$CC"; then
1831 if test -n "$ac_tool_prefix"; then
1832 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1833 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1834 echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836 if test "${ac_cv_prog_CC+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 if test -n "$CC"; then
1840 ac_cv_prog_CC
="$CC" # Let the user override the test.
1842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir
=.
1847 for ac_exec_ext
in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 if test -n "$CC"; then
1860 echo "$as_me:$LINENO: result: $CC" >&5
1861 echo "${ECHO_T}$CC" >&6
1863 echo "$as_me:$LINENO: result: no" >&5
1864 echo "${ECHO_T}no" >&6
1868 if test -z "$ac_cv_prog_CC"; then
1870 # Extract the first word of "cc", so it can be a program name with args.
1871 set dummy cc
; ac_word
=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 if test -n "$ac_ct_CC"; then
1878 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir
=.
1885 for ac_exec_ext
in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_ac_ct_CC
="cc"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1897 if test -n "$ac_ct_CC"; then
1898 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1899 echo "${ECHO_T}$ac_ct_CC" >&6
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1911 if test -z "$CC"; then
1912 # Extract the first word of "cc", so it can be a program name with args.
1913 set dummy cc
; ac_word
=$2
1914 echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1916 if test "${ac_cv_prog_CC+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test -n "$CC"; then
1920 ac_cv_prog_CC
="$CC" # Let the user override the test.
1923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir
=.
1928 for ac_exec_ext
in '' $ac_executable_extensions; do
1929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1931 ac_prog_rejected
=yes
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 if test $ac_prog_rejected = yes; then
1942 # We found a bogon in the path, so make sure we never use it.
1943 set dummy
$ac_cv_prog_CC
1945 if test $# != 0; then
1946 # We chose a different compiler from the bogus one.
1947 # However, it has the same basename, so the bogon will be chosen
1948 # first if we set CC to just the basename; use the full file name.
1950 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1956 if test -n "$CC"; then
1957 echo "$as_me:$LINENO: result: $CC" >&5
1958 echo "${ECHO_T}$CC" >&6
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1965 if test -z "$CC"; then
1966 if test -n "$ac_tool_prefix"; then
1969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1970 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1971 echo "$as_me:$LINENO: checking for $ac_word" >&5
1972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1973 if test "${ac_cv_prog_CC+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC
="$CC" # Let the user override the test.
1979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir
=.
1984 for ac_exec_ext
in '' $ac_executable_extensions; do
1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 if test -n "$CC"; then
1997 echo "$as_me:$LINENO: result: $CC" >&5
1998 echo "${ECHO_T}$CC" >&6
2000 echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6
2004 test -n "$CC" && break
2007 if test -z "$CC"; then
2011 # Extract the first word of "$ac_prog", so it can be a program name with args.
2012 set dummy
$ac_prog; ac_word
=$2
2013 echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 if test -n "$ac_ct_CC"; then
2019 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir
=.
2026 for ac_exec_ext
in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2028 ac_cv_prog_ac_ct_CC
="$ac_prog"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2038 if test -n "$ac_ct_CC"; then
2039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2040 echo "${ECHO_T}$ac_ct_CC" >&6
2042 echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6
2046 test -n "$ac_ct_CC" && break
2055 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2056 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2057 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2058 See \`config.log' for more details." >&5
2059 echo "$as_me: error: no acceptable C compiler found in \$PATH
2060 See \`config.log' for more details." >&2;}
2061 { (exit 1); exit 1; }; }; }
2063 # Provide some information about the compiler.
2064 echo "$as_me:$LINENO:" \
2065 "checking for C compiler version" >&5
2066 ac_compiler
=`set X $ac_compile; echo $2`
2067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2068 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }
2072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2073 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }
2077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2078 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }
2083 cat >conftest.
$ac_ext <<_ACEOF
2086 cat confdefs.h
>>conftest.
$ac_ext
2087 cat >>conftest.
$ac_ext <<_ACEOF
2088 /* end confdefs.h. */
2098 ac_clean_files_save
=$ac_clean_files
2099 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2100 # Try to create an executable without -o first, disregard a.out.
2101 # It will help us diagnose broken compilers, and finding out an intuition
2103 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2104 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2105 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2106 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2107 (eval $ac_link_default) 2>&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; then
2111 # Find the output, starting from the most likely. This scheme is
2112 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2115 # Be careful to initialize this variable, since it used to be cached.
2116 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2118 # b.out is created by i960 compilers.
2119 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2121 test -f "$ac_file" ||
continue
2123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2126 # This is the source file.
2129 # We found the default executable, but exeext='' is most
2133 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2134 # FIXME: I believe we export ac_cv_exeext for Libtool,
2135 # but it would be cool to find out if it's true. Does anybody
2136 # maintain Libtool? --akim.
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.
$ac_ext >&5
2147 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2148 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2150 See \`config.log' for more details." >&5
2151 echo "$as_me: error: C compiler cannot create executables
2152 See \`config.log' for more details." >&2;}
2153 { (exit 77); exit 77; }; }; }
2156 ac_exeext
=$ac_cv_exeext
2157 echo "$as_me:$LINENO: result: $ac_file" >&5
2158 echo "${ECHO_T}$ac_file" >&6
2160 # Check the compiler produces executables we can run. If not, either
2161 # the compiler is broken, or we cross compile.
2162 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2165 # If not cross compiling, check that we can run a simple program.
2166 if test "$cross_compiling" != yes; then
2167 if { ac_try
='./$ac_file'
2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; }; then
2175 if test "$cross_compiling" = maybe
; then
2178 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2179 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2181 If you meant to cross compile, use \`--host'.
2182 See \`config.log' for more details." >&5
2183 echo "$as_me: error: cannot run C compiled programs.
2184 If you meant to cross compile, use \`--host'.
2185 See \`config.log' for more details." >&2;}
2186 { (exit 1); exit 1; }; }; }
2190 echo "$as_me:$LINENO: result: yes" >&5
2191 echo "${ECHO_T}yes" >&6
2193 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2194 ac_clean_files
=$ac_clean_files_save
2195 # Check the compiler produces executables we can run. If not, either
2196 # the compiler is broken, or we cross compile.
2197 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2198 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2199 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2200 echo "${ECHO_T}$cross_compiling" >&6
2202 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2203 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2205 (eval $ac_link) 2>&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; then
2209 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2210 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2211 # work properly (i.e., refer to `conftest.exe'), while it won't with
2213 for ac_file
in conftest.exe conftest conftest.
*; do
2214 test -f "$ac_file" ||
continue
2216 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2217 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2225 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }; }
2233 rm -f conftest
$ac_cv_exeext
2234 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2235 echo "${ECHO_T}$ac_cv_exeext" >&6
2237 rm -f conftest.
$ac_ext
2238 EXEEXT
=$ac_cv_exeext
2240 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2241 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2242 if test "${ac_cv_objext+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 cat >conftest.
$ac_ext <<_ACEOF
2248 cat confdefs.h
>>conftest.
$ac_ext
2249 cat >>conftest.
$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2260 rm -f conftest.o conftest.obj
2261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262 (eval $ac_compile) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; then
2266 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2268 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2269 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2277 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2278 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2279 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2280 See \`config.log' for more details." >&5
2281 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2282 See \`config.log' for more details." >&2;}
2283 { (exit 1); exit 1; }; }; }
2286 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2288 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2289 echo "${ECHO_T}$ac_cv_objext" >&6
2290 OBJEXT
=$ac_cv_objext
2292 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2293 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2294 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 cat >conftest.
$ac_ext <<_ACEOF
2300 cat confdefs.h
>>conftest.
$ac_ext
2301 cat >>conftest.
$ac_ext <<_ACEOF
2302 /* end confdefs.h. */
2315 rm -f conftest.
$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2319 grep -v '^ *+' conftest.er1
>conftest.err
2321 cat conftest.err
>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try
='test -z "$ac_c_werror_flag"
2325 || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try
='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.
$ac_ext >&5
2344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2345 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2348 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2349 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2350 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2351 ac_test_CFLAGS
=${CFLAGS+set}
2352 ac_save_CFLAGS
=$CFLAGS
2354 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2355 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2356 if test "${ac_cv_prog_cc_g+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 cat >conftest.
$ac_ext <<_ACEOF
2362 cat confdefs.h
>>conftest.
$ac_ext
2363 cat >>conftest.
$ac_ext <<_ACEOF
2364 /* end confdefs.h. */
2374 rm -f conftest.
$ac_objext
2375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2376 (eval $ac_compile) 2>conftest.er1
2378 grep -v '^ *+' conftest.er1
>conftest.err
2380 cat conftest.err
>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } &&
2383 { ac_try
='test -z "$ac_c_werror_flag"
2384 || test ! -s conftest.err'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; } &&
2390 { ac_try
='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2398 echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.
$ac_ext >&5
2403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2405 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2406 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2407 if test "$ac_test_CFLAGS" = set; then
2408 CFLAGS
=$ac_save_CFLAGS
2409 elif test $ac_cv_prog_cc_g = yes; then
2410 if test "$GCC" = yes; then
2416 if test "$GCC" = yes; then
2422 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2423 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2424 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 ac_cv_prog_cc_stdc
=no
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2437 #include <sys/types.h>
2438 #include <sys/stat.h>
2439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2440 struct buf { int x; };
2441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2442 static char *e (p, i)
2448 static char *f (char * (*g) (char **, int), char **p, ...)
2453 s = g (p, va_arg (v,int));
2458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2459 function prototypes and stuff, but not '\xHH' hex character constants.
2460 These don't provoke an error unfortunately, instead are silently treated
2461 as 'x'. The following induces an error, until -std1 is added to get
2462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2463 array size at least. It's necessary to write '\x00'==0 to get something
2464 that's true only with -std1. */
2465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2467 int test (int i, double x);
2468 struct s1 {int (*f) (int a);};
2469 struct s2 {int (*f) (double a);};
2470 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2476 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2481 # Don't try gcc -ansi; that turns off useful extensions and
2482 # breaks some systems' header files.
2483 # AIX -qlanglvl=ansi
2484 # Ultrix and OSF/1 -std1
2485 # HP-UX 10.20 and later -Ae
2486 # HP-UX older versions -Aa -D_HPUX_SOURCE
2487 # SVR4 -Xc -D__EXTENSIONS__
2488 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2490 CC
="$ac_save_CC $ac_arg"
2491 rm -f conftest.
$ac_objext
2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2493 (eval $ac_compile) 2>conftest.er1
2495 grep -v '^ *+' conftest.er1
>conftest.err
2497 cat conftest.err
>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } &&
2500 { ac_try
='test -z "$ac_c_werror_flag"
2501 || test ! -s conftest.err'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; } &&
2507 { ac_try
='test -s conftest.$ac_objext'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; }; then
2513 ac_cv_prog_cc_stdc
=$ac_arg
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2520 rm -f conftest.err conftest.
$ac_objext
2522 rm -f conftest.
$ac_ext conftest.
$ac_objext
2527 case "x$ac_cv_prog_cc_stdc" in
2529 echo "$as_me:$LINENO: result: none needed" >&5
2530 echo "${ECHO_T}none needed" >&6 ;;
2532 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2533 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2534 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2537 # Some people use a C++ compiler to compile C. Since we use `exit',
2538 # in C++ we need to declare it. In case someone uses the same compiler
2539 # for both compiling C and C++ we need to have the C++ compiler decide
2540 # the declaration of exit, since it's the most demanding environment.
2541 cat >conftest.
$ac_ext <<_ACEOF
2546 rm -f conftest.
$ac_objext
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>conftest.er1
2550 grep -v '^ *+' conftest.er1
>conftest.err
2552 cat conftest.err
>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try
='test -z "$ac_c_werror_flag"
2556 || test ! -s conftest.err'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; } &&
2562 { ac_try
='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2568 for ac_declaration
in \
2570 'extern "C" void std::exit (int) throw (); using std::exit;' \
2571 'extern "C" void std::exit (int); using std::exit;' \
2572 'extern "C" void exit (int) throw ();' \
2573 'extern "C" void exit (int);' \
2576 cat >conftest.
$ac_ext <<_ACEOF
2579 cat confdefs.h
>>conftest.
$ac_ext
2580 cat >>conftest.
$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2592 rm -f conftest.
$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>conftest.er1
2596 grep -v '^ *+' conftest.er1
>conftest.err
2598 cat conftest.err
>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } &&
2601 { ac_try
='test -z "$ac_c_werror_flag"
2602 || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try
='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2637 rm -f conftest.
$ac_objext
2638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639 (eval $ac_compile) 2>conftest.er1
2641 grep -v '^ *+' conftest.er1
>conftest.err
2643 cat conftest.err
>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try
='test -z "$ac_c_werror_flag"
2647 || test ! -s conftest.err'
2648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; } &&
2653 { ac_try
='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.
$ac_ext >&5
2665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2668 if test -n "$ac_declaration"; then
2669 echo '#ifdef __cplusplus' >>confdefs.h
2670 echo $ac_declaration >>confdefs.h
2671 echo '#endif' >>confdefs.h
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 ac_cpp
='$CPP $CPPFLAGS'
2682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2686 # Find a good install program. We prefer a C program (faster),
2687 # so one script is as good as another. But avoid the broken or
2688 # incompatible versions:
2689 # SysV /etc/install, /usr/sbin/install
2690 # SunOS /usr/etc/install
2691 # IRIX /sbin/install
2693 # AmigaOS /C/install, which installs bootblocks on floppy discs
2694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2697 # OS/2's system install, which has a completely different semantic
2698 # ./install, which can be erroneously created by make from ./install.sh.
2699 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2700 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2701 if test -z "$INSTALL"; then
2702 if test "${ac_cv_path_install+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 # Account for people who put trailing slashes in PATH elements.
2712 .
/ | .
// |
/cC
/* | \
2713 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2714 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2717 # OSF1 and SCO ODT 3.0 have their own names for install.
2718 # Don't use installbsd from OSF since it installs stuff as root
2720 for ac_prog
in ginstall scoinst
install; do
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2723 if test $ac_prog = install &&
2724 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2725 # AIX install. It has an incompatible calling convention.
2727 elif test $ac_prog = install &&
2728 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2729 # program-specific install script used by HP pwplus--don't use.
2732 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2744 if test "${ac_cv_path_install+set}" = set; then
2745 INSTALL
=$ac_cv_path_install
2747 # As a last resort, use the slow shell script. We don't cache a
2748 # path for INSTALL within a source directory, because that will
2749 # break other packages using the cache if that directory is
2750 # removed, or if the path is relative.
2751 INSTALL
=$ac_install_sh
2754 echo "$as_me:$LINENO: result: $INSTALL" >&5
2755 echo "${ECHO_T}$INSTALL" >&6
2757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2758 # It thinks the first close brace ends the variable substitution.
2759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2763 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2766 # Put a plausible default for CC_FOR_BUILD in Makefile.
2767 if test "x$cross_compiling" = "xno"; then
2768 CC_FOR_BUILD
='$(CC)'
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2780 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2781 echo "$as_me:$LINENO: checking for $ac_word" >&5
2782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2783 if test "${ac_cv_prog_RANLIB+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 if test -n "$RANLIB"; then
2787 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 for ac_exec_ext
in '' $ac_executable_extensions; do
2795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 RANLIB
=$ac_cv_prog_RANLIB
2806 if test -n "$RANLIB"; then
2807 echo "$as_me:$LINENO: result: $RANLIB" >&5
2808 echo "${ECHO_T}$RANLIB" >&6
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2815 if test -z "$ac_cv_prog_RANLIB"; then
2816 ac_ct_RANLIB
=$RANLIB
2817 # Extract the first word of "ranlib", so it can be a program name with args.
2818 set dummy ranlib
; ac_word
=$2
2819 echo "$as_me:$LINENO: checking for $ac_word" >&5
2820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2821 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 if test -n "$ac_ct_RANLIB"; then
2825 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2844 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2845 if test -n "$ac_ct_RANLIB"; then
2846 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2847 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2853 RANLIB
=$ac_ct_RANLIB
2855 RANLIB
="$ac_cv_prog_RANLIB"
2860 # If we haven't got the data from the intl directory,
2861 # assume NLS is disabled.
2870 if test -f ..
/..
/intl
/config.intl
; then
2871 . ..
/..
/intl
/config.intl
2873 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2874 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2875 if test x
"$USE_NLS" != xyes
; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2879 echo "$as_me:$LINENO: result: yes" >&5
2880 echo "${ECHO_T}yes" >&6
2882 cat >>confdefs.h
<<\_ACEOF
2883 #define ENABLE_NLS 1
2887 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2888 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2889 # Look for .po and .gmo files in the source directory.
2892 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2893 # If there aren't any .gmo files the shell will give us the
2894 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2896 case "$cat" in *\
**)
2899 # The quadruple backslash is collapsed to a double backslash
2900 # by the backticks, then collapsed again by the double quotes,
2901 # leaving us with one backslash in the sed expression (right
2902 # before the dot that mustn't act as a wildcard).
2903 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2904 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2905 # The user is allowed to set LINGUAS to a list of languages to
2906 # install catalogs for. If it's empty that means "all of them."
2907 if test "x$LINGUAS" = x
; then
2908 CATALOGS
="$CATALOGS $cat"
2909 XLINGUAS
="$XLINGUAS $lang"
2911 case "$LINGUAS" in *$lang*)
2912 CATALOGS
="$CATALOGS $cat"
2913 XLINGUAS
="$XLINGUAS $lang"
2919 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2920 echo "${ECHO_T}$LINGUAS" >&6
2933 # Check for common headers.
2934 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2935 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2938 ac_cpp
='$CPP $CPPFLAGS'
2939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2942 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2943 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2944 # On Suns, sometimes $CPP names a directory.
2945 if test -n "$CPP" && test -d "$CPP"; then
2948 if test -z "$CPP"; then
2949 if test "${ac_cv_prog_CPP+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 # Double quotes because CPP needs to be expanded
2953 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2956 for ac_c_preproc_warn_flag
in '' yes
2958 # Use a header file that comes with gcc, so configuring glibc
2959 # with a fresh cross-compiler works.
2960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2961 # <limits.h> exists even on freestanding compilers.
2962 # On the NeXT, cc -E runs the code through the compiler's parser,
2963 # not just through cpp. "Syntax error" is here to catch this case.
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2971 # include <limits.h>
2973 # include <assert.h>
2977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2980 grep -v '^ *+' conftest.er1
>conftest.err
2982 cat conftest.err
>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } >/dev
/null
; then
2985 if test -s conftest.err
; then
2986 ac_cpp_err
=$ac_c_preproc_warn_flag
2987 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2994 if test -z "$ac_cpp_err"; then
2997 echo "$as_me: failed program was:" >&5
2998 sed 's/^/| /' conftest.
$ac_ext >&5
3000 # Broken: fails on valid input.
3003 rm -f conftest.err conftest.
$ac_ext
3005 # OK, works on sane cases. Now check whether non-existent headers
3006 # can be detected and how.
3007 cat >conftest.
$ac_ext <<_ACEOF
3010 cat confdefs.h
>>conftest.
$ac_ext
3011 cat >>conftest.
$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3013 #include <ac_nonexistent.h>
3015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3018 grep -v '^ *+' conftest.er1
>conftest.err
3020 cat conftest.err
>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } >/dev
/null
; then
3023 if test -s conftest.err
; then
3024 ac_cpp_err
=$ac_c_preproc_warn_flag
3025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3032 if test -z "$ac_cpp_err"; then
3033 # Broken: success on invalid input.
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.
$ac_ext >&5
3039 # Passes both tests.
3043 rm -f conftest.err conftest.
$ac_ext
3046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3047 rm -f conftest.err conftest.
$ac_ext
3048 if $ac_preproc_ok; then
3060 echo "$as_me:$LINENO: result: $CPP" >&5
3061 echo "${ECHO_T}$CPP" >&6
3063 for ac_c_preproc_warn_flag
in '' yes
3065 # Use a header file that comes with gcc, so configuring glibc
3066 # with a fresh cross-compiler works.
3067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3068 # <limits.h> exists even on freestanding compilers.
3069 # On the NeXT, cc -E runs the code through the compiler's parser,
3070 # not just through cpp. "Syntax error" is here to catch this case.
3071 cat >conftest.
$ac_ext <<_ACEOF
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3078 # include <limits.h>
3080 # include <assert.h>
3084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3087 grep -v '^ *+' conftest.er1
>conftest.err
3089 cat conftest.err
>&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } >/dev
/null
; then
3092 if test -s conftest.err
; then
3093 ac_cpp_err
=$ac_c_preproc_warn_flag
3094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3101 if test -z "$ac_cpp_err"; then
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.
$ac_ext >&5
3107 # Broken: fails on valid input.
3110 rm -f conftest.err conftest.
$ac_ext
3112 # OK, works on sane cases. Now check whether non-existent headers
3113 # can be detected and how.
3114 cat >conftest.
$ac_ext <<_ACEOF
3117 cat confdefs.h
>>conftest.
$ac_ext
3118 cat >>conftest.
$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3120 #include <ac_nonexistent.h>
3122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3125 grep -v '^ *+' conftest.er1
>conftest.err
3127 cat conftest.err
>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } >/dev
/null
; then
3130 if test -s conftest.err
; then
3131 ac_cpp_err
=$ac_c_preproc_warn_flag
3132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3139 if test -z "$ac_cpp_err"; then
3140 # Broken: success on invalid input.
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.
$ac_ext >&5
3146 # Passes both tests.
3150 rm -f conftest.err conftest.
$ac_ext
3153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3154 rm -f conftest.err conftest.
$ac_ext
3155 if $ac_preproc_ok; then
3158 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3159 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3161 See \`config.log' for more details." >&5
3162 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3163 See \`config.log' for more details." >&2;}
3164 { (exit 1); exit 1; }; }; }
3168 ac_cpp
='$CPP $CPPFLAGS'
3169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3174 echo "$as_me:$LINENO: checking for egrep" >&5
3175 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3176 if test "${ac_cv_prog_egrep+set}" = set; then
3177 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3180 then ac_cv_prog_egrep
='grep -E'
3181 else ac_cv_prog_egrep
='egrep'
3184 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3185 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3186 EGREP
=$ac_cv_prog_egrep
3189 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3190 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3191 if test "${ac_cv_header_stdc+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 cat >conftest.
$ac_ext <<_ACEOF
3197 cat confdefs.h
>>conftest.
$ac_ext
3198 cat >>conftest.
$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3213 rm -f conftest.
$ac_objext
3214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3215 (eval $ac_compile) 2>conftest.er1
3217 grep -v '^ *+' conftest.er1
>conftest.err
3219 cat conftest.err
>&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } &&
3222 { ac_try
='test -z "$ac_c_werror_flag"
3223 || test ! -s conftest.err'
3224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; } &&
3229 { ac_try
='test -s conftest.$ac_objext'
3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_cv_header_stdc
=yes
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.
$ac_ext >&5
3240 ac_cv_header_stdc
=no
3242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3244 if test $ac_cv_header_stdc = yes; then
3245 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3246 cat >conftest.
$ac_ext <<_ACEOF
3249 cat confdefs.h
>>conftest.
$ac_ext
3250 cat >>conftest.
$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3256 $EGREP "memchr" >/dev
/null
2>&1; then
3259 ac_cv_header_stdc
=no
3265 if test $ac_cv_header_stdc = yes; then
3266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3267 cat >conftest.
$ac_ext <<_ACEOF
3270 cat confdefs.h
>>conftest.
$ac_ext
3271 cat >>conftest.
$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3277 $EGREP "free" >/dev
/null
2>&1; then
3280 ac_cv_header_stdc
=no
3286 if test $ac_cv_header_stdc = yes; then
3287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3288 if test "$cross_compiling" = yes; then
3291 cat >conftest.
$ac_ext <<_ACEOF
3294 cat confdefs.h
>>conftest.
$ac_ext
3295 cat >>conftest.
$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3298 #if ((' ' & 0x0FF) == 0x020)
3299 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3300 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3302 # define ISLOWER(c) \
3303 (('a' <= (c) && (c) <= 'i') \
3304 || ('j' <= (c) && (c) <= 'r') \
3305 || ('s' <= (c) && (c) <= 'z'))
3306 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3309 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3314 for (i = 0; i < 256; i++)
3315 if (XOR (islower (i), ISLOWER (i))
3316 || toupper (i) != TOUPPER (i))
3321 rm -f conftest
$ac_exeext
3322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3323 (eval $ac_link) 2>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; }; then
3334 echo "$as_me: program exited with status $ac_status" >&5
3335 echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.
$ac_ext >&5
3339 ac_cv_header_stdc
=no
3341 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3345 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3346 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3347 if test $ac_cv_header_stdc = yes; then
3349 cat >>confdefs.h
<<\_ACEOF
3350 #define STDC_HEADERS 1
3355 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3365 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3366 inttypes.h stdint.h unistd.h
3368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3369 echo "$as_me:$LINENO: checking for $ac_header" >&5
3370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3380 $ac_includes_default
3382 #include <$ac_header>
3384 rm -f conftest.
$ac_objext
3385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3386 (eval $ac_compile) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1
>conftest.err
3390 cat conftest.err
>&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } &&
3393 { ac_try
='test -z "$ac_c_werror_flag"
3394 || test ! -s conftest.err'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try
='test -s conftest.$ac_objext'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 eval "$as_ac_Header=yes"
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.
$ac_ext >&5
3411 eval "$as_ac_Header=no"
3413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3418 cat >>confdefs.h
<<_ACEOF
3419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3432 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3436 echo "$as_me:$LINENO: checking for $ac_header" >&5
3437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3439 echo $ECHO_N "(cached) $ECHO_C" >&6
3441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3444 # Is the header compilable?
3445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3447 cat >conftest.
$ac_ext <<_ACEOF
3450 cat confdefs.h
>>conftest.
$ac_ext
3451 cat >>conftest.
$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3453 $ac_includes_default
3454 #include <$ac_header>
3456 rm -f conftest.
$ac_objext
3457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3458 (eval $ac_compile) 2>conftest.er1
3460 grep -v '^ *+' conftest.er1
>conftest.err
3462 cat conftest.err
>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } &&
3465 { ac_try
='test -z "$ac_c_werror_flag"
3466 || test ! -s conftest.err'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; } &&
3472 { ac_try
='test -s conftest.$ac_objext'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; }; then
3478 ac_header_compiler
=yes
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.
$ac_ext >&5
3483 ac_header_compiler
=no
3485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3487 echo "${ECHO_T}$ac_header_compiler" >&6
3489 # Is the header present?
3490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3492 cat >conftest.
$ac_ext <<_ACEOF
3495 cat confdefs.h
>>conftest.
$ac_ext
3496 cat >>conftest.
$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3498 #include <$ac_header>
3500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3503 grep -v '^ *+' conftest.er1
>conftest.err
3505 cat conftest.err
>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev
/null
; then
3508 if test -s conftest.err
; then
3509 ac_cpp_err
=$ac_c_preproc_warn_flag
3510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3517 if test -z "$ac_cpp_err"; then
3518 ac_header_preproc
=yes
3520 echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.
$ac_ext >&5
3523 ac_header_preproc
=no
3525 rm -f conftest.err conftest.
$ac_ext
3526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3527 echo "${ECHO_T}$ac_header_preproc" >&6
3529 # So? What about this header?
3530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3536 ac_header_preproc
=yes
3539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3553 ## ------------------------------------------ ##
3554 ## Report this to the AC_PACKAGE_NAME lists. ##
3555 ## ------------------------------------------ ##
3558 sed "s/^/$as_me: WARNING: /" >&2
3561 echo "$as_me:$LINENO: checking for $ac_header" >&5
3562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 eval "$as_ac_Header=\$ac_header_preproc"
3568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3573 cat >>confdefs.h
<<_ACEOF
3574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3583 for ac_header
in sys
/time.h sys
/resource.h
3585 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3587 echo "$as_me:$LINENO: checking for $ac_header" >&5
3588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3595 # Is the header compilable?
3596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3598 cat >conftest.
$ac_ext <<_ACEOF
3601 cat confdefs.h
>>conftest.
$ac_ext
3602 cat >>conftest.
$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3604 $ac_includes_default
3605 #include <$ac_header>
3607 rm -f conftest.
$ac_objext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3609 (eval $ac_compile) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } &&
3616 { ac_try
='test -z "$ac_c_werror_flag"
3617 || test ! -s conftest.err'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; } &&
3623 { ac_try
='test -s conftest.$ac_objext'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; }; then
3629 ac_header_compiler
=yes
3631 echo "$as_me: failed program was:" >&5
3632 sed 's/^/| /' conftest.
$ac_ext >&5
3634 ac_header_compiler
=no
3636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3638 echo "${ECHO_T}$ac_header_compiler" >&6
3640 # Is the header present?
3641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3643 cat >conftest.
$ac_ext <<_ACEOF
3646 cat confdefs.h
>>conftest.
$ac_ext
3647 cat >>conftest.
$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <$ac_header>
3651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3654 grep -v '^ *+' conftest.er1
>conftest.err
3656 cat conftest.err
>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } >/dev
/null
; then
3659 if test -s conftest.err
; then
3660 ac_cpp_err
=$ac_c_preproc_warn_flag
3661 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3668 if test -z "$ac_cpp_err"; then
3669 ac_header_preproc
=yes
3671 echo "$as_me: failed program was:" >&5
3672 sed 's/^/| /' conftest.
$ac_ext >&5
3674 ac_header_preproc
=no
3676 rm -f conftest.err conftest.
$ac_ext
3677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3678 echo "${ECHO_T}$ac_header_preproc" >&6
3680 # So? What about this header?
3681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3687 ac_header_preproc
=yes
3690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3704 ## ------------------------------------------ ##
3705 ## Report this to the AC_PACKAGE_NAME lists. ##
3706 ## ------------------------------------------ ##
3709 sed "s/^/$as_me: WARNING: /" >&2
3712 echo "$as_me:$LINENO: checking for $ac_header" >&5
3713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 eval "$as_ac_Header=\$ac_header_preproc"
3719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3724 cat >>confdefs.h
<<_ACEOF
3725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3734 for ac_header
in fcntl.h fpu_control.h
3736 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3738 echo "$as_me:$LINENO: checking for $ac_header" >&5
3739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3746 # Is the header compilable?
3747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3749 cat >conftest.
$ac_ext <<_ACEOF
3752 cat confdefs.h
>>conftest.
$ac_ext
3753 cat >>conftest.
$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 $ac_includes_default
3756 #include <$ac_header>
3758 rm -f conftest.
$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3762 grep -v '^ *+' conftest.er1
>conftest.err
3764 cat conftest.err
>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try
='test -z "$ac_c_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try
='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3780 ac_header_compiler
=yes
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.
$ac_ext >&5
3785 ac_header_compiler
=no
3787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3789 echo "${ECHO_T}$ac_header_compiler" >&6
3791 # Is the header present?
3792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3794 cat >conftest.
$ac_ext <<_ACEOF
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 #include <$ac_header>
3802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3805 grep -v '^ *+' conftest.er1
>conftest.err
3807 cat conftest.err
>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } >/dev
/null
; then
3810 if test -s conftest.err
; then
3811 ac_cpp_err
=$ac_c_preproc_warn_flag
3812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3819 if test -z "$ac_cpp_err"; then
3820 ac_header_preproc
=yes
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 ac_header_preproc
=no
3827 rm -f conftest.err conftest.
$ac_ext
3828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3829 echo "${ECHO_T}$ac_header_preproc" >&6
3831 # So? What about this header?
3832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3838 ac_header_preproc
=yes
3841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3855 ## ------------------------------------------ ##
3856 ## Report this to the AC_PACKAGE_NAME lists. ##
3857 ## ------------------------------------------ ##
3860 sed "s/^/$as_me: WARNING: /" >&2
3863 echo "$as_me:$LINENO: checking for $ac_header" >&5
3864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 eval "$as_ac_Header=\$ac_header_preproc"
3870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3875 cat >>confdefs.h
<<_ACEOF
3876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3886 for ac_header
in dlfcn.h errno.h sys
/stat.h
3888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3890 echo "$as_me:$LINENO: checking for $ac_header" >&5
3891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3898 # Is the header compilable?
3899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3907 $ac_includes_default
3908 #include <$ac_header>
3910 rm -f conftest.
$ac_objext
3911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3912 (eval $ac_compile) 2>conftest.er1
3914 grep -v '^ *+' conftest.er1
>conftest.err
3916 cat conftest.err
>&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); } &&
3919 { ac_try
='test -z "$ac_c_werror_flag"
3920 || test ! -s conftest.err'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; } &&
3926 { ac_try
='test -s conftest.$ac_objext'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3932 ac_header_compiler
=yes
3934 echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.
$ac_ext >&5
3937 ac_header_compiler
=no
3939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3941 echo "${ECHO_T}$ac_header_compiler" >&6
3943 # Is the header present?
3944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3946 cat >conftest.
$ac_ext <<_ACEOF
3949 cat confdefs.h
>>conftest.
$ac_ext
3950 cat >>conftest.
$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3952 #include <$ac_header>
3954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1
>conftest.err
3959 cat conftest.err
>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } >/dev
/null
; then
3962 if test -s conftest.err
; then
3963 ac_cpp_err
=$ac_c_preproc_warn_flag
3964 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3971 if test -z "$ac_cpp_err"; then
3972 ac_header_preproc
=yes
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3977 ac_header_preproc
=no
3979 rm -f conftest.err conftest.
$ac_ext
3980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3981 echo "${ECHO_T}$ac_header_preproc" >&6
3983 # So? What about this header?
3984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3990 ac_header_preproc
=yes
3993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4007 ## ------------------------------------------ ##
4008 ## Report this to the AC_PACKAGE_NAME lists. ##
4009 ## ------------------------------------------ ##
4012 sed "s/^/$as_me: WARNING: /" >&2
4015 echo "$as_me:$LINENO: checking for $ac_header" >&5
4016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 eval "$as_ac_Header=\$ac_header_preproc"
4022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4027 cat >>confdefs.h
<<_ACEOF
4028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4039 for ac_func
in getrusage
time sigaction __setfpucw
4041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4042 echo "$as_me:$LINENO: checking for $ac_func" >&5
4043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4044 if eval "test \"\${$as_ac_var+set}\" = set"; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 cat >conftest.
$ac_ext <<_ACEOF
4050 cat confdefs.h
>>conftest.
$ac_ext
4051 cat >>conftest.
$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4055 #define $ac_func innocuous_$ac_func
4057 /* System header to define __stub macros and hopefully few prototypes,
4058 which can conflict with char $ac_func (); below.
4059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060 <limits.h> exists even on freestanding compilers. */
4063 # include <limits.h>
4065 # include <assert.h>
4070 /* Override any gcc2 internal prototype to avoid an error. */
4075 /* We use char because int might match the return type of a gcc2
4076 builtin and then its argument prototype would still apply. */
4078 /* The GNU C library defines this for functions which it implements
4079 to always fail with ENOSYS. Some functions are actually named
4080 something starting with __ and the normal name is an alias. */
4081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4084 char (*f) () = $ac_func;
4093 return f != $ac_func;
4098 rm -f conftest.
$ac_objext conftest
$ac_exeext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4100 (eval $ac_link) 2>conftest.er1
4102 grep -v '^ *+' conftest.er1
>conftest.err
4104 cat conftest.err
>&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } &&
4107 { ac_try
='test -z "$ac_c_werror_flag"
4108 || test ! -s conftest.err'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; } &&
4114 { ac_try
='test -s conftest$ac_exeext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
4120 eval "$as_ac_var=yes"
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.
$ac_ext >&5
4125 eval "$as_ac_var=no"
4127 rm -f conftest.err conftest.
$ac_objext \
4128 conftest
$ac_exeext conftest.
$ac_ext
4130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4132 if test `eval echo '${'$as_ac_var'}'` = yes; then
4133 cat >>confdefs.h
<<_ACEOF
4134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4141 # Check for socket libraries
4143 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4144 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4145 if test "${ac_cv_lib_socket_bind+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 ac_check_lib_save_LIBS
=$LIBS
4149 LIBS
="-lsocket $LIBS"
4150 cat >conftest.
$ac_ext <<_ACEOF
4153 cat confdefs.h
>>conftest.
$ac_ext
4154 cat >>conftest.
$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4157 /* Override any gcc2 internal prototype to avoid an error. */
4161 /* We use char because int might match the return type of a gcc2
4162 builtin and then its argument prototype would still apply. */
4172 rm -f conftest.
$ac_objext conftest
$ac_exeext
4173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4174 (eval $ac_link) 2>conftest.er1
4176 grep -v '^ *+' conftest.er1
>conftest.err
4178 cat conftest.err
>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } &&
4181 { ac_try
='test -z "$ac_c_werror_flag"
4182 || test ! -s conftest.err'
4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; } &&
4188 { ac_try
='test -s conftest$ac_exeext'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4194 ac_cv_lib_socket_bind
=yes
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.
$ac_ext >&5
4199 ac_cv_lib_socket_bind
=no
4201 rm -f conftest.err conftest.
$ac_objext \
4202 conftest
$ac_exeext conftest.
$ac_ext
4203 LIBS
=$ac_check_lib_save_LIBS
4205 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4206 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4207 if test $ac_cv_lib_socket_bind = yes; then
4208 cat >>confdefs.h
<<_ACEOF
4209 #define HAVE_LIBSOCKET 1
4212 LIBS
="-lsocket $LIBS"
4217 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4218 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4219 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 ac_check_lib_save_LIBS
=$LIBS
4224 cat >conftest.
$ac_ext <<_ACEOF
4227 cat confdefs.h
>>conftest.
$ac_ext
4228 cat >>conftest.
$ac_ext <<_ACEOF
4229 /* end confdefs.h. */
4231 /* Override any gcc2 internal prototype to avoid an error. */
4235 /* We use char because int might match the return type of a gcc2
4236 builtin and then its argument prototype would still apply. */
4237 char gethostbyname ();
4246 rm -f conftest.
$ac_objext conftest
$ac_exeext
4247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4248 (eval $ac_link) 2>conftest.er1
4250 grep -v '^ *+' conftest.er1
>conftest.err
4252 cat conftest.err
>&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } &&
4255 { ac_try
='test -z "$ac_c_werror_flag"
4256 || test ! -s conftest.err'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; } &&
4262 { ac_try
='test -s conftest$ac_exeext'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; }; then
4268 ac_cv_lib_nsl_gethostbyname
=yes
4270 echo "$as_me: failed program was:" >&5
4271 sed 's/^/| /' conftest.
$ac_ext >&5
4273 ac_cv_lib_nsl_gethostbyname
=no
4275 rm -f conftest.err conftest.
$ac_objext \
4276 conftest
$ac_exeext conftest.
$ac_ext
4277 LIBS
=$ac_check_lib_save_LIBS
4279 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4280 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4281 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4282 cat >>confdefs.h
<<_ACEOF
4283 #define HAVE_LIBNSL 1
4291 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4292 # using the same condition.
4293 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4294 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4295 if test "${ac_cv_search_zlibVersion+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 ac_func_search_save_LIBS
=$LIBS
4299 ac_cv_search_zlibVersion
=no
4300 cat >conftest.
$ac_ext <<_ACEOF
4303 cat confdefs.h
>>conftest.
$ac_ext
4304 cat >>conftest.
$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4307 /* Override any gcc2 internal prototype to avoid an error. */
4311 /* We use char because int might match the return type of a gcc2
4312 builtin and then its argument prototype would still apply. */
4313 char zlibVersion ();
4322 rm -f conftest.
$ac_objext conftest
$ac_exeext
4323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4324 (eval $ac_link) 2>conftest.er1
4326 grep -v '^ *+' conftest.er1
>conftest.err
4328 cat conftest.err
>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } &&
4331 { ac_try
='test -z "$ac_c_werror_flag"
4332 || test ! -s conftest.err'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; } &&
4338 { ac_try
='test -s conftest$ac_exeext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_cv_search_zlibVersion
="none required"
4346 echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.
$ac_ext >&5
4350 rm -f conftest.err conftest.
$ac_objext \
4351 conftest
$ac_exeext conftest.
$ac_ext
4352 if test "$ac_cv_search_zlibVersion" = no
; then
4354 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4362 /* Override any gcc2 internal prototype to avoid an error. */
4366 /* We use char because int might match the return type of a gcc2
4367 builtin and then its argument prototype would still apply. */
4368 char zlibVersion ();
4377 rm -f conftest.
$ac_objext conftest
$ac_exeext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4379 (eval $ac_link) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } &&
4386 { ac_try
='test -z "$ac_c_werror_flag"
4387 || test ! -s conftest.err'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; } &&
4393 { ac_try
='test -s conftest$ac_exeext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 ac_cv_search_zlibVersion
="-l$ac_lib"
4402 echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4406 rm -f conftest.err conftest.
$ac_objext \
4407 conftest
$ac_exeext conftest.
$ac_ext
4410 LIBS
=$ac_func_search_save_LIBS
4412 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4413 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4414 if test "$ac_cv_search_zlibVersion" != no
; then
4415 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4417 for ac_header
in zlib.h
4419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4421 echo "$as_me:$LINENO: checking for $ac_header" >&5
4422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4429 # Is the header compilable?
4430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 $ac_includes_default
4439 #include <$ac_header>
4441 rm -f conftest.
$ac_objext
4442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4443 (eval $ac_compile) 2>conftest.er1
4445 grep -v '^ *+' conftest.er1
>conftest.err
4447 cat conftest.err
>&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try
='test -z "$ac_c_werror_flag"
4451 || test ! -s conftest.err'
4452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; } &&
4457 { ac_try
='test -s conftest.$ac_objext'
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; }; then
4463 ac_header_compiler
=yes
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.
$ac_ext >&5
4468 ac_header_compiler
=no
4470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4472 echo "${ECHO_T}$ac_header_compiler" >&6
4474 # Is the header present?
4475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4477 cat >conftest.
$ac_ext <<_ACEOF
4480 cat confdefs.h
>>conftest.
$ac_ext
4481 cat >>conftest.
$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 #include <$ac_header>
4485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1
>conftest.err
4490 cat conftest.err
>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } >/dev
/null
; then
4493 if test -s conftest.err
; then
4494 ac_cpp_err
=$ac_c_preproc_warn_flag
4495 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4502 if test -z "$ac_cpp_err"; then
4503 ac_header_preproc
=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_header_preproc
=no
4510 rm -f conftest.err conftest.
$ac_ext
4511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4512 echo "${ECHO_T}$ac_header_preproc" >&6
4514 # So? What about this header?
4515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4521 ac_header_preproc
=yes
4524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4538 ## ------------------------------------------ ##
4539 ## Report this to the AC_PACKAGE_NAME lists. ##
4540 ## ------------------------------------------ ##
4543 sed "s/^/$as_me: WARNING: /" >&2
4546 echo "$as_me:$LINENO: checking for $ac_header" >&5
4547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 eval "$as_ac_Header=\$ac_header_preproc"
4553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4558 cat >>confdefs.h
<<_ACEOF
4559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4569 .
${srcdir}/..
/..
/bfd
/configure.
host
4573 USE_MAINTAINER_MODE
=no
4574 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4575 if test "${enable_maintainer_mode+set}" = set; then
4576 enableval
="$enable_maintainer_mode"
4577 case "${enableval}" in
4578 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4580 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4581 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4582 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4584 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4585 echo "Setting maintainer mode" 6>&1
4592 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4593 if test "${enable_sim_bswap+set}" = set; then
4594 enableval
="$enable_sim_bswap"
4595 case "${enableval}" in
4596 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4597 no
) sim_bswap
="-DWITH_BSWAP=0";;
4598 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4599 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4600 { (exit 1); exit 1; }; }; sim_bswap
="";;
4602 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4603 echo "Setting bswap flags = $sim_bswap" 6>&1
4610 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4611 if test "${enable_sim_cflags+set}" = set; then
4612 enableval
="$enable_sim_cflags"
4613 case "${enableval}" in
4614 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4615 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4616 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4617 { (exit 1); exit 1; }; }; sim_cflags
="";;
4619 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4621 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4622 echo "Setting sim cflags = $sim_cflags" 6>&1
4629 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4630 if test "${enable_sim_debug+set}" = set; then
4631 enableval
="$enable_sim_debug"
4632 case "${enableval}" in
4633 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4634 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4635 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4637 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4638 echo "Setting sim debug = $sim_debug" 6>&1
4645 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4646 if test "${enable_sim_stdio+set}" = set; then
4647 enableval
="$enable_sim_stdio"
4648 case "${enableval}" in
4649 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4650 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4651 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4652 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4653 { (exit 1); exit 1; }; }; sim_stdio
="";;
4655 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4656 echo "Setting stdio flags = $sim_stdio" 6>&1
4663 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4664 if test "${enable_sim_trace+set}" = set; then
4665 enableval
="$enable_sim_trace"
4666 case "${enableval}" in
4667 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4668 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4670 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4673 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4674 if test x
"$sim_trace" = x
; then
4675 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4677 sim_trace
="${sim_trace}|TRACE_$x"
4680 sim_trace
="$sim_trace)'" ;;
4682 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4683 echo "Setting sim trace = $sim_trace" 6>&1
4690 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4691 if test "${enable_sim_profile+set}" = set; then
4692 enableval
="$enable_sim_profile"
4693 case "${enableval}" in
4694 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4695 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4697 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4700 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4701 if test x
"$sim_profile" = x
; then
4702 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4704 sim_profile
="${sim_profile}|PROFILE_$x"
4707 sim_profile
="$sim_profile)'" ;;
4709 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4710 echo "Setting sim profile = $sim_profile" 6>&1
4713 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4718 # Check whether --with-pkgversion or --without-pkgversion was given.
4719 if test "${with_pkgversion+set}" = set; then
4720 withval
="$with_pkgversion"
4722 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4723 echo "$as_me: error: package version not specified" >&2;}
4724 { (exit 1); exit 1; }; } ;;
4726 *) PKGVERSION
="($withval) " ;;
4736 # Check whether --with-bugurl or --without-bugurl was given.
4737 if test "${with_bugurl+set}" = set; then
4738 withval
="$with_bugurl"
4740 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4741 echo "$as_me: error: bug URL not specified" >&2;}
4742 { (exit 1); exit 1; }; } ;;
4745 *) BUGURL
="$withval"
4749 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4758 REPORT_BUGS_TO
="<$BUGURL>"
4759 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4766 cat >>confdefs.h
<<_ACEOF
4767 #define PKGVERSION "$PKGVERSION"
4771 cat >>confdefs.h
<<_ACEOF
4772 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4776 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4777 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4778 if test "${ac_cv_type_signal+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 cat >conftest.
$ac_ext <<_ACEOF
4784 cat confdefs.h
>>conftest.
$ac_ext
4785 cat >>conftest.
$ac_ext <<_ACEOF
4786 /* end confdefs.h. */
4787 #include <sys/types.h>
4793 extern "C" void (*signal (int, void (*)(int)))(int);
4795 void (*signal ()) ();
4806 rm -f conftest.
$ac_objext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808 (eval $ac_compile) 2>conftest.er1
4810 grep -v '^ *+' conftest.er1
>conftest.err
4812 cat conftest.err
>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try
='test -z "$ac_c_werror_flag"
4816 || test ! -s conftest.err'
4817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); }; } &&
4822 { ac_try
='test -s conftest.$ac_objext'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; }; then
4828 ac_cv_type_signal
=void
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.
$ac_ext >&5
4833 ac_cv_type_signal
=int
4835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4837 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4838 echo "${ECHO_T}$ac_cv_type_signal" >&6
4840 cat >>confdefs.h
<<_ACEOF
4841 #define RETSIGTYPE $ac_cv_type_signal
4851 sim_link_links
=tconfig.h
4852 if test -f ${srcdir}/tconfig.
in
4854 sim_link_files
=tconfig.
in
4856 sim_link_files
=..
/common
/tconfig.
in
4859 # targ-vals.def points to the libc macro description file.
4861 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4863 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4864 sim_link_links
="${sim_link_links} targ-vals.def"
4869 for ac_header
in unistd.h stdint.h
4871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4873 echo "$as_me:$LINENO: checking for $ac_header" >&5
4874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4881 # Is the header compilable?
4882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 $ac_includes_default
4891 #include <$ac_header>
4893 rm -f conftest.
$ac_objext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>conftest.er1
4897 grep -v '^ *+' conftest.er1
>conftest.err
4899 cat conftest.err
>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try
='test -z "$ac_c_werror_flag"
4903 || test ! -s conftest.err'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; } &&
4909 { ac_try
='test -s conftest.$ac_objext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_header_compiler
=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.
$ac_ext >&5
4920 ac_header_compiler
=no
4922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4924 echo "${ECHO_T}$ac_header_compiler" >&6
4926 # Is the header present?
4927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4929 cat >conftest.
$ac_ext <<_ACEOF
4932 cat confdefs.h
>>conftest.
$ac_ext
4933 cat >>conftest.
$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 #include <$ac_header>
4937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4940 grep -v '^ *+' conftest.er1
>conftest.err
4942 cat conftest.err
>&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } >/dev
/null
; then
4945 if test -s conftest.err
; then
4946 ac_cpp_err
=$ac_c_preproc_warn_flag
4947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4954 if test -z "$ac_cpp_err"; then
4955 ac_header_preproc
=yes
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.
$ac_ext >&5
4960 ac_header_preproc
=no
4962 rm -f conftest.err conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4964 echo "${ECHO_T}$ac_header_preproc" >&6
4966 # So? What about this header?
4967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4973 ac_header_preproc
=yes
4976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4990 ## ------------------------------------------ ##
4991 ## Report this to the AC_PACKAGE_NAME lists. ##
4992 ## ------------------------------------------ ##
4995 sed "s/^/$as_me: WARNING: /" >&2
4998 echo "$as_me:$LINENO: checking for $ac_header" >&5
4999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 eval "$as_ac_Header=\$ac_header_preproc"
5005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5010 cat >>confdefs.h
<<_ACEOF
5011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5019 COPRO
="armcopro.o maverick.o iwmmxt.o"
5024 ac_sources
="$sim_link_files"
5025 ac_dests
="$sim_link_links"
5026 while test -n "$ac_sources"; do
5027 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
5028 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
5029 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
5031 ac_config_links
="$ac_config_links $ac_config_links_1"
5034 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
5035 cgen_breaks
="break cgen_rtx_error";
5038 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
5040 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
5042 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
5044 ac_config_commands
="$ac_config_commands Makefile"
5046 ac_config_commands
="$ac_config_commands stamp-h"
5048 cat >confcache
<<\_ACEOF
5049 # This file is a shell script that caches the results of configure
5050 # tests run on this system so they can be shared between configure
5051 # scripts and configure runs, see configure's option --config-cache.
5052 # It is not useful on other systems. If it contains results you don't
5053 # want to keep, you may remove or edit it.
5055 # config.status only pays attention to the cache file if you give it
5056 # the --recheck option to rerun configure.
5058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5064 # The following way of writing the cache mishandles newlines in values,
5065 # but we know of no workaround that is simple, portable, and efficient.
5066 # So, don't put newlines in cache variables' values.
5067 # Ultrix sh set writes to stderr and can't be redirected directly,
5068 # and sets the high bit in the cache file unless we assign to the vars.
5071 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5073 # `set' does not quote correctly, so add quotes (double-quote
5074 # substitution turns \\\\ into \\, and sed turns \\ into \).
5077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5080 # `set' quotes correctly as required by POSIX, so do not add quotes.
5082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5089 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5091 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5093 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5094 if test -w $cache_file; then
5095 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5096 cat confcache
>$cache_file
5098 echo "not updating unwritable cache $cache_file"
5103 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5104 # Let make expand exec_prefix.
5105 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5107 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5108 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5109 # trailing colons and then remove the whole line if VPATH becomes empty
5110 # (actually we leave an empty line to preserve line numbers).
5111 if test "x$srcdir" = x.
; then
5112 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5113 s/:*\$(srcdir):*/:/;
5114 s/:*\${srcdir}:*/:/;
5116 s/^\([^=]*=[ ]*\):*/\1/;
5122 DEFS
=-DHAVE_CONFIG_H
5126 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5127 # 1. Remove the extension, and $U if already installed.
5128 ac_i
=`echo "$ac_i" |
5129 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5131 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5132 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5136 LTLIBOBJS
=$ac_ltlibobjs
5140 : ${CONFIG_STATUS=./config.status}
5141 ac_clean_files_save
=$ac_clean_files
5142 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5143 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5144 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5145 cat >$CONFIG_STATUS <<_ACEOF
5147 # Generated by $as_me.
5148 # Run this file to recreate the current configuration.
5149 # Compiler output produced by configure, useful for debugging
5150 # configure, is in config.log if it exists.
5155 SHELL=\${CONFIG_SHELL-$SHELL}
5158 cat >>$CONFIG_STATUS <<\_ACEOF
5159 ## --------------------- ##
5160 ## M4sh Initialization. ##
5161 ## --------------------- ##
5163 # Be Bourne compatible
5164 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5167 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5168 # is contrary to our usage. Disable this feature.
5169 alias -g '${1+"$@"}'='"$@"'
5170 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5173 DUALCASE
=1; export DUALCASE
# for MKS sh
5175 # Support unset when possible.
5176 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5183 # Work around bugs in pre-3.0 UWIN ksh.
5184 $as_unset ENV MAIL MAILPATH
5191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5193 LC_TELEPHONE LC_TIME
5195 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5196 eval $as_var=C
; export $as_var
5202 # Required to use basename.
5203 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5209 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5210 as_basename
=basename
5216 # Name of the executable.
5217 as_me
=`$as_basename "$0" ||
5218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5219 X"$0" : 'X\(//\)$' \| \
5220 X"$0" : 'X\(/\)$' \| \
5221 . : '\(.\)' 2>/dev/null ||
5223 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5224 /^X\/\(\/\/\)$/{ s//\1/; q; }
5225 /^X\/\(\/\).*/{ s//\1/; q; }
5229 # PATH needs CR, and LINENO needs CR and PATH.
5230 # Avoid depending upon Character Ranges.
5231 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5232 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5233 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5234 as_cr_digits
='0123456789'
5235 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5237 # The user is always right.
5238 if test "${PATH_SEPARATOR+set}" != set; then
5239 echo "#! /bin/sh" >conf$$.sh
5240 echo "exit 0" >>conf$$.sh
5242 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5253 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5254 test "x$as_lineno_1" != "x$as_lineno_2" &&
5255 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5256 # Find who we are. Look in the path if we contain no path at all
5259 *[\\/]* ) as_myself
=$0 ;;
5260 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir
=.
5265 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5270 # We did not find ourselves, most probably we were run as `sh COMMAND'
5271 # in which case we are not to be found in the path.
5272 if test "x$as_myself" = x
; then
5275 if test ! -f "$as_myself"; then
5276 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5277 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5278 { (exit 1); exit 1; }; }
5280 case $CONFIG_SHELL in
5282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5283 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5286 test -z "$as_dir" && as_dir
=.
5287 for as_base
in sh bash ksh sh5
; do
5290 if ("$as_dir/$as_base" -c '
5293 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5294 test "x$as_lineno_1" != "x$as_lineno_2" &&
5295 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5296 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5297 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5298 CONFIG_SHELL
=$as_dir/$as_base
5300 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5308 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5309 # uniformly replaced by the line number. The first 'sed' inserts a
5310 # line-number line before each line; the second 'sed' does the real
5311 # work. The second script uses 'N' to pair each line-number line
5312 # with the numbered line, and appends trailing '-' during
5313 # substitution so that $LINENO is not a special case at line end.
5314 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5315 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5316 sed '=' <$as_myself |
5321 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5324 s,^['$as_cr_digits']*\n,,
5326 chmod +x
$as_me.lineno ||
5327 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5328 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5329 { (exit 1); exit 1; }; }
5331 # Don't try to exec as it changes $[0], causing all sort of problems
5332 # (the dirname of $[0] is not the place where we might find the
5333 # original and so on. Autoconf is especially sensible to this).
5335 # Exit status is that of the last command.
5340 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5341 *c
*,-n*) ECHO_N
= ECHO_C
='
5343 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5344 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5347 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5353 rm -f conf$$ conf$$.exe conf$$.
file
5355 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5356 # We could just check for DJGPP; but this test a) works b) is more generic
5357 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5358 if test -f conf$$.exe
; then
5359 # Don't use ln at all; we don't have any links
5364 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5369 rm -f conf$$ conf$$.exe conf$$.
file
5371 if mkdir
-p .
2>/dev
/null
; then
5374 test -d .
/-p && rmdir .
/-p
5378 as_executable_p
="test -f"
5380 # Sed expression to map a string onto a valid CPP name.
5381 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5383 # Sed expression to map a string onto a valid variable name.
5384 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5388 # We need space, tab and new line, in precisely that order.
5398 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5399 # report actual input values of CONFIG_FILES etc. instead of their
5400 # values after options handling. Logging --version etc. is OK.
5404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5405 ## Running $as_me. ##
5410 This file was extended by $as_me, which was
5411 generated by GNU Autoconf 2.59. Invocation command line was
5413 CONFIG_FILES = $CONFIG_FILES
5414 CONFIG_HEADERS = $CONFIG_HEADERS
5415 CONFIG_LINKS = $CONFIG_LINKS
5416 CONFIG_COMMANDS = $CONFIG_COMMANDS
5420 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5424 # Files that config.status was made for.
5425 if test -n "$ac_config_files"; then
5426 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5429 if test -n "$ac_config_headers"; then
5430 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5433 if test -n "$ac_config_links"; then
5434 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5437 if test -n "$ac_config_commands"; then
5438 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5441 cat >>$CONFIG_STATUS <<\_ACEOF
5444 \`$as_me' instantiates files from templates according to the
5445 current configuration.
5447 Usage: $0 [OPTIONS] [FILE]...
5449 -h, --help print this help, then exit
5450 -V, --version print version number, then exit
5451 -q, --quiet do not print progress messages
5452 -d, --debug don't remove temporary files
5453 --recheck update $as_me by reconfiguring in the same conditions
5454 --file=FILE[:TEMPLATE]
5455 instantiate the configuration file FILE
5456 --header=FILE[:TEMPLATE]
5457 instantiate the configuration header FILE
5459 Configuration files:
5462 Configuration headers:
5465 Configuration links:
5468 Configuration commands:
5471 Report bugs to <bug-autoconf@gnu.org>."
5474 cat >>$CONFIG_STATUS <<_ACEOF
5477 configured by $0, generated by GNU Autoconf 2.59,
5478 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5480 Copyright (C) 2003 Free Software Foundation, Inc.
5481 This config.status script is free software; the Free Software Foundation
5482 gives unlimited permission to copy, distribute and modify it."
5487 cat >>$CONFIG_STATUS <<\_ACEOF
5488 # If no file are specified by the user, then we need to provide default
5489 # value. By we need to know if files were specified by the user.
5495 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5496 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5504 *) # This is not an option, so the user has probably given explicit
5507 ac_need_defaults
=false
;;
5511 # Handling of the options.
5513 cat >>$CONFIG_STATUS <<\_ACEOF
5514 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5516 --version |
--vers* |
-V )
5517 echo "$ac_cs_version"; exit 0 ;;
5519 # Conflict between --help and --header
5520 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5521 Try \`$0 --help' for more information." >&5
5522 echo "$as_me: error: ambiguous option: $1
5523 Try \`$0 --help' for more information." >&2;}
5524 { (exit 1); exit 1; }; };;
5525 --help |
--hel |
-h )
5526 echo "$ac_cs_usage"; exit 0 ;;
5527 --debug |
--d* |
-d )
5529 --file |
--fil |
--fi |
--f )
5531 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5532 ac_need_defaults
=false
;;
5533 --header |
--heade |
--head |
--hea )
5535 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5536 ac_need_defaults
=false
;;
5537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5538 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5542 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5543 Try \`$0 --help' for more information." >&5
5544 echo "$as_me: error: unrecognized option: $1
5545 Try \`$0 --help' for more information." >&2;}
5546 { (exit 1); exit 1; }; } ;;
5548 *) ac_config_targets
="$ac_config_targets $1" ;;
5554 ac_configure_extra_args
=
5556 if $ac_cs_silent; then
5558 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5562 cat >>$CONFIG_STATUS <<_ACEOF
5563 if \$ac_cs_recheck; then
5564 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5565 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5574 cat >>$CONFIG_STATUS <<\_ACEOF
5575 for ac_config_target
in $ac_config_targets
5577 case "$ac_config_target" in
5578 # Handling of arguments.
5579 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5580 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5581 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5582 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
5583 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5584 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5585 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5586 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5587 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5588 { (exit 1); exit 1; }; };;
5592 # If the user did not use the arguments to specify the items to instantiate,
5593 # then the envvar interface is used. Set only those that are not.
5594 # We use the long form for the default assignment because of an extremely
5595 # bizarre bug on SunOS 4.1.3.
5596 if $ac_need_defaults; then
5597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5598 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5599 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5600 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5603 # Have a temporary directory for convenience. Make it in the build tree
5604 # simply because there is no reason to put it here, and in addition,
5605 # creating and moving files from /tmp can sometimes cause problems.
5606 # Create a temporary directory, and hook for its removal unless debugging.
5609 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5610 trap '{ (exit 1); exit 1; }' 1 2 13 15
5613 # Create a (secure) tmp directory for tmp files.
5616 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5617 test -n "$tmp" && test -d "$tmp"
5620 tmp
=.
/confstat$$
-$RANDOM
5621 (umask 077 && mkdir
$tmp)
5624 echo "$me: cannot create a temporary directory in ." >&2
5625 { (exit 1); exit 1; }
5630 cat >>$CONFIG_STATUS <<_ACEOF
5633 # CONFIG_FILES section.
5636 # No need to generate the scripts if there are no CONFIG_FILES.
5637 # This happens for instance when ./config.status config.h
5638 if test -n "\$CONFIG_FILES"; then
5639 # Protect against being on the right side of a sed subst in config.status.
5640 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5641 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5642 s,@SHELL@,$SHELL,;t t
5643 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5644 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5645 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5646 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5647 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5648 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5649 s,@exec_prefix@,$exec_prefix,;t t
5650 s,@prefix@,$prefix,;t t
5651 s,@program_transform_name@,$program_transform_name,;t t
5652 s,@bindir@,$bindir,;t t
5653 s,@sbindir@,$sbindir,;t t
5654 s,@libexecdir@,$libexecdir,;t t
5655 s,@datadir@,$datadir,;t t
5656 s,@sysconfdir@,$sysconfdir,;t t
5657 s,@sharedstatedir@,$sharedstatedir,;t t
5658 s,@localstatedir@,$localstatedir,;t t
5659 s,@libdir@,$libdir,;t t
5660 s,@includedir@,$includedir,;t t
5661 s,@oldincludedir@,$oldincludedir,;t t
5662 s,@infodir@,$infodir,;t t
5663 s,@mandir@,$mandir,;t t
5664 s,@build_alias@,$build_alias,;t t
5665 s,@host_alias@,$host_alias,;t t
5666 s,@target_alias@,$target_alias,;t t
5668 s,@ECHO_C@,$ECHO_C,;t t
5669 s,@ECHO_N@,$ECHO_N,;t t
5670 s,@ECHO_T@,$ECHO_T,;t t
5672 s,@sim_environment@,$sim_environment,;t t
5673 s,@sim_alignment@,$sim_alignment,;t t
5674 s,@sim_assert@,$sim_assert,;t t
5675 s,@sim_bitsize@,$sim_bitsize,;t t
5676 s,@sim_endian@,$sim_endian,;t t
5677 s,@sim_hostendian@,$sim_hostendian,;t t
5678 s,@sim_float@,$sim_float,;t t
5679 s,@sim_scache@,$sim_scache,;t t
5680 s,@sim_default_model@,$sim_default_model,;t t
5681 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
5682 s,@sim_hw_objs@,$sim_hw_objs,;t t
5683 s,@sim_hw@,$sim_hw,;t t
5684 s,@sim_inline@,$sim_inline,;t t
5685 s,@sim_packages@,$sim_packages,;t t
5686 s,@sim_regparm@,$sim_regparm,;t t
5687 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
5688 s,@sim_smp@,$sim_smp,;t t
5689 s,@sim_stdcall@,$sim_stdcall,;t t
5690 s,@sim_xor_endian@,$sim_xor_endian,;t t
5691 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5692 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
5693 s,@build@,$build,;t t
5694 s,@build_cpu@,$build_cpu,;t t
5695 s,@build_vendor@,$build_vendor,;t t
5696 s,@build_os@,$build_os,;t t
5698 s,@host_cpu@,$host_cpu,;t t
5699 s,@host_vendor@,$host_vendor,;t t
5700 s,@host_os@,$host_os,;t t
5701 s,@target@,$target,;t t
5702 s,@target_cpu@,$target_cpu,;t t
5703 s,@target_vendor@,$target_vendor,;t t
5704 s,@target_os@,$target_os,;t t
5706 s,@CFLAGS@,$CFLAGS,;t t
5707 s,@LDFLAGS@,$LDFLAGS,;t t
5708 s,@CPPFLAGS@,$CPPFLAGS,;t t
5709 s,@ac_ct_CC@,$ac_ct_CC,;t t
5710 s,@EXEEXT@,$EXEEXT,;t t
5711 s,@OBJEXT@,$OBJEXT,;t t
5712 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5713 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5714 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5715 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
5716 s,@HDEFINES@,$HDEFINES,;t t
5718 s,@RANLIB@,$RANLIB,;t t
5719 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5720 s,@USE_NLS@,$USE_NLS,;t t
5721 s,@LIBINTL@,$LIBINTL,;t t
5722 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
5723 s,@INCINTL@,$INCINTL,;t t
5724 s,@XGETTEXT@,$XGETTEXT,;t t
5725 s,@GMSGFMT@,$GMSGFMT,;t t
5726 s,@POSUB@,$POSUB,;t t
5727 s,@CATALOGS@,$CATALOGS,;t t
5728 s,@DATADIRNAME@,$DATADIRNAME,;t t
5729 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5730 s,@GENCAT@,$GENCAT,;t t
5731 s,@CATOBJEXT@,$CATOBJEXT,;t t
5733 s,@EGREP@,$EGREP,;t t
5734 s,@MAINT@,$MAINT,;t t
5735 s,@sim_bswap@,$sim_bswap,;t t
5736 s,@sim_cflags@,$sim_cflags,;t t
5737 s,@sim_debug@,$sim_debug,;t t
5738 s,@sim_stdio@,$sim_stdio,;t t
5739 s,@sim_trace@,$sim_trace,;t t
5740 s,@sim_profile@,$sim_profile,;t t
5741 s,@PKGVERSION@,$PKGVERSION,;t t
5742 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
5743 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
5744 s,@COPRO@,$COPRO,;t t
5745 s,@cgen_breaks@,$cgen_breaks,;t t
5746 s,@LIBOBJS@,$LIBOBJS,;t t
5747 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5752 cat >>$CONFIG_STATUS <<\_ACEOF
5753 # Split the substitutions into bite-sized pieces for seds with
5754 # small command number limits, like on Digital OSF/1 and HP-UX.
5756 ac_sed_frag
=1 # Number of current file.
5757 ac_beg
=1 # First line for current file.
5758 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5761 while $ac_more_lines; do
5762 if test $ac_beg -gt 1; then
5763 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5765 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5767 if test ! -s $tmp/subs.frag
; then
5770 # The purpose of the label and of the branching condition is to
5771 # speed up the sed processing (if there are no `@' at all, there
5772 # is no need to browse any of the substitutions).
5773 # These are the two extra sed commands mentioned above.
5775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5776 if test -z "$ac_sed_cmds"; then
5777 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5779 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5781 ac_sed_frag
=`expr $ac_sed_frag + 1`
5783 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5786 if test -z "$ac_sed_cmds"; then
5789 fi # test -n "$CONFIG_FILES"
5792 cat >>$CONFIG_STATUS <<\_ACEOF
5793 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5794 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5796 - |
*:- |
*:-:* ) # input from stdin
5798 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5799 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5800 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5801 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5802 * ) ac_file_in
=$ac_file.
in ;;
5805 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
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; }; }; }
5845 if test "$ac_dir" != .
; then
5846 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5847 # A "../" for each directory in $ac_dir_suffix.
5848 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5850 ac_dir_suffix
= ac_top_builddir
=
5854 .
) # No --srcdir option. We are building in place.
5856 if test -z "$ac_top_builddir"; then
5859 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5861 [\\/]* | ?
:[\\/]* ) # Absolute path.
5862 ac_srcdir
=$srcdir$ac_dir_suffix;
5863 ac_top_srcdir
=$srcdir ;;
5865 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5866 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5869 # Do not use `cd foo && pwd` to compute absolute paths, because
5870 # the directories may not exist.
5872 .
) ac_abs_builddir
="$ac_dir";;
5875 .
) ac_abs_builddir
=`pwd`;;
5876 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5877 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5880 case $ac_abs_builddir in
5881 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5883 case ${ac_top_builddir}.
in
5884 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5885 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5886 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5889 case $ac_abs_builddir in
5890 .
) ac_abs_srcdir
=$ac_srcdir;;
5893 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5894 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5895 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5898 case $ac_abs_builddir in
5899 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5901 case $ac_top_srcdir in
5902 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5903 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5904 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5910 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5911 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5914 if test x
"$ac_file" != x-
; then
5915 { echo "$as_me:$LINENO: creating $ac_file" >&5
5916 echo "$as_me: creating $ac_file" >&6;}
5919 # Let's still pretend it is `configure' which instantiates (i.e., don't
5920 # use $as_me), people would be surprised to read:
5921 # /* config.h. Generated by config.status. */
5922 if test x
"$ac_file" = x-
; then
5925 configure_input
="$ac_file. "
5927 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5928 sed 's,.*/,,'` by configure."
5930 # First look for the input files in the build tree, otherwise in the
5932 ac_file_inputs
=`IFS=:
5933 for f in $ac_file_in; do
5935 -) echo $tmp/stdin ;;
5937 # Absolute (can't be DOS-style, as IFS=:)
5938 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5939 echo "$as_me: error: cannot find input file: $f" >&2;}
5940 { (exit 1); exit 1; }; }
5943 if test -f "$f"; then
5946 elif test -f "$srcdir/$f"; then
5951 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5952 echo "$as_me: error: cannot find input file: $f" >&2;}
5953 { (exit 1); exit 1; }; }
5956 done` ||
{ (exit 1); exit 1; }
5958 cat >>$CONFIG_STATUS <<_ACEOF
5962 cat >>$CONFIG_STATUS <<\_ACEOF
5964 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5965 s
,@configure_input@
,$configure_input,;t t
5966 s
,@srcdir@
,$ac_srcdir,;t t
5967 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5968 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5969 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5970 s
,@builddir@
,$ac_builddir,;t t
5971 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5972 s
,@top_builddir@
,$ac_top_builddir,;t t
5973 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5974 s
,@INSTALL@
,$ac_INSTALL,;t t
5975 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5977 if test x"$ac_file" != x-; then
5978 mv $tmp/out $ac_file
5986 cat >>$CONFIG_STATUS <<\_ACEOF
5989 # CONFIG_HEADER section.
5992 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5993 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5995 # ac_d sets the value in "#define NAME VALUE" lines.
5996 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5997 ac_dB
='[ ].*$,\1#\2'
6000 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6001 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6002 ac_uB
='$,\1#\2define\3'
6006 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6007 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6009 - |
*:- |
*:-:* ) # input from stdin
6011 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6012 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6013 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6014 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6015 * ) ac_file_in
=$ac_file.
in ;;
6018 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6019 echo "$as_me: creating $ac_file" >&6;}
6021 # First look for the input files in the build tree, otherwise in the
6023 ac_file_inputs
=`IFS=:
6024 for f in $ac_file_in; do
6026 -) echo $tmp/stdin ;;
6028 # Absolute (can't be DOS-style, as IFS=:)
6029 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6030 echo "$as_me: error: cannot find input file: $f" >&2;}
6031 { (exit 1); exit 1; }; }
6032 # Do quote $f, to prevent DOS paths from being IFS'd.
6035 if test -f "$f"; then
6038 elif test -f "$srcdir/$f"; then
6043 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6044 echo "$as_me: error: cannot find input file: $f" >&2;}
6045 { (exit 1); exit 1; }; }
6048 done` ||
{ (exit 1); exit 1; }
6049 # Remove the trailing spaces.
6050 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6054 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6055 # `conftest.undefs', that substitutes the proper values into
6056 # config.h.in to produce config.h. The first handles `#define'
6057 # templates, and the second `#undef' templates.
6058 # And first: Protect against being on the right side of a sed subst in
6059 # config.status. Protect against being in an unquoted here document
6061 rm -f conftest.defines conftest.undefs
6062 # Using a here document instead of a string reduces the quoting nightmare.
6063 # Putting comments in sed scripts is not portable.
6065 # `end' is used to avoid that the second main sed command (meant for
6066 # 0-ary CPP macros) applies to n-ary macro definitions.
6067 # See the Autoconf documentation for `clear'.
6068 cat >confdef2sed.
sed <<\_ACEOF
6073 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6075 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6078 # If some macros were called several times there might be several times
6079 # the same #defines, which is useless. Nevertheless, we may not want to
6080 # sort them, since we want the *last* AC-DEFINE to be honored.
6081 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6082 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6083 rm -f confdef2sed.sed
6085 # This sed command replaces #undef with comments. This is necessary, for
6086 # example, in the case of _POSIX_SOURCE, which is predefined and required
6087 # on some systems where configure will not decide to define it.
6088 cat >>conftest.undefs <<\_ACEOF
6089 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6092 # Break up conftest.defines because some shells have a limit on the size
6093 # of here documents, and old seds have small limits too (100 cmds).
6094 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6095 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6096 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6097 echo ' :' >>$CONFIG_STATUS
6099 while grep . conftest.defines >/dev/null
6101 # Write a limited-size here document to $tmp/defines.sed.
6102 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6103 # Speed up: don't consider the non `#define' lines.
6104 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6105 # Work around the forget-to-reset-the-flag bug.
6106 echo 't clr' >>$CONFIG_STATUS
6107 echo ': clr' >>$CONFIG_STATUS
6108 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6110 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6114 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6115 rm -f conftest.defines
6116 mv conftest.
tail conftest.defines
6118 rm -f conftest.defines
6119 echo ' fi # grep' >>$CONFIG_STATUS
6120 echo >>$CONFIG_STATUS
6122 # Break up conftest.undefs because some shells have a limit on the size
6123 # of here documents, and old seds have small limits too (100 cmds).
6124 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6126 while grep . conftest.undefs
>/dev
/null
6128 # Write a limited-size here document to $tmp/undefs.sed.
6129 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6130 # Speed up: don't consider the non
`#undef'
6131 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6132 # Work around the forget-to-reset-the-flag bug.
6133 echo 't clr' >>$CONFIG_STATUS
6134 echo ': clr' >>$CONFIG_STATUS
6135 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6137 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6141 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6142 rm -f conftest.undefs
6143 mv conftest.tail conftest.undefs
6145 rm -f conftest.undefs
6147 cat >>$CONFIG_STATUS <<\_ACEOF
6148 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6149 # use $as_me), people would be surprised to read:
6150 # /* config.h. Generated by config.status. */
6151 if test x
"$ac_file" = x-
; then
6152 echo "/* Generated by configure. */" >$tmp/config.h
6154 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6156 cat $tmp/in >>$tmp/config.h
6158 if test x
"$ac_file" != x-
; then
6159 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6160 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6161 echo "$as_me: $ac_file is unchanged" >&6;}
6163 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6164 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6165 X"$ac_file" : 'X\(//\)[^/]' \| \
6166 X"$ac_file" : 'X\(//\)$' \| \
6167 X"$ac_file" : 'X\(/\)' \| \
6168 . : '\(.\)' 2>/dev/null ||
6170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6171 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6172 /^X\(\/\/\)$/{ s//\1/; q; }
6173 /^X\(\/\).*/{ s//\1/; q; }
6175 { if $as_mkdir_p; then
6180 while test ! -d "$as_dir"; do
6181 as_dirs
="$as_dir $as_dirs"
6182 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6183 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6184 X"$as_dir" : 'X\(//\)[^/]' \| \
6185 X"$as_dir" : 'X\(//\)$' \| \
6186 X"$as_dir" : 'X\(/\)' \| \
6187 . : '\(.\)' 2>/dev/null ||
6189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6191 /^X\(\/\/\)$/{ s//\1/; q; }
6192 /^X\(\/\).*/{ s//\1/; q; }
6195 test ! -n "$as_dirs" || mkdir
$as_dirs
6196 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6197 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6198 { (exit 1); exit 1; }; }; }
6201 mv $tmp/config.h
$ac_file
6209 cat >>$CONFIG_STATUS <<\_ACEOF
6212 # CONFIG_LINKS section.
6215 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
6216 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6217 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6219 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
6220 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
6222 if test ! -r $srcdir/$ac_source; then
6223 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
6224 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
6225 { (exit 1); exit 1; }; }
6229 # Make relative symlinks.
6230 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6231 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6232 X"$ac_dest" : 'X\(//\)[^/]' \| \
6233 X"$ac_dest" : 'X\(//\)$' \| \
6234 X"$ac_dest" : 'X\(/\)' \| \
6235 . : '\(.\)' 2>/dev/null ||
6237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6239 /^X\(\/\/\)$/{ s//\1/; q; }
6240 /^X\(\/\).*/{ s//\1/; q; }
6242 { if $as_mkdir_p; then
6243 mkdir
-p "$ac_dest_dir"
6245 as_dir
="$ac_dest_dir"
6247 while test ! -d "$as_dir"; do
6248 as_dirs
="$as_dir $as_dirs"
6249 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6251 X"$as_dir" : 'X\(//\)[^/]' \| \
6252 X"$as_dir" : 'X\(//\)$' \| \
6253 X"$as_dir" : 'X\(/\)' \| \
6254 . : '\(.\)' 2>/dev/null ||
6256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6258 /^X\(\/\/\)$/{ s//\1/; q; }
6259 /^X\(\/\).*/{ s//\1/; q; }
6262 test ! -n "$as_dirs" || mkdir
$as_dirs
6263 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
6264 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
6265 { (exit 1); exit 1; }; }; }
6269 if test "$ac_dest_dir" != .
; then
6270 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
6271 # A "../" for each directory in $ac_dir_suffix.
6272 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6274 ac_dir_suffix
= ac_top_builddir
=
6278 .
) # No --srcdir option. We are building in place.
6280 if test -z "$ac_top_builddir"; then
6283 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6285 [\\/]* | ?
:[\\/]* ) # Absolute path.
6286 ac_srcdir
=$srcdir$ac_dir_suffix;
6287 ac_top_srcdir
=$srcdir ;;
6289 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6290 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6293 # Do not use `cd foo && pwd` to compute absolute paths, because
6294 # the directories may not exist.
6296 .
) ac_abs_builddir
="$ac_dest_dir";;
6298 case "$ac_dest_dir" in
6299 .
) ac_abs_builddir
=`pwd`;;
6300 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
6301 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
6304 case $ac_abs_builddir in
6305 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6307 case ${ac_top_builddir}.
in
6308 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6309 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6310 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6313 case $ac_abs_builddir in
6314 .
) ac_abs_srcdir
=$ac_srcdir;;
6317 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6318 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6319 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6322 case $ac_abs_builddir in
6323 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6325 case $ac_top_srcdir in
6326 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6327 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6328 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6334 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
6335 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
6338 # Try a symlink, then a hard link, then a copy.
6339 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
6340 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
6341 cp -p $srcdir/$ac_source $ac_dest ||
6342 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
6343 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
6344 { (exit 1); exit 1; }; }
6347 cat >>$CONFIG_STATUS <<\_ACEOF
6350 # CONFIG_COMMANDS section.
6352 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6353 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6354 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6355 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6356 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6357 X"$ac_dest" : 'X\(//\)[^/]' \| \
6358 X"$ac_dest" : 'X\(//\)$' \| \
6359 X"$ac_dest" : 'X\(/\)' \| \
6360 . : '\(.\)' 2>/dev/null ||
6362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6364 /^X\(\/\/\)$/{ s//\1/; q; }
6365 /^X\(\/\).*/{ s//\1/; q; }
6367 { if $as_mkdir_p; then
6372 while test ! -d "$as_dir"; do
6373 as_dirs
="$as_dir $as_dirs"
6374 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6376 X"$as_dir" : 'X\(//\)[^/]' \| \
6377 X"$as_dir" : 'X\(//\)$' \| \
6378 X"$as_dir" : 'X\(/\)' \| \
6379 . : '\(.\)' 2>/dev/null ||
6381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6383 /^X\(\/\/\)$/{ s//\1/; q; }
6384 /^X\(\/\).*/{ s//\1/; q; }
6387 test ! -n "$as_dirs" || mkdir
$as_dirs
6388 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6389 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6390 { (exit 1); exit 1; }; }; }
6394 if test "$ac_dir" != .
; then
6395 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6396 # A "../" for each directory in $ac_dir_suffix.
6397 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6399 ac_dir_suffix
= ac_top_builddir
=
6403 .
) # No --srcdir option. We are building in place.
6405 if test -z "$ac_top_builddir"; then
6408 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6410 [\\/]* | ?
:[\\/]* ) # Absolute path.
6411 ac_srcdir
=$srcdir$ac_dir_suffix;
6412 ac_top_srcdir
=$srcdir ;;
6414 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6415 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6418 # Do not use `cd foo && pwd` to compute absolute paths, because
6419 # the directories may not exist.
6421 .
) ac_abs_builddir
="$ac_dir";;
6424 .
) ac_abs_builddir
=`pwd`;;
6425 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6426 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6429 case $ac_abs_builddir in
6430 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6432 case ${ac_top_builddir}.
in
6433 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6434 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6435 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6438 case $ac_abs_builddir in
6439 .
) ac_abs_srcdir
=$ac_srcdir;;
6442 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6443 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6444 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6447 case $ac_abs_builddir in
6448 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6450 case $ac_top_srcdir in
6451 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6452 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6453 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6458 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6459 echo "$as_me: executing $ac_dest commands" >&6;}
6461 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
6462 rm -f Makesim1.tmp Makesim2.tmp Makefile
6463 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
6464 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
6465 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
6466 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
6467 <Makefile.sim
>Makefile
6468 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
6470 stamp-h
) echo > stamp-h
;;
6475 cat >>$CONFIG_STATUS <<\_ACEOF
6477 { (exit 0); exit 0; }
6479 chmod +x
$CONFIG_STATUS
6480 ac_clean_files
=$ac_clean_files_save
6483 # configure is writing to config.log, and then calls config.status.
6484 # config.status does its own redirection, appending to config.log.
6485 # Unfortunately, on DOS this fails, as config.log is still kept open
6486 # by configure, so config.status won't be able to write to it; its
6487 # output is simply discarded. So we exec the FD to /dev/null,
6488 # effectively closing config.log, so it can be properly (re)opened and
6489 # appended to by config.status. When coming back to configure, we
6490 # need to make the FD available again.
6491 if test "$no_create" != yes; then
6493 ac_config_status_args
=
6494 test "$silent" = yes &&
6495 ac_config_status_args
="$ac_config_status_args --quiet"
6497 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6499 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6500 # would make configure fail if this is the last instruction.
6501 $ac_cs_success ||
{ (exit 1); exit 1; }