2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI cgen_breaks LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
861 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
862 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
868 --with-bugurl=URL Direct users to URL to report a bug
870 Some influential environment variables
:
871 CC C compiler
command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
874 nonstandard directory
<lib dir
>
875 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
876 headers
in a nonstandard directory
<include dir
>
879 Use these variables to override the choices made by
`configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo
&& pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by $as_me, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1002 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1003 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1004 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1005 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1008 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1010 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1012 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1013 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1014 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1016 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close
' the trap.
1096 trap 'exit_status
=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var
in $ac_subst_vars
1132 eval ac_val
=$
`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var
in $ac_subst_files
1146 eval ac_val
=$
`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h
; then
1159 sed "/^$/d" confdefs.h |
sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core
*.core
&&
1167 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's
/^
/|
/' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1264 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1289 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 ac_config_headers="$ac_config_headers config.h:config.in"
1320 # This file contains common code used by all simulators.
1322 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1323 # directory. It is intended to be invoked before any target specific stuff.
1324 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1325 # It is intended to be invoked last.
1327 # The simulator's configure.
in should
look like
:
1329 # dnl Process this file with autoconf to produce a configure script.
1330 # sinclude(../common/aclocal.m4)
1332 # AC_INIT(Makefile.in)
1336 # ... target specific stuff ...
1340 # Include global overrides and fixes for Autoconf.
1371 # _AC_OUTPUT_SUBDIRS
1372 # ------------------
1373 # This is a subroutine of AC_OUTPUT, but it does not go into
1374 # config.status, rather, it is called after running config.status.
1375 # _AC_OUTPUT_SUBDIRS
1380 # _AC_ARG_VAR_VALIDATE
1381 # --------------------
1382 # The code is the same as autoconf 2.59, but with a more lenient check
1383 # on precious variables and an output of pwd that have been added in
1385 # _AC_ARG_VAR_VALIDATE
1390 # AC_MSG_FAILURE(ERROR, [EXIT-STATUS = 1])
1391 # ----------------------------------------
1392 # This is the same code as in 2.59 and 2.61, except it also outputs pwd.
1449 sim_inline
="-DDEFAULT_INLINE=0"
1486 # intl sister-directory configuration rules.
1489 # The idea behind this macro is that there's no need to repeat all the
1490 # autoconf probes done by the intl directory - it's already done them
1491 # for us. In fact, there's no need even to look at the cache for the
1492 # answers. All we need to do is nab a few pieces of information.
1493 # The intl directory is set up to make this easy, by generating a
1494 # small file which can be sourced as a shell script; then we produce
1495 # the necessary substitutions and definitions for this directory.
1499 # Autoconf M4 include file defining utility macros for complex Canadian
1511 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1513 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1516 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1517 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
1521 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
1522 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
1526 # Backported from Autoconf 2.5x; can go away when and if
1527 # we switch. Put the OS path separator in $PATH_SEPARATOR.
1532 # ACX_HAVE_GCC_FOR_TARGET
1533 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
1536 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
1537 # Searching for installed target binutils. We need to take extra care,
1538 # else we may find the wrong assembler, linker, etc., and lose.
1540 # First try --with-build-time-tools, if specified.
1542 # For build != host, we ask the installed GCC for the name of the tool it
1543 # uses, and accept it if it is an absolute path. This is because the
1544 # only good choice for a compiler is the same GCC version that is being
1545 # installed (or we couldn't make target libraries), and we assume that
1546 # on the host system we'll have not only the same GCC version, but also
1547 # the same binutils version.
1549 # For build == host, search the same directories that the installed
1550 # compiler will search. We used to do this for the assembler, linker,
1551 # and nm only; for simplicity of configuration, however, we extend this
1552 # criterion to tools (such as ar and ranlib) that are never invoked by
1553 # the compiler, to avoid mismatches.
1555 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
1556 # if build == target. This makes the most sense only when bootstrapping,
1557 # but we also do so when build != host. In this case, we hope that the
1558 # build and host systems will have similar contents of MD_EXEC_PREFIX.
1560 # If we do not find a suitable binary, then try the user's path.
1564 # AC_PROG_CPP_WERROR
1565 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1566 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1567 # For now, using this also overrides header checks to use only the
1568 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1569 # bit harder from here).
1570 # Eventually autoconf will default to checking headers with the compiler
1571 # instead, and we'll have to do this differently.
1573 # AC_PROG_CPP_WERROR
1576 # We require the gnatbind program, and a compiler driver that
1577 # understands Ada. We use the user's CC setting, already found,
1578 # and possibly add $1 to the command-line parameters.
1580 # Sets the shell variable have_gnat to yes or no as appropriate, and
1581 # substitutes GNATBIND and GNATMAKE.
1607 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1608 # it by inlining the macro's contents.
1609 # This file contains common code used by all simulators.
1611 # common.m4 invokes AC macros used by all simulators and by the common
1612 # directory. It is intended to be included before any target specific
1613 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1614 # the Makefile. It is intended to be invoked last.
1616 # The simulator's configure.in should look like:
1618 # dnl Process this file with autoconf to produce a configure script.
1620 # AC_INIT(Makefile.in)
1621 # AC_CONFIG_HEADER(config.h:config.in)
1623 # sinclude(../common/aclocal.m4)
1624 # sinclude(../common/common.m4)
1626 # ... target specific stuff ...
1629 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1630 if test -f $ac_dir/install-sh
; then
1632 ac_install_sh
="$ac_aux_dir/install-sh -c"
1634 elif test -f $ac_dir/install.sh
; then
1636 ac_install_sh
="$ac_aux_dir/install.sh -c"
1638 elif test -f $ac_dir/shtool
; then
1640 ac_install_sh
="$ac_aux_dir/shtool install -c"
1644 if test -z "$ac_aux_dir"; then
1645 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647 { (exit 1); exit 1; }; }
1649 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1655 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 ac_cv_build_alias
=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666 ac_cv_build_alias
=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670 { (exit 1); exit 1; }; }
1671 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1672 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674 { (exit 1); exit 1; }; }
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1680 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 ac_cv_host_alias
=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692 ac_cv_host_alias
=$ac_cv_build_alias
1693 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1694 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696 { (exit 1); exit 1; }; }
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1702 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 ac_cv_target_alias
=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714 ac_cv_target_alias
=$ac_cv_host_alias
1715 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target
=$ac_cv_target
1724 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732 test "$program_prefix$program_suffix$program_transform_name" = \
1734 program_prefix
=${target_alias}-
1735 test "$program_prefix" != NONE
&&
1736 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1737 # Use a double $ so make ignores it.
1738 test "$program_suffix" != NONE
&&
1739 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1740 # Double any \ or $. echo might interpret backslashes.
1741 # By default was `s,x,x', remove it if useless.
1742 cat <<\_ACEOF
>conftest.
sed
1743 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1745 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1749 ac_cpp
='$CPP $CPPFLAGS'
1750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1753 if test -n "$ac_tool_prefix"; then
1754 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1755 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1756 echo "$as_me:$LINENO: checking for $ac_word" >&5
1757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1758 if test "${ac_cv_prog_CC+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 if test -n "$CC"; then
1762 ac_cv_prog_CC
="$CC" # Let the user override the test.
1764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1768 test -z "$as_dir" && as_dir
=.
1769 for ac_exec_ext
in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1771 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 if test -n "$CC"; then
1782 echo "$as_me:$LINENO: result: $CC" >&5
1783 echo "${ECHO_T}$CC" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1790 if test -z "$ac_cv_prog_CC"; then
1792 # Extract the first word of "gcc", so it can be a program name with args.
1793 set dummy gcc
; ac_word
=$2
1794 echo "$as_me:$LINENO: checking for $ac_word" >&5
1795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 if test -n "$ac_ct_CC"; then
1800 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1806 test -z "$as_dir" && as_dir
=.
1807 for ac_exec_ext
in '' $ac_executable_extensions; do
1808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1809 ac_cv_prog_ac_ct_CC
="gcc"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1819 if test -n "$ac_ct_CC"; then
1820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1821 echo "${ECHO_T}$ac_ct_CC" >&6
1823 echo "$as_me:$LINENO: result: no" >&5
1824 echo "${ECHO_T}no" >&6
1832 if test -z "$CC"; then
1833 if test -n "$ac_tool_prefix"; then
1834 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1835 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838 if test "${ac_cv_prog_CC+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1841 if test -n "$CC"; then
1842 ac_cv_prog_CC
="$CC" # Let the user override the test.
1844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir
=.
1849 for ac_exec_ext
in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 if test -n "$CC"; then
1862 echo "$as_me:$LINENO: result: $CC" >&5
1863 echo "${ECHO_T}$CC" >&6
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1870 if test -z "$ac_cv_prog_CC"; then
1872 # Extract the first word of "cc", so it can be a program name with args.
1873 set dummy cc
; ac_word
=$2
1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 if test -n "$ac_ct_CC"; then
1880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir
=.
1887 for ac_exec_ext
in '' $ac_executable_extensions; do
1888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 ac_cv_prog_ac_ct_CC
="cc"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1899 if test -n "$ac_ct_CC"; then
1900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1901 echo "${ECHO_T}$ac_ct_CC" >&6
1903 echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6
1913 if test -z "$CC"; then
1914 # Extract the first word of "cc", so it can be a program name with args.
1915 set dummy cc
; ac_word
=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$CC"; then
1922 ac_cv_prog_CC
="$CC" # Let the user override the test.
1925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir
=.
1930 for ac_exec_ext
in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1933 ac_prog_rejected
=yes
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 if test $ac_prog_rejected = yes; then
1944 # We found a bogon in the path, so make sure we never use it.
1945 set dummy
$ac_cv_prog_CC
1947 if test $# != 0; then
1948 # We chose a different compiler from the bogus one.
1949 # However, it has the same basename, so the bogon will be chosen
1950 # first if we set CC to just the basename; use the full file name.
1952 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1958 if test -n "$CC"; then
1959 echo "$as_me:$LINENO: result: $CC" >&5
1960 echo "${ECHO_T}$CC" >&6
1962 echo "$as_me:$LINENO: result: no" >&5
1963 echo "${ECHO_T}no" >&6
1967 if test -z "$CC"; then
1968 if test -n "$ac_tool_prefix"; then
1971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1972 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_CC+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$CC"; then
1979 ac_cv_prog_CC
="$CC" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 if test -n "$CC"; then
1999 echo "$as_me:$LINENO: result: $CC" >&5
2000 echo "${ECHO_T}$CC" >&6
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2006 test -n "$CC" && break
2009 if test -z "$CC"; then
2013 # Extract the first word of "$ac_prog", so it can be a program name with args.
2014 set dummy
$ac_prog; ac_word
=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$ac_ct_CC"; then
2021 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir
=.
2028 for ac_exec_ext
in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_ac_ct_CC
="$ac_prog"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2040 if test -n "$ac_ct_CC"; then
2041 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2042 echo "${ECHO_T}$ac_ct_CC" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2048 test -n "$ac_ct_CC" && break
2057 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2058 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2060 See \`config.log' for more details." >&5
2061 echo "$as_me: error: no acceptable C compiler found in \$PATH
2062 See \`config.log' for more details." >&2;}
2063 { (exit 1); exit 1; }; }; }
2065 # Provide some information about the compiler.
2066 echo "$as_me:$LINENO:" \
2067 "checking for C compiler version" >&5
2068 ac_compiler
=`set X $ac_compile; echo $2`
2069 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2070 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }
2074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2075 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); }
2079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2080 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }
2085 cat >conftest.
$ac_ext <<_ACEOF
2088 cat confdefs.h
>>conftest.
$ac_ext
2089 cat >>conftest.
$ac_ext <<_ACEOF
2090 /* end confdefs.h. */
2100 ac_clean_files_save
=$ac_clean_files
2101 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2102 # Try to create an executable without -o first, disregard a.out.
2103 # It will help us diagnose broken compilers, and finding out an intuition
2105 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2106 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2107 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2108 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2109 (eval $ac_link_default) 2>&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; then
2113 # Find the output, starting from the most likely. This scheme is
2114 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2117 # Be careful to initialize this variable, since it used to be cached.
2118 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2120 # b.out is created by i960 compilers.
2121 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2123 test -f "$ac_file" ||
continue
2125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2128 # This is the source file.
2131 # We found the default executable, but exeext='' is most
2135 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2136 # FIXME: I believe we export ac_cv_exeext for Libtool,
2137 # but it would be cool to find out if it's true. Does anybody
2138 # maintain Libtool? --akim.
2146 echo "$as_me: failed program was:" >&5
2147 sed 's/^/| /' conftest.
$ac_ext >&5
2149 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2150 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2151 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2152 See \`config.log' for more details." >&5
2153 echo "$as_me: error: C compiler cannot create executables
2154 See \`config.log' for more details." >&2;}
2155 { (exit 77); exit 77; }; }; }
2158 ac_exeext
=$ac_cv_exeext
2159 echo "$as_me:$LINENO: result: $ac_file" >&5
2160 echo "${ECHO_T}$ac_file" >&6
2162 # Check the compiler produces executables we can run. If not, either
2163 # the compiler is broken, or we cross compile.
2164 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2165 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2166 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2167 # If not cross compiling, check that we can run a simple program.
2168 if test "$cross_compiling" != yes; then
2169 if { ac_try
='./$ac_file'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; }; then
2177 if test "$cross_compiling" = maybe
; then
2180 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2181 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2182 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2183 If you meant to cross compile, use \`--host'.
2184 See \`config.log' for more details." >&5
2185 echo "$as_me: error: cannot run C compiled programs.
2186 If you meant to cross compile, use \`--host'.
2187 See \`config.log' for more details." >&2;}
2188 { (exit 1); exit 1; }; }; }
2192 echo "$as_me:$LINENO: result: yes" >&5
2193 echo "${ECHO_T}yes" >&6
2195 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2196 ac_clean_files
=$ac_clean_files_save
2197 # Check the compiler produces executables we can run. If not, either
2198 # the compiler is broken, or we cross compile.
2199 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2200 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2201 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2202 echo "${ECHO_T}$cross_compiling" >&6
2204 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2205 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2207 (eval $ac_link) 2>&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); }; then
2211 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2212 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2213 # work properly (i.e., refer to `conftest.exe'), while it won't with
2215 for ac_file
in conftest.exe conftest conftest.
*; do
2216 test -f "$ac_file" ||
continue
2218 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2219 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2226 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2227 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2229 See \`config.log' for more details." >&5
2230 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }; }
2235 rm -f conftest
$ac_cv_exeext
2236 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2237 echo "${ECHO_T}$ac_cv_exeext" >&6
2239 rm -f conftest.
$ac_ext
2240 EXEEXT
=$ac_cv_exeext
2242 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2243 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2244 if test "${ac_cv_objext+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 cat >conftest.
$ac_ext <<_ACEOF
2250 cat confdefs.h
>>conftest.
$ac_ext
2251 cat >>conftest.
$ac_ext <<_ACEOF
2252 /* end confdefs.h. */
2262 rm -f conftest.o conftest.obj
2263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2264 (eval $ac_compile) 2>&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; then
2268 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2270 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2271 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2276 echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.
$ac_ext >&5
2279 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2280 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2282 See \`config.log' for more details." >&5
2283 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2284 See \`config.log' for more details." >&2;}
2285 { (exit 1); exit 1; }; }; }
2288 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2290 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2291 echo "${ECHO_T}$ac_cv_objext" >&6
2292 OBJEXT
=$ac_cv_objext
2294 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2295 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2296 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 cat >conftest.
$ac_ext <<_ACEOF
2302 cat confdefs.h
>>conftest.
$ac_ext
2303 cat >>conftest.
$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2317 rm -f conftest.
$ac_objext
2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2319 (eval $ac_compile) 2>conftest.er1
2321 grep -v '^ *+' conftest.er1
>conftest.err
2323 cat conftest.err
>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } &&
2326 { ac_try
='test -z "$ac_c_werror_flag"
2327 || test ! -s conftest.err'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; } &&
2333 { ac_try
='test -s conftest.$ac_objext'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; }; then
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.
$ac_ext >&5
2346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2347 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2350 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2351 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2352 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2353 ac_test_CFLAGS
=${CFLAGS+set}
2354 ac_save_CFLAGS
=$CFLAGS
2356 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2357 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2358 if test "${ac_cv_prog_cc_g+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 cat >conftest.
$ac_ext <<_ACEOF
2364 cat confdefs.h
>>conftest.
$ac_ext
2365 cat >>conftest.
$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 rm -f conftest.
$ac_objext
2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2378 (eval $ac_compile) 2>conftest.er1
2380 grep -v '^ *+' conftest.er1
>conftest.err
2382 cat conftest.err
>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } &&
2385 { ac_try
='test -z "$ac_c_werror_flag"
2386 || test ! -s conftest.err'
2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; } &&
2392 { ac_try
='test -s conftest.$ac_objext'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; }; then
2400 echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.
$ac_ext >&5
2405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2407 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2408 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2409 if test "$ac_test_CFLAGS" = set; then
2410 CFLAGS
=$ac_save_CFLAGS
2411 elif test $ac_cv_prog_cc_g = yes; then
2412 if test "$GCC" = yes; then
2418 if test "$GCC" = yes; then
2424 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2425 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2426 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 ac_cv_prog_cc_stdc
=no
2431 cat >conftest.
$ac_ext <<_ACEOF
2434 cat confdefs.h
>>conftest.
$ac_ext
2435 cat >>conftest.
$ac_ext <<_ACEOF
2436 /* end confdefs.h. */
2439 #include <sys/types.h>
2440 #include <sys/stat.h>
2441 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2442 struct buf { int x; };
2443 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2444 static char *e (p, i)
2450 static char *f (char * (*g) (char **, int), char **p, ...)
2455 s = g (p, va_arg (v,int));
2460 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2461 function prototypes and stuff, but not '\xHH' hex character constants.
2462 These don't provoke an error unfortunately, instead are silently treated
2463 as 'x'. The following induces an error, until -std1 is added to get
2464 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2465 array size at least. It's necessary to write '\x00'==0 to get something
2466 that's true only with -std1. */
2467 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2469 int test (int i, double x);
2470 struct s1 {int (*f) (int a);};
2471 struct s2 {int (*f) (double a);};
2472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2483 # Don't try gcc -ansi; that turns off useful extensions and
2484 # breaks some systems' header files.
2485 # AIX -qlanglvl=ansi
2486 # Ultrix and OSF/1 -std1
2487 # HP-UX 10.20 and later -Ae
2488 # HP-UX older versions -Aa -D_HPUX_SOURCE
2489 # SVR4 -Xc -D__EXTENSIONS__
2490 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2492 CC
="$ac_save_CC $ac_arg"
2493 rm -f conftest.
$ac_objext
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } &&
2502 { ac_try
='test -z "$ac_c_werror_flag"
2503 || test ! -s conftest.err'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; } &&
2509 { ac_try
='test -s conftest.$ac_objext'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2515 ac_cv_prog_cc_stdc
=$ac_arg
2518 echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.
$ac_ext >&5
2522 rm -f conftest.err conftest.
$ac_objext
2524 rm -f conftest.
$ac_ext conftest.
$ac_objext
2529 case "x$ac_cv_prog_cc_stdc" in
2531 echo "$as_me:$LINENO: result: none needed" >&5
2532 echo "${ECHO_T}none needed" >&6 ;;
2534 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2535 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2536 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2539 # Some people use a C++ compiler to compile C. Since we use `exit',
2540 # in C++ we need to declare it. In case someone uses the same compiler
2541 # for both compiling C and C++ we need to have the C++ compiler decide
2542 # the declaration of exit, since it's the most demanding environment.
2543 cat >conftest.
$ac_ext <<_ACEOF
2548 rm -f conftest.
$ac_objext
2549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550 (eval $ac_compile) 2>conftest.er1
2552 grep -v '^ *+' conftest.er1
>conftest.err
2554 cat conftest.err
>&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } &&
2557 { ac_try
='test -z "$ac_c_werror_flag"
2558 || test ! -s conftest.err'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; } &&
2564 { ac_try
='test -s conftest.$ac_objext'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; }; then
2570 for ac_declaration
in \
2572 'extern "C" void std::exit (int) throw (); using std::exit;' \
2573 'extern "C" void std::exit (int); using std::exit;' \
2574 'extern "C" void exit (int) throw ();' \
2575 'extern "C" void exit (int);' \
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2594 rm -f conftest.
$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>conftest.er1
2598 grep -v '^ *+' conftest.er1
>conftest.err
2600 cat conftest.err
>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try
='test -z "$ac_c_werror_flag"
2604 || test ! -s conftest.err'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; } &&
2610 { ac_try
='test -s conftest.$ac_objext'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.
$ac_ext >&5
2623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2624 cat >conftest.
$ac_ext <<_ACEOF
2627 cat confdefs.h
>>conftest.
$ac_ext
2628 cat >>conftest.
$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2639 rm -f conftest.
$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1
>conftest.err
2645 cat conftest.err
>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try
='test -z "$ac_c_werror_flag"
2649 || test ! -s conftest.err'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try
='test -s conftest.$ac_objext'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.
$ac_ext >&5
2667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2670 if test -n "$ac_declaration"; then
2671 echo '#ifdef __cplusplus' >>confdefs.h
2672 echo $ac_declaration >>confdefs.h
2673 echo '#endif' >>confdefs.h
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.
$ac_ext >&5
2681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2683 ac_cpp
='$CPP $CPPFLAGS'
2684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2688 # Find a good install program. We prefer a C program (faster),
2689 # so one script is as good as another. But avoid the broken or
2690 # incompatible versions:
2691 # SysV /etc/install, /usr/sbin/install
2692 # SunOS /usr/etc/install
2693 # IRIX /sbin/install
2695 # AmigaOS /C/install, which installs bootblocks on floppy discs
2696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2699 # OS/2's system install, which has a completely different semantic
2700 # ./install, which can be erroneously created by make from ./install.sh.
2701 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2702 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2703 if test -z "$INSTALL"; then
2704 if test "${ac_cv_path_install+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 # Account for people who put trailing slashes in PATH elements.
2714 .
/ | .
// |
/cC
/* | \
2715 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2716 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2719 # OSF1 and SCO ODT 3.0 have their own names for install.
2720 # Don't use installbsd from OSF since it installs stuff as root
2722 for ac_prog
in ginstall scoinst
install; do
2723 for ac_exec_ext
in '' $ac_executable_extensions; do
2724 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2725 if test $ac_prog = install &&
2726 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2727 # AIX install. It has an incompatible calling convention.
2729 elif test $ac_prog = install &&
2730 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2731 # program-specific install script used by HP pwplus--don't use.
2734 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2746 if test "${ac_cv_path_install+set}" = set; then
2747 INSTALL
=$ac_cv_path_install
2749 # As a last resort, use the slow shell script. We don't cache a
2750 # path for INSTALL within a source directory, because that will
2751 # break other packages using the cache if that directory is
2752 # removed, or if the path is relative.
2753 INSTALL
=$ac_install_sh
2756 echo "$as_me:$LINENO: result: $INSTALL" >&5
2757 echo "${ECHO_T}$INSTALL" >&6
2759 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2760 # It thinks the first close brace ends the variable substitution.
2761 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2763 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2765 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2768 # Put a plausible default for CC_FOR_BUILD in Makefile.
2769 if test "x$cross_compiling" = "xno"; then
2770 CC_FOR_BUILD
='$(CC)'
2780 if test -n "$ac_tool_prefix"; then
2781 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2782 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_RANLIB+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 if test -n "$RANLIB"; then
2789 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_exec_ext
in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 RANLIB
=$ac_cv_prog_RANLIB
2808 if test -n "$RANLIB"; then
2809 echo "$as_me:$LINENO: result: $RANLIB" >&5
2810 echo "${ECHO_T}$RANLIB" >&6
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2817 if test -z "$ac_cv_prog_RANLIB"; then
2818 ac_ct_RANLIB
=$RANLIB
2819 # Extract the first word of "ranlib", so it can be a program name with args.
2820 set dummy ranlib
; ac_word
=$2
2821 echo "$as_me:$LINENO: checking for $ac_word" >&5
2822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2823 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2826 if test -n "$ac_ct_RANLIB"; then
2827 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir
=.
2834 for ac_exec_ext
in '' $ac_executable_extensions; do
2835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2836 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2846 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2847 if test -n "$ac_ct_RANLIB"; then
2848 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2849 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2855 RANLIB
=$ac_ct_RANLIB
2857 RANLIB
="$ac_cv_prog_RANLIB"
2862 # If we haven't got the data from the intl directory,
2863 # assume NLS is disabled.
2872 if test -f ..
/..
/intl
/config.intl
; then
2873 . ..
/..
/intl
/config.intl
2875 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2876 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2877 if test x
"$USE_NLS" != xyes
; then
2878 echo "$as_me:$LINENO: result: no" >&5
2879 echo "${ECHO_T}no" >&6
2881 echo "$as_me:$LINENO: result: yes" >&5
2882 echo "${ECHO_T}yes" >&6
2884 cat >>confdefs.h
<<\_ACEOF
2885 #define ENABLE_NLS 1
2889 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2890 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2891 # Look for .po and .gmo files in the source directory.
2894 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2895 # If there aren't any .gmo files the shell will give us the
2896 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2898 case "$cat" in *\
**)
2901 # The quadruple backslash is collapsed to a double backslash
2902 # by the backticks, then collapsed again by the double quotes,
2903 # leaving us with one backslash in the sed expression (right
2904 # before the dot that mustn't act as a wildcard).
2905 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2906 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2907 # The user is allowed to set LINGUAS to a list of languages to
2908 # install catalogs for. If it's empty that means "all of them."
2909 if test "x$LINGUAS" = x
; then
2910 CATALOGS
="$CATALOGS $cat"
2911 XLINGUAS
="$XLINGUAS $lang"
2913 case "$LINGUAS" in *$lang*)
2914 CATALOGS
="$CATALOGS $cat"
2915 XLINGUAS
="$XLINGUAS $lang"
2921 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2922 echo "${ECHO_T}$LINGUAS" >&6
2935 # Check for common headers.
2936 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2937 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2940 ac_cpp
='$CPP $CPPFLAGS'
2941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2944 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2945 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2946 # On Suns, sometimes $CPP names a directory.
2947 if test -n "$CPP" && test -d "$CPP"; then
2950 if test -z "$CPP"; then
2951 if test "${ac_cv_prog_CPP+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 # Double quotes because CPP needs to be expanded
2955 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2958 for ac_c_preproc_warn_flag
in '' yes
2960 # Use a header file that comes with gcc, so configuring glibc
2961 # with a fresh cross-compiler works.
2962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2963 # <limits.h> exists even on freestanding compilers.
2964 # On the NeXT, cc -E runs the code through the compiler's parser,
2965 # not just through cpp. "Syntax error" is here to catch this case.
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2973 # include <limits.h>
2975 # include <assert.h>
2979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1
>conftest.err
2984 cat conftest.err
>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } >/dev
/null
; then
2987 if test -s conftest.err
; then
2988 ac_cpp_err
=$ac_c_preproc_warn_flag
2989 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2996 if test -z "$ac_cpp_err"; then
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.
$ac_ext >&5
3002 # Broken: fails on valid input.
3005 rm -f conftest.err conftest.
$ac_ext
3007 # OK, works on sane cases. Now check whether non-existent headers
3008 # can be detected and how.
3009 cat >conftest.
$ac_ext <<_ACEOF
3012 cat confdefs.h
>>conftest.
$ac_ext
3013 cat >>conftest.
$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3015 #include <ac_nonexistent.h>
3017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3020 grep -v '^ *+' conftest.er1
>conftest.err
3022 cat conftest.err
>&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } >/dev
/null
; then
3025 if test -s conftest.err
; then
3026 ac_cpp_err
=$ac_c_preproc_warn_flag
3027 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3034 if test -z "$ac_cpp_err"; then
3035 # Broken: success on invalid input.
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.
$ac_ext >&5
3041 # Passes both tests.
3045 rm -f conftest.err conftest.
$ac_ext
3048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3049 rm -f conftest.err conftest.
$ac_ext
3050 if $ac_preproc_ok; then
3062 echo "$as_me:$LINENO: result: $CPP" >&5
3063 echo "${ECHO_T}$CPP" >&6
3065 for ac_c_preproc_warn_flag
in '' yes
3067 # Use a header file that comes with gcc, so configuring glibc
3068 # with a fresh cross-compiler works.
3069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3070 # <limits.h> exists even on freestanding compilers.
3071 # On the NeXT, cc -E runs the code through the compiler's parser,
3072 # not just through cpp. "Syntax error" is here to catch this case.
3073 cat >conftest.
$ac_ext <<_ACEOF
3076 cat confdefs.h
>>conftest.
$ac_ext
3077 cat >>conftest.
$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3080 # include <limits.h>
3082 # include <assert.h>
3086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3087 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3089 grep -v '^ *+' conftest.er1
>conftest.err
3091 cat conftest.err
>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } >/dev
/null
; then
3094 if test -s conftest.err
; then
3095 ac_cpp_err
=$ac_c_preproc_warn_flag
3096 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3103 if test -z "$ac_cpp_err"; then
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3109 # Broken: fails on valid input.
3112 rm -f conftest.err conftest.
$ac_ext
3114 # OK, works on sane cases. Now check whether non-existent headers
3115 # can be detected and how.
3116 cat >conftest.
$ac_ext <<_ACEOF
3119 cat confdefs.h
>>conftest.
$ac_ext
3120 cat >>conftest.
$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3122 #include <ac_nonexistent.h>
3124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3127 grep -v '^ *+' conftest.er1
>conftest.err
3129 cat conftest.err
>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } >/dev
/null
; then
3132 if test -s conftest.err
; then
3133 ac_cpp_err
=$ac_c_preproc_warn_flag
3134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3141 if test -z "$ac_cpp_err"; then
3142 # Broken: success on invalid input.
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.
$ac_ext >&5
3148 # Passes both tests.
3152 rm -f conftest.err conftest.
$ac_ext
3155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3156 rm -f conftest.err conftest.
$ac_ext
3157 if $ac_preproc_ok; then
3160 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3161 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3163 See \`config.log' for more details." >&5
3164 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3165 See \`config.log' for more details." >&2;}
3166 { (exit 1); exit 1; }; }; }
3170 ac_cpp
='$CPP $CPPFLAGS'
3171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3176 echo "$as_me:$LINENO: checking for egrep" >&5
3177 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3178 if test "${ac_cv_prog_egrep+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3182 then ac_cv_prog_egrep
='grep -E'
3183 else ac_cv_prog_egrep
='egrep'
3186 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3187 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3188 EGREP
=$ac_cv_prog_egrep
3191 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3192 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3193 if test "${ac_cv_header_stdc+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3215 rm -f conftest.
$ac_objext
3216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217 (eval $ac_compile) 2>conftest.er1
3219 grep -v '^ *+' conftest.er1
>conftest.err
3221 cat conftest.err
>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } &&
3224 { ac_try
='test -z "$ac_c_werror_flag"
3225 || test ! -s conftest.err'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; } &&
3231 { ac_try
='test -s conftest.$ac_objext'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; }; then
3237 ac_cv_header_stdc
=yes
3239 echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.
$ac_ext >&5
3242 ac_cv_header_stdc
=no
3244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3246 if test $ac_cv_header_stdc = yes; then
3247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3248 cat >conftest.
$ac_ext <<_ACEOF
3251 cat confdefs.h
>>conftest.
$ac_ext
3252 cat >>conftest.
$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3258 $EGREP "memchr" >/dev
/null
2>&1; then
3261 ac_cv_header_stdc
=no
3267 if test $ac_cv_header_stdc = yes; then
3268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3269 cat >conftest.
$ac_ext <<_ACEOF
3272 cat confdefs.h
>>conftest.
$ac_ext
3273 cat >>conftest.
$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3279 $EGREP "free" >/dev
/null
2>&1; then
3282 ac_cv_header_stdc
=no
3288 if test $ac_cv_header_stdc = yes; then
3289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3290 if test "$cross_compiling" = yes; then
3293 cat >conftest.
$ac_ext <<_ACEOF
3296 cat confdefs.h
>>conftest.
$ac_ext
3297 cat >>conftest.
$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3300 #if ((' ' & 0x0FF) == 0x020)
3301 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3302 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3304 # define ISLOWER(c) \
3305 (('a' <= (c) && (c) <= 'i') \
3306 || ('j' <= (c) && (c) <= 'r') \
3307 || ('s' <= (c) && (c) <= 'z'))
3308 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3311 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3316 for (i = 0; i < 256; i++)
3317 if (XOR (islower (i), ISLOWER (i))
3318 || toupper (i) != TOUPPER (i))
3323 rm -f conftest
$ac_exeext
3324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3325 (eval $ac_link) 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3336 echo "$as_me: program exited with status $ac_status" >&5
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3341 ac_cv_header_stdc
=no
3343 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3347 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3348 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3349 if test $ac_cv_header_stdc = yes; then
3351 cat >>confdefs.h
<<\_ACEOF
3352 #define STDC_HEADERS 1
3357 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3367 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3368 inttypes.h stdint.h unistd.h
3370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3371 echo "$as_me:$LINENO: checking for $ac_header" >&5
3372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 cat >conftest.
$ac_ext <<_ACEOF
3379 cat confdefs.h
>>conftest.
$ac_ext
3380 cat >>conftest.
$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3382 $ac_includes_default
3384 #include <$ac_header>
3386 rm -f conftest.
$ac_objext
3387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3388 (eval $ac_compile) 2>conftest.er1
3390 grep -v '^ *+' conftest.er1
>conftest.err
3392 cat conftest.err
>&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } &&
3395 { ac_try
='test -z "$ac_c_werror_flag"
3396 || test ! -s conftest.err'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; } &&
3402 { ac_try
='test -s conftest.$ac_objext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3408 eval "$as_ac_Header=yes"
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.
$ac_ext >&5
3413 eval "$as_ac_Header=no"
3415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3420 cat >>confdefs.h
<<_ACEOF
3421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3434 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3436 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3438 echo "$as_me:$LINENO: checking for $ac_header" >&5
3439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3446 # Is the header compilable?
3447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 $ac_includes_default
3456 #include <$ac_header>
3458 rm -f conftest.
$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try
='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 ac_header_compiler
=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3485 ac_header_compiler
=no
3487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3489 echo "${ECHO_T}$ac_header_compiler" >&6
3491 # Is the header present?
3492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3494 cat >conftest.
$ac_ext <<_ACEOF
3497 cat confdefs.h
>>conftest.
$ac_ext
3498 cat >>conftest.
$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <$ac_header>
3502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3505 grep -v '^ *+' conftest.er1
>conftest.err
3507 cat conftest.err
>&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } >/dev
/null
; then
3510 if test -s conftest.err
; then
3511 ac_cpp_err
=$ac_c_preproc_warn_flag
3512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3519 if test -z "$ac_cpp_err"; then
3520 ac_header_preproc
=yes
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.
$ac_ext >&5
3525 ac_header_preproc
=no
3527 rm -f conftest.err conftest.
$ac_ext
3528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3529 echo "${ECHO_T}$ac_header_preproc" >&6
3531 # So? What about this header?
3532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3538 ac_header_preproc
=yes
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3555 ## ------------------------------------------ ##
3556 ## Report this to the AC_PACKAGE_NAME lists. ##
3557 ## ------------------------------------------ ##
3560 sed "s/^/$as_me: WARNING: /" >&2
3563 echo "$as_me:$LINENO: checking for $ac_header" >&5
3564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 eval "$as_ac_Header=\$ac_header_preproc"
3570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3575 cat >>confdefs.h
<<_ACEOF
3576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3585 for ac_header
in sys
/time.h sys
/resource.h
3587 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3589 echo "$as_me:$LINENO: checking for $ac_header" >&5
3590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3597 # Is the header compilable?
3598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3600 cat >conftest.
$ac_ext <<_ACEOF
3603 cat confdefs.h
>>conftest.
$ac_ext
3604 cat >>conftest.
$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3606 $ac_includes_default
3607 #include <$ac_header>
3609 rm -f conftest.
$ac_objext
3610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3611 (eval $ac_compile) 2>conftest.er1
3613 grep -v '^ *+' conftest.er1
>conftest.err
3615 cat conftest.err
>&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } &&
3618 { ac_try
='test -z "$ac_c_werror_flag"
3619 || test ! -s conftest.err'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; } &&
3625 { ac_try
='test -s conftest.$ac_objext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3631 ac_header_compiler
=yes
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3636 ac_header_compiler
=no
3638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3640 echo "${ECHO_T}$ac_header_compiler" >&6
3642 # Is the header present?
3643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3645 cat >conftest.
$ac_ext <<_ACEOF
3648 cat confdefs.h
>>conftest.
$ac_ext
3649 cat >>conftest.
$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 #include <$ac_header>
3653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } >/dev
/null
; then
3661 if test -s conftest.err
; then
3662 ac_cpp_err
=$ac_c_preproc_warn_flag
3663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3670 if test -z "$ac_cpp_err"; then
3671 ac_header_preproc
=yes
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3676 ac_header_preproc
=no
3678 rm -f conftest.err conftest.
$ac_ext
3679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3680 echo "${ECHO_T}$ac_header_preproc" >&6
3682 # So? What about this header?
3683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3689 ac_header_preproc
=yes
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3706 ## ------------------------------------------ ##
3707 ## Report this to the AC_PACKAGE_NAME lists. ##
3708 ## ------------------------------------------ ##
3711 sed "s/^/$as_me: WARNING: /" >&2
3714 echo "$as_me:$LINENO: checking for $ac_header" >&5
3715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 eval "$as_ac_Header=\$ac_header_preproc"
3721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3726 cat >>confdefs.h
<<_ACEOF
3727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3736 for ac_header
in fcntl.h fpu_control.h
3738 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3740 echo "$as_me:$LINENO: checking for $ac_header" >&5
3741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3748 # Is the header compilable?
3749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3751 cat >conftest.
$ac_ext <<_ACEOF
3754 cat confdefs.h
>>conftest.
$ac_ext
3755 cat >>conftest.
$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3757 $ac_includes_default
3758 #include <$ac_header>
3760 rm -f conftest.
$ac_objext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3762 (eval $ac_compile) 2>conftest.er1
3764 grep -v '^ *+' conftest.er1
>conftest.err
3766 cat conftest.err
>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try
='test -z "$ac_c_werror_flag"
3770 || test ! -s conftest.err'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; } &&
3776 { ac_try
='test -s conftest.$ac_objext'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; }; then
3782 ac_header_compiler
=yes
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.
$ac_ext >&5
3787 ac_header_compiler
=no
3789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3791 echo "${ECHO_T}$ac_header_compiler" >&6
3793 # Is the header present?
3794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 #include <$ac_header>
3804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3807 grep -v '^ *+' conftest.er1
>conftest.err
3809 cat conftest.err
>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } >/dev
/null
; then
3812 if test -s conftest.err
; then
3813 ac_cpp_err
=$ac_c_preproc_warn_flag
3814 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3821 if test -z "$ac_cpp_err"; then
3822 ac_header_preproc
=yes
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.
$ac_ext >&5
3827 ac_header_preproc
=no
3829 rm -f conftest.err conftest.
$ac_ext
3830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3831 echo "${ECHO_T}$ac_header_preproc" >&6
3833 # So? What about this header?
3834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3840 ac_header_preproc
=yes
3843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3857 ## ------------------------------------------ ##
3858 ## Report this to the AC_PACKAGE_NAME lists. ##
3859 ## ------------------------------------------ ##
3862 sed "s/^/$as_me: WARNING: /" >&2
3865 echo "$as_me:$LINENO: checking for $ac_header" >&5
3866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 eval "$as_ac_Header=\$ac_header_preproc"
3872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3877 cat >>confdefs.h
<<_ACEOF
3878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3888 for ac_header
in dlfcn.h errno.h sys
/stat.h
3890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3892 echo "$as_me:$LINENO: checking for $ac_header" >&5
3893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3900 # Is the header compilable?
3901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3903 cat >conftest.
$ac_ext <<_ACEOF
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3909 $ac_includes_default
3910 #include <$ac_header>
3912 rm -f conftest.
$ac_objext
3913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3914 (eval $ac_compile) 2>conftest.er1
3916 grep -v '^ *+' conftest.er1
>conftest.err
3918 cat conftest.err
>&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } &&
3921 { ac_try
='test -z "$ac_c_werror_flag"
3922 || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try
='test -s conftest.$ac_objext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_header_compiler
=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.
$ac_ext >&5
3939 ac_header_compiler
=no
3941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3943 echo "${ECHO_T}$ac_header_compiler" >&6
3945 # Is the header present?
3946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3948 cat >conftest.
$ac_ext <<_ACEOF
3951 cat confdefs.h
>>conftest.
$ac_ext
3952 cat >>conftest.
$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3954 #include <$ac_header>
3956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3957 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3959 grep -v '^ *+' conftest.er1
>conftest.err
3961 cat conftest.err
>&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } >/dev
/null
; then
3964 if test -s conftest.err
; then
3965 ac_cpp_err
=$ac_c_preproc_warn_flag
3966 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3973 if test -z "$ac_cpp_err"; then
3974 ac_header_preproc
=yes
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.
$ac_ext >&5
3979 ac_header_preproc
=no
3981 rm -f conftest.err conftest.
$ac_ext
3982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3983 echo "${ECHO_T}$ac_header_preproc" >&6
3985 # So? What about this header?
3986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3992 ac_header_preproc
=yes
3995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4009 ## ------------------------------------------ ##
4010 ## Report this to the AC_PACKAGE_NAME lists. ##
4011 ## ------------------------------------------ ##
4014 sed "s/^/$as_me: WARNING: /" >&2
4017 echo "$as_me:$LINENO: checking for $ac_header" >&5
4018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 eval "$as_ac_Header=\$ac_header_preproc"
4024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4029 cat >>confdefs.h
<<_ACEOF
4030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4041 for ac_func
in getrusage
time sigaction __setfpucw
4043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4044 echo "$as_me:$LINENO: checking for $ac_func" >&5
4045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4046 if eval "test \"\${$as_ac_var+set}\" = set"; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 cat >conftest.
$ac_ext <<_ACEOF
4052 cat confdefs.h
>>conftest.
$ac_ext
4053 cat >>conftest.
$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4057 #define $ac_func innocuous_$ac_func
4059 /* System header to define __stub macros and hopefully few prototypes,
4060 which can conflict with char $ac_func (); below.
4061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4062 <limits.h> exists even on freestanding compilers. */
4065 # include <limits.h>
4067 # include <assert.h>
4072 /* Override any gcc2 internal prototype to avoid an error. */
4077 /* We use char because int might match the return type of a gcc2
4078 builtin and then its argument prototype would still apply. */
4080 /* The GNU C library defines this for functions which it implements
4081 to always fail with ENOSYS. Some functions are actually named
4082 something starting with __ and the normal name is an alias. */
4083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4086 char (*f) () = $ac_func;
4095 return f != $ac_func;
4100 rm -f conftest.
$ac_objext conftest
$ac_exeext
4101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4102 (eval $ac_link) 2>conftest.er1
4104 grep -v '^ *+' conftest.er1
>conftest.err
4106 cat conftest.err
>&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); } &&
4109 { ac_try
='test -z "$ac_c_werror_flag"
4110 || test ! -s conftest.err'
4111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); }; } &&
4116 { ac_try
='test -s conftest$ac_exeext'
4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; }; then
4122 eval "$as_ac_var=yes"
4124 echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.
$ac_ext >&5
4127 eval "$as_ac_var=no"
4129 rm -f conftest.err conftest.
$ac_objext \
4130 conftest
$ac_exeext conftest.
$ac_ext
4132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4134 if test `eval echo '${'$as_ac_var'}'` = yes; then
4135 cat >>confdefs.h
<<_ACEOF
4136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4143 # Check for socket libraries
4145 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4146 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4147 if test "${ac_cv_lib_socket_bind+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 ac_check_lib_save_LIBS
=$LIBS
4151 LIBS
="-lsocket $LIBS"
4152 cat >conftest.
$ac_ext <<_ACEOF
4155 cat confdefs.h
>>conftest.
$ac_ext
4156 cat >>conftest.
$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4159 /* Override any gcc2 internal prototype to avoid an error. */
4163 /* We use char because int might match the return type of a gcc2
4164 builtin and then its argument prototype would still apply. */
4174 rm -f conftest.
$ac_objext conftest
$ac_exeext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4176 (eval $ac_link) 2>conftest.er1
4178 grep -v '^ *+' conftest.er1
>conftest.err
4180 cat conftest.err
>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } &&
4183 { ac_try
='test -z "$ac_c_werror_flag"
4184 || test ! -s conftest.err'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; } &&
4190 { ac_try
='test -s conftest$ac_exeext'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; }; then
4196 ac_cv_lib_socket_bind
=yes
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.
$ac_ext >&5
4201 ac_cv_lib_socket_bind
=no
4203 rm -f conftest.err conftest.
$ac_objext \
4204 conftest
$ac_exeext conftest.
$ac_ext
4205 LIBS
=$ac_check_lib_save_LIBS
4207 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4208 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4209 if test $ac_cv_lib_socket_bind = yes; then
4210 cat >>confdefs.h
<<_ACEOF
4211 #define HAVE_LIBSOCKET 1
4214 LIBS
="-lsocket $LIBS"
4219 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4220 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4221 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 ac_check_lib_save_LIBS
=$LIBS
4226 cat >conftest.
$ac_ext <<_ACEOF
4229 cat confdefs.h
>>conftest.
$ac_ext
4230 cat >>conftest.
$ac_ext <<_ACEOF
4231 /* end confdefs.h. */
4233 /* Override any gcc2 internal prototype to avoid an error. */
4237 /* We use char because int might match the return type of a gcc2
4238 builtin and then its argument prototype would still apply. */
4239 char gethostbyname ();
4248 rm -f conftest.
$ac_objext conftest
$ac_exeext
4249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4250 (eval $ac_link) 2>conftest.er1
4252 grep -v '^ *+' conftest.er1
>conftest.err
4254 cat conftest.err
>&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } &&
4257 { ac_try
='test -z "$ac_c_werror_flag"
4258 || test ! -s conftest.err'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; } &&
4264 { ac_try
='test -s conftest$ac_exeext'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4270 ac_cv_lib_nsl_gethostbyname
=yes
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.
$ac_ext >&5
4275 ac_cv_lib_nsl_gethostbyname
=no
4277 rm -f conftest.err conftest.
$ac_objext \
4278 conftest
$ac_exeext conftest.
$ac_ext
4279 LIBS
=$ac_check_lib_save_LIBS
4281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4284 cat >>confdefs.h
<<_ACEOF
4285 #define HAVE_LIBNSL 1
4293 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4294 # using the same condition.
4295 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4296 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4297 if test "${ac_cv_search_zlibVersion+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 ac_func_search_save_LIBS
=$LIBS
4301 ac_cv_search_zlibVersion
=no
4302 cat >conftest.
$ac_ext <<_ACEOF
4305 cat confdefs.h
>>conftest.
$ac_ext
4306 cat >>conftest.
$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4309 /* Override any gcc2 internal prototype to avoid an error. */
4313 /* We use char because int might match the return type of a gcc2
4314 builtin and then its argument prototype would still apply. */
4315 char zlibVersion ();
4324 rm -f conftest.
$ac_objext conftest
$ac_exeext
4325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4326 (eval $ac_link) 2>conftest.er1
4328 grep -v '^ *+' conftest.er1
>conftest.err
4330 cat conftest.err
>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } &&
4333 { ac_try
='test -z "$ac_c_werror_flag"
4334 || test ! -s conftest.err'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; } &&
4340 { ac_try
='test -s conftest$ac_exeext'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; }; then
4346 ac_cv_search_zlibVersion
="none required"
4348 echo "$as_me: failed program was:" >&5
4349 sed 's/^/| /' conftest.
$ac_ext >&5
4352 rm -f conftest.err conftest.
$ac_objext \
4353 conftest
$ac_exeext conftest.
$ac_ext
4354 if test "$ac_cv_search_zlibVersion" = no
; then
4356 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4357 cat >conftest.
$ac_ext <<_ACEOF
4360 cat confdefs.h
>>conftest.
$ac_ext
4361 cat >>conftest.
$ac_ext <<_ACEOF
4362 /* end confdefs.h. */
4364 /* Override any gcc2 internal prototype to avoid an error. */
4368 /* We use char because int might match the return type of a gcc2
4369 builtin and then its argument prototype would still apply. */
4370 char zlibVersion ();
4379 rm -f conftest.
$ac_objext conftest
$ac_exeext
4380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4381 (eval $ac_link) 2>conftest.er1
4383 grep -v '^ *+' conftest.er1
>conftest.err
4385 cat conftest.err
>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); } &&
4388 { ac_try
='test -z "$ac_c_werror_flag"
4389 || test ! -s conftest.err'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; } &&
4395 { ac_try
='test -s conftest$ac_exeext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4401 ac_cv_search_zlibVersion
="-l$ac_lib"
4404 echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.
$ac_ext >&5
4408 rm -f conftest.err conftest.
$ac_objext \
4409 conftest
$ac_exeext conftest.
$ac_ext
4412 LIBS
=$ac_func_search_save_LIBS
4414 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4415 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4416 if test "$ac_cv_search_zlibVersion" != no
; then
4417 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4419 for ac_header
in zlib.h
4421 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4423 echo "$as_me:$LINENO: checking for $ac_header" >&5
4424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4431 # Is the header compilable?
4432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4434 cat >conftest.
$ac_ext <<_ACEOF
4437 cat confdefs.h
>>conftest.
$ac_ext
4438 cat >>conftest.
$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4440 $ac_includes_default
4441 #include <$ac_header>
4443 rm -f conftest.
$ac_objext
4444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445 (eval $ac_compile) 2>conftest.er1
4447 grep -v '^ *+' conftest.er1
>conftest.err
4449 cat conftest.err
>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } &&
4452 { ac_try
='test -z "$ac_c_werror_flag"
4453 || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4465 ac_header_compiler
=yes
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4470 ac_header_compiler
=no
4472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4474 echo "${ECHO_T}$ac_header_compiler" >&6
4476 # Is the header present?
4477 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4478 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4479 cat >conftest.
$ac_ext <<_ACEOF
4482 cat confdefs.h
>>conftest.
$ac_ext
4483 cat >>conftest.
$ac_ext <<_ACEOF
4484 /* end confdefs.h. */
4485 #include <$ac_header>
4487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4490 grep -v '^ *+' conftest.er1
>conftest.err
4492 cat conftest.err
>&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } >/dev
/null
; then
4495 if test -s conftest.err
; then
4496 ac_cpp_err
=$ac_c_preproc_warn_flag
4497 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4504 if test -z "$ac_cpp_err"; then
4505 ac_header_preproc
=yes
4507 echo "$as_me: failed program was:" >&5
4508 sed 's/^/| /' conftest.
$ac_ext >&5
4510 ac_header_preproc
=no
4512 rm -f conftest.err conftest.
$ac_ext
4513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4514 echo "${ECHO_T}$ac_header_preproc" >&6
4516 # So? What about this header?
4517 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4519 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4520 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4522 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4523 ac_header_preproc
=yes
4526 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4527 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4528 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4529 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4530 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4531 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4532 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4533 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4537 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4540 ## ------------------------------------------ ##
4541 ## Report this to the AC_PACKAGE_NAME lists. ##
4542 ## ------------------------------------------ ##
4545 sed "s/^/$as_me: WARNING: /" >&2
4548 echo "$as_me:$LINENO: checking for $ac_header" >&5
4549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 eval "$as_ac_Header=\$ac_header_preproc"
4555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4560 cat >>confdefs.h
<<_ACEOF
4561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4571 .
${srcdir}/..
/..
/bfd
/configure.
host
4575 USE_MAINTAINER_MODE
=no
4576 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4577 if test "${enable_maintainer_mode+set}" = set; then
4578 enableval
="$enable_maintainer_mode"
4579 case "${enableval}" in
4580 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4582 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4583 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4584 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4586 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4587 echo "Setting maintainer mode" 6>&1
4594 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4595 if test "${enable_sim_bswap+set}" = set; then
4596 enableval
="$enable_sim_bswap"
4597 case "${enableval}" in
4598 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4599 no
) sim_bswap
="-DWITH_BSWAP=0";;
4600 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4601 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4602 { (exit 1); exit 1; }; }; sim_bswap
="";;
4604 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4605 echo "Setting bswap flags = $sim_bswap" 6>&1
4612 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4613 if test "${enable_sim_cflags+set}" = set; then
4614 enableval
="$enable_sim_cflags"
4615 case "${enableval}" in
4616 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4617 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4618 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4619 { (exit 1); exit 1; }; }; sim_cflags
="";;
4621 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4623 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4624 echo "Setting sim cflags = $sim_cflags" 6>&1
4631 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4632 if test "${enable_sim_debug+set}" = set; then
4633 enableval
="$enable_sim_debug"
4634 case "${enableval}" in
4635 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4636 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4637 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4639 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4640 echo "Setting sim debug = $sim_debug" 6>&1
4647 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4648 if test "${enable_sim_stdio+set}" = set; then
4649 enableval
="$enable_sim_stdio"
4650 case "${enableval}" in
4651 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4652 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4653 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4654 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4655 { (exit 1); exit 1; }; }; sim_stdio
="";;
4657 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4658 echo "Setting stdio flags = $sim_stdio" 6>&1
4665 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4666 if test "${enable_sim_trace+set}" = set; then
4667 enableval
="$enable_sim_trace"
4668 case "${enableval}" in
4669 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4670 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4672 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4675 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4676 if test x
"$sim_trace" = x
; then
4677 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4679 sim_trace
="${sim_trace}|TRACE_$x"
4682 sim_trace
="$sim_trace)'" ;;
4684 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4685 echo "Setting sim trace = $sim_trace" 6>&1
4692 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4693 if test "${enable_sim_profile+set}" = set; then
4694 enableval
="$enable_sim_profile"
4695 case "${enableval}" in
4696 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4697 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4699 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4702 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4703 if test x
"$sim_profile" = x
; then
4704 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4706 sim_profile
="${sim_profile}|PROFILE_$x"
4709 sim_profile
="$sim_profile)'" ;;
4711 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4712 echo "Setting sim profile = $sim_profile" 6>&1
4715 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4720 # Check whether --with-pkgversion or --without-pkgversion was given.
4721 if test "${with_pkgversion+set}" = set; then
4722 withval
="$with_pkgversion"
4724 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4725 echo "$as_me: error: package version not specified" >&2;}
4726 { (exit 1); exit 1; }; } ;;
4728 *) PKGVERSION
="($withval) " ;;
4738 # Check whether --with-bugurl or --without-bugurl was given.
4739 if test "${with_bugurl+set}" = set; then
4740 withval
="$with_bugurl"
4742 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4743 echo "$as_me: error: bug URL not specified" >&2;}
4744 { (exit 1); exit 1; }; } ;;
4747 *) BUGURL
="$withval"
4751 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4760 REPORT_BUGS_TO
="<$BUGURL>"
4761 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4768 cat >>confdefs.h
<<_ACEOF
4769 #define PKGVERSION "$PKGVERSION"
4773 cat >>confdefs.h
<<_ACEOF
4774 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4778 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4779 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4780 if test "${ac_cv_type_signal+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 cat >conftest.
$ac_ext <<_ACEOF
4786 cat confdefs.h
>>conftest.
$ac_ext
4787 cat >>conftest.
$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 #include <sys/types.h>
4795 extern "C" void (*signal (int, void (*)(int)))(int);
4797 void (*signal ()) ();
4808 rm -f conftest.
$ac_objext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810 (eval $ac_compile) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1
>conftest.err
4814 cat conftest.err
>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try
='test -z "$ac_c_werror_flag"
4818 || test ! -s conftest.err'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; } &&
4824 { ac_try
='test -s conftest.$ac_objext'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; }; then
4830 ac_cv_type_signal
=void
4832 echo "$as_me: failed program was:" >&5
4833 sed 's/^/| /' conftest.
$ac_ext >&5
4835 ac_cv_type_signal
=int
4837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4840 echo "${ECHO_T}$ac_cv_type_signal" >&6
4842 cat >>confdefs.h
<<_ACEOF
4843 #define RETSIGTYPE $ac_cv_type_signal
4853 sim_link_links
=tconfig.h
4854 if test -f ${srcdir}/tconfig.
in
4856 sim_link_files
=tconfig.
in
4858 sim_link_files
=..
/common
/tconfig.
in
4861 # targ-vals.def points to the libc macro description file.
4863 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4865 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4866 sim_link_links
="${sim_link_links} targ-vals.def"
4870 # NOTE: Don't add -Wall or -Wunused, they both include
4871 # -Wunused-parameter which reports bogus warnings.
4872 # NOTE: If you add to this list, remember to update
4873 # gdb/doc/gdbint.texinfo.
4874 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
4875 -Wformat -Wparentheses -Wpointer-arith"
4876 # GCC supports -Wuninitialized only with -O or -On, n != 0.
4877 if test x
${CFLAGS+set} = xset
; then
4881 build_warnings
="${build_warnings} -Wuninitialized"
4885 build_warnings
="${build_warnings} -Wuninitialized"
4887 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
4888 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
4889 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
4890 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
4891 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
4892 # -Woverloaded-virtual -Winline -Werror"
4893 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4894 if test "${enable_build_warnings+set}" = set; then
4895 enableval
="$enable_build_warnings"
4896 case "${enableval}" in
4898 no
) build_warnings
="-w";;
4899 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4900 build_warnings
="${build_warnings} ${t}";;
4901 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4902 build_warnings
="${t} ${build_warnings}";;
4903 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4905 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
4906 echo "Setting compiler warning flags = $build_warnings" 6>&1
4908 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
4909 if test "${enable_sim_build_warnings+set}" = set; then
4910 enableval
="$enable_sim_build_warnings"
4911 case "${enableval}" in
4913 no
) build_warnings
="-w";;
4914 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4915 build_warnings
="${build_warnings} ${t}";;
4916 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4917 build_warnings
="${t} ${build_warnings}";;
4918 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4920 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
4921 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
4925 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
4927 echo "$as_me:$LINENO: checking compiler warning flags" >&5
4928 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
4929 # Separate out the -Werror flag as some files just cannot be
4930 # compiled with it enabled.
4931 for w
in ${build_warnings}; do
4933 -Werr*) WERROR_CFLAGS
=-Werror ;;
4934 *) # Check that GCC accepts it
4935 saved_CFLAGS
="$CFLAGS"
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4952 rm -f conftest.
$ac_objext
4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4954 (eval $ac_compile) 2>conftest.er1
4956 grep -v '^ *+' conftest.er1
>conftest.err
4958 cat conftest.err
>&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } &&
4961 { ac_try
='test -z "$ac_c_werror_flag"
4962 || test ! -s conftest.err'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; } &&
4968 { ac_try
='test -s conftest.$ac_objext'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4974 WARN_CFLAGS
="${WARN_CFLAGS} $w"
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.
$ac_ext >&5
4980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4981 CFLAGS
="$saved_CFLAGS"
4984 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
4985 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
4990 for ac_header
in unistd.h
4992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4994 echo "$as_me:$LINENO: checking for $ac_header" >&5
4995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5002 # Is the header compilable?
5003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5005 cat >conftest.
$ac_ext <<_ACEOF
5008 cat confdefs.h
>>conftest.
$ac_ext
5009 cat >>conftest.
$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5011 $ac_includes_default
5012 #include <$ac_header>
5014 rm -f conftest.
$ac_objext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 (eval $ac_compile) 2>conftest.er1
5018 grep -v '^ *+' conftest.er1
>conftest.err
5020 cat conftest.err
>&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } &&
5023 { ac_try
='test -z "$ac_c_werror_flag"
5024 || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; } &&
5030 { ac_try
='test -s conftest.$ac_objext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 ac_header_compiler
=yes
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.
$ac_ext >&5
5041 ac_header_compiler
=no
5043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5045 echo "${ECHO_T}$ac_header_compiler" >&6
5047 # Is the header present?
5048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5050 cat >conftest.
$ac_ext <<_ACEOF
5053 cat confdefs.h
>>conftest.
$ac_ext
5054 cat >>conftest.
$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5056 #include <$ac_header>
5058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5061 grep -v '^ *+' conftest.er1
>conftest.err
5063 cat conftest.err
>&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } >/dev
/null
; then
5066 if test -s conftest.err
; then
5067 ac_cpp_err
=$ac_c_preproc_warn_flag
5068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5075 if test -z "$ac_cpp_err"; then
5076 ac_header_preproc
=yes
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.
$ac_ext >&5
5081 ac_header_preproc
=no
5083 rm -f conftest.err conftest.
$ac_ext
5084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5085 echo "${ECHO_T}$ac_header_preproc" >&6
5087 # So? What about this header?
5088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5094 ac_header_preproc
=yes
5097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5111 ## ------------------------------------------ ##
5112 ## Report this to the AC_PACKAGE_NAME lists. ##
5113 ## ------------------------------------------ ##
5116 sed "s/^/$as_me: WARNING: /" >&2
5119 echo "$as_me:$LINENO: checking for $ac_header" >&5
5120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 eval "$as_ac_Header=\$ac_header_preproc"
5126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5131 cat >>confdefs.h
<<_ACEOF
5132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5142 ac_sources
="$sim_link_files"
5143 ac_dests
="$sim_link_links"
5144 while test -n "$ac_sources"; do
5145 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
5146 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
5147 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
5149 ac_config_links
="$ac_config_links $ac_config_links_1"
5152 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
5153 cgen_breaks
="break cgen_rtx_error";
5156 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
5158 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
5160 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
5162 ac_config_commands
="$ac_config_commands Makefile"
5164 ac_config_commands
="$ac_config_commands stamp-h"
5166 cat >confcache
<<\_ACEOF
5167 # This file is a shell script that caches the results of configure
5168 # tests run on this system so they can be shared between configure
5169 # scripts and configure runs, see configure's option --config-cache.
5170 # It is not useful on other systems. If it contains results you don't
5171 # want to keep, you may remove or edit it.
5173 # config.status only pays attention to the cache file if you give it
5174 # the --recheck option to rerun configure.
5176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5182 # The following way of writing the cache mishandles newlines in values,
5183 # but we know of no workaround that is simple, portable, and efficient.
5184 # So, don't put newlines in cache variables' values.
5185 # Ultrix sh set writes to stderr and can't be redirected directly,
5186 # and sets the high bit in the cache file unless we assign to the vars.
5189 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5191 # `set' does not quote correctly, so add quotes (double-quote
5192 # substitution turns \\\\ into \\, and sed turns \\ into \).
5195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5198 # `set' quotes correctly as required by POSIX, so do not add quotes.
5200 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5209 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5211 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5212 if test -w $cache_file; then
5213 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5214 cat confcache
>$cache_file
5216 echo "not updating unwritable cache $cache_file"
5221 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5222 # Let make expand exec_prefix.
5223 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5225 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5226 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5227 # trailing colons and then remove the whole line if VPATH becomes empty
5228 # (actually we leave an empty line to preserve line numbers).
5229 if test "x$srcdir" = x.
; then
5230 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5231 s/:*\$(srcdir):*/:/;
5232 s/:*\${srcdir}:*/:/;
5234 s/^\([^=]*=[ ]*\):*/\1/;
5240 DEFS
=-DHAVE_CONFIG_H
5244 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5245 # 1. Remove the extension, and $U if already installed.
5246 ac_i
=`echo "$ac_i" |
5247 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5249 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5250 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5254 LTLIBOBJS
=$ac_ltlibobjs
5258 : ${CONFIG_STATUS=./config.status}
5259 ac_clean_files_save
=$ac_clean_files
5260 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5261 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5262 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5263 cat >$CONFIG_STATUS <<_ACEOF
5265 # Generated by $as_me.
5266 # Run this file to recreate the current configuration.
5267 # Compiler output produced by configure, useful for debugging
5268 # configure, is in config.log if it exists.
5273 SHELL=\${CONFIG_SHELL-$SHELL}
5276 cat >>$CONFIG_STATUS <<\_ACEOF
5277 ## --------------------- ##
5278 ## M4sh Initialization. ##
5279 ## --------------------- ##
5281 # Be Bourne compatible
5282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5285 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5286 # is contrary to our usage. Disable this feature.
5287 alias -g '${1+"$@"}'='"$@"'
5288 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5291 DUALCASE
=1; export DUALCASE
# for MKS sh
5293 # Support unset when possible.
5294 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5301 # Work around bugs in pre-3.0 UWIN ksh.
5302 $as_unset ENV MAIL MAILPATH
5309 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5310 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5311 LC_TELEPHONE LC_TIME
5313 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5314 eval $as_var=C
; export $as_var
5320 # Required to use basename.
5321 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5327 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5328 as_basename
=basename
5334 # Name of the executable.
5335 as_me
=`$as_basename "$0" ||
5336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5337 X"$0" : 'X\(//\)$' \| \
5338 X"$0" : 'X\(/\)$' \| \
5339 . : '\(.\)' 2>/dev/null ||
5341 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5342 /^X\/\(\/\/\)$/{ s//\1/; q; }
5343 /^X\/\(\/\).*/{ s//\1/; q; }
5347 # PATH needs CR, and LINENO needs CR and PATH.
5348 # Avoid depending upon Character Ranges.
5349 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5350 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5351 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5352 as_cr_digits
='0123456789'
5353 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5355 # The user is always right.
5356 if test "${PATH_SEPARATOR+set}" != set; then
5357 echo "#! /bin/sh" >conf$$.sh
5358 echo "exit 0" >>conf$$.sh
5360 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5371 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5372 test "x$as_lineno_1" != "x$as_lineno_2" &&
5373 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5374 # Find who we are. Look in the path if we contain no path at all
5377 *[\\/]* ) as_myself
=$0 ;;
5378 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir
=.
5383 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5388 # We did not find ourselves, most probably we were run as `sh COMMAND'
5389 # in which case we are not to be found in the path.
5390 if test "x$as_myself" = x
; then
5393 if test ! -f "$as_myself"; then
5394 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5395 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5396 { (exit 1); exit 1; }; }
5398 case $CONFIG_SHELL in
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5404 test -z "$as_dir" && as_dir
=.
5405 for as_base
in sh bash ksh sh5
; do
5408 if ("$as_dir/$as_base" -c '
5411 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5412 test "x$as_lineno_1" != "x$as_lineno_2" &&
5413 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5414 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5415 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5416 CONFIG_SHELL
=$as_dir/$as_base
5418 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5427 # uniformly replaced by the line number. The first 'sed' inserts a
5428 # line-number line before each line; the second 'sed' does the real
5429 # work. The second script uses 'N' to pair each line-number line
5430 # with the numbered line, and appends trailing '-' during
5431 # substitution so that $LINENO is not a special case at line end.
5432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5433 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5434 sed '=' <$as_myself |
5439 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5442 s,^['$as_cr_digits']*\n,,
5444 chmod +x
$as_me.lineno ||
5445 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5446 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5447 { (exit 1); exit 1; }; }
5449 # Don't try to exec as it changes $[0], causing all sort of problems
5450 # (the dirname of $[0] is not the place where we might find the
5451 # original and so on. Autoconf is especially sensible to this).
5453 # Exit status is that of the last command.
5458 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5459 *c
*,-n*) ECHO_N
= ECHO_C
='
5461 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5462 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5465 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5471 rm -f conf$$ conf$$.exe conf$$.
file
5473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5474 # We could just check for DJGPP; but this test a) works b) is more generic
5475 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5476 if test -f conf$$.exe
; then
5477 # Don't use ln at all; we don't have any links
5482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5487 rm -f conf$$ conf$$.exe conf$$.
file
5489 if mkdir
-p .
2>/dev
/null
; then
5492 test -d .
/-p && rmdir .
/-p
5496 as_executable_p
="test -f"
5498 # Sed expression to map a string onto a valid CPP name.
5499 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5501 # Sed expression to map a string onto a valid variable name.
5502 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5506 # We need space, tab and new line, in precisely that order.
5516 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5517 # report actual input values of CONFIG_FILES etc. instead of their
5518 # values after options handling. Logging --version etc. is OK.
5522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5523 ## Running $as_me. ##
5528 This file was extended by $as_me, which was
5529 generated by GNU Autoconf 2.59. Invocation command line was
5531 CONFIG_FILES = $CONFIG_FILES
5532 CONFIG_HEADERS = $CONFIG_HEADERS
5533 CONFIG_LINKS = $CONFIG_LINKS
5534 CONFIG_COMMANDS = $CONFIG_COMMANDS
5538 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5542 # Files that config.status was made for.
5543 if test -n "$ac_config_files"; then
5544 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5547 if test -n "$ac_config_headers"; then
5548 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5551 if test -n "$ac_config_links"; then
5552 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5555 if test -n "$ac_config_commands"; then
5556 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5559 cat >>$CONFIG_STATUS <<\_ACEOF
5562 \`$as_me' instantiates files from templates according to the
5563 current configuration.
5565 Usage: $0 [OPTIONS] [FILE]...
5567 -h, --help print this help, then exit
5568 -V, --version print version number, then exit
5569 -q, --quiet do not print progress messages
5570 -d, --debug don't remove temporary files
5571 --recheck update $as_me by reconfiguring in the same conditions
5572 --file=FILE[:TEMPLATE]
5573 instantiate the configuration file FILE
5574 --header=FILE[:TEMPLATE]
5575 instantiate the configuration header FILE
5577 Configuration files:
5580 Configuration headers:
5583 Configuration links:
5586 Configuration commands:
5589 Report bugs to <bug-autoconf@gnu.org>."
5592 cat >>$CONFIG_STATUS <<_ACEOF
5595 configured by $0, generated by GNU Autoconf 2.59,
5596 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5598 Copyright (C) 2003 Free Software Foundation, Inc.
5599 This config.status script is free software; the Free Software Foundation
5600 gives unlimited permission to copy, distribute and modify it."
5605 cat >>$CONFIG_STATUS <<\_ACEOF
5606 # If no file are specified by the user, then we need to provide default
5607 # value. By we need to know if files were specified by the user.
5613 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5614 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5622 *) # This is not an option, so the user has probably given explicit
5625 ac_need_defaults
=false
;;
5629 # Handling of the options.
5631 cat >>$CONFIG_STATUS <<\_ACEOF
5632 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5634 --version |
--vers* |
-V )
5635 echo "$ac_cs_version"; exit 0 ;;
5637 # Conflict between --help and --header
5638 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5639 Try \`$0 --help' for more information." >&5
5640 echo "$as_me: error: ambiguous option: $1
5641 Try \`$0 --help' for more information." >&2;}
5642 { (exit 1); exit 1; }; };;
5643 --help |
--hel |
-h )
5644 echo "$ac_cs_usage"; exit 0 ;;
5645 --debug |
--d* |
-d )
5647 --file |
--fil |
--fi |
--f )
5649 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5650 ac_need_defaults
=false
;;
5651 --header |
--heade |
--head |
--hea )
5653 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5654 ac_need_defaults
=false
;;
5655 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5656 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5660 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5661 Try \`$0 --help' for more information." >&5
5662 echo "$as_me: error: unrecognized option: $1
5663 Try \`$0 --help' for more information." >&2;}
5664 { (exit 1); exit 1; }; } ;;
5666 *) ac_config_targets
="$ac_config_targets $1" ;;
5672 ac_configure_extra_args
=
5674 if $ac_cs_silent; then
5676 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5680 cat >>$CONFIG_STATUS <<_ACEOF
5681 if \$ac_cs_recheck; then
5682 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5683 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5692 cat >>$CONFIG_STATUS <<\_ACEOF
5693 for ac_config_target
in $ac_config_targets
5695 case "$ac_config_target" in
5696 # Handling of arguments.
5697 "Makefile.sim" ) CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5698 "Make-common.sim" ) CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5699 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5700 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
5701 "Makefile" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5702 "stamp-h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5703 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5704 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5705 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5706 { (exit 1); exit 1; }; };;
5710 # If the user did not use the arguments to specify the items to instantiate,
5711 # then the envvar interface is used. Set only those that are not.
5712 # We use the long form for the default assignment because of an extremely
5713 # bizarre bug on SunOS 4.1.3.
5714 if $ac_need_defaults; then
5715 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5716 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5717 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5718 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5721 # Have a temporary directory for convenience. Make it in the build tree
5722 # simply because there is no reason to put it here, and in addition,
5723 # creating and moving files from /tmp can sometimes cause problems.
5724 # Create a temporary directory, and hook for its removal unless debugging.
5727 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5728 trap '{ (exit 1); exit 1; }' 1 2 13 15
5731 # Create a (secure) tmp directory for tmp files.
5734 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5735 test -n "$tmp" && test -d "$tmp"
5738 tmp
=.
/confstat$$
-$RANDOM
5739 (umask 077 && mkdir
$tmp)
5742 echo "$me: cannot create a temporary directory in ." >&2
5743 { (exit 1); exit 1; }
5748 cat >>$CONFIG_STATUS <<_ACEOF
5751 # CONFIG_FILES section.
5754 # No need to generate the scripts if there are no CONFIG_FILES.
5755 # This happens for instance when ./config.status config.h
5756 if test -n "\$CONFIG_FILES"; then
5757 # Protect against being on the right side of a sed subst in config.status.
5758 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5759 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5760 s,@SHELL@,$SHELL,;t t
5761 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5762 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5763 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5764 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5765 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5766 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5767 s,@exec_prefix@,$exec_prefix,;t t
5768 s,@prefix@,$prefix,;t t
5769 s,@program_transform_name@,$program_transform_name,;t t
5770 s,@bindir@,$bindir,;t t
5771 s,@sbindir@,$sbindir,;t t
5772 s,@libexecdir@,$libexecdir,;t t
5773 s,@datadir@,$datadir,;t t
5774 s,@sysconfdir@,$sysconfdir,;t t
5775 s,@sharedstatedir@,$sharedstatedir,;t t
5776 s,@localstatedir@,$localstatedir,;t t
5777 s,@libdir@,$libdir,;t t
5778 s,@includedir@,$includedir,;t t
5779 s,@oldincludedir@,$oldincludedir,;t t
5780 s,@infodir@,$infodir,;t t
5781 s,@mandir@,$mandir,;t t
5782 s,@build_alias@,$build_alias,;t t
5783 s,@host_alias@,$host_alias,;t t
5784 s,@target_alias@,$target_alias,;t t
5786 s,@ECHO_C@,$ECHO_C,;t t
5787 s,@ECHO_N@,$ECHO_N,;t t
5788 s,@ECHO_T@,$ECHO_T,;t t
5790 s,@sim_environment@,$sim_environment,;t t
5791 s,@sim_alignment@,$sim_alignment,;t t
5792 s,@sim_assert@,$sim_assert,;t t
5793 s,@sim_bitsize@,$sim_bitsize,;t t
5794 s,@sim_endian@,$sim_endian,;t t
5795 s,@sim_hostendian@,$sim_hostendian,;t t
5796 s,@sim_float@,$sim_float,;t t
5797 s,@sim_scache@,$sim_scache,;t t
5798 s,@sim_default_model@,$sim_default_model,;t t
5799 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
5800 s,@sim_hw_objs@,$sim_hw_objs,;t t
5801 s,@sim_hw@,$sim_hw,;t t
5802 s,@sim_inline@,$sim_inline,;t t
5803 s,@sim_packages@,$sim_packages,;t t
5804 s,@sim_regparm@,$sim_regparm,;t t
5805 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
5806 s,@sim_smp@,$sim_smp,;t t
5807 s,@sim_stdcall@,$sim_stdcall,;t t
5808 s,@sim_xor_endian@,$sim_xor_endian,;t t
5809 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5810 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
5811 s,@build@,$build,;t t
5812 s,@build_cpu@,$build_cpu,;t t
5813 s,@build_vendor@,$build_vendor,;t t
5814 s,@build_os@,$build_os,;t t
5816 s,@host_cpu@,$host_cpu,;t t
5817 s,@host_vendor@,$host_vendor,;t t
5818 s,@host_os@,$host_os,;t t
5819 s,@target@,$target,;t t
5820 s,@target_cpu@,$target_cpu,;t t
5821 s,@target_vendor@,$target_vendor,;t t
5822 s,@target_os@,$target_os,;t t
5824 s,@CFLAGS@,$CFLAGS,;t t
5825 s,@LDFLAGS@,$LDFLAGS,;t t
5826 s,@CPPFLAGS@,$CPPFLAGS,;t t
5827 s,@ac_ct_CC@,$ac_ct_CC,;t t
5828 s,@EXEEXT@,$EXEEXT,;t t
5829 s,@OBJEXT@,$OBJEXT,;t t
5830 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5831 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5832 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5833 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
5834 s,@HDEFINES@,$HDEFINES,;t t
5836 s,@RANLIB@,$RANLIB,;t t
5837 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5838 s,@USE_NLS@,$USE_NLS,;t t
5839 s,@LIBINTL@,$LIBINTL,;t t
5840 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
5841 s,@INCINTL@,$INCINTL,;t t
5842 s,@XGETTEXT@,$XGETTEXT,;t t
5843 s,@GMSGFMT@,$GMSGFMT,;t t
5844 s,@POSUB@,$POSUB,;t t
5845 s,@CATALOGS@,$CATALOGS,;t t
5846 s,@DATADIRNAME@,$DATADIRNAME,;t t
5847 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5848 s,@GENCAT@,$GENCAT,;t t
5849 s,@CATOBJEXT@,$CATOBJEXT,;t t
5851 s,@EGREP@,$EGREP,;t t
5852 s,@MAINT@,$MAINT,;t t
5853 s,@sim_bswap@,$sim_bswap,;t t
5854 s,@sim_cflags@,$sim_cflags,;t t
5855 s,@sim_debug@,$sim_debug,;t t
5856 s,@sim_stdio@,$sim_stdio,;t t
5857 s,@sim_trace@,$sim_trace,;t t
5858 s,@sim_profile@,$sim_profile,;t t
5859 s,@PKGVERSION@,$PKGVERSION,;t t
5860 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
5861 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
5862 s,@cgen_breaks@,$cgen_breaks,;t t
5863 s,@LIBOBJS@,$LIBOBJS,;t t
5864 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5869 cat >>$CONFIG_STATUS <<\_ACEOF
5870 # Split the substitutions into bite-sized pieces for seds with
5871 # small command number limits, like on Digital OSF/1 and HP-UX.
5873 ac_sed_frag
=1 # Number of current file.
5874 ac_beg
=1 # First line for current file.
5875 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5878 while $ac_more_lines; do
5879 if test $ac_beg -gt 1; then
5880 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5882 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5884 if test ! -s $tmp/subs.frag
; then
5887 # The purpose of the label and of the branching condition is to
5888 # speed up the sed processing (if there are no `@' at all, there
5889 # is no need to browse any of the substitutions).
5890 # These are the two extra sed commands mentioned above.
5892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5893 if test -z "$ac_sed_cmds"; then
5894 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5896 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5898 ac_sed_frag
=`expr $ac_sed_frag + 1`
5900 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5903 if test -z "$ac_sed_cmds"; then
5906 fi # test -n "$CONFIG_FILES"
5909 cat >>$CONFIG_STATUS <<\_ACEOF
5910 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5911 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5913 - |
*:- |
*:-:* ) # input from stdin
5915 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5916 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5917 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5918 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5919 * ) ac_file_in
=$ac_file.
in ;;
5922 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5923 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5924 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5925 X"$ac_file" : 'X\(//\)[^/]' \| \
5926 X"$ac_file" : 'X\(//\)$' \| \
5927 X"$ac_file" : 'X\(/\)' \| \
5928 . : '\(.\)' 2>/dev/null ||
5930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5932 /^X\(\/\/\)$/{ s//\1/; q; }
5933 /^X\(\/\).*/{ s//\1/; q; }
5935 { if $as_mkdir_p; then
5940 while test ! -d "$as_dir"; do
5941 as_dirs
="$as_dir $as_dirs"
5942 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5944 X"$as_dir" : 'X\(//\)[^/]' \| \
5945 X"$as_dir" : 'X\(//\)$' \| \
5946 X"$as_dir" : 'X\(/\)' \| \
5947 . : '\(.\)' 2>/dev/null ||
5949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5950 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5951 /^X\(\/\/\)$/{ s//\1/; q; }
5952 /^X\(\/\).*/{ s//\1/; q; }
5955 test ! -n "$as_dirs" || mkdir
$as_dirs
5956 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5957 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5958 { (exit 1); exit 1; }; }; }
5962 if test "$ac_dir" != .
; then
5963 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5964 # A "../" for each directory in $ac_dir_suffix.
5965 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5967 ac_dir_suffix
= ac_top_builddir
=
5971 .
) # No --srcdir option. We are building in place.
5973 if test -z "$ac_top_builddir"; then
5976 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5978 [\\/]* | ?
:[\\/]* ) # Absolute path.
5979 ac_srcdir
=$srcdir$ac_dir_suffix;
5980 ac_top_srcdir
=$srcdir ;;
5982 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5983 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5986 # Do not use `cd foo && pwd` to compute absolute paths, because
5987 # the directories may not exist.
5989 .
) ac_abs_builddir
="$ac_dir";;
5992 .
) ac_abs_builddir
=`pwd`;;
5993 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5994 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5997 case $ac_abs_builddir in
5998 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6000 case ${ac_top_builddir}.
in
6001 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6002 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6003 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6006 case $ac_abs_builddir in
6007 .
) ac_abs_srcdir
=$ac_srcdir;;
6010 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6011 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6012 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6015 case $ac_abs_builddir in
6016 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6018 case $ac_top_srcdir in
6019 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6020 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6021 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6027 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6028 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6031 if test x
"$ac_file" != x-
; then
6032 { echo "$as_me:$LINENO: creating $ac_file" >&5
6033 echo "$as_me: creating $ac_file" >&6;}
6036 # Let's still pretend it is `configure' which instantiates (i.e., don't
6037 # use $as_me), people would be surprised to read:
6038 # /* config.h. Generated by config.status. */
6039 if test x
"$ac_file" = x-
; then
6042 configure_input
="$ac_file. "
6044 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6045 sed 's,.*/,,'` by configure."
6047 # First look for the input files in the build tree, otherwise in the
6049 ac_file_inputs
=`IFS=:
6050 for f in $ac_file_in; do
6052 -) echo $tmp/stdin ;;
6054 # Absolute (can't be DOS-style, as IFS=:)
6055 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6056 echo "$as_me: error: cannot find input file: $f" >&2;}
6057 { (exit 1); exit 1; }; }
6060 if test -f "$f"; then
6063 elif test -f "$srcdir/$f"; then
6068 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6069 echo "$as_me: error: cannot find input file: $f" >&2;}
6070 { (exit 1); exit 1; }; }
6073 done` ||
{ (exit 1); exit 1; }
6075 cat >>$CONFIG_STATUS <<_ACEOF
6079 cat >>$CONFIG_STATUS <<\_ACEOF
6081 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6082 s
,@configure_input@
,$configure_input,;t t
6083 s
,@srcdir@
,$ac_srcdir,;t t
6084 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6085 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6086 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6087 s
,@builddir@
,$ac_builddir,;t t
6088 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6089 s
,@top_builddir@
,$ac_top_builddir,;t t
6090 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6091 s
,@INSTALL@
,$ac_INSTALL,;t t
6092 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6094 if test x"$ac_file" != x-; then
6095 mv $tmp/out $ac_file
6103 cat >>$CONFIG_STATUS <<\_ACEOF
6106 # CONFIG_HEADER section.
6109 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6110 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6112 # ac_d sets the value in "#define NAME VALUE" lines.
6113 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6114 ac_dB
='[ ].*$,\1#\2'
6117 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6118 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6119 ac_uB
='$,\1#\2define\3'
6123 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6124 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6126 - |
*:- |
*:-:* ) # input from stdin
6128 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6129 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6130 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6131 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6132 * ) ac_file_in
=$ac_file.
in ;;
6135 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6136 echo "$as_me: creating $ac_file" >&6;}
6138 # First look for the input files in the build tree, otherwise in the
6140 ac_file_inputs
=`IFS=:
6141 for f in $ac_file_in; do
6143 -) echo $tmp/stdin ;;
6145 # Absolute (can't be DOS-style, as IFS=:)
6146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6147 echo "$as_me: error: cannot find input file: $f" >&2;}
6148 { (exit 1); exit 1; }; }
6149 # Do quote $f, to prevent DOS paths from being IFS'd.
6152 if test -f "$f"; then
6155 elif test -f "$srcdir/$f"; then
6160 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6161 echo "$as_me: error: cannot find input file: $f" >&2;}
6162 { (exit 1); exit 1; }; }
6165 done` ||
{ (exit 1); exit 1; }
6166 # Remove the trailing spaces.
6167 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6171 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6172 # `conftest.undefs', that substitutes the proper values into
6173 # config.h.in to produce config.h. The first handles `#define'
6174 # templates, and the second `#undef' templates.
6175 # And first: Protect against being on the right side of a sed subst in
6176 # config.status. Protect against being in an unquoted here document
6178 rm -f conftest.defines conftest.undefs
6179 # Using a here document instead of a string reduces the quoting nightmare.
6180 # Putting comments in sed scripts is not portable.
6182 # `end' is used to avoid that the second main sed command (meant for
6183 # 0-ary CPP macros) applies to n-ary macro definitions.
6184 # See the Autoconf documentation for `clear'.
6185 cat >confdef2sed.
sed <<\_ACEOF
6190 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6192 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6195 # If some macros were called several times there might be several times
6196 # the same #defines, which is useless. Nevertheless, we may not want to
6197 # sort them, since we want the *last* AC-DEFINE to be honored.
6198 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6199 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6200 rm -f confdef2sed.sed
6202 # This sed command replaces #undef with comments. This is necessary, for
6203 # example, in the case of _POSIX_SOURCE, which is predefined and required
6204 # on some systems where configure will not decide to define it.
6205 cat >>conftest.undefs <<\_ACEOF
6206 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6209 # Break up conftest.defines because some shells have a limit on the size
6210 # of here documents, and old seds have small limits too (100 cmds).
6211 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6212 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6213 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6214 echo ' :' >>$CONFIG_STATUS
6216 while grep . conftest.defines >/dev/null
6218 # Write a limited-size here document to $tmp/defines.sed.
6219 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6220 # Speed up: don't consider the non `#define' lines.
6221 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6222 # Work around the forget-to-reset-the-flag bug.
6223 echo 't clr' >>$CONFIG_STATUS
6224 echo ': clr' >>$CONFIG_STATUS
6225 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6227 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6231 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6232 rm -f conftest.defines
6233 mv conftest.
tail conftest.defines
6235 rm -f conftest.defines
6236 echo ' fi # grep' >>$CONFIG_STATUS
6237 echo >>$CONFIG_STATUS
6239 # Break up conftest.undefs because some shells have a limit on the size
6240 # of here documents, and old seds have small limits too (100 cmds).
6241 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6243 while grep . conftest.undefs
>/dev
/null
6245 # Write a limited-size here document to $tmp/undefs.sed.
6246 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6247 # Speed up: don't consider the non
`#undef'
6248 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6249 # Work around the forget-to-reset-the-flag bug.
6250 echo 't clr' >>$CONFIG_STATUS
6251 echo ': clr' >>$CONFIG_STATUS
6252 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6254 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6258 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6259 rm -f conftest.undefs
6260 mv conftest.tail conftest.undefs
6262 rm -f conftest.undefs
6264 cat >>$CONFIG_STATUS <<\_ACEOF
6265 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6266 # use $as_me), people would be surprised to read:
6267 # /* config.h. Generated by config.status. */
6268 if test x
"$ac_file" = x-
; then
6269 echo "/* Generated by configure. */" >$tmp/config.h
6271 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6273 cat $tmp/in >>$tmp/config.h
6275 if test x
"$ac_file" != x-
; then
6276 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6277 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6278 echo "$as_me: $ac_file is unchanged" >&6;}
6280 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6282 X"$ac_file" : 'X\(//\)[^/]' \| \
6283 X"$ac_file" : 'X\(//\)$' \| \
6284 X"$ac_file" : 'X\(/\)' \| \
6285 . : '\(.\)' 2>/dev/null ||
6287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6289 /^X\(\/\/\)$/{ s//\1/; q; }
6290 /^X\(\/\).*/{ s//\1/; q; }
6292 { if $as_mkdir_p; then
6297 while test ! -d "$as_dir"; do
6298 as_dirs
="$as_dir $as_dirs"
6299 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6301 X"$as_dir" : 'X\(//\)[^/]' \| \
6302 X"$as_dir" : 'X\(//\)$' \| \
6303 X"$as_dir" : 'X\(/\)' \| \
6304 . : '\(.\)' 2>/dev/null ||
6306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6307 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6308 /^X\(\/\/\)$/{ s//\1/; q; }
6309 /^X\(\/\).*/{ s//\1/; q; }
6312 test ! -n "$as_dirs" || mkdir
$as_dirs
6313 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6314 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6315 { (exit 1); exit 1; }; }; }
6318 mv $tmp/config.h
$ac_file
6326 cat >>$CONFIG_STATUS <<\_ACEOF
6329 # CONFIG_LINKS section.
6332 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
6333 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6334 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6336 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
6337 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
6339 if test ! -r $srcdir/$ac_source; then
6340 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
6341 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
6342 { (exit 1); exit 1; }; }
6346 # Make relative symlinks.
6347 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6348 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6349 X"$ac_dest" : 'X\(//\)[^/]' \| \
6350 X"$ac_dest" : 'X\(//\)$' \| \
6351 X"$ac_dest" : 'X\(/\)' \| \
6352 . : '\(.\)' 2>/dev/null ||
6354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6356 /^X\(\/\/\)$/{ s//\1/; q; }
6357 /^X\(\/\).*/{ s//\1/; q; }
6359 { if $as_mkdir_p; then
6360 mkdir
-p "$ac_dest_dir"
6362 as_dir
="$ac_dest_dir"
6364 while test ! -d "$as_dir"; do
6365 as_dirs
="$as_dir $as_dirs"
6366 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6367 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6368 X"$as_dir" : 'X\(//\)[^/]' \| \
6369 X"$as_dir" : 'X\(//\)$' \| \
6370 X"$as_dir" : 'X\(/\)' \| \
6371 . : '\(.\)' 2>/dev/null ||
6373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6375 /^X\(\/\/\)$/{ s//\1/; q; }
6376 /^X\(\/\).*/{ s//\1/; q; }
6379 test ! -n "$as_dirs" || mkdir
$as_dirs
6380 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
6381 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
6382 { (exit 1); exit 1; }; }; }
6386 if test "$ac_dest_dir" != .
; then
6387 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
6388 # A "../" for each directory in $ac_dir_suffix.
6389 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6391 ac_dir_suffix
= ac_top_builddir
=
6395 .
) # No --srcdir option. We are building in place.
6397 if test -z "$ac_top_builddir"; then
6400 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6402 [\\/]* | ?
:[\\/]* ) # Absolute path.
6403 ac_srcdir
=$srcdir$ac_dir_suffix;
6404 ac_top_srcdir
=$srcdir ;;
6406 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6407 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6410 # Do not use `cd foo && pwd` to compute absolute paths, because
6411 # the directories may not exist.
6413 .
) ac_abs_builddir
="$ac_dest_dir";;
6415 case "$ac_dest_dir" in
6416 .
) ac_abs_builddir
=`pwd`;;
6417 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
6418 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
6421 case $ac_abs_builddir in
6422 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6424 case ${ac_top_builddir}.
in
6425 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6426 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6427 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6430 case $ac_abs_builddir in
6431 .
) ac_abs_srcdir
=$ac_srcdir;;
6434 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6435 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6436 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6439 case $ac_abs_builddir in
6440 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6442 case $ac_top_srcdir in
6443 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6444 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6445 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6451 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
6452 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
6455 # Try a symlink, then a hard link, then a copy.
6456 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
6457 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
6458 cp -p $srcdir/$ac_source $ac_dest ||
6459 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
6460 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
6461 { (exit 1); exit 1; }; }
6464 cat >>$CONFIG_STATUS <<\_ACEOF
6467 # CONFIG_COMMANDS section.
6469 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6470 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6471 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6472 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6473 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6474 X"$ac_dest" : 'X\(//\)[^/]' \| \
6475 X"$ac_dest" : 'X\(//\)$' \| \
6476 X"$ac_dest" : 'X\(/\)' \| \
6477 . : '\(.\)' 2>/dev/null ||
6479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6481 /^X\(\/\/\)$/{ s//\1/; q; }
6482 /^X\(\/\).*/{ s//\1/; q; }
6484 { if $as_mkdir_p; then
6489 while test ! -d "$as_dir"; do
6490 as_dirs
="$as_dir $as_dirs"
6491 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6493 X"$as_dir" : 'X\(//\)[^/]' \| \
6494 X"$as_dir" : 'X\(//\)$' \| \
6495 X"$as_dir" : 'X\(/\)' \| \
6496 . : '\(.\)' 2>/dev/null ||
6498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6500 /^X\(\/\/\)$/{ s//\1/; q; }
6501 /^X\(\/\).*/{ s//\1/; q; }
6504 test ! -n "$as_dirs" || mkdir
$as_dirs
6505 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6506 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6507 { (exit 1); exit 1; }; }; }
6511 if test "$ac_dir" != .
; then
6512 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6513 # A "../" for each directory in $ac_dir_suffix.
6514 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6516 ac_dir_suffix
= ac_top_builddir
=
6520 .
) # No --srcdir option. We are building in place.
6522 if test -z "$ac_top_builddir"; then
6525 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6527 [\\/]* | ?
:[\\/]* ) # Absolute path.
6528 ac_srcdir
=$srcdir$ac_dir_suffix;
6529 ac_top_srcdir
=$srcdir ;;
6531 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6532 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6535 # Do not use `cd foo && pwd` to compute absolute paths, because
6536 # the directories may not exist.
6538 .
) ac_abs_builddir
="$ac_dir";;
6541 .
) ac_abs_builddir
=`pwd`;;
6542 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6543 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6546 case $ac_abs_builddir in
6547 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6549 case ${ac_top_builddir}.
in
6550 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6551 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6552 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6555 case $ac_abs_builddir in
6556 .
) ac_abs_srcdir
=$ac_srcdir;;
6559 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6560 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6561 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6564 case $ac_abs_builddir in
6565 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6567 case $ac_top_srcdir in
6568 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6569 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6570 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6575 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6576 echo "$as_me: executing $ac_dest commands" >&6;}
6578 Makefile
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
6579 rm -f Makesim1.tmp Makesim2.tmp Makefile
6580 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
6581 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
6582 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
6583 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
6584 <Makefile.sim
>Makefile
6585 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
6587 stamp-h
) echo > stamp-h
;;
6592 cat >>$CONFIG_STATUS <<\_ACEOF
6594 { (exit 0); exit 0; }
6596 chmod +x
$CONFIG_STATUS
6597 ac_clean_files
=$ac_clean_files_save
6600 # configure is writing to config.log, and then calls config.status.
6601 # config.status does its own redirection, appending to config.log.
6602 # Unfortunately, on DOS this fails, as config.log is still kept open
6603 # by configure, so config.status won't be able to write to it; its
6604 # output is simply discarded. So we exec the FD to /dev/null,
6605 # effectively closing config.log, so it can be properly (re)opened and
6606 # appended to by config.status. When coming back to configure, we
6607 # need to make the FD available again.
6608 if test "$no_create" != yes; then
6610 ac_config_status_args
=
6611 test "$silent" = yes &&
6612 ac_config_status_args
="$ac_config_status_args --quiet"
6614 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6616 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6617 # would make configure fail if this is the last instruction.
6618 $ac_cs_success ||
{ (exit 1); exit 1; }