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
="table.h"
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
='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 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP AR_FOR_BUILD AR_FLAGS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD RANLIB_FOR_BUILD LIBIBERTY_LIB AR RANLIB ac_ct_RANLIB LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 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-build-warnings Enable build-time compiler warnings
if gcc is used
855 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
857 Some influential environment variables
:
858 CC C compiler
command
859 CFLAGS C compiler flags
860 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
861 nonstandard directory
<lib dir
>
862 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
863 headers
in a nonstandard directory
<include dir
>
866 Use these variables to override the choices made by
`configure' or to help
867 it to find libraries and programs with nonstandard names/locations.
872 if test "$ac_init_help" = "recursive"; then
873 # If there are subdirs, report their specific --help.
875 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
876 test -d $ac_dir || continue
879 if test "$ac_dir" != .; then
880 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
881 # A "../" for each directory in $ac_dir_suffix.
882 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
884 ac_dir_suffix= ac_top_builddir=
888 .) # No --srcdir option. We are building in place.
890 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
895 [\\/]* | ?:[\\/]* ) # Absolute path.
896 ac_srcdir=$srcdir$ac_dir_suffix;
897 ac_top_srcdir=$srcdir ;;
899 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900 ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 # Do not use `cd foo
&& pwd` to compute absolute paths, because
904 # the directories may not exist.
906 .) ac_abs_builddir="$ac_dir";;
909 .) ac_abs_builddir=`pwd`;;
910 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
911 *) ac_abs_builddir=`pwd`/"$ac_dir";;
914 case $ac_abs_builddir in
915 .) ac_abs_top_builddir=${ac_top_builddir}.;;
917 case ${ac_top_builddir}. in
918 .) ac_abs_top_builddir=$ac_abs_builddir;;
919 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
920 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923 case $ac_abs_builddir in
924 .) ac_abs_srcdir=$ac_srcdir;;
927 .) ac_abs_srcdir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
929 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932 case $ac_abs_builddir in
933 .) ac_abs_top_srcdir=$ac_top_srcdir;;
935 case $ac_top_srcdir in
936 .) ac_abs_top_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
938 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
943 # Check for guested configure; otherwise get Cygnus style configure.
944 if test -f $ac_srcdir/configure.gnu; then
946 $SHELL $ac_srcdir/configure.gnu --help=recursive
947 elif test -f $ac_srcdir/configure; then
949 $SHELL $ac_srcdir/configure --help=recursive
950 elif test -f $ac_srcdir/configure.ac ||
951 test -f $ac_srcdir/configure.in; then
955 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
961 test -n "$ac_init_help" && exit 0
962 if $ac_init_version; then
965 Copyright (C) 2003 Free Software Foundation, Inc.
966 This configure script is free software; the Free Software Foundation
967 gives unlimited permission to copy, distribute and modify it.
973 This file contains any messages produced by compilers while
974 running configure, to aid debugging if configure makes a mistake.
976 It was created by $as_me, which was
977 generated by GNU Autoconf 2.59. Invocation command line was
988 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
989 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
990 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
991 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
992 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
994 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
995 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
997 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
999 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1000 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1001 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1003 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1011 test -z "$as_dir" && as_dir=.
1012 echo "PATH: $as_dir"
1027 # Keep a trace of the command line.
1028 # Strip out --no-create and --no-recursion so they do not pile up.
1029 # Strip out --silent because we don't want to record it for future runs.
1030 # Also quote any args containing shell meta-characters.
1031 # Make two passes to allow for proper duplicate-argument suppression.
1036 ac_must_keep_next=false
1042 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1044 | -silent | --silent | --silen | --sile | --sil)
1046 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1050 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1052 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053 if test $ac_must_keep_next = true; then
1054 ac_must_keep_next=false # Got value, back to normal.
1057 *=* | --config-cache | -C | -disable-* | --disable-* \
1058 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060 | -with-* | --with-* | -without-* | --without-* | --x)
1061 case "$ac_configure_args0 " in
1062 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1065 -* ) ac_must_keep_next=true ;;
1068 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069 # Get rid of the leading space.
1075 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1076 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1078 # When interrupted or exit'd, cleanup temporary files, and complete
1079 # config.log. We remove comments because anyway the quotes in there
1080 # would cause problems or look ugly.
1081 # WARNING: Be sure not to use single quotes in there, as some shells,
1082 # such as our DU 5.0 friend, will then `close
' the trap.
1083 trap 'exit_status
=$?
1084 # Save into config.log some information that might help in debugging.
1089 ## ---------------- ##
1090 ## Cache variables. ##
1091 ## ---------------- ##
1094 # The following way of writing the cache mishandles newlines in values,
1097 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1100 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1105 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1112 ## ----------------- ##
1113 ## Output variables. ##
1114 ## ----------------- ##
1117 for ac_var
in $ac_subst_vars
1119 eval ac_val
=$
`echo $ac_var`
1120 echo "$ac_var='"'"'$ac_val'"'"'"
1124 if test -n "$ac_subst_files"; then
1131 for ac_var
in $ac_subst_files
1133 eval ac_val
=$
`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -s confdefs.h
; then
1146 sed "/^$/d" confdefs.h |
sort
1149 test "$ac_signal" != 0 &&
1150 echo "$as_me: caught signal $ac_signal"
1151 echo "$as_me: exit $exit_status"
1153 rm -f core
*.core
&&
1154 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1157 for ac_signal in 1 2 13 15; do
1158 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1162 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1163 rm -rf conftest* confdefs.h
1164 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1167 # Predefined preprocessor variables.
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_NAME "$PACKAGE_NAME"
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_STRING "$PACKAGE_STRING"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1194 # Let the site file select an alternate cache file if it wants to.
1195 # Prefer explicitly selected file to automatically selected ones.
1196 if test -z "$CONFIG_SITE"; then
1197 if test "x$prefix" != xNONE; then
1198 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1200 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1203 for ac_site_file in $CONFIG_SITE; do
1204 if test -r "$ac_site_file"; then
1205 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1206 echo "$as_me: loading site script $ac_site_file" >&6;}
1207 sed 's
/^
/|
/' "$ac_site_file" >&5
1212 if test -r "$cache_file"; then
1213 # Some versions of bash will fail to source /dev/null (special
1214 # files actually), so we avoid doing that.
1215 if test -f "$cache_file"; then
1216 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1217 echo "$as_me: loading cache $cache_file" >&6;}
1219 [\\/]* | ?:[\\/]* ) . $cache_file;;
1220 *) . ./$cache_file;;
1224 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1225 echo "$as_me: creating cache $cache_file" >&6;}
1229 # Check that the precious variables saved in the cache have kept the same
1231 ac_cache_corrupted=false
1232 for ac_var in `(set) 2>&1 |
1233 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1234 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1235 eval ac_new_set=\$ac_env_${ac_var}_set
1236 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1237 eval ac_new_val="\$ac_env_${ac_var}_value"
1238 case $ac_old_set,$ac_new_set in
1240 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1242 ac_cache_corrupted=: ;;
1244 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1246 ac_cache_corrupted=: ;;
1249 if test "x$ac_old_val" != "x$ac_new_val"; then
1250 # differences in whitespace do not lead to failure.
1251 ac_old_val_w=`echo x $ac_old_val`
1252 ac_new_val_w=`echo x $ac_new_val`
1253 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 ac_cache_corrupted=:
1258 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1259 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1260 eval $ac_var=\$ac_old_val
1262 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1263 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1264 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1265 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1268 # Pass precious variables to config.status.
1269 if test "$ac_new_set" = set; then
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1273 *) ac_arg=$ac_var=$ac_new_val ;;
1275 case " $ac_configure_args " in
1276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1277 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1281 if $ac_cache_corrupted; then
1282 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1283 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1284 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1285 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1286 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1287 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1320 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321 if test -f $ac_dir/install-sh; then
1323 ac_install_sh="$ac_aux_dir/install-sh -c"
1325 elif test -f $ac_dir/install.sh; then
1327 ac_install_sh="$ac_aux_dir/install.sh -c"
1329 elif test -f $ac_dir/shtool; then
1331 ac_install_sh="$ac_aux_dir/shtool install -c"
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338 { (exit 1); exit 1; }; }
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 # Find a good install program. We prefer a C program (faster),
1345 # so one script is as good as another. But avoid the broken or
1346 # incompatible versions:
1347 # SysV /etc/install, /usr/sbin/install
1348 # SunOS /usr/etc/install
1349 # IRIX /sbin/install
1351 # AmigaOS /C/install, which installs bootblocks on floppy discs
1352 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1355 # OS/2's system install, which has a completely different semantic
1356 # ./install, which can be erroneously created by make from ./install.sh.
1357 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1358 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1359 if test -z "$INSTALL"; then
1360 if test "${ac_cv_path_install+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367 test -z "$as_dir" && as_dir=.
1368 # Account for people who put trailing slashes in PATH elements.
1370 ./ | .// | /cC/* | \
1371 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1372 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1375 # OSF1 and SCO ODT 3.0 have their own names for install.
1376 # Don't use installbsd from OSF since it installs stuff as root
1378 for ac_prog in ginstall scoinst install; do
1379 for ac_exec_ext in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1381 if test $ac_prog = install &&
1382 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1383 # AIX install. It has an incompatible calling convention.
1385 elif test $ac_prog = install &&
1386 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1387 # program-specific install script used by HP pwplus--don't use.
1390 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1402 if test "${ac_cv_path_install+set}" = set; then
1403 INSTALL=$ac_cv_path_install
1405 # As a last resort, use the slow shell script. We don't cache a
1406 # path for INSTALL within a source directory, because that will
1407 # break other packages using the cache if that directory is
1408 # removed, or if the path is relative.
1409 INSTALL=$ac_install_sh
1412 echo "$as_me:$LINENO: result: $INSTALL" >&5
1413 echo "${ECHO_T}$INSTALL" >&6
1415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416 # It thinks the first close brace ends the variable substitution.
1417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1424 ac_cpp='$CPP $CPPFLAGS'
1425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1428 if test -n "$ac_tool_prefix"; then
1429 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1430 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433 if test "${ac_cv_prog_CC+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 if test -n "$CC"; then
1437 ac_cv_prog_CC="$CC" # Let the user override the test.
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443 test -z "$as_dir" && as_dir=.
1444 for ac_exec_ext in '' $ac_executable_extensions; do
1445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1446 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1456 if test -n "$CC"; then
1457 echo "$as_me:$LINENO: result: $CC" >&5
1458 echo "${ECHO_T}$CC" >&6
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1465 if test -z "$ac_cv_prog_CC"; then
1467 # Extract the first word of "gcc", so it can be a program name with args.
1468 set dummy gcc; ac_word=$2
1469 echo "$as_me:$LINENO: checking for $ac_word" >&5
1470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1471 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1472 echo $ECHO_N "(cached) $ECHO_C" >&6
1474 if test -n "$ac_ct_CC"; then
1475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1481 test -z "$as_dir" && as_dir=.
1482 for ac_exec_ext in '' $ac_executable_extensions; do
1483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1484 ac_cv_prog_ac_ct_CC="gcc"
1485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1494 if test -n "$ac_ct_CC"; then
1495 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1496 echo "${ECHO_T}$ac_ct_CC" >&6
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1507 if test -z "$CC"; then
1508 if test -n "$ac_tool_prefix"; then
1509 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1510 set dummy ${ac_tool_prefix}cc; ac_word=$2
1511 echo "$as_me:$LINENO: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_CC+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if test -n "$CC"; then
1517 ac_cv_prog_CC="$CC" # Let the user override the test.
1519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 test -z "$as_dir" && as_dir=.
1524 for ac_exec_ext in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1526 ac_cv_prog_CC="${ac_tool_prefix}cc"
1527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1536 if test -n "$CC"; then
1537 echo "$as_me:$LINENO: result: $CC" >&5
1538 echo "${ECHO_T}$CC" >&6
1540 echo "$as_me:$LINENO: result: no" >&5
1541 echo "${ECHO_T}no" >&6
1545 if test -z "$ac_cv_prog_CC"; then
1547 # Extract the first word of "cc", so it can be a program name with args.
1548 set dummy cc; ac_word=$2
1549 echo "$as_me:$LINENO: checking for $ac_word" >&5
1550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 if test -n "$ac_ct_CC"; then
1555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir=.
1562 for ac_exec_ext in '' $ac_executable_extensions; do
1563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564 ac_cv_prog_ac_ct_CC="cc"
1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1574 if test -n "$ac_ct_CC"; then
1575 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1576 echo "${ECHO_T}$ac_ct_CC" >&6
1578 echo "$as_me:$LINENO: result: no" >&5
1579 echo "${ECHO_T}no" >&6
1588 if test -z "$CC"; then
1589 # Extract the first word of "cc", so it can be a program name with args.
1590 set dummy cc; ac_word=$2
1591 echo "$as_me:$LINENO: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$CC"; then
1597 ac_cv_prog_CC="$CC" # Let the user override the test.
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 for ac_exec_ext in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1608 ac_prog_rejected=yes
1612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618 if test $ac_prog_rejected = yes; then
1619 # We found a bogon in the path, so make sure we never use it.
1620 set dummy $ac_cv_prog_CC
1622 if test $# != 0; then
1623 # We chose a different compiler from the bogus one.
1624 # However, it has the same basename, so the bogon will be chosen
1625 # first if we set CC to just the basename; use the full file name.
1627 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1633 if test -n "$CC"; then
1634 echo "$as_me:$LINENO: result: $CC" >&5
1635 echo "${ECHO_T}$CC" >&6
1637 echo "$as_me:$LINENO: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1642 if test -z "$CC"; then
1643 if test -n "$ac_tool_prefix"; then
1646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1648 echo "$as_me:$LINENO: checking for $ac_word" >&5
1649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1650 if test "${ac_cv_prog_CC+set}" = set; then
1651 echo $ECHO_N "(cached) $ECHO_C" >&6
1653 if test -n "$CC"; then
1654 ac_cv_prog_CC="$CC" # Let the user override the test.
1656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 test -z "$as_dir" && as_dir=.
1661 for ac_exec_ext in '' $ac_executable_extensions; do
1662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1663 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 if test -n "$CC"; then
1674 echo "$as_me:$LINENO: result: $CC" >&5
1675 echo "${ECHO_T}$CC" >&6
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1681 test -n "$CC" && break
1684 if test -z "$CC"; then
1688 # Extract the first word of "$ac_prog", so it can be a program name with args.
1689 set dummy $ac_prog; ac_word=$2
1690 echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$ac_ct_CC"; then
1696 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1705 ac_cv_prog_ac_ct_CC="$ac_prog"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1715 if test -n "$ac_ct_CC"; then
1716 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1717 echo "${ECHO_T}$ac_ct_CC" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1723 test -n "$ac_ct_CC" && break
1732 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1733 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1734 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1735 See \
`config.log' for more details." >&5
1736 echo "$as_me: error: no acceptable C compiler found in \$PATH
1737 See \`config.log
' for more details." >&2;}
1738 { (exit 1); exit 1; }; }; }
1740 # Provide some information about the compiler.
1741 echo "$as_me:$LINENO:" \
1742 "checking for C compiler version" >&5
1743 ac_compiler=`set X $ac_compile; echo $2`
1744 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1745 (eval $ac_compiler --version </dev/null >&5) 2>&5
1747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1748 (exit $ac_status); }
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1750 (eval $ac_compiler -v </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1755 (eval $ac_compiler -V </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1760 cat >conftest.$ac_ext <<_ACEOF
1763 cat confdefs.h >>conftest.$ac_ext
1764 cat >>conftest.$ac_ext <<_ACEOF
1765 /* end confdefs.h. */
1775 ac_clean_files_save=$ac_clean_files
1776 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1777 # Try to create an executable without -o first, disregard a.out.
1778 # It will help us diagnose broken compilers, and finding out an intuition
1780 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1781 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1782 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1783 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1784 (eval $ac_link_default) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }; then
1788 # Find the output, starting from the most likely. This scheme is
1789 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1792 # Be careful to initialize this variable, since it used to be cached.
1793 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1795 # b.out is created by i960 compilers.
1796 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1798 test -f "$ac_file" ||
continue
1800 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1803 # This is the source file.
1806 # We found the default executable, but exeext='' is most
1810 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1811 # FIXME: I believe we export ac_cv_exeext for Libtool,
1812 # but it would be cool to find out if it's true. Does anybody
1813 # maintain Libtool? --akim.
1821 echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.
$ac_ext >&5
1824 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1825 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1826 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1827 See \`config.log' for more details." >&5
1828 echo "$as_me: error: C compiler cannot create executables
1829 See \`config.log' for more details." >&2;}
1830 { (exit 77); exit 77; }; }; }
1833 ac_exeext
=$ac_cv_exeext
1834 echo "$as_me:$LINENO: result: $ac_file" >&5
1835 echo "${ECHO_T}$ac_file" >&6
1837 # Check the compiler produces executables we can run. If not, either
1838 # the compiler is broken, or we cross compile.
1839 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1840 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1842 # If not cross compiling, check that we can run a simple program.
1843 if test "$cross_compiling" != yes; then
1844 if { ac_try
='./$ac_file'
1845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1849 (exit $ac_status); }; }; then
1852 if test "$cross_compiling" = maybe
; then
1855 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1856 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1857 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1858 If you meant to cross compile, use \`--host'.
1859 See \`config.log' for more details." >&5
1860 echo "$as_me: error: cannot run C compiled programs.
1861 If you meant to cross compile, use \`--host'.
1862 See \`config.log' for more details." >&2;}
1863 { (exit 1); exit 1; }; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1870 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1871 ac_clean_files
=$ac_clean_files_save
1872 # Check the compiler produces executables we can run. If not, either
1873 # the compiler is broken, or we cross compile.
1874 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1875 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1876 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1877 echo "${ECHO_T}$cross_compiling" >&6
1879 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1880 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1882 (eval $ac_link) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1887 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1888 # work properly (i.e., refer to `conftest.exe'), while it won't with
1890 for ac_file
in conftest.exe conftest conftest.
*; do
1891 test -f "$ac_file" ||
continue
1893 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1894 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1901 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1902 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1903 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1904 See \`config.log' for more details." >&5
1905 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1906 See \`config.log' for more details." >&2;}
1907 { (exit 1); exit 1; }; }; }
1910 rm -f conftest
$ac_cv_exeext
1911 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1912 echo "${ECHO_T}$ac_cv_exeext" >&6
1914 rm -f conftest.
$ac_ext
1915 EXEEXT
=$ac_cv_exeext
1917 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1918 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1919 if test "${ac_cv_objext+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 cat >conftest.
$ac_ext <<_ACEOF
1925 cat confdefs.h
>>conftest.
$ac_ext
1926 cat >>conftest.
$ac_ext <<_ACEOF
1927 /* end confdefs.h. */
1937 rm -f conftest.o conftest.obj
1938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1939 (eval $ac_compile) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; then
1943 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1945 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1946 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.
$ac_ext >&5
1954 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1955 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1956 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1959 See \`config.log' for more details." >&2;}
1960 { (exit 1); exit 1; }; }; }
1963 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1965 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1966 echo "${ECHO_T}$ac_cv_objext" >&6
1967 OBJEXT
=$ac_cv_objext
1969 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1970 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1971 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 cat >conftest.
$ac_ext <<_ACEOF
1977 cat confdefs.h
>>conftest.
$ac_ext
1978 cat >>conftest.
$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1992 rm -f conftest.
$ac_objext
1993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1994 (eval $ac_compile) 2>conftest.er1
1996 grep -v '^ *+' conftest.er1
>conftest.err
1998 cat conftest.err
>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); } &&
2001 { ac_try
='test -z "$ac_c_werror_flag"
2002 || test ! -s conftest.err'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; } &&
2008 { ac_try
='test -s conftest.$ac_objext'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; }; then
2016 echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.
$ac_ext >&5
2021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2025 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2026 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2027 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2028 ac_test_CFLAGS
=${CFLAGS+set}
2029 ac_save_CFLAGS
=$CFLAGS
2031 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2032 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2033 if test "${ac_cv_prog_cc_g+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
$ac_ext <<_ACEOF
2039 cat confdefs.h
>>conftest.
$ac_ext
2040 cat >>conftest.
$ac_ext <<_ACEOF
2041 /* end confdefs.h. */
2051 rm -f conftest.
$ac_objext
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>conftest.er1
2055 grep -v '^ *+' conftest.er1
>conftest.err
2057 cat conftest.err
>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); } &&
2060 { ac_try
='test -z "$ac_c_werror_flag"
2061 || test ! -s conftest.err'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; } &&
2067 { ac_try
='test -s conftest.$ac_objext'
2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; }; then
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2082 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2083 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2084 if test "$ac_test_CFLAGS" = set; then
2085 CFLAGS
=$ac_save_CFLAGS
2086 elif test $ac_cv_prog_cc_g = yes; then
2087 if test "$GCC" = yes; then
2093 if test "$GCC" = yes; then
2099 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2100 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2101 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 ac_cv_prog_cc_stdc
=no
2106 cat >conftest.
$ac_ext <<_ACEOF
2109 cat confdefs.h
>>conftest.
$ac_ext
2110 cat >>conftest.
$ac_ext <<_ACEOF
2111 /* end confdefs.h. */
2114 #include <sys/types.h>
2115 #include <sys/stat.h>
2116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2117 struct buf { int x; };
2118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2119 static char *e (p, i)
2125 static char *f (char * (*g) (char **, int), char **p, ...)
2130 s = g (p, va_arg (v,int));
2135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2136 function prototypes and stuff, but not '\xHH' hex character constants.
2137 These don't provoke an error unfortunately, instead are silently treated
2138 as 'x'. The following induces an error, until -std1 is added to get
2139 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2140 array size at least. It's necessary to write '\x00'==0 to get something
2141 that's true only with -std1. */
2142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2144 int test (int i, double x);
2145 struct s1 {int (*f) (int a);};
2146 struct s2 {int (*f) (double a);};
2147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2153 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2158 # Don't try gcc -ansi; that turns off useful extensions and
2159 # breaks some systems' header files.
2160 # AIX -qlanglvl=ansi
2161 # Ultrix and OSF/1 -std1
2162 # HP-UX 10.20 and later -Ae
2163 # HP-UX older versions -Aa -D_HPUX_SOURCE
2164 # SVR4 -Xc -D__EXTENSIONS__
2165 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2167 CC
="$ac_save_CC $ac_arg"
2168 rm -f conftest.
$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1
>conftest.err
2174 cat conftest.err
>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try
='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2190 ac_cv_prog_cc_stdc
=$ac_arg
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext
2199 rm -f conftest.
$ac_ext conftest.
$ac_objext
2204 case "x$ac_cv_prog_cc_stdc" in
2206 echo "$as_me:$LINENO: result: none needed" >&5
2207 echo "${ECHO_T}none needed" >&6 ;;
2209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2210 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2211 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2214 # Some people use a C++ compiler to compile C. Since we use `exit',
2215 # in C++ we need to declare it. In case someone uses the same compiler
2216 # for both compiling C and C++ we need to have the C++ compiler decide
2217 # the declaration of exit, since it's the most demanding environment.
2218 cat >conftest.
$ac_ext <<_ACEOF
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>conftest.er1
2227 grep -v '^ *+' conftest.er1
>conftest.err
2229 cat conftest.err
>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } &&
2232 { ac_try
='test -z "$ac_c_werror_flag"
2233 || test ! -s conftest.err'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; } &&
2239 { ac_try
='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2245 for ac_declaration
in \
2247 'extern "C" void std::exit (int) throw (); using std::exit;' \
2248 'extern "C" void std::exit (int); using std::exit;' \
2249 'extern "C" void exit (int) throw ();' \
2250 'extern "C" void exit (int);' \
2253 cat >conftest.
$ac_ext <<_ACEOF
2256 cat confdefs.h
>>conftest.
$ac_ext
2257 cat >>conftest.
$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2269 rm -f conftest.
$ac_objext
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>conftest.er1
2273 grep -v '^ *+' conftest.er1
>conftest.err
2275 cat conftest.err
>&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); } &&
2278 { ac_try
='test -z "$ac_c_werror_flag"
2279 || test ! -s conftest.err'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; } &&
2285 { ac_try
='test -s conftest.$ac_objext'
2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; }; then
2293 echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.
$ac_ext >&5
2298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2299 cat >conftest.
$ac_ext <<_ACEOF
2302 cat confdefs.h
>>conftest.
$ac_ext
2303 cat >>conftest.
$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2314 rm -f conftest.
$ac_objext
2315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 (eval $ac_compile) 2>conftest.er1
2318 grep -v '^ *+' conftest.er1
>conftest.err
2320 cat conftest.err
>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); } &&
2323 { ac_try
='test -z "$ac_c_werror_flag"
2324 || test ! -s conftest.err'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; } &&
2330 { ac_try
='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.
$ac_ext >&5
2342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2345 if test -n "$ac_declaration"; then
2346 echo '#ifdef __cplusplus' >>confdefs.h
2347 echo $ac_declaration >>confdefs.h
2348 echo '#endif' >>confdefs.h
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 ac_cpp
='$CPP $CPPFLAGS'
2359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2366 # NOTE: Don't add -Wall or -Wunused, they both include
2367 # -Wunused-parameter which reports bogus warnings.
2368 # NOTE: If you add to this list, remember to update
2369 # gdb/doc/gdbint.texinfo.
2370 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
2371 -Wformat -Wparentheses -Wpointer-arith"
2372 # GCC supports -Wuninitialized only with -O or -On, n != 0.
2373 if test x
${CFLAGS+set} = xset
; then
2377 build_warnings
="${build_warnings} -Wuninitialized"
2381 build_warnings
="${build_warnings} -Wuninitialized"
2383 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
2384 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
2385 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
2386 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
2387 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
2388 # -Woverloaded-virtual -Winline -Werror"
2389 # Check whether --enable-build-warnings or --disable-build-warnings was given.
2390 if test "${enable_build_warnings+set}" = set; then
2391 enableval
="$enable_build_warnings"
2392 case "${enableval}" in
2394 no
) build_warnings
="-w";;
2395 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2396 build_warnings
="${build_warnings} ${t}";;
2397 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2398 build_warnings
="${t} ${build_warnings}";;
2399 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
2401 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
2402 echo "Setting compiler warning flags = $build_warnings" 6>&1
2404 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
2405 if test "${enable_sim_build_warnings+set}" = set; then
2406 enableval
="$enable_sim_build_warnings"
2407 case "${enableval}" in
2409 no
) build_warnings
="-w";;
2410 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2411 build_warnings
="${build_warnings} ${t}";;
2412 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2413 build_warnings
="${t} ${build_warnings}";;
2414 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
2416 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
2417 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
2421 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
2423 echo "$as_me:$LINENO: checking compiler warning flags" >&5
2424 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
2425 # Separate out the -Werror flag as some files just cannot be
2426 # compiled with it enabled.
2427 for w
in ${build_warnings}; do
2429 -Werr*) WERROR_CFLAGS
=-Werror ;;
2430 *) # Check that GCC accepts it
2431 saved_CFLAGS
="$CFLAGS"
2433 cat >conftest.
$ac_ext <<_ACEOF
2436 cat confdefs.h
>>conftest.
$ac_ext
2437 cat >>conftest.
$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2448 rm -f conftest.
$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1
>conftest.err
2454 cat conftest.err
>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try
='test -z "$ac_c_werror_flag"
2458 || test ! -s conftest.err'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; } &&
2464 { ac_try
='test -s conftest.$ac_objext'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; }; then
2470 WARN_CFLAGS
="${WARN_CFLAGS} $w"
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2477 CFLAGS
="$saved_CFLAGS"
2480 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
2481 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
2485 # Put a plausible default for CC_FOR_BUILD in Makefile.
2486 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
2487 AR_FOR_BUILD
='$(AR)'
2488 AR_FLAGS_FOR_BUILD
='$(AR_FLAGS)'
2489 CC_FOR_BUILD
='$(CC)'
2490 CFLAGS_FOR_BUILD
='$(CFLAGS)'
2491 RANLIB_FOR_BUILD
='$(RANLIB)'
2492 LIBIBERTY_LIB
=..
/..
/libiberty
/libiberty.a
2494 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2495 AR_FLAGS_FOR_BUILD
=${AR_FLAGS_FOR_BUILD-rc}
2496 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2497 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-"-g"}
2498 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2503 # Make sure we can run config.sub.
2504 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2505 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2506 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2507 { (exit 1); exit 1; }; }
2509 echo "$as_me:$LINENO: checking build system type" >&5
2510 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2511 if test "${ac_cv_build+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 ac_cv_build_alias
=$build_alias
2515 test -z "$ac_cv_build_alias" &&
2516 ac_cv_build_alias
=`$ac_config_guess`
2517 test -z "$ac_cv_build_alias" &&
2518 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2519 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2520 { (exit 1); exit 1; }; }
2521 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2522 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2523 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2524 { (exit 1); exit 1; }; }
2527 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2528 echo "${ECHO_T}$ac_cv_build" >&6
2530 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2531 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2532 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2535 echo "$as_me:$LINENO: checking host system type" >&5
2536 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2537 if test "${ac_cv_host+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 ac_cv_host_alias
=$host_alias
2541 test -z "$ac_cv_host_alias" &&
2542 ac_cv_host_alias
=$ac_cv_build_alias
2543 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2544 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2545 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2546 { (exit 1); exit 1; }; }
2549 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2550 echo "${ECHO_T}$ac_cv_host" >&6
2552 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2553 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2554 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2557 echo "$as_me:$LINENO: checking target system type" >&5
2558 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2559 if test "${ac_cv_target+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 ac_cv_target_alias
=$target_alias
2563 test "x$ac_cv_target_alias" = "x" &&
2564 ac_cv_target_alias
=$ac_cv_host_alias
2565 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2566 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2567 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2568 { (exit 1); exit 1; }; }
2571 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2572 echo "${ECHO_T}$ac_cv_target" >&6
2573 target
=$ac_cv_target
2574 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2575 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2576 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2579 # The aliases save the names the user supplied, while $host etc.
2580 # will get canonicalized.
2581 test -n "$target_alias" &&
2582 test "$program_prefix$program_suffix$program_transform_name" = \
2584 program_prefix
=${target_alias}-
2585 test "$program_prefix" != NONE
&&
2586 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2587 # Use a double $ so make ignores it.
2588 test "$program_suffix" != NONE
&&
2589 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2590 # Double any \ or $. echo might interpret backslashes.
2591 # By default was `s,x,x', remove it if useless.
2592 cat <<\_ACEOF
>conftest.
sed
2593 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2595 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2599 .
${srcdir}/..
/..
/bfd
/configure.
host
2601 ac_config_headers
="$ac_config_headers config.h:config.in"
2605 ac_cpp
='$CPP $CPPFLAGS'
2606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2609 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2610 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2611 # On Suns, sometimes $CPP names a directory.
2612 if test -n "$CPP" && test -d "$CPP"; then
2615 if test -z "$CPP"; then
2616 if test "${ac_cv_prog_CPP+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 # Double quotes because CPP needs to be expanded
2620 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2623 for ac_c_preproc_warn_flag
in '' yes
2625 # Use a header file that comes with gcc, so configuring glibc
2626 # with a fresh cross-compiler works.
2627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2628 # <limits.h> exists even on freestanding compilers.
2629 # On the NeXT, cc -E runs the code through the compiler's parser,
2630 # not just through cpp. "Syntax error" is here to catch this case.
2631 cat >conftest.
$ac_ext <<_ACEOF
2634 cat confdefs.h
>>conftest.
$ac_ext
2635 cat >>conftest.
$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2638 # include <limits.h>
2640 # include <assert.h>
2644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2647 grep -v '^ *+' conftest.er1
>conftest.err
2649 cat conftest.err
>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); } >/dev
/null
; then
2652 if test -s conftest.err
; then
2653 ac_cpp_err
=$ac_c_preproc_warn_flag
2654 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2661 if test -z "$ac_cpp_err"; then
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2667 # Broken: fails on valid input.
2670 rm -f conftest.err conftest.
$ac_ext
2672 # OK, works on sane cases. Now check whether non-existent headers
2673 # can be detected and how.
2674 cat >conftest.
$ac_ext <<_ACEOF
2677 cat confdefs.h
>>conftest.
$ac_ext
2678 cat >>conftest.
$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2680 #include <ac_nonexistent.h>
2682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } >/dev
/null
; then
2690 if test -s conftest.err
; then
2691 ac_cpp_err
=$ac_c_preproc_warn_flag
2692 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2699 if test -z "$ac_cpp_err"; then
2700 # Broken: success on invalid input.
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.
$ac_ext >&5
2706 # Passes both tests.
2710 rm -f conftest.err conftest.
$ac_ext
2713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2714 rm -f conftest.err conftest.
$ac_ext
2715 if $ac_preproc_ok; then
2727 echo "$as_me:$LINENO: result: $CPP" >&5
2728 echo "${ECHO_T}$CPP" >&6
2730 for ac_c_preproc_warn_flag
in '' yes
2732 # Use a header file that comes with gcc, so configuring glibc
2733 # with a fresh cross-compiler works.
2734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2735 # <limits.h> exists even on freestanding compilers.
2736 # On the NeXT, cc -E runs the code through the compiler's parser,
2737 # not just through cpp. "Syntax error" is here to catch this case.
2738 cat >conftest.
$ac_ext <<_ACEOF
2741 cat confdefs.h
>>conftest.
$ac_ext
2742 cat >>conftest.
$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2745 # include <limits.h>
2747 # include <assert.h>
2751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2752 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2754 grep -v '^ *+' conftest.er1
>conftest.err
2756 cat conftest.err
>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } >/dev
/null
; then
2759 if test -s conftest.err
; then
2760 ac_cpp_err
=$ac_c_preproc_warn_flag
2761 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2768 if test -z "$ac_cpp_err"; then
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.
$ac_ext >&5
2774 # Broken: fails on valid input.
2777 rm -f conftest.err conftest.
$ac_ext
2779 # OK, works on sane cases. Now check whether non-existent headers
2780 # can be detected and how.
2781 cat >conftest.
$ac_ext <<_ACEOF
2784 cat confdefs.h
>>conftest.
$ac_ext
2785 cat >>conftest.
$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2787 #include <ac_nonexistent.h>
2789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2792 grep -v '^ *+' conftest.er1
>conftest.err
2794 cat conftest.err
>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } >/dev
/null
; then
2797 if test -s conftest.err
; then
2798 ac_cpp_err
=$ac_c_preproc_warn_flag
2799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2806 if test -z "$ac_cpp_err"; then
2807 # Broken: success on invalid input.
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.
$ac_ext >&5
2813 # Passes both tests.
2817 rm -f conftest.err conftest.
$ac_ext
2820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2821 rm -f conftest.err conftest.
$ac_ext
2822 if $ac_preproc_ok; then
2825 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }; }
2835 ac_cpp
='$CPP $CPPFLAGS'
2836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2841 echo "$as_me:$LINENO: checking for egrep" >&5
2842 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2843 if test "${ac_cv_prog_egrep+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2847 then ac_cv_prog_egrep
='grep -E'
2848 else ac_cv_prog_egrep
='egrep'
2851 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2852 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2853 EGREP
=$ac_cv_prog_egrep
2856 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2857 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2858 if test "${ac_cv_header_stdc+set}" = set; then
2859 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 cat >conftest.
$ac_ext <<_ACEOF
2864 cat confdefs.h
>>conftest.
$ac_ext
2865 cat >>conftest.
$ac_ext <<_ACEOF
2866 /* end confdefs.h. */
2880 rm -f conftest.
$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1
>conftest.err
2886 cat conftest.err
>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try
='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try
='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 ac_cv_header_stdc
=yes
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.
$ac_ext >&5
2907 ac_cv_header_stdc
=no
2909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2911 if test $ac_cv_header_stdc = yes; then
2912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2913 cat >conftest.
$ac_ext <<_ACEOF
2916 cat confdefs.h
>>conftest.
$ac_ext
2917 cat >>conftest.
$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2923 $EGREP "memchr" >/dev
/null
2>&1; then
2926 ac_cv_header_stdc
=no
2932 if test $ac_cv_header_stdc = yes; then
2933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2934 cat >conftest.
$ac_ext <<_ACEOF
2937 cat confdefs.h
>>conftest.
$ac_ext
2938 cat >>conftest.
$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2944 $EGREP "free" >/dev
/null
2>&1; then
2947 ac_cv_header_stdc
=no
2953 if test $ac_cv_header_stdc = yes; then
2954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2955 if test "$cross_compiling" = yes; then
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2965 #if ((' ' & 0x0FF) == 0x020)
2966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2969 # define ISLOWER(c) \
2970 (('a' <= (c) && (c) <= 'i') \
2971 || ('j' <= (c) && (c) <= 'r') \
2972 || ('s' <= (c) && (c) <= 'z'))
2973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2981 for (i = 0; i < 256; i++)
2982 if (XOR (islower (i), ISLOWER (i))
2983 || toupper (i) != TOUPPER (i))
2988 rm -f conftest
$ac_exeext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2990 (eval $ac_link) 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; }; then
3001 echo "$as_me: program exited with status $ac_status" >&5
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.
$ac_ext >&5
3006 ac_cv_header_stdc
=no
3008 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3012 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3013 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3014 if test $ac_cv_header_stdc = yes; then
3016 cat >>confdefs.h
<<\_ACEOF
3017 #define STDC_HEADERS 1
3022 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3032 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3033 inttypes.h stdint.h unistd.h
3035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3036 echo "$as_me:$LINENO: checking for $ac_header" >&5
3037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 cat >conftest.
$ac_ext <<_ACEOF
3044 cat confdefs.h
>>conftest.
$ac_ext
3045 cat >>conftest.
$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3047 $ac_includes_default
3049 #include <$ac_header>
3051 rm -f conftest.
$ac_objext
3052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053 (eval $ac_compile) 2>conftest.er1
3055 grep -v '^ *+' conftest.er1
>conftest.err
3057 cat conftest.err
>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } &&
3060 { ac_try
='test -z "$ac_c_werror_flag"
3061 || test ! -s conftest.err'
3062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; } &&
3067 { ac_try
='test -s conftest.$ac_objext'
3068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); }; }; then
3073 eval "$as_ac_Header=yes"
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.
$ac_ext >&5
3078 eval "$as_ac_Header=no"
3080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3085 cat >>confdefs.h
<<_ACEOF
3086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3100 for ac_header
in stdlib.h string.h
strings.h sys
/stat.h sys
/types.h unistd.h
3102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3104 echo "$as_me:$LINENO: checking for $ac_header" >&5
3105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3112 # Is the header compilable?
3113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3115 cat >conftest.
$ac_ext <<_ACEOF
3118 cat confdefs.h
>>conftest.
$ac_ext
3119 cat >>conftest.
$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3121 $ac_includes_default
3122 #include <$ac_header>
3124 rm -f conftest.
$ac_objext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3126 (eval $ac_compile) 2>conftest.er1
3128 grep -v '^ *+' conftest.er1
>conftest.err
3130 cat conftest.err
>&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); } &&
3133 { ac_try
='test -z "$ac_c_werror_flag"
3134 || test ! -s conftest.err'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; } &&
3140 { ac_try
='test -s conftest.$ac_objext'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then
3146 ac_header_compiler
=yes
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.
$ac_ext >&5
3151 ac_header_compiler
=no
3153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3154 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3155 echo "${ECHO_T}$ac_header_compiler" >&6
3157 # Is the header present?
3158 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3160 cat >conftest.
$ac_ext <<_ACEOF
3163 cat confdefs.h
>>conftest.
$ac_ext
3164 cat >>conftest.
$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3166 #include <$ac_header>
3168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3171 grep -v '^ *+' conftest.er1
>conftest.err
3173 cat conftest.err
>&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } >/dev
/null
; then
3176 if test -s conftest.err
; then
3177 ac_cpp_err
=$ac_c_preproc_warn_flag
3178 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3185 if test -z "$ac_cpp_err"; then
3186 ac_header_preproc
=yes
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3191 ac_header_preproc
=no
3193 rm -f conftest.err conftest.
$ac_ext
3194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3195 echo "${ECHO_T}$ac_header_preproc" >&6
3197 # So? What about this header?
3198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3203 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3204 ac_header_preproc
=yes
3207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3208 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3210 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3211 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3212 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3213 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3214 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3217 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3218 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3221 ## ------------------------------------------ ##
3222 ## Report this to the AC_PACKAGE_NAME lists. ##
3223 ## ------------------------------------------ ##
3226 sed "s/^/$as_me: WARNING: /" >&2
3229 echo "$as_me:$LINENO: checking for $ac_header" >&5
3230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 eval "$as_ac_Header=\$ac_header_preproc"
3236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3241 cat >>confdefs.h
<<_ACEOF
3242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3255 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3256 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3257 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3258 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 cat >conftest.
$ac_ext <<_ACEOF
3265 cat confdefs.h
>>conftest.
$ac_ext
3266 cat >>conftest.
$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3268 #include <sys/types.h>
3280 rm -f conftest.
$ac_objext
3281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3282 (eval $ac_compile) 2>conftest.er1
3284 grep -v '^ *+' conftest.er1
>conftest.err
3286 cat conftest.err
>&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } &&
3289 { ac_try
='test -z "$ac_c_werror_flag"
3290 || test ! -s conftest.err'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; } &&
3296 { ac_try
='test -s conftest.$ac_objext'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; }; then
3302 eval "$as_ac_Header=yes"
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.
$ac_ext >&5
3307 eval "$as_ac_Header=no"
3309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3314 cat >>confdefs.h
<<_ACEOF
3315 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3318 ac_header_dirent
=$ac_hdr; break
3322 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3323 if test $ac_header_dirent = dirent.h
; then
3324 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3325 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3326 if test "${ac_cv_search_opendir+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 ac_func_search_save_LIBS
=$LIBS
3330 ac_cv_search_opendir
=no
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3338 /* Override any gcc2 internal prototype to avoid an error. */
3342 /* We use char because int might match the return type of a gcc2
3343 builtin and then its argument prototype would still apply. */
3353 rm -f conftest.
$ac_objext conftest
$ac_exeext
3354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3355 (eval $ac_link) 2>conftest.er1
3357 grep -v '^ *+' conftest.er1
>conftest.err
3359 cat conftest.err
>&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } &&
3362 { ac_try
='test -z "$ac_c_werror_flag"
3363 || test ! -s conftest.err'
3364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }; } &&
3369 { ac_try
='test -s conftest$ac_exeext'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; }; then
3375 ac_cv_search_opendir
="none required"
3377 echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.
$ac_ext >&5
3381 rm -f conftest.err conftest.
$ac_objext \
3382 conftest
$ac_exeext conftest.
$ac_ext
3383 if test "$ac_cv_search_opendir" = no
; then
3384 for ac_lib
in dir
; do
3385 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3386 cat >conftest.
$ac_ext <<_ACEOF
3389 cat confdefs.h
>>conftest.
$ac_ext
3390 cat >>conftest.
$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3393 /* Override any gcc2 internal prototype to avoid an error. */
3397 /* We use char because int might match the return type of a gcc2
3398 builtin and then its argument prototype would still apply. */
3408 rm -f conftest.
$ac_objext conftest
$ac_exeext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3410 (eval $ac_link) 2>conftest.er1
3412 grep -v '^ *+' conftest.er1
>conftest.err
3414 cat conftest.err
>&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } &&
3417 { ac_try
='test -z "$ac_c_werror_flag"
3418 || test ! -s conftest.err'
3419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); }; } &&
3424 { ac_try
='test -s conftest$ac_exeext'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; }; then
3430 ac_cv_search_opendir
="-l$ac_lib"
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3437 rm -f conftest.err conftest.
$ac_objext \
3438 conftest
$ac_exeext conftest.
$ac_ext
3441 LIBS
=$ac_func_search_save_LIBS
3443 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3444 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3445 if test "$ac_cv_search_opendir" != no
; then
3446 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3451 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3452 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3453 if test "${ac_cv_search_opendir+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 ac_func_search_save_LIBS
=$LIBS
3457 ac_cv_search_opendir
=no
3458 cat >conftest.
$ac_ext <<_ACEOF
3461 cat confdefs.h
>>conftest.
$ac_ext
3462 cat >>conftest.
$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3465 /* Override any gcc2 internal prototype to avoid an error. */
3469 /* We use char because int might match the return type of a gcc2
3470 builtin and then its argument prototype would still apply. */
3480 rm -f conftest.
$ac_objext conftest
$ac_exeext
3481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3482 (eval $ac_link) 2>conftest.er1
3484 grep -v '^ *+' conftest.er1
>conftest.err
3486 cat conftest.err
>&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } &&
3489 { ac_try
='test -z "$ac_c_werror_flag"
3490 || test ! -s conftest.err'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; } &&
3496 { ac_try
='test -s conftest$ac_exeext'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; }; then
3502 ac_cv_search_opendir
="none required"
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3508 rm -f conftest.err conftest.
$ac_objext \
3509 conftest
$ac_exeext conftest.
$ac_ext
3510 if test "$ac_cv_search_opendir" = no
; then
3512 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3513 cat >conftest.
$ac_ext <<_ACEOF
3516 cat confdefs.h
>>conftest.
$ac_ext
3517 cat >>conftest.
$ac_ext <<_ACEOF
3518 /* end confdefs.h. */
3520 /* Override any gcc2 internal prototype to avoid an error. */
3524 /* We use char because int might match the return type of a gcc2
3525 builtin and then its argument prototype would still apply. */
3535 rm -f conftest.
$ac_objext conftest
$ac_exeext
3536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3537 (eval $ac_link) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } &&
3544 { ac_try
='test -z "$ac_c_werror_flag"
3545 || test ! -s conftest.err'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; } &&
3551 { ac_try
='test -s conftest$ac_exeext'
3552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; }; then
3557 ac_cv_search_opendir
="-l$ac_lib"
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3564 rm -f conftest.err conftest.
$ac_objext \
3565 conftest
$ac_exeext conftest.
$ac_ext
3568 LIBS
=$ac_func_search_save_LIBS
3570 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3571 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3572 if test "$ac_cv_search_opendir" != no
; then
3573 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3589 if test -n "$ac_tool_prefix"; then
3590 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3591 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3592 echo "$as_me:$LINENO: checking for $ac_word" >&5
3593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3594 if test "${ac_cv_prog_RANLIB+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 if test -n "$RANLIB"; then
3598 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir
=.
3605 for ac_exec_ext
in '' $ac_executable_extensions; do
3606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 RANLIB
=$ac_cv_prog_RANLIB
3617 if test -n "$RANLIB"; then
3618 echo "$as_me:$LINENO: result: $RANLIB" >&5
3619 echo "${ECHO_T}$RANLIB" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3626 if test -z "$ac_cv_prog_RANLIB"; then
3627 ac_ct_RANLIB
=$RANLIB
3628 # Extract the first word of "ranlib", so it can be a program name with args.
3629 set dummy ranlib
; ac_word
=$2
3630 echo "$as_me:$LINENO: checking for $ac_word" >&5
3631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3632 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 if test -n "$ac_ct_RANLIB"; then
3636 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3642 test -z "$as_dir" && as_dir
=.
3643 for ac_exec_ext
in '' $ac_executable_extensions; do
3644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3645 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3655 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3656 if test -n "$ac_ct_RANLIB"; then
3657 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3658 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3664 RANLIB
=$ac_ct_RANLIB
3666 RANLIB
="$ac_cv_prog_RANLIB"
3670 ac_config_files
="$ac_config_files Makefile"
3671 ac_config_commands
="$ac_config_commands default"
3672 cat >confcache
<<\_ACEOF
3673 # This file is a shell script that caches the results of configure
3674 # tests run on this system so they can be shared between configure
3675 # scripts and configure runs, see configure's option --config-cache.
3676 # It is not useful on other systems. If it contains results you don't
3677 # want to keep, you may remove or edit it.
3679 # config.status only pays attention to the cache file if you give it
3680 # the --recheck option to rerun configure.
3682 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3683 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3688 # The following way of writing the cache mishandles newlines in values,
3689 # but we know of no workaround that is simple, portable, and efficient.
3690 # So, don't put newlines in cache variables' values.
3691 # Ultrix sh set writes to stderr and can't be redirected directly,
3692 # and sets the high bit in the cache file unless we assign to the vars.
3695 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3697 # `set' does not quote correctly, so add quotes (double-quote
3698 # substitution turns \\\\ into \\, and sed turns \\ into \).
3701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3704 # `set' quotes correctly as required by POSIX, so do not add quotes.
3706 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3713 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3715 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3717 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3718 if test -w $cache_file; then
3719 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3720 cat confcache
>$cache_file
3722 echo "not updating unwritable cache $cache_file"
3727 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3728 # Let make expand exec_prefix.
3729 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3731 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3732 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3733 # trailing colons and then remove the whole line if VPATH becomes empty
3734 # (actually we leave an empty line to preserve line numbers).
3735 if test "x$srcdir" = x.
; then
3736 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3737 s/:*\$(srcdir):*/:/;
3738 s/:*\${srcdir}:*/:/;
3740 s/^\([^=]*=[ ]*\):*/\1/;
3746 DEFS
=-DHAVE_CONFIG_H
3750 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3751 # 1. Remove the extension, and $U if already installed.
3752 ac_i
=`echo "$ac_i" |
3753 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3755 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
3756 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
3760 LTLIBOBJS
=$ac_ltlibobjs
3764 : ${CONFIG_STATUS=./config.status}
3765 ac_clean_files_save
=$ac_clean_files
3766 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3767 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3768 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3769 cat >$CONFIG_STATUS <<_ACEOF
3771 # Generated by $as_me.
3772 # Run this file to recreate the current configuration.
3773 # Compiler output produced by configure, useful for debugging
3774 # configure, is in config.log if it exists.
3779 SHELL=\${CONFIG_SHELL-$SHELL}
3782 cat >>$CONFIG_STATUS <<\_ACEOF
3783 ## --------------------- ##
3784 ## M4sh Initialization. ##
3785 ## --------------------- ##
3787 # Be Bourne compatible
3788 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3791 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3792 # is contrary to our usage. Disable this feature.
3793 alias -g '${1+"$@"}'='"$@"'
3794 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3797 DUALCASE
=1; export DUALCASE
# for MKS sh
3799 # Support unset when possible.
3800 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
3807 # Work around bugs in pre-3.0 UWIN ksh.
3808 $as_unset ENV MAIL MAILPATH
3815 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3816 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3817 LC_TELEPHONE LC_TIME
3819 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3820 eval $as_var=C
; export $as_var
3826 # Required to use basename.
3827 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3833 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
3834 as_basename
=basename
3840 # Name of the executable.
3841 as_me
=`$as_basename "$0" ||
3842 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3843 X"$0" : 'X\(//\)$' \| \
3844 X"$0" : 'X\(/\)$' \| \
3845 . : '\(.\)' 2>/dev/null ||
3847 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3848 /^X\/\(\/\/\)$/{ s//\1/; q; }
3849 /^X\/\(\/\).*/{ s//\1/; q; }
3853 # PATH needs CR, and LINENO needs CR and PATH.
3854 # Avoid depending upon Character Ranges.
3855 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3856 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3857 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3858 as_cr_digits
='0123456789'
3859 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3861 # The user is always right.
3862 if test "${PATH_SEPARATOR+set}" != set; then
3863 echo "#! /bin/sh" >conf$$.sh
3864 echo "exit 0" >>conf$$.sh
3866 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3877 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3878 test "x$as_lineno_1" != "x$as_lineno_2" &&
3879 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
3880 # Find who we are. Look in the path if we contain no path at all
3883 *[\\/]* ) as_myself
=$0 ;;
3884 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir
=.
3889 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3894 # We did not find ourselves, most probably we were run as `sh COMMAND'
3895 # in which case we are not to be found in the path.
3896 if test "x$as_myself" = x
; then
3899 if test ! -f "$as_myself"; then
3900 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3901 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3902 { (exit 1); exit 1; }; }
3904 case $CONFIG_SHELL in
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
3910 test -z "$as_dir" && as_dir
=.
3911 for as_base
in sh bash ksh sh5
; do
3914 if ("$as_dir/$as_base" -c '
3917 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3918 test "x$as_lineno_1" != "x$as_lineno_2" &&
3919 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
3920 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
3921 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
3922 CONFIG_SHELL
=$as_dir/$as_base
3924 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3932 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3933 # uniformly replaced by the line number. The first 'sed' inserts a
3934 # line-number line before each line; the second 'sed' does the real
3935 # work. The second script uses 'N' to pair each line-number line
3936 # with the numbered line, and appends trailing '-' during
3937 # substitution so that $LINENO is not a special case at line end.
3938 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3939 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3940 sed '=' <$as_myself |
3945 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3948 s,^['$as_cr_digits']*\n,,
3950 chmod +x
$as_me.lineno ||
3951 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3952 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3953 { (exit 1); exit 1; }; }
3955 # Don't try to exec as it changes $[0], causing all sort of problems
3956 # (the dirname of $[0] is not the place where we might find the
3957 # original and so on. Autoconf is especially sensible to this).
3959 # Exit status is that of the last command.
3964 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3965 *c
*,-n*) ECHO_N
= ECHO_C
='
3967 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3968 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3971 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3977 rm -f conf$$ conf$$.exe conf$$.
file
3979 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3980 # We could just check for DJGPP; but this test a) works b) is more generic
3981 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3982 if test -f conf$$.exe
; then
3983 # Don't use ln at all; we don't have any links
3988 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3993 rm -f conf$$ conf$$.exe conf$$.
file
3995 if mkdir
-p .
2>/dev
/null
; then
3998 test -d .
/-p && rmdir .
/-p
4002 as_executable_p
="test -f"
4004 # Sed expression to map a string onto a valid CPP name.
4005 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4007 # Sed expression to map a string onto a valid variable name.
4008 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4012 # We need space, tab and new line, in precisely that order.
4022 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4023 # report actual input values of CONFIG_FILES etc. instead of their
4024 # values after options handling. Logging --version etc. is OK.
4028 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4029 ## Running $as_me. ##
4034 This file was extended by $as_me, which was
4035 generated by GNU Autoconf 2.59. Invocation command line was
4037 CONFIG_FILES = $CONFIG_FILES
4038 CONFIG_HEADERS = $CONFIG_HEADERS
4039 CONFIG_LINKS = $CONFIG_LINKS
4040 CONFIG_COMMANDS = $CONFIG_COMMANDS
4044 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4048 # Files that config.status was made for.
4049 if test -n "$ac_config_files"; then
4050 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4053 if test -n "$ac_config_headers"; then
4054 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4057 if test -n "$ac_config_links"; then
4058 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4061 if test -n "$ac_config_commands"; then
4062 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4065 cat >>$CONFIG_STATUS <<\_ACEOF
4068 \`$as_me' instantiates files from templates according to the
4069 current configuration.
4071 Usage: $0 [OPTIONS] [FILE]...
4073 -h, --help print this help, then exit
4074 -V, --version print version number, then exit
4075 -q, --quiet do not print progress messages
4076 -d, --debug don't remove temporary files
4077 --recheck update $as_me by reconfiguring in the same conditions
4078 --file=FILE[:TEMPLATE]
4079 instantiate the configuration file FILE
4080 --header=FILE[:TEMPLATE]
4081 instantiate the configuration header FILE
4083 Configuration files:
4086 Configuration headers:
4089 Configuration commands:
4092 Report bugs to <bug-autoconf@gnu.org>."
4095 cat >>$CONFIG_STATUS <<_ACEOF
4098 configured by $0, generated by GNU Autoconf 2.59,
4099 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4101 Copyright (C) 2003 Free Software Foundation, Inc.
4102 This config.status script is free software; the Free Software Foundation
4103 gives unlimited permission to copy, distribute and modify it."
4108 cat >>$CONFIG_STATUS <<\_ACEOF
4109 # If no file are specified by the user, then we need to provide default
4110 # value. By we need to know if files were specified by the user.
4116 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4117 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4125 *) # This is not an option, so the user has probably given explicit
4128 ac_need_defaults
=false
;;
4132 # Handling of the options.
4134 cat >>$CONFIG_STATUS <<\_ACEOF
4135 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4137 --version |
--vers* |
-V )
4138 echo "$ac_cs_version"; exit 0 ;;
4140 # Conflict between --help and --header
4141 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4142 Try \`$0 --help' for more information." >&5
4143 echo "$as_me: error: ambiguous option: $1
4144 Try \`$0 --help' for more information." >&2;}
4145 { (exit 1); exit 1; }; };;
4146 --help |
--hel |
-h )
4147 echo "$ac_cs_usage"; exit 0 ;;
4148 --debug |
--d* |
-d )
4150 --file |
--fil |
--fi |
--f )
4152 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4153 ac_need_defaults
=false
;;
4154 --header |
--heade |
--head |
--hea )
4156 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4157 ac_need_defaults
=false
;;
4158 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4159 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4163 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4164 Try \`$0 --help' for more information." >&5
4165 echo "$as_me: error: unrecognized option: $1
4166 Try \`$0 --help' for more information." >&2;}
4167 { (exit 1); exit 1; }; } ;;
4169 *) ac_config_targets
="$ac_config_targets $1" ;;
4175 ac_configure_extra_args
=
4177 if $ac_cs_silent; then
4179 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4183 cat >>$CONFIG_STATUS <<_ACEOF
4184 if \$ac_cs_recheck; then
4185 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4186 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4195 cat >>$CONFIG_STATUS <<\_ACEOF
4196 for ac_config_target
in $ac_config_targets
4198 case "$ac_config_target" in
4199 # Handling of arguments.
4200 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4201 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4202 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
4203 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4204 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4205 { (exit 1); exit 1; }; };;
4209 # If the user did not use the arguments to specify the items to instantiate,
4210 # then the envvar interface is used. Set only those that are not.
4211 # We use the long form for the default assignment because of an extremely
4212 # bizarre bug on SunOS 4.1.3.
4213 if $ac_need_defaults; then
4214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4216 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4219 # Have a temporary directory for convenience. Make it in the build tree
4220 # simply because there is no reason to put it here, and in addition,
4221 # creating and moving files from /tmp can sometimes cause problems.
4222 # Create a temporary directory, and hook for its removal unless debugging.
4225 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4226 trap '{ (exit 1); exit 1; }' 1 2 13 15
4229 # Create a (secure) tmp directory for tmp files.
4232 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4233 test -n "$tmp" && test -d "$tmp"
4236 tmp
=.
/confstat$$
-$RANDOM
4237 (umask 077 && mkdir
$tmp)
4240 echo "$me: cannot create a temporary directory in ." >&2
4241 { (exit 1); exit 1; }
4246 cat >>$CONFIG_STATUS <<_ACEOF
4249 # CONFIG_FILES section.
4252 # No need to generate the scripts if there are no CONFIG_FILES.
4253 # This happens for instance when ./config.status config.h
4254 if test -n "\$CONFIG_FILES"; then
4255 # Protect against being on the right side of a sed subst in config.status.
4256 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4257 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4258 s,@sim_environment@,$sim_environment,;t t
4259 s,@sim_alignment@,$sim_alignment,;t t
4260 s,@sim_assert@,$sim_assert,;t t
4261 s,@sim_bitsize@,$sim_bitsize,;t t
4262 s,@sim_endian@,$sim_endian,;t t
4263 s,@sim_hostendian@,$sim_hostendian,;t t
4264 s,@sim_float@,$sim_float,;t t
4265 s,@sim_scache@,$sim_scache,;t t
4266 s,@sim_default_model@,$sim_default_model,;t t
4267 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
4268 s,@sim_hw_objs@,$sim_hw_objs,;t t
4269 s,@sim_hw@,$sim_hw,;t t
4270 s,@sim_inline@,$sim_inline,;t t
4271 s,@sim_packages@,$sim_packages,;t t
4272 s,@sim_regparm@,$sim_regparm,;t t
4273 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
4274 s,@sim_smp@,$sim_smp,;t t
4275 s,@sim_stdcall@,$sim_stdcall,;t t
4276 s,@sim_xor_endian@,$sim_xor_endian,;t t
4277 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
4278 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
4279 s,@SHELL@,$SHELL,;t t
4280 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4281 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4282 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4283 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4284 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4285 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4286 s,@exec_prefix@,$exec_prefix,;t t
4287 s,@prefix@,$prefix,;t t
4288 s,@program_transform_name@,$program_transform_name,;t t
4289 s,@bindir@,$bindir,;t t
4290 s,@sbindir@,$sbindir,;t t
4291 s,@libexecdir@,$libexecdir,;t t
4292 s,@datadir@,$datadir,;t t
4293 s,@sysconfdir@,$sysconfdir,;t t
4294 s,@sharedstatedir@,$sharedstatedir,;t t
4295 s,@localstatedir@,$localstatedir,;t t
4296 s,@libdir@,$libdir,;t t
4297 s,@includedir@,$includedir,;t t
4298 s,@oldincludedir@,$oldincludedir,;t t
4299 s,@infodir@,$infodir,;t t
4300 s,@mandir@,$mandir,;t t
4301 s,@build_alias@,$build_alias,;t t
4302 s,@host_alias@,$host_alias,;t t
4303 s,@target_alias@,$target_alias,;t t
4305 s,@ECHO_C@,$ECHO_C,;t t
4306 s,@ECHO_N@,$ECHO_N,;t t
4307 s,@ECHO_T@,$ECHO_T,;t t
4309 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4310 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4311 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4313 s,@CFLAGS@,$CFLAGS,;t t
4314 s,@LDFLAGS@,$LDFLAGS,;t t
4315 s,@CPPFLAGS@,$CPPFLAGS,;t t
4316 s,@ac_ct_CC@,$ac_ct_CC,;t t
4317 s,@EXEEXT@,$EXEEXT,;t t
4318 s,@OBJEXT@,$OBJEXT,;t t
4319 s,@build@,$build,;t t
4320 s,@build_cpu@,$build_cpu,;t t
4321 s,@build_vendor@,$build_vendor,;t t
4322 s,@build_os@,$build_os,;t t
4324 s,@host_cpu@,$host_cpu,;t t
4325 s,@host_vendor@,$host_vendor,;t t
4326 s,@host_os@,$host_os,;t t
4327 s,@target@,$target,;t t
4328 s,@target_cpu@,$target_cpu,;t t
4329 s,@target_vendor@,$target_vendor,;t t
4330 s,@target_os@,$target_os,;t t
4332 s,@EGREP@,$EGREP,;t t
4333 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
4334 s,@AR_FLAGS_FOR_BUILD@,$AR_FLAGS_FOR_BUILD,;t t
4335 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4336 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4337 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
4338 s,@LIBIBERTY_LIB@,$LIBIBERTY_LIB,;t t
4340 s,@RANLIB@,$RANLIB,;t t
4341 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4342 s,@LIBOBJS@,$LIBOBJS,;t t
4343 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4348 cat >>$CONFIG_STATUS <<\_ACEOF
4349 # Split the substitutions into bite-sized pieces for seds with
4350 # small command number limits, like on Digital OSF/1 and HP-UX.
4352 ac_sed_frag
=1 # Number of current file.
4353 ac_beg
=1 # First line for current file.
4354 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4357 while $ac_more_lines; do
4358 if test $ac_beg -gt 1; then
4359 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4361 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4363 if test ! -s $tmp/subs.frag
; then
4366 # The purpose of the label and of the branching condition is to
4367 # speed up the sed processing (if there are no `@' at all, there
4368 # is no need to browse any of the substitutions).
4369 # These are the two extra sed commands mentioned above.
4371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4372 if test -z "$ac_sed_cmds"; then
4373 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4375 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4377 ac_sed_frag
=`expr $ac_sed_frag + 1`
4379 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4382 if test -z "$ac_sed_cmds"; then
4385 fi # test -n "$CONFIG_FILES"
4388 cat >>$CONFIG_STATUS <<\_ACEOF
4389 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4390 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4392 - |
*:- |
*:-:* ) # input from stdin
4394 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4395 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4396 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4397 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4398 * ) ac_file_in
=$ac_file.
in ;;
4401 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4402 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4403 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4404 X"$ac_file" : 'X\(//\)[^/]' \| \
4405 X"$ac_file" : 'X\(//\)$' \| \
4406 X"$ac_file" : 'X\(/\)' \| \
4407 . : '\(.\)' 2>/dev/null ||
4409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4410 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4411 /^X\(\/\/\)$/{ s//\1/; q; }
4412 /^X\(\/\).*/{ s//\1/; q; }
4414 { if $as_mkdir_p; then
4419 while test ! -d "$as_dir"; do
4420 as_dirs
="$as_dir $as_dirs"
4421 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4422 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4423 X"$as_dir" : 'X\(//\)[^/]' \| \
4424 X"$as_dir" : 'X\(//\)$' \| \
4425 X"$as_dir" : 'X\(/\)' \| \
4426 . : '\(.\)' 2>/dev/null ||
4428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4429 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4430 /^X\(\/\/\)$/{ s//\1/; q; }
4431 /^X\(\/\).*/{ s//\1/; q; }
4434 test ! -n "$as_dirs" || mkdir
$as_dirs
4435 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4436 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4437 { (exit 1); exit 1; }; }; }
4441 if test "$ac_dir" != .
; then
4442 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4443 # A "../" for each directory in $ac_dir_suffix.
4444 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4446 ac_dir_suffix
= ac_top_builddir
=
4450 .
) # No --srcdir option. We are building in place.
4452 if test -z "$ac_top_builddir"; then
4455 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4457 [\\/]* | ?
:[\\/]* ) # Absolute path.
4458 ac_srcdir
=$srcdir$ac_dir_suffix;
4459 ac_top_srcdir
=$srcdir ;;
4461 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4462 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4465 # Do not use `cd foo && pwd` to compute absolute paths, because
4466 # the directories may not exist.
4468 .
) ac_abs_builddir
="$ac_dir";;
4471 .
) ac_abs_builddir
=`pwd`;;
4472 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4473 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4476 case $ac_abs_builddir in
4477 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4479 case ${ac_top_builddir}.
in
4480 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4481 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4482 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4485 case $ac_abs_builddir in
4486 .
) ac_abs_srcdir
=$ac_srcdir;;
4489 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4490 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4491 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4494 case $ac_abs_builddir in
4495 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4497 case $ac_top_srcdir in
4498 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4499 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4500 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4506 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4507 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4510 if test x
"$ac_file" != x-
; then
4511 { echo "$as_me:$LINENO: creating $ac_file" >&5
4512 echo "$as_me: creating $ac_file" >&6;}
4515 # Let's still pretend it is `configure' which instantiates (i.e., don't
4516 # use $as_me), people would be surprised to read:
4517 # /* config.h. Generated by config.status. */
4518 if test x
"$ac_file" = x-
; then
4521 configure_input
="$ac_file. "
4523 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4524 sed 's,.*/,,'` by configure."
4526 # First look for the input files in the build tree, otherwise in the
4528 ac_file_inputs
=`IFS=:
4529 for f in $ac_file_in; do
4531 -) echo $tmp/stdin ;;
4533 # Absolute (can't be DOS-style, as IFS=:)
4534 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4535 echo "$as_me: error: cannot find input file: $f" >&2;}
4536 { (exit 1); exit 1; }; }
4539 if test -f "$f"; then
4542 elif test -f "$srcdir/$f"; then
4547 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4548 echo "$as_me: error: cannot find input file: $f" >&2;}
4549 { (exit 1); exit 1; }; }
4552 done` ||
{ (exit 1); exit 1; }
4554 cat >>$CONFIG_STATUS <<_ACEOF
4558 cat >>$CONFIG_STATUS <<\_ACEOF
4560 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4561 s
,@configure_input@
,$configure_input,;t t
4562 s
,@srcdir@
,$ac_srcdir,;t t
4563 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4564 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4565 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4566 s
,@builddir@
,$ac_builddir,;t t
4567 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4568 s
,@top_builddir@
,$ac_top_builddir,;t t
4569 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4570 s
,@INSTALL@
,$ac_INSTALL,;t t
4571 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4573 if test x"$ac_file" != x-; then
4574 mv $tmp/out $ac_file
4582 cat >>$CONFIG_STATUS <<\_ACEOF
4585 # CONFIG_HEADER section.
4588 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
4589 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4591 # ac_d sets the value in "#define NAME VALUE" lines.
4592 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4593 ac_dB
='[ ].*$,\1#\2'
4596 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4597 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4598 ac_uB
='$,\1#\2define\3'
4602 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4603 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4605 - |
*:- |
*:-:* ) # input from stdin
4607 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4608 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4609 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4610 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4611 * ) ac_file_in
=$ac_file.
in ;;
4614 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4615 echo "$as_me: creating $ac_file" >&6;}
4617 # First look for the input files in the build tree, otherwise in the
4619 ac_file_inputs
=`IFS=:
4620 for f in $ac_file_in; do
4622 -) echo $tmp/stdin ;;
4624 # Absolute (can't be DOS-style, as IFS=:)
4625 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4626 echo "$as_me: error: cannot find input file: $f" >&2;}
4627 { (exit 1); exit 1; }; }
4628 # Do quote $f, to prevent DOS paths from being IFS'd.
4631 if test -f "$f"; then
4634 elif test -f "$srcdir/$f"; then
4639 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4640 echo "$as_me: error: cannot find input file: $f" >&2;}
4641 { (exit 1); exit 1; }; }
4644 done` ||
{ (exit 1); exit 1; }
4645 # Remove the trailing spaces.
4646 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4650 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4651 # `conftest.undefs', that substitutes the proper values into
4652 # config.h.in to produce config.h. The first handles `#define'
4653 # templates, and the second `#undef' templates.
4654 # And first: Protect against being on the right side of a sed subst in
4655 # config.status. Protect against being in an unquoted here document
4657 rm -f conftest.defines conftest.undefs
4658 # Using a here document instead of a string reduces the quoting nightmare.
4659 # Putting comments in sed scripts is not portable.
4661 # `end' is used to avoid that the second main sed command (meant for
4662 # 0-ary CPP macros) applies to n-ary macro definitions.
4663 # See the Autoconf documentation for `clear'.
4664 cat >confdef2sed.
sed <<\_ACEOF
4669 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4671 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4674 # If some macros were called several times there might be several times
4675 # the same #defines, which is useless. Nevertheless, we may not want to
4676 # sort them, since we want the *last* AC-DEFINE to be honored.
4677 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4678 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4679 rm -f confdef2sed.sed
4681 # This sed command replaces #undef with comments. This is necessary, for
4682 # example, in the case of _POSIX_SOURCE, which is predefined and required
4683 # on some systems where configure will not decide to define it.
4684 cat >>conftest.undefs <<\_ACEOF
4685 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4688 # Break up conftest.defines because some shells have a limit on the size
4689 # of here documents, and old seds have small limits too (100 cmds).
4690 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4691 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4692 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4693 echo ' :' >>$CONFIG_STATUS
4695 while grep . conftest.defines >/dev/null
4697 # Write a limited-size here document to $tmp/defines.sed.
4698 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4699 # Speed up: don't consider the non `#define' lines.
4700 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4701 # Work around the forget-to-reset-the-flag bug.
4702 echo 't clr' >>$CONFIG_STATUS
4703 echo ': clr' >>$CONFIG_STATUS
4704 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
4706 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4710 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
4711 rm -f conftest.defines
4712 mv conftest.
tail conftest.defines
4714 rm -f conftest.defines
4715 echo ' fi # grep' >>$CONFIG_STATUS
4716 echo >>$CONFIG_STATUS
4718 # Break up conftest.undefs because some shells have a limit on the size
4719 # of here documents, and old seds have small limits too (100 cmds).
4720 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4722 while grep . conftest.undefs
>/dev
/null
4724 # Write a limited-size here document to $tmp/undefs.sed.
4725 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4726 # Speed up: don't consider the non
`#undef'
4727 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4728 # Work around the forget-to-reset-the-flag bug.
4729 echo 't clr' >>$CONFIG_STATUS
4730 echo ': clr' >>$CONFIG_STATUS
4731 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4733 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4737 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4738 rm -f conftest.undefs
4739 mv conftest.tail conftest.undefs
4741 rm -f conftest.undefs
4743 cat >>$CONFIG_STATUS <<\_ACEOF
4744 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4745 # use $as_me), people would be surprised to read:
4746 # /* config.h. Generated by config.status. */
4747 if test x
"$ac_file" = x-
; then
4748 echo "/* Generated by configure. */" >$tmp/config.h
4750 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4752 cat $tmp/in >>$tmp/config.h
4754 if test x
"$ac_file" != x-
; then
4755 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
4756 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4757 echo "$as_me: $ac_file is unchanged" >&6;}
4759 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4760 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4761 X"$ac_file" : 'X\(//\)[^/]' \| \
4762 X"$ac_file" : 'X\(//\)$' \| \
4763 X"$ac_file" : 'X\(/\)' \| \
4764 . : '\(.\)' 2>/dev/null ||
4766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4767 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4768 /^X\(\/\/\)$/{ s//\1/; q; }
4769 /^X\(\/\).*/{ s//\1/; q; }
4771 { if $as_mkdir_p; then
4776 while test ! -d "$as_dir"; do
4777 as_dirs
="$as_dir $as_dirs"
4778 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4780 X"$as_dir" : 'X\(//\)[^/]' \| \
4781 X"$as_dir" : 'X\(//\)$' \| \
4782 X"$as_dir" : 'X\(/\)' \| \
4783 . : '\(.\)' 2>/dev/null ||
4785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4786 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4787 /^X\(\/\/\)$/{ s//\1/; q; }
4788 /^X\(\/\).*/{ s//\1/; q; }
4791 test ! -n "$as_dirs" || mkdir
$as_dirs
4792 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4793 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4794 { (exit 1); exit 1; }; }; }
4797 mv $tmp/config.h
$ac_file
4805 cat >>$CONFIG_STATUS <<\_ACEOF
4808 # CONFIG_COMMANDS section.
4810 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
4811 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
4812 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4813 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
4814 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4815 X"$ac_dest" : 'X\(//\)[^/]' \| \
4816 X"$ac_dest" : 'X\(//\)$' \| \
4817 X"$ac_dest" : 'X\(/\)' \| \
4818 . : '\(.\)' 2>/dev/null ||
4820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4822 /^X\(\/\/\)$/{ s//\1/; q; }
4823 /^X\(\/\).*/{ s//\1/; q; }
4825 { if $as_mkdir_p; then
4830 while test ! -d "$as_dir"; do
4831 as_dirs
="$as_dir $as_dirs"
4832 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4834 X"$as_dir" : 'X\(//\)[^/]' \| \
4835 X"$as_dir" : 'X\(//\)$' \| \
4836 X"$as_dir" : 'X\(/\)' \| \
4837 . : '\(.\)' 2>/dev/null ||
4839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4841 /^X\(\/\/\)$/{ s//\1/; q; }
4842 /^X\(\/\).*/{ s//\1/; q; }
4845 test ! -n "$as_dirs" || mkdir
$as_dirs
4846 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4847 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4848 { (exit 1); exit 1; }; }; }
4852 if test "$ac_dir" != .
; then
4853 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4854 # A "../" for each directory in $ac_dir_suffix.
4855 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4857 ac_dir_suffix
= ac_top_builddir
=
4861 .
) # No --srcdir option. We are building in place.
4863 if test -z "$ac_top_builddir"; then
4866 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4868 [\\/]* | ?
:[\\/]* ) # Absolute path.
4869 ac_srcdir
=$srcdir$ac_dir_suffix;
4870 ac_top_srcdir
=$srcdir ;;
4872 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4873 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4876 # Do not use `cd foo && pwd` to compute absolute paths, because
4877 # the directories may not exist.
4879 .
) ac_abs_builddir
="$ac_dir";;
4882 .
) ac_abs_builddir
=`pwd`;;
4883 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4884 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4887 case $ac_abs_builddir in
4888 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4890 case ${ac_top_builddir}.
in
4891 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4892 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4893 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4896 case $ac_abs_builddir in
4897 .
) ac_abs_srcdir
=$ac_srcdir;;
4900 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4901 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4902 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4905 case $ac_abs_builddir in
4906 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4908 case $ac_top_srcdir in
4909 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4910 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4911 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4916 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4917 echo "$as_me: executing $ac_dest commands" >&6;}
4919 default
) case x
$CONFIG_HEADERS in xconfig.h
:config.
in) echo > stamp-h
;; esac ;;
4924 cat >>$CONFIG_STATUS <<\_ACEOF
4926 { (exit 0); exit 0; }
4928 chmod +x
$CONFIG_STATUS
4929 ac_clean_files
=$ac_clean_files_save
4932 # configure is writing to config.log, and then calls config.status.
4933 # config.status does its own redirection, appending to config.log.
4934 # Unfortunately, on DOS this fails, as config.log is still kept open
4935 # by configure, so config.status won't be able to write to it; its
4936 # output is simply discarded. So we exec the FD to /dev/null,
4937 # effectively closing config.log, so it can be properly (re)opened and
4938 # appended to by config.status. When coming back to configure, we
4939 # need to make the FD available again.
4940 if test "$no_create" != yes; then
4942 ac_config_status_args
=
4943 test "$silent" = yes &&
4944 ac_config_status_args
="$ac_config_status_args --quiet"
4946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4949 # would make configure fail if this is the last instruction.
4950 $ac_cs_success ||
{ (exit 1); exit 1; }