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'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
854 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings
if gcc is used
856 Some influential environment variables
:
857 CC C compiler
command
858 CFLAGS C compiler flags
859 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
860 nonstandard directory
<lib dir
>
861 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
862 headers
in a nonstandard directory
<include dir
>
865 Use these variables to override the choices made by
`configure' or to help
866 it to find libraries and programs with nonstandard names/locations.
871 if test "$ac_init_help" = "recursive"; then
872 # If there are subdirs, report their specific --help.
874 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
875 test -d $ac_dir || continue
878 if test "$ac_dir" != .; then
879 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
880 # A "../" for each directory in $ac_dir_suffix.
881 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
883 ac_dir_suffix= ac_top_builddir=
887 .) # No --srcdir option. We are building in place.
889 if test -z "$ac_top_builddir"; then
892 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
894 [\\/]* | ?:[\\/]* ) # Absolute path.
895 ac_srcdir=$srcdir$ac_dir_suffix;
896 ac_top_srcdir=$srcdir ;;
898 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
899 ac_top_srcdir=$ac_top_builddir$srcdir ;;
902 # Do not use `cd foo
&& pwd` to compute absolute paths, because
903 # the directories may not exist.
905 .) ac_abs_builddir="$ac_dir";;
908 .) ac_abs_builddir=`pwd`;;
909 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
910 *) ac_abs_builddir=`pwd`/"$ac_dir";;
913 case $ac_abs_builddir in
914 .) ac_abs_top_builddir=${ac_top_builddir}.;;
916 case ${ac_top_builddir}. in
917 .) ac_abs_top_builddir=$ac_abs_builddir;;
918 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
919 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
922 case $ac_abs_builddir in
923 .) ac_abs_srcdir=$ac_srcdir;;
926 .) ac_abs_srcdir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
928 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
931 case $ac_abs_builddir in
932 .) ac_abs_top_srcdir=$ac_top_srcdir;;
934 case $ac_top_srcdir in
935 .) ac_abs_top_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
937 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
942 # Check for guested configure; otherwise get Cygnus style configure.
943 if test -f $ac_srcdir/configure.gnu; then
945 $SHELL $ac_srcdir/configure.gnu --help=recursive
946 elif test -f $ac_srcdir/configure; then
948 $SHELL $ac_srcdir/configure --help=recursive
949 elif test -f $ac_srcdir/configure.ac ||
950 test -f $ac_srcdir/configure.in; then
954 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960 test -n "$ac_init_help" && exit 0
961 if $ac_init_version; then
964 Copyright (C) 2003 Free Software Foundation, Inc.
965 This configure script is free software; the Free Software Foundation
966 gives unlimited permission to copy, distribute and modify it.
972 This file contains any messages produced by compilers while
973 running configure, to aid debugging if configure makes a mistake.
975 It was created by $as_me, which was
976 generated by GNU Autoconf 2.59. Invocation command line was
987 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
988 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
989 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
990 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
991 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
993 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
994 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
996 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
997 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
998 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
999 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1000 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1001 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1002 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1010 test -z "$as_dir" && as_dir=.
1011 echo "PATH: $as_dir"
1026 # Keep a trace of the command line.
1027 # Strip out --no-create and --no-recursion so they do not pile up.
1028 # Strip out --silent because we don't want to record it for future runs.
1029 # Also quote any args containing shell meta-characters.
1030 # Make two passes to allow for proper duplicate-argument suppression.
1035 ac_must_keep_next=false
1041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1043 | -silent | --silent | --silen | --sile | --sil)
1045 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1046 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1049 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1051 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1052 if test $ac_must_keep_next = true; then
1053 ac_must_keep_next=false # Got value, back to normal.
1056 *=* | --config-cache | -C | -disable-* | --disable-* \
1057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1059 | -with-* | --with-* | -without-* | --without-* | --x)
1060 case "$ac_configure_args0 " in
1061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064 -* ) ac_must_keep_next=true ;;
1067 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1068 # Get rid of the leading space.
1074 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1075 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1077 # When interrupted or exit'd, cleanup temporary files, and complete
1078 # config.log. We remove comments because anyway the quotes in there
1079 # would cause problems or look ugly.
1080 # WARNING: Be sure not to use single quotes in there, as some shells,
1081 # such as our DU 5.0 friend, will then `close
' the trap.
1082 trap 'exit_status
=$?
1083 # Save into config.log some information that might help in debugging.
1088 ## ---------------- ##
1089 ## Cache variables. ##
1090 ## ---------------- ##
1093 # The following way of writing the cache mishandles newlines in values,
1096 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1099 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1104 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111 ## ----------------- ##
1112 ## Output variables. ##
1113 ## ----------------- ##
1116 for ac_var
in $ac_subst_vars
1118 eval ac_val
=$
`echo $ac_var`
1119 echo "$ac_var='"'"'$ac_val'"'"'"
1123 if test -n "$ac_subst_files"; then
1130 for ac_var
in $ac_subst_files
1132 eval ac_val
=$
`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -s confdefs.h
; then
1145 sed "/^$/d" confdefs.h |
sort
1148 test "$ac_signal" != 0 &&
1149 echo "$as_me: caught signal $ac_signal"
1150 echo "$as_me: exit $exit_status"
1152 rm -f core
*.core
&&
1153 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1156 for ac_signal in 1 2 13 15; do
1157 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1161 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1162 rm -rf conftest* confdefs.h
1163 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1166 # Predefined preprocessor variables.
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_NAME "$PACKAGE_NAME"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_STRING "$PACKAGE_STRING"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1193 # Let the site file select an alternate cache file if it wants to.
1194 # Prefer explicitly selected file to automatically selected ones.
1195 if test -z "$CONFIG_SITE"; then
1196 if test "x$prefix" != xNONE; then
1197 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1199 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1202 for ac_site_file in $CONFIG_SITE; do
1203 if test -r "$ac_site_file"; then
1204 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1205 echo "$as_me: loading site script $ac_site_file" >&6;}
1206 sed 's
/^
/|
/' "$ac_site_file" >&5
1211 if test -r "$cache_file"; then
1212 # Some versions of bash will fail to source /dev/null (special
1213 # files actually), so we avoid doing that.
1214 if test -f "$cache_file"; then
1215 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1216 echo "$as_me: loading cache $cache_file" >&6;}
1218 [\\/]* | ?:[\\/]* ) . $cache_file;;
1219 *) . ./$cache_file;;
1223 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1224 echo "$as_me: creating cache $cache_file" >&6;}
1228 # Check that the precious variables saved in the cache have kept the same
1230 ac_cache_corrupted=false
1231 for ac_var in `(set) 2>&1 |
1232 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1233 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1234 eval ac_new_set=\$ac_env_${ac_var}_set
1235 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1236 eval ac_new_val="\$ac_env_${ac_var}_value"
1237 case $ac_old_set,$ac_new_set in
1239 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1241 ac_cache_corrupted=: ;;
1243 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1245 ac_cache_corrupted=: ;;
1248 if test "x$ac_old_val" != "x$ac_new_val"; then
1249 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1250 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1251 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1252 echo "$as_me: former value: $ac_old_val" >&2;}
1253 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1254 echo "$as_me: current value: $ac_new_val" >&2;}
1255 ac_cache_corrupted=:
1258 # Pass precious variables to config.status.
1259 if test "$ac_new_set" = set; then
1261 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1262 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1263 *) ac_arg=$ac_var=$ac_new_val ;;
1265 case " $ac_configure_args " in
1266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1267 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1271 if $ac_cache_corrupted; then
1272 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1273 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1274 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1275 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1276 { (exit 1); exit 1; }; }
1280 ac_cpp='$CPP $CPPFLAGS'
1281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1282 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1306 if test -f $ac_dir/install-sh; then
1308 ac_install_sh="$ac_aux_dir/install-sh -c"
1310 elif test -f $ac_dir/install.sh; then
1312 ac_install_sh="$ac_aux_dir/install.sh -c"
1314 elif test -f $ac_dir/shtool; then
1316 ac_install_sh="$ac_aux_dir/shtool install -c"
1320 if test -z "$ac_aux_dir"; then
1321 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1322 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1323 { (exit 1); exit 1; }; }
1325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1327 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1329 # Find a good install program. We prefer a C program (faster),
1330 # so one script is as good as another. But avoid the broken or
1331 # incompatible versions:
1332 # SysV /etc/install, /usr/sbin/install
1333 # SunOS /usr/etc/install
1334 # IRIX /sbin/install
1336 # AmigaOS /C/install, which installs bootblocks on floppy discs
1337 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1338 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1339 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1340 # OS/2's system install, which has a completely different semantic
1341 # ./install, which can be erroneously created by make from ./install.sh.
1342 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1343 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1344 if test -z "$INSTALL"; then
1345 if test "${ac_cv_path_install+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1352 test -z "$as_dir" && as_dir
=.
1353 # Account for people who put trailing slashes in PATH elements.
1355 .
/ | .
// |
/cC
/* | \
1356 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1357 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1360 # OSF1 and SCO ODT 3.0 have their own names for install.
1361 # Don't use installbsd from OSF since it installs stuff as root
1363 for ac_prog
in ginstall scoinst
install; do
1364 for ac_exec_ext
in '' $ac_executable_extensions; do
1365 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1366 if test $ac_prog = install &&
1367 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1368 # AIX install. It has an incompatible calling convention.
1370 elif test $ac_prog = install &&
1371 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1372 # program-specific install script used by HP pwplus--don't use.
1375 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1387 if test "${ac_cv_path_install+set}" = set; then
1388 INSTALL
=$ac_cv_path_install
1390 # As a last resort, use the slow shell script. We don't cache a
1391 # path for INSTALL within a source directory, because that will
1392 # break other packages using the cache if that directory is
1393 # removed, or if the path is relative.
1394 INSTALL
=$ac_install_sh
1397 echo "$as_me:$LINENO: result: $INSTALL" >&5
1398 echo "${ECHO_T}$INSTALL" >&6
1400 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1401 # It thinks the first close brace ends the variable substitution.
1402 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1404 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1406 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1409 ac_cpp
='$CPP $CPPFLAGS'
1410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1413 if test -n "$ac_tool_prefix"; then
1414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1415 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1416 echo "$as_me:$LINENO: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_CC+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$CC"; then
1422 ac_cv_prog_CC
="$CC" # Let the user override the test.
1424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir
=.
1429 for ac_exec_ext
in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1441 if test -n "$CC"; then
1442 echo "$as_me:$LINENO: result: $CC" >&5
1443 echo "${ECHO_T}$CC" >&6
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1450 if test -z "$ac_cv_prog_CC"; then
1452 # Extract the first word of "gcc", so it can be a program name with args.
1453 set dummy gcc
; ac_word
=$2
1454 echo "$as_me:$LINENO: checking for $ac_word" >&5
1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 if test -n "$ac_ct_CC"; then
1460 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1466 test -z "$as_dir" && as_dir
=.
1467 for ac_exec_ext
in '' $ac_executable_extensions; do
1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1469 ac_cv_prog_ac_ct_CC
="gcc"
1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1478 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1479 if test -n "$ac_ct_CC"; then
1480 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1481 echo "${ECHO_T}$ac_ct_CC" >&6
1483 echo "$as_me:$LINENO: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1492 if test -z "$CC"; then
1493 if test -n "$ac_tool_prefix"; then
1494 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1495 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_CC+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 if test -n "$CC"; then
1502 ac_cv_prog_CC
="$CC" # Let the user override the test.
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 for ac_exec_ext
in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1521 if test -n "$CC"; then
1522 echo "$as_me:$LINENO: result: $CC" >&5
1523 echo "${ECHO_T}$CC" >&6
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1530 if test -z "$ac_cv_prog_CC"; then
1532 # Extract the first word of "cc", so it can be a program name with args.
1533 set dummy cc
; ac_word
=$2
1534 echo "$as_me:$LINENO: checking for $ac_word" >&5
1535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 if test -n "$ac_ct_CC"; then
1540 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1546 test -z "$as_dir" && as_dir
=.
1547 for ac_exec_ext
in '' $ac_executable_extensions; do
1548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1549 ac_cv_prog_ac_ct_CC
="cc"
1550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1559 if test -n "$ac_ct_CC"; then
1560 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1561 echo "${ECHO_T}$ac_ct_CC" >&6
1563 echo "$as_me:$LINENO: result: no" >&5
1564 echo "${ECHO_T}no" >&6
1573 if test -z "$CC"; then
1574 # Extract the first word of "cc", so it can be a program name with args.
1575 set dummy cc
; ac_word
=$2
1576 echo "$as_me:$LINENO: checking for $ac_word" >&5
1577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1578 if test "${ac_cv_prog_CC+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 if test -n "$CC"; then
1582 ac_cv_prog_CC
="$CC" # Let the user override the test.
1585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1589 test -z "$as_dir" && as_dir
=.
1590 for ac_exec_ext
in '' $ac_executable_extensions; do
1591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1592 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1593 ac_prog_rejected
=yes
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 if test $ac_prog_rejected = yes; then
1604 # We found a bogon in the path, so make sure we never use it.
1605 set dummy
$ac_cv_prog_CC
1607 if test $# != 0; then
1608 # We chose a different compiler from the bogus one.
1609 # However, it has the same basename, so the bogon will be chosen
1610 # first if we set CC to just the basename; use the full file name.
1612 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1618 if test -n "$CC"; then
1619 echo "$as_me:$LINENO: result: $CC" >&5
1620 echo "${ECHO_T}$CC" >&6
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1627 if test -z "$CC"; then
1628 if test -n "$ac_tool_prefix"; then
1631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1632 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_CC+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$CC"; then
1639 ac_cv_prog_CC
="$CC" # Let the user override the test.
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 for ac_exec_ext
in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658 if test -n "$CC"; then
1659 echo "$as_me:$LINENO: result: $CC" >&5
1660 echo "${ECHO_T}$CC" >&6
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1666 test -n "$CC" && break
1669 if test -z "$CC"; then
1673 # Extract the first word of "$ac_prog", so it can be a program name with args.
1674 set dummy
$ac_prog; ac_word
=$2
1675 echo "$as_me:$LINENO: checking for $ac_word" >&5
1676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 if test -n "$ac_ct_CC"; then
1681 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1687 test -z "$as_dir" && as_dir
=.
1688 for ac_exec_ext
in '' $ac_executable_extensions; do
1689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1690 ac_cv_prog_ac_ct_CC
="$ac_prog"
1691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1700 if test -n "$ac_ct_CC"; then
1701 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1702 echo "${ECHO_T}$ac_ct_CC" >&6
1704 echo "$as_me:$LINENO: result: no" >&5
1705 echo "${ECHO_T}no" >&6
1708 test -n "$ac_ct_CC" && break
1717 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1718 See \`config.log' for more details." >&5
1719 echo "$as_me: error: no acceptable C compiler found in \$PATH
1720 See \`config.log' for more details." >&2;}
1721 { (exit 1); exit 1; }; }
1723 # Provide some information about the compiler.
1724 echo "$as_me:$LINENO:" \
1725 "checking for C compiler version" >&5
1726 ac_compiler
=`set X $ac_compile; echo $2`
1727 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1728 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }
1732 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1733 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1736 (exit $ac_status); }
1737 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1738 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }
1743 cat >conftest.
$ac_ext <<_ACEOF
1746 cat confdefs.h
>>conftest.
$ac_ext
1747 cat >>conftest.
$ac_ext <<_ACEOF
1748 /* end confdefs.h. */
1758 ac_clean_files_save
=$ac_clean_files
1759 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1760 # Try to create an executable without -o first, disregard a.out.
1761 # It will help us diagnose broken compilers, and finding out an intuition
1763 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1764 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1765 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1766 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1767 (eval $ac_link_default) 2>&5
1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1770 (exit $ac_status); }; then
1771 # Find the output, starting from the most likely. This scheme is
1772 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1775 # Be careful to initialize this variable, since it used to be cached.
1776 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1778 # b.out is created by i960 compilers.
1779 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1781 test -f "$ac_file" ||
continue
1783 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1786 # This is the source file.
1789 # We found the default executable, but exeext='' is most
1793 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1794 # FIXME: I believe we export ac_cv_exeext for Libtool,
1795 # but it would be cool to find out if it's true. Does anybody
1796 # maintain Libtool? --akim.
1804 echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.
$ac_ext >&5
1807 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1808 See \`config.log' for more details." >&5
1809 echo "$as_me: error: C compiler cannot create executables
1810 See \`config.log' for more details." >&2;}
1811 { (exit 77); exit 77; }; }
1814 ac_exeext
=$ac_cv_exeext
1815 echo "$as_me:$LINENO: result: $ac_file" >&5
1816 echo "${ECHO_T}$ac_file" >&6
1818 # Check the compiler produces executables we can run. If not, either
1819 # the compiler is broken, or we cross compile.
1820 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1821 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1822 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1823 # If not cross compiling, check that we can run a simple program.
1824 if test "$cross_compiling" != yes; then
1825 if { ac_try
='./$ac_file'
1826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); }; }; then
1833 if test "$cross_compiling" = maybe
; then
1836 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1837 If you meant to cross compile, use \`--host'.
1838 See \`config.log' for more details." >&5
1839 echo "$as_me: error: cannot run C compiled programs.
1840 If you meant to cross compile, use \`--host'.
1841 See \`config.log' for more details." >&2;}
1842 { (exit 1); exit 1; }; }
1846 echo "$as_me:$LINENO: result: yes" >&5
1847 echo "${ECHO_T}yes" >&6
1849 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1850 ac_clean_files
=$ac_clean_files_save
1851 # Check the compiler produces executables we can run. If not, either
1852 # the compiler is broken, or we cross compile.
1853 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1854 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1855 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1856 echo "${ECHO_T}$cross_compiling" >&6
1858 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1859 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1861 (eval $ac_link) 2>&5
1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864 (exit $ac_status); }; then
1865 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1866 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1867 # work properly (i.e., refer to `conftest.exe'), while it won't with
1869 for ac_file
in conftest.exe conftest conftest.
*; do
1870 test -f "$ac_file" ||
continue
1872 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1873 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1880 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1881 See \`config.log' for more details." >&5
1882 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1883 See \`config.log' for more details." >&2;}
1884 { (exit 1); exit 1; }; }
1887 rm -f conftest
$ac_cv_exeext
1888 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1889 echo "${ECHO_T}$ac_cv_exeext" >&6
1891 rm -f conftest.
$ac_ext
1892 EXEEXT
=$ac_cv_exeext
1894 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1895 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1896 if test "${ac_cv_objext+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 cat >conftest.
$ac_ext <<_ACEOF
1902 cat confdefs.h
>>conftest.
$ac_ext
1903 cat >>conftest.
$ac_ext <<_ACEOF
1904 /* end confdefs.h. */
1914 rm -f conftest.o conftest.obj
1915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1916 (eval $ac_compile) 2>&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }; then
1920 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1923 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1928 echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.
$ac_ext >&5
1931 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1932 See \`config.log' for more details." >&5
1933 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1934 See \`config.log' for more details." >&2;}
1935 { (exit 1); exit 1; }; }
1938 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1940 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1941 echo "${ECHO_T}$ac_cv_objext" >&6
1942 OBJEXT
=$ac_cv_objext
1944 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1945 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.
$ac_ext <<_ACEOF
1952 cat confdefs.h
>>conftest.
$ac_ext
1953 cat >>conftest.
$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1967 rm -f conftest.
$ac_objext
1968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1969 (eval $ac_compile) 2>conftest.er1
1971 grep -v '^ *+' conftest.er1
>conftest.err
1973 cat conftest.err
>&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); } &&
1976 { ac_try
='test -z "$ac_c_werror_flag"
1977 || test ! -s conftest.err'
1978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; } &&
1983 { ac_try
='test -s conftest.$ac_objext'
1984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }; }; then
1991 echo "$as_me: failed program was:" >&5
1992 sed 's/^/| /' conftest.
$ac_ext >&5
1996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1997 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2000 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2001 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2002 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2003 ac_test_CFLAGS
=${CFLAGS+set}
2004 ac_save_CFLAGS
=$CFLAGS
2006 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2007 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2008 if test "${ac_cv_prog_cc_g+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 cat >conftest.
$ac_ext <<_ACEOF
2014 cat confdefs.h
>>conftest.
$ac_ext
2015 cat >>conftest.
$ac_ext <<_ACEOF
2016 /* end confdefs.h. */
2026 rm -f conftest.
$ac_objext
2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>conftest.er1
2030 grep -v '^ *+' conftest.er1
>conftest.err
2032 cat conftest.err
>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } &&
2035 { ac_try
='test -z "$ac_c_werror_flag"
2036 || test ! -s conftest.err'
2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; } &&
2042 { ac_try
='test -s conftest.$ac_objext'
2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }; }; then
2050 echo "$as_me: failed program was:" >&5
2051 sed 's/^/| /' conftest.
$ac_ext >&5
2055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2057 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2058 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2059 if test "$ac_test_CFLAGS" = set; then
2060 CFLAGS
=$ac_save_CFLAGS
2061 elif test $ac_cv_prog_cc_g = yes; then
2062 if test "$GCC" = yes; then
2068 if test "$GCC" = yes; then
2074 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2075 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2076 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 ac_cv_prog_cc_stdc
=no
2081 cat >conftest.
$ac_ext <<_ACEOF
2084 cat confdefs.h
>>conftest.
$ac_ext
2085 cat >>conftest.
$ac_ext <<_ACEOF
2086 /* end confdefs.h. */
2089 #include <sys/types.h>
2090 #include <sys/stat.h>
2091 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2092 struct buf { int x; };
2093 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2094 static char *e (p, i)
2100 static char *f (char * (*g) (char **, int), char **p, ...)
2105 s = g (p, va_arg (v,int));
2110 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2111 function prototypes and stuff, but not '\xHH' hex character constants.
2112 These don't provoke an error unfortunately, instead are silently treated
2113 as 'x'. The following induces an error, until -std1 is added to get
2114 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2115 array size at least. It's necessary to write '\x00'==0 to get something
2116 that's true only with -std1. */
2117 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2119 int test (int i, double x);
2120 struct s1 {int (*f) (int a);};
2121 struct s2 {int (*f) (double a);};
2122 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2128 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2133 # Don't try gcc -ansi; that turns off useful extensions and
2134 # breaks some systems' header files.
2135 # AIX -qlanglvl=ansi
2136 # Ultrix and OSF/1 -std1
2137 # HP-UX 10.20 and later -Ae
2138 # HP-UX older versions -Aa -D_HPUX_SOURCE
2139 # SVR4 -Xc -D__EXTENSIONS__
2140 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2142 CC
="$ac_save_CC $ac_arg"
2143 rm -f conftest.
$ac_objext
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>conftest.er1
2147 grep -v '^ *+' conftest.er1
>conftest.err
2149 cat conftest.err
>&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); } &&
2152 { ac_try
='test -z "$ac_c_werror_flag"
2153 || test ! -s conftest.err'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; } &&
2159 { ac_try
='test -s conftest.$ac_objext'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2165 ac_cv_prog_cc_stdc
=$ac_arg
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.
$ac_ext >&5
2172 rm -f conftest.err conftest.
$ac_objext
2174 rm -f conftest.
$ac_ext conftest.
$ac_objext
2179 case "x$ac_cv_prog_cc_stdc" in
2181 echo "$as_me:$LINENO: result: none needed" >&5
2182 echo "${ECHO_T}none needed" >&6 ;;
2184 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2185 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2186 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2189 # Some people use a C++ compiler to compile C. Since we use `exit',
2190 # in C++ we need to declare it. In case someone uses the same compiler
2191 # for both compiling C and C++ we need to have the C++ compiler decide
2192 # the declaration of exit, since it's the most demanding environment.
2193 cat >conftest.
$ac_ext <<_ACEOF
2198 rm -f conftest.
$ac_objext
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>conftest.er1
2202 grep -v '^ *+' conftest.er1
>conftest.err
2204 cat conftest.err
>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try
='test -z "$ac_c_werror_flag"
2208 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } &&
2214 { ac_try
='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2220 for ac_declaration
in \
2222 'extern "C" void std::exit (int) throw (); using std::exit;' \
2223 'extern "C" void std::exit (int); using std::exit;' \
2224 'extern "C" void exit (int) throw ();' \
2225 'extern "C" void exit (int);' \
2228 cat >conftest.
$ac_ext <<_ACEOF
2231 cat confdefs.h
>>conftest.
$ac_ext
2232 cat >>conftest.
$ac_ext <<_ACEOF
2233 /* end confdefs.h. */
2244 rm -f conftest.
$ac_objext
2245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2246 (eval $ac_compile) 2>conftest.er1
2248 grep -v '^ *+' conftest.er1
>conftest.err
2250 cat conftest.err
>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } &&
2253 { ac_try
='test -z "$ac_c_werror_flag"
2254 || test ! -s conftest.err'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } &&
2260 { ac_try
='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.
$ac_ext >&5
2273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2274 cat >conftest.
$ac_ext <<_ACEOF
2277 cat confdefs.h
>>conftest.
$ac_ext
2278 cat >>conftest.
$ac_ext <<_ACEOF
2279 /* end confdefs.h. */
2289 rm -f conftest.
$ac_objext
2290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2291 (eval $ac_compile) 2>conftest.er1
2293 grep -v '^ *+' conftest.er1
>conftest.err
2295 cat conftest.err
>&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); } &&
2298 { ac_try
='test -z "$ac_c_werror_flag"
2299 || test ! -s conftest.err'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; } &&
2305 { ac_try
='test -s conftest.$ac_objext'
2306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; }; then
2313 echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.
$ac_ext >&5
2317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2320 if test -n "$ac_declaration"; then
2321 echo '#ifdef __cplusplus' >>confdefs.h
2322 echo $ac_declaration >>confdefs.h
2323 echo '#endif' >>confdefs.h
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.
$ac_ext >&5
2331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2333 ac_cpp
='$CPP $CPPFLAGS'
2334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2341 # NOTE: Don't add -Wall or -Wunused, they both include
2342 # -Wunused-parameter which reports bogus warnings.
2343 # NOTE: If you add to this list, remember to update
2344 # gdb/doc/gdbint.texinfo.
2345 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
2346 -Wformat -Wparentheses -Wpointer-arith -Wuninitialized"
2347 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
2348 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
2349 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
2350 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
2351 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
2352 # -Woverloaded-virtual -Winline -Werror"
2353 # Check whether --enable-build-warnings or --disable-build-warnings was given.
2354 if test "${enable_build_warnings+set}" = set; then
2355 enableval
="$enable_build_warnings"
2356 case "${enableval}" in
2358 no
) build_warnings
="-w";;
2359 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2360 build_warnings
="${build_warnings} ${t}";;
2361 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2362 build_warnings
="${t} ${build_warnings}";;
2363 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
2365 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
2366 echo "Setting compiler warning flags = $build_warnings" 6>&1
2368 fi; # Check whether --enable-sim-build-warnings or --disable-sim-build-warnings was given.
2369 if test "${enable_sim_build_warnings+set}" = set; then
2370 enableval
="$enable_sim_build_warnings"
2371 case "${enableval}" in
2373 no
) build_warnings
="-w";;
2374 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2375 build_warnings
="${build_warnings} ${t}";;
2376 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
2377 build_warnings
="${t} ${build_warnings}";;
2378 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
2380 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
2381 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
2385 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
2387 echo "$as_me:$LINENO: checking compiler warning flags" >&5
2388 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
2389 # Separate out the -Werror flag as some files just cannot be
2390 # compiled with it enabled.
2391 for w
in ${build_warnings}; do
2393 -Werr*) WERROR_CFLAGS
=-Werror ;;
2394 *) # Check that GCC accepts it
2395 saved_CFLAGS
="$CFLAGS"
2397 cat >conftest.
$ac_ext <<_ACEOF
2400 cat confdefs.h
>>conftest.
$ac_ext
2401 cat >>conftest.
$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 rm -f conftest.
$ac_objext
2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414 (eval $ac_compile) 2>conftest.er1
2416 grep -v '^ *+' conftest.er1
>conftest.err
2418 cat conftest.err
>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); } &&
2421 { ac_try
='test -z "$ac_c_werror_flag"
2422 || test ! -s conftest.err'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; } &&
2428 { ac_try
='test -s conftest.$ac_objext'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2434 WARN_CFLAGS
="${WARN_CFLAGS} $w"
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2441 CFLAGS
="$saved_CFLAGS"
2444 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
2445 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
2449 # Put a plausible default for CC_FOR_BUILD in Makefile.
2450 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
2451 AR_FOR_BUILD
='$(AR)'
2452 AR_FLAGS_FOR_BUILD
='$(AR_FLAGS)'
2453 CC_FOR_BUILD
='$(CC)'
2454 CFLAGS_FOR_BUILD
='$(CFLAGS)'
2455 RANLIB_FOR_BUILD
='$(RANLIB)'
2456 LIBIBERTY_LIB
=..
/..
/libiberty
/libiberty.a
2458 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2459 AR_FLAGS_FOR_BUILD
=${AR_FLAGS_FOR_BUILD-rc}
2460 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2461 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-"-g"}
2462 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2467 # Make sure we can run config.sub.
2468 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2469 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2470 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2471 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: checking build system type" >&5
2474 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2475 if test "${ac_cv_build+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 ac_cv_build_alias
=$build_alias
2479 test -z "$ac_cv_build_alias" &&
2480 ac_cv_build_alias
=`$ac_config_guess`
2481 test -z "$ac_cv_build_alias" &&
2482 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2483 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2484 { (exit 1); exit 1; }; }
2485 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2486 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2487 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2488 { (exit 1); exit 1; }; }
2491 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2492 echo "${ECHO_T}$ac_cv_build" >&6
2494 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2495 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2496 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2499 echo "$as_me:$LINENO: checking host system type" >&5
2500 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2501 if test "${ac_cv_host+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 ac_cv_host_alias
=$host_alias
2505 test -z "$ac_cv_host_alias" &&
2506 ac_cv_host_alias
=$ac_cv_build_alias
2507 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2508 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2509 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2513 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2514 echo "${ECHO_T}$ac_cv_host" >&6
2516 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2517 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2518 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2521 echo "$as_me:$LINENO: checking target system type" >&5
2522 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2523 if test "${ac_cv_target+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 ac_cv_target_alias
=$target_alias
2527 test "x$ac_cv_target_alias" = "x" &&
2528 ac_cv_target_alias
=$ac_cv_host_alias
2529 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2531 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2532 { (exit 1); exit 1; }; }
2535 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2536 echo "${ECHO_T}$ac_cv_target" >&6
2537 target
=$ac_cv_target
2538 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2539 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2540 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2543 # The aliases save the names the user supplied, while $host etc.
2544 # will get canonicalized.
2545 test -n "$target_alias" &&
2546 test "$program_prefix$program_suffix$program_transform_name" = \
2548 program_prefix
=${target_alias}-
2549 test "$program_prefix" != NONE
&&
2550 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2551 # Use a double $ so make ignores it.
2552 test "$program_suffix" != NONE
&&
2553 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2554 # Double any \ or $. echo might interpret backslashes.
2555 # By default was `s,x,x', remove it if useless.
2556 cat <<\_ACEOF
>conftest.
sed
2557 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2559 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2563 .
${srcdir}/..
/..
/bfd
/configure.
host
2565 ac_config_headers
="$ac_config_headers config.h:config.in"
2569 ac_cpp
='$CPP $CPPFLAGS'
2570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2573 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2574 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2575 # On Suns, sometimes $CPP names a directory.
2576 if test -n "$CPP" && test -d "$CPP"; then
2579 if test -z "$CPP"; then
2580 if test "${ac_cv_prog_CPP+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 # Double quotes because CPP needs to be expanded
2584 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2587 for ac_c_preproc_warn_flag
in '' yes
2589 # Use a header file that comes with gcc, so configuring glibc
2590 # with a fresh cross-compiler works.
2591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2592 # <limits.h> exists even on freestanding compilers.
2593 # On the NeXT, cc -E runs the code through the compiler's parser,
2594 # not just through cpp. "Syntax error" is here to catch this case.
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2602 # include <limits.h>
2604 # include <assert.h>
2608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2611 grep -v '^ *+' conftest.er1
>conftest.err
2613 cat conftest.err
>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } >/dev
/null
; then
2616 if test -s conftest.err
; then
2617 ac_cpp_err
=$ac_c_preproc_warn_flag
2618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2625 if test -z "$ac_cpp_err"; then
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2631 # Broken: fails on valid input.
2634 rm -f conftest.err conftest.
$ac_ext
2636 # OK, works on sane cases. Now check whether non-existent headers
2637 # can be detected and how.
2638 cat >conftest.
$ac_ext <<_ACEOF
2641 cat confdefs.h
>>conftest.
$ac_ext
2642 cat >>conftest.
$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2644 #include <ac_nonexistent.h>
2646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2649 grep -v '^ *+' conftest.er1
>conftest.err
2651 cat conftest.err
>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } >/dev
/null
; then
2654 if test -s conftest.err
; then
2655 ac_cpp_err
=$ac_c_preproc_warn_flag
2656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2663 if test -z "$ac_cpp_err"; then
2664 # Broken: success on invalid input.
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2670 # Passes both tests.
2674 rm -f conftest.err conftest.
$ac_ext
2677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2678 rm -f conftest.err conftest.
$ac_ext
2679 if $ac_preproc_ok; then
2691 echo "$as_me:$LINENO: result: $CPP" >&5
2692 echo "${ECHO_T}$CPP" >&6
2694 for ac_c_preproc_warn_flag
in '' yes
2696 # Use a header file that comes with gcc, so configuring glibc
2697 # with a fresh cross-compiler works.
2698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2699 # <limits.h> exists even on freestanding compilers.
2700 # On the NeXT, cc -E runs the code through the compiler's parser,
2701 # not just through cpp. "Syntax error" is here to catch this case.
2702 cat >conftest.
$ac_ext <<_ACEOF
2705 cat confdefs.h
>>conftest.
$ac_ext
2706 cat >>conftest.
$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2709 # include <limits.h>
2711 # include <assert.h>
2715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2718 grep -v '^ *+' conftest.er1
>conftest.err
2720 cat conftest.err
>&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } >/dev
/null
; then
2723 if test -s conftest.err
; then
2724 ac_cpp_err
=$ac_c_preproc_warn_flag
2725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2732 if test -z "$ac_cpp_err"; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2738 # Broken: fails on valid input.
2741 rm -f conftest.err conftest.
$ac_ext
2743 # OK, works on sane cases. Now check whether non-existent headers
2744 # can be detected and how.
2745 cat >conftest.
$ac_ext <<_ACEOF
2748 cat confdefs.h
>>conftest.
$ac_ext
2749 cat >>conftest.
$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2751 #include <ac_nonexistent.h>
2753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2756 grep -v '^ *+' conftest.er1
>conftest.err
2758 cat conftest.err
>&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } >/dev
/null
; then
2761 if test -s conftest.err
; then
2762 ac_cpp_err
=$ac_c_preproc_warn_flag
2763 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2770 if test -z "$ac_cpp_err"; then
2771 # Broken: success on invalid input.
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.
$ac_ext >&5
2777 # Passes both tests.
2781 rm -f conftest.err conftest.
$ac_ext
2784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2785 rm -f conftest.err conftest.
$ac_ext
2786 if $ac_preproc_ok; then
2789 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2790 See \`config.log' for more details." >&5
2791 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2792 See \`config.log' for more details." >&2;}
2793 { (exit 1); exit 1; }; }
2797 ac_cpp
='$CPP $CPPFLAGS'
2798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2803 echo "$as_me:$LINENO: checking for egrep" >&5
2804 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2805 if test "${ac_cv_prog_egrep+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2809 then ac_cv_prog_egrep
='grep -E'
2810 else ac_cv_prog_egrep
='egrep'
2813 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2814 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2815 EGREP
=$ac_cv_prog_egrep
2818 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2819 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2820 if test "${ac_cv_header_stdc+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 cat >conftest.
$ac_ext <<_ACEOF
2826 cat confdefs.h
>>conftest.
$ac_ext
2827 cat >>conftest.
$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2842 rm -f conftest.
$ac_objext
2843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2844 (eval $ac_compile) 2>conftest.er1
2846 grep -v '^ *+' conftest.er1
>conftest.err
2848 cat conftest.err
>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } &&
2851 { ac_try
='test -z "$ac_c_werror_flag"
2852 || test ! -s conftest.err'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; } &&
2858 { ac_try
='test -s conftest.$ac_objext'
2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }; }; then
2864 ac_cv_header_stdc
=yes
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2869 ac_cv_header_stdc
=no
2871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2873 if test $ac_cv_header_stdc = yes; then
2874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2875 cat >conftest.
$ac_ext <<_ACEOF
2878 cat confdefs.h
>>conftest.
$ac_ext
2879 cat >>conftest.
$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2885 $EGREP "memchr" >/dev
/null
2>&1; then
2888 ac_cv_header_stdc
=no
2894 if test $ac_cv_header_stdc = yes; then
2895 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2896 cat >conftest.
$ac_ext <<_ACEOF
2899 cat confdefs.h
>>conftest.
$ac_ext
2900 cat >>conftest.
$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2906 $EGREP "free" >/dev
/null
2>&1; then
2909 ac_cv_header_stdc
=no
2915 if test $ac_cv_header_stdc = yes; then
2916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2917 if test "$cross_compiling" = yes; then
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2927 #if ((' ' & 0x0FF) == 0x020)
2928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2931 # define ISLOWER(c) \
2932 (('a' <= (c) && (c) <= 'i') \
2933 || ('j' <= (c) && (c) <= 'r') \
2934 || ('s' <= (c) && (c) <= 'z'))
2935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2943 for (i = 0; i < 256; i++)
2944 if (XOR (islower (i), ISLOWER (i))
2945 || toupper (i) != TOUPPER (i))
2950 rm -f conftest
$ac_exeext
2951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2952 (eval $ac_link) 2>&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2963 echo "$as_me: program exited with status $ac_status" >&5
2964 echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.
$ac_ext >&5
2968 ac_cv_header_stdc
=no
2970 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2974 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2975 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2976 if test $ac_cv_header_stdc = yes; then
2978 cat >>confdefs.h
<<\_ACEOF
2979 #define STDC_HEADERS 1
2984 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2994 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2995 inttypes.h stdint.h unistd.h
2997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2998 echo "$as_me:$LINENO: checking for $ac_header" >&5
2999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 cat >conftest.
$ac_ext <<_ACEOF
3006 cat confdefs.h
>>conftest.
$ac_ext
3007 cat >>conftest.
$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3009 $ac_includes_default
3011 #include <$ac_header>
3013 rm -f conftest.
$ac_objext
3014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3015 (eval $ac_compile) 2>conftest.er1
3017 grep -v '^ *+' conftest.er1
>conftest.err
3019 cat conftest.err
>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } &&
3022 { ac_try
='test -z "$ac_c_werror_flag"
3023 || test ! -s conftest.err'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; } &&
3029 { ac_try
='test -s conftest.$ac_objext'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; }; then
3035 eval "$as_ac_Header=yes"
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.
$ac_ext >&5
3040 eval "$as_ac_Header=no"
3042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3047 cat >>confdefs.h
<<_ACEOF
3048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3062 for ac_header
in stdlib.h string.h
strings.h sys
/stat.h sys
/types.h unistd.h
3064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3066 echo "$as_me:$LINENO: checking for $ac_header" >&5
3067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3074 # Is the header compilable?
3075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3077 cat >conftest.
$ac_ext <<_ACEOF
3080 cat confdefs.h
>>conftest.
$ac_ext
3081 cat >>conftest.
$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3083 $ac_includes_default
3084 #include <$ac_header>
3086 rm -f conftest.
$ac_objext
3087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3088 (eval $ac_compile) 2>conftest.er1
3090 grep -v '^ *+' conftest.er1
>conftest.err
3092 cat conftest.err
>&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } &&
3095 { ac_try
='test -z "$ac_c_werror_flag"
3096 || test ! -s conftest.err'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; } &&
3102 { ac_try
='test -s conftest.$ac_objext'
3103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; }; then
3108 ac_header_compiler
=yes
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.
$ac_ext >&5
3113 ac_header_compiler
=no
3115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3117 echo "${ECHO_T}$ac_header_compiler" >&6
3119 # Is the header present?
3120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3122 cat >conftest.
$ac_ext <<_ACEOF
3125 cat confdefs.h
>>conftest.
$ac_ext
3126 cat >>conftest.
$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3128 #include <$ac_header>
3130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3133 grep -v '^ *+' conftest.er1
>conftest.err
3135 cat conftest.err
>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } >/dev
/null
; then
3138 if test -s conftest.err
; then
3139 ac_cpp_err
=$ac_c_preproc_warn_flag
3140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3147 if test -z "$ac_cpp_err"; then
3148 ac_header_preproc
=yes
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.
$ac_ext >&5
3153 ac_header_preproc
=no
3155 rm -f conftest.err conftest.
$ac_ext
3156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3157 echo "${ECHO_T}$ac_header_preproc" >&6
3159 # So? What about this header?
3160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3166 ac_header_preproc
=yes
3169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3183 ## ------------------------------------------ ##
3184 ## Report this to the AC_PACKAGE_NAME lists. ##
3185 ## ------------------------------------------ ##
3188 sed "s/^/$as_me: WARNING: /" >&2
3191 echo "$as_me:$LINENO: checking for $ac_header" >&5
3192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 eval "$as_ac_Header=\$ac_header_preproc"
3198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3203 cat >>confdefs.h
<<_ACEOF
3204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3217 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3218 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3219 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3220 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 cat >conftest.
$ac_ext <<_ACEOF
3227 cat confdefs.h
>>conftest.
$ac_ext
3228 cat >>conftest.
$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3230 #include <sys/types.h>
3242 rm -f conftest.
$ac_objext
3243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3244 (eval $ac_compile) 2>conftest.er1
3246 grep -v '^ *+' conftest.er1
>conftest.err
3248 cat conftest.err
>&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } &&
3251 { ac_try
='test -z "$ac_c_werror_flag"
3252 || test ! -s conftest.err'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; } &&
3258 { ac_try
='test -s conftest.$ac_objext'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 eval "$as_ac_Header=yes"
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.
$ac_ext >&5
3269 eval "$as_ac_Header=no"
3271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3276 cat >>confdefs.h
<<_ACEOF
3277 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3280 ac_header_dirent
=$ac_hdr; break
3284 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3285 if test $ac_header_dirent = dirent.h
; then
3286 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3287 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3288 if test "${ac_cv_search_opendir+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 ac_func_search_save_LIBS
=$LIBS
3292 ac_cv_search_opendir
=no
3293 cat >conftest.
$ac_ext <<_ACEOF
3296 cat confdefs.h
>>conftest.
$ac_ext
3297 cat >>conftest.
$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3300 /* Override any gcc2 internal prototype to avoid an error. */
3304 /* We use char because int might match the return type of a gcc2
3305 builtin and then its argument prototype would still apply. */
3315 rm -f conftest.
$ac_objext conftest
$ac_exeext
3316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3317 (eval $ac_link) 2>conftest.er1
3319 grep -v '^ *+' conftest.er1
>conftest.err
3321 cat conftest.err
>&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } &&
3324 { ac_try
='test -z "$ac_c_werror_flag"
3325 || test ! -s conftest.err'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; } &&
3331 { ac_try
='test -s conftest$ac_exeext'
3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); }; }; then
3337 ac_cv_search_opendir
="none required"
3339 echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.
$ac_ext >&5
3343 rm -f conftest.err conftest.
$ac_objext \
3344 conftest
$ac_exeext conftest.
$ac_ext
3345 if test "$ac_cv_search_opendir" = no
; then
3346 for ac_lib
in dir
; do
3347 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3348 cat >conftest.
$ac_ext <<_ACEOF
3351 cat confdefs.h
>>conftest.
$ac_ext
3352 cat >>conftest.
$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3355 /* Override any gcc2 internal prototype to avoid an error. */
3359 /* We use char because int might match the return type of a gcc2
3360 builtin and then its argument prototype would still apply. */
3370 rm -f conftest.
$ac_objext conftest
$ac_exeext
3371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3372 (eval $ac_link) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1
>conftest.err
3376 cat conftest.err
>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } &&
3379 { ac_try
='test -z "$ac_c_werror_flag"
3380 || test ! -s conftest.err'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; } &&
3386 { ac_try
='test -s conftest$ac_exeext'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; }; then
3392 ac_cv_search_opendir
="-l$ac_lib"
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3399 rm -f conftest.err conftest.
$ac_objext \
3400 conftest
$ac_exeext conftest.
$ac_ext
3403 LIBS
=$ac_func_search_save_LIBS
3405 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3406 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3407 if test "$ac_cv_search_opendir" != no
; then
3408 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3413 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3414 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3415 if test "${ac_cv_search_opendir+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 ac_func_search_save_LIBS
=$LIBS
3419 ac_cv_search_opendir
=no
3420 cat >conftest.
$ac_ext <<_ACEOF
3423 cat confdefs.h
>>conftest.
$ac_ext
3424 cat >>conftest.
$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3427 /* Override any gcc2 internal prototype to avoid an error. */
3431 /* We use char because int might match the return type of a gcc2
3432 builtin and then its argument prototype would still apply. */
3442 rm -f conftest.
$ac_objext conftest
$ac_exeext
3443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3444 (eval $ac_link) 2>conftest.er1
3446 grep -v '^ *+' conftest.er1
>conftest.err
3448 cat conftest.err
>&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } &&
3451 { ac_try
='test -z "$ac_c_werror_flag"
3452 || test ! -s conftest.err'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; } &&
3458 { ac_try
='test -s conftest$ac_exeext'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; }; then
3464 ac_cv_search_opendir
="none required"
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.
$ac_ext >&5
3470 rm -f conftest.err conftest.
$ac_objext \
3471 conftest
$ac_exeext conftest.
$ac_ext
3472 if test "$ac_cv_search_opendir" = no
; then
3474 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3475 cat >conftest.
$ac_ext <<_ACEOF
3478 cat confdefs.h
>>conftest.
$ac_ext
3479 cat >>conftest.
$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3482 /* Override any gcc2 internal prototype to avoid an error. */
3486 /* We use char because int might match the return type of a gcc2
3487 builtin and then its argument prototype would still apply. */
3497 rm -f conftest.
$ac_objext conftest
$ac_exeext
3498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3499 (eval $ac_link) 2>conftest.er1
3501 grep -v '^ *+' conftest.er1
>conftest.err
3503 cat conftest.err
>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } &&
3506 { ac_try
='test -z "$ac_c_werror_flag"
3507 || test ! -s conftest.err'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; } &&
3513 { ac_try
='test -s conftest$ac_exeext'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; }; then
3519 ac_cv_search_opendir
="-l$ac_lib"
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.
$ac_ext >&5
3526 rm -f conftest.err conftest.
$ac_objext \
3527 conftest
$ac_exeext conftest.
$ac_ext
3530 LIBS
=$ac_func_search_save_LIBS
3532 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3533 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3534 if test "$ac_cv_search_opendir" != no
; then
3535 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3553 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3554 echo "$as_me:$LINENO: checking for $ac_word" >&5
3555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3556 if test "${ac_cv_prog_RANLIB+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 if test -n "$RANLIB"; then
3560 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir
=.
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3569 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 RANLIB
=$ac_cv_prog_RANLIB
3579 if test -n "$RANLIB"; then
3580 echo "$as_me:$LINENO: result: $RANLIB" >&5
3581 echo "${ECHO_T}$RANLIB" >&6
3583 echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6
3588 if test -z "$ac_cv_prog_RANLIB"; then
3589 ac_ct_RANLIB
=$RANLIB
3590 # Extract the first word of "ranlib", so it can be a program name with args.
3591 set dummy 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_ac_ct_RANLIB+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 if test -n "$ac_ct_RANLIB"; then
3598 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_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_ac_ct_RANLIB
="ranlib"
3608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3617 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3618 if test -n "$ac_ct_RANLIB"; then
3619 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3620 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3626 RANLIB
=$ac_ct_RANLIB
3628 RANLIB
="$ac_cv_prog_RANLIB"
3632 ac_config_files
="$ac_config_files Makefile"
3633 ac_config_commands
="$ac_config_commands default"
3634 cat >confcache
<<\_ACEOF
3635 # This file is a shell script that caches the results of configure
3636 # tests run on this system so they can be shared between configure
3637 # scripts and configure runs, see configure's option --config-cache.
3638 # It is not useful on other systems. If it contains results you don't
3639 # want to keep, you may remove or edit it.
3641 # config.status only pays attention to the cache file if you give it
3642 # the --recheck option to rerun configure.
3644 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3645 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3650 # The following way of writing the cache mishandles newlines in values,
3651 # but we know of no workaround that is simple, portable, and efficient.
3652 # So, don't put newlines in cache variables' values.
3653 # Ultrix sh set writes to stderr and can't be redirected directly,
3654 # and sets the high bit in the cache file unless we assign to the vars.
3657 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3659 # `set' does not quote correctly, so add quotes (double-quote
3660 # substitution turns \\\\ into \\, and sed turns \\ into \).
3663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3666 # `set' quotes correctly as required by POSIX, so do not add quotes.
3668 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3675 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3677 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3679 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3680 if test -w $cache_file; then
3681 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3682 cat confcache
>$cache_file
3684 echo "not updating unwritable cache $cache_file"
3689 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3690 # Let make expand exec_prefix.
3691 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3693 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3694 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3695 # trailing colons and then remove the whole line if VPATH becomes empty
3696 # (actually we leave an empty line to preserve line numbers).
3697 if test "x$srcdir" = x.
; then
3698 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3699 s/:*\$(srcdir):*/:/;
3700 s/:*\${srcdir}:*/:/;
3702 s/^\([^=]*=[ ]*\):*/\1/;
3708 DEFS
=-DHAVE_CONFIG_H
3712 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3713 # 1. Remove the extension, and $U if already installed.
3714 ac_i
=`echo "$ac_i" |
3715 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3717 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
3718 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
3722 LTLIBOBJS
=$ac_ltlibobjs
3726 : ${CONFIG_STATUS=./config.status}
3727 ac_clean_files_save
=$ac_clean_files
3728 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3729 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3730 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3731 cat >$CONFIG_STATUS <<_ACEOF
3733 # Generated by $as_me.
3734 # Run this file to recreate the current configuration.
3735 # Compiler output produced by configure, useful for debugging
3736 # configure, is in config.log if it exists.
3741 SHELL=\${CONFIG_SHELL-$SHELL}
3744 cat >>$CONFIG_STATUS <<\_ACEOF
3745 ## --------------------- ##
3746 ## M4sh Initialization. ##
3747 ## --------------------- ##
3749 # Be Bourne compatible
3750 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3753 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3754 # is contrary to our usage. Disable this feature.
3755 alias -g '${1+"$@"}'='"$@"'
3756 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3759 DUALCASE
=1; export DUALCASE
# for MKS sh
3761 # Support unset when possible.
3762 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
3769 # Work around bugs in pre-3.0 UWIN ksh.
3770 $as_unset ENV MAIL MAILPATH
3777 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3778 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3779 LC_TELEPHONE LC_TIME
3781 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3782 eval $as_var=C
; export $as_var
3788 # Required to use basename.
3789 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3795 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
3796 as_basename
=basename
3802 # Name of the executable.
3803 as_me
=`$as_basename "$0" ||
3804 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3805 X"$0" : 'X\(//\)$' \| \
3806 X"$0" : 'X\(/\)$' \| \
3807 . : '\(.\)' 2>/dev/null ||
3809 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3810 /^X\/\(\/\/\)$/{ s//\1/; q; }
3811 /^X\/\(\/\).*/{ s//\1/; q; }
3815 # PATH needs CR, and LINENO needs CR and PATH.
3816 # Avoid depending upon Character Ranges.
3817 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3818 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3819 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3820 as_cr_digits
='0123456789'
3821 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3823 # The user is always right.
3824 if test "${PATH_SEPARATOR+set}" != set; then
3825 echo "#! /bin/sh" >conf$$.sh
3826 echo "exit 0" >>conf$$.sh
3828 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3839 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3840 test "x$as_lineno_1" != "x$as_lineno_2" &&
3841 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
3842 # Find who we are. Look in the path if we contain no path at all
3845 *[\\/]* ) as_myself
=$0 ;;
3846 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir
=.
3851 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3856 # We did not find ourselves, most probably we were run as `sh COMMAND'
3857 # in which case we are not to be found in the path.
3858 if test "x$as_myself" = x
; then
3861 if test ! -f "$as_myself"; then
3862 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3863 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3864 { (exit 1); exit 1; }; }
3866 case $CONFIG_SHELL in
3868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
3872 test -z "$as_dir" && as_dir
=.
3873 for as_base
in sh bash ksh sh5
; do
3876 if ("$as_dir/$as_base" -c '
3879 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3880 test "x$as_lineno_1" != "x$as_lineno_2" &&
3881 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
3882 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
3883 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
3884 CONFIG_SHELL
=$as_dir/$as_base
3886 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3894 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3895 # uniformly replaced by the line number. The first 'sed' inserts a
3896 # line-number line before each line; the second 'sed' does the real
3897 # work. The second script uses 'N' to pair each line-number line
3898 # with the numbered line, and appends trailing '-' during
3899 # substitution so that $LINENO is not a special case at line end.
3900 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3901 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3902 sed '=' <$as_myself |
3907 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3910 s,^['$as_cr_digits']*\n,,
3912 chmod +x
$as_me.lineno ||
3913 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3914 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3915 { (exit 1); exit 1; }; }
3917 # Don't try to exec as it changes $[0], causing all sort of problems
3918 # (the dirname of $[0] is not the place where we might find the
3919 # original and so on. Autoconf is especially sensible to this).
3921 # Exit status is that of the last command.
3926 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3927 *c
*,-n*) ECHO_N
= ECHO_C
='
3929 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3930 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3933 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3939 rm -f conf$$ conf$$.exe conf$$.
file
3941 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3942 # We could just check for DJGPP; but this test a) works b) is more generic
3943 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3944 if test -f conf$$.exe
; then
3945 # Don't use ln at all; we don't have any links
3950 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3955 rm -f conf$$ conf$$.exe conf$$.
file
3957 if mkdir
-p .
2>/dev
/null
; then
3960 test -d .
/-p && rmdir .
/-p
3964 as_executable_p
="test -f"
3966 # Sed expression to map a string onto a valid CPP name.
3967 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3969 # Sed expression to map a string onto a valid variable name.
3970 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3974 # We need space, tab and new line, in precisely that order.
3984 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3985 # report actual input values of CONFIG_FILES etc. instead of their
3986 # values after options handling. Logging --version etc. is OK.
3990 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3991 ## Running $as_me. ##
3996 This file was extended by $as_me, which was
3997 generated by GNU Autoconf 2.59. Invocation command line was
3999 CONFIG_FILES = $CONFIG_FILES
4000 CONFIG_HEADERS = $CONFIG_HEADERS
4001 CONFIG_LINKS = $CONFIG_LINKS
4002 CONFIG_COMMANDS = $CONFIG_COMMANDS
4006 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4010 # Files that config.status was made for.
4011 if test -n "$ac_config_files"; then
4012 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4015 if test -n "$ac_config_headers"; then
4016 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4019 if test -n "$ac_config_links"; then
4020 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4023 if test -n "$ac_config_commands"; then
4024 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4027 cat >>$CONFIG_STATUS <<\_ACEOF
4030 \`$as_me' instantiates files from templates according to the
4031 current configuration.
4033 Usage: $0 [OPTIONS] [FILE]...
4035 -h, --help print this help, then exit
4036 -V, --version print version number, then exit
4037 -q, --quiet do not print progress messages
4038 -d, --debug don't remove temporary files
4039 --recheck update $as_me by reconfiguring in the same conditions
4040 --file=FILE[:TEMPLATE]
4041 instantiate the configuration file FILE
4042 --header=FILE[:TEMPLATE]
4043 instantiate the configuration header FILE
4045 Configuration files:
4048 Configuration headers:
4051 Configuration commands:
4054 Report bugs to <bug-autoconf@gnu.org>."
4057 cat >>$CONFIG_STATUS <<_ACEOF
4060 configured by $0, generated by GNU Autoconf 2.59,
4061 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4063 Copyright (C) 2003 Free Software Foundation, Inc.
4064 This config.status script is free software; the Free Software Foundation
4065 gives unlimited permission to copy, distribute and modify it."
4070 cat >>$CONFIG_STATUS <<\_ACEOF
4071 # If no file are specified by the user, then we need to provide default
4072 # value. By we need to know if files were specified by the user.
4078 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4079 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4087 *) # This is not an option, so the user has probably given explicit
4090 ac_need_defaults
=false
;;
4094 # Handling of the options.
4096 cat >>$CONFIG_STATUS <<\_ACEOF
4097 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4099 --version |
--vers* |
-V )
4100 echo "$ac_cs_version"; exit 0 ;;
4102 # Conflict between --help and --header
4103 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4104 Try \`$0 --help' for more information." >&5
4105 echo "$as_me: error: ambiguous option: $1
4106 Try \`$0 --help' for more information." >&2;}
4107 { (exit 1); exit 1; }; };;
4108 --help |
--hel |
-h )
4109 echo "$ac_cs_usage"; exit 0 ;;
4110 --debug |
--d* |
-d )
4112 --file |
--fil |
--fi |
--f )
4114 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4115 ac_need_defaults
=false
;;
4116 --header |
--heade |
--head |
--hea )
4118 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4119 ac_need_defaults
=false
;;
4120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4121 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4125 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4126 Try \`$0 --help' for more information." >&5
4127 echo "$as_me: error: unrecognized option: $1
4128 Try \`$0 --help' for more information." >&2;}
4129 { (exit 1); exit 1; }; } ;;
4131 *) ac_config_targets
="$ac_config_targets $1" ;;
4137 ac_configure_extra_args
=
4139 if $ac_cs_silent; then
4141 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4145 cat >>$CONFIG_STATUS <<_ACEOF
4146 if \$ac_cs_recheck; then
4147 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4148 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4157 cat >>$CONFIG_STATUS <<\_ACEOF
4158 for ac_config_target
in $ac_config_targets
4160 case "$ac_config_target" in
4161 # Handling of arguments.
4162 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4163 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4164 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
4165 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4166 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4167 { (exit 1); exit 1; }; };;
4171 # If the user did not use the arguments to specify the items to instantiate,
4172 # then the envvar interface is used. Set only those that are not.
4173 # We use the long form for the default assignment because of an extremely
4174 # bizarre bug on SunOS 4.1.3.
4175 if $ac_need_defaults; then
4176 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4177 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4178 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4181 # Have a temporary directory for convenience. Make it in the build tree
4182 # simply because there is no reason to put it here, and in addition,
4183 # creating and moving files from /tmp can sometimes cause problems.
4184 # Create a temporary directory, and hook for its removal unless debugging.
4187 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4188 trap '{ (exit 1); exit 1; }' 1 2 13 15
4191 # Create a (secure) tmp directory for tmp files.
4194 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4195 test -n "$tmp" && test -d "$tmp"
4198 tmp
=.
/confstat$$
-$RANDOM
4199 (umask 077 && mkdir
$tmp)
4202 echo "$me: cannot create a temporary directory in ." >&2
4203 { (exit 1); exit 1; }
4208 cat >>$CONFIG_STATUS <<_ACEOF
4211 # CONFIG_FILES section.
4214 # No need to generate the scripts if there are no CONFIG_FILES.
4215 # This happens for instance when ./config.status config.h
4216 if test -n "\$CONFIG_FILES"; then
4217 # Protect against being on the right side of a sed subst in config.status.
4218 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4219 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4220 s,@sim_environment@,$sim_environment,;t t
4221 s,@sim_alignment@,$sim_alignment,;t t
4222 s,@sim_assert@,$sim_assert,;t t
4223 s,@sim_bitsize@,$sim_bitsize,;t t
4224 s,@sim_endian@,$sim_endian,;t t
4225 s,@sim_hostendian@,$sim_hostendian,;t t
4226 s,@sim_float@,$sim_float,;t t
4227 s,@sim_scache@,$sim_scache,;t t
4228 s,@sim_default_model@,$sim_default_model,;t t
4229 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
4230 s,@sim_hw_objs@,$sim_hw_objs,;t t
4231 s,@sim_hw@,$sim_hw,;t t
4232 s,@sim_inline@,$sim_inline,;t t
4233 s,@sim_packages@,$sim_packages,;t t
4234 s,@sim_regparm@,$sim_regparm,;t t
4235 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
4236 s,@sim_smp@,$sim_smp,;t t
4237 s,@sim_stdcall@,$sim_stdcall,;t t
4238 s,@sim_xor_endian@,$sim_xor_endian,;t t
4239 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
4240 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
4241 s,@SHELL@,$SHELL,;t t
4242 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4243 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4244 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4245 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4246 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4247 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4248 s,@exec_prefix@,$exec_prefix,;t t
4249 s,@prefix@,$prefix,;t t
4250 s,@program_transform_name@,$program_transform_name,;t t
4251 s,@bindir@,$bindir,;t t
4252 s,@sbindir@,$sbindir,;t t
4253 s,@libexecdir@,$libexecdir,;t t
4254 s,@datadir@,$datadir,;t t
4255 s,@sysconfdir@,$sysconfdir,;t t
4256 s,@sharedstatedir@,$sharedstatedir,;t t
4257 s,@localstatedir@,$localstatedir,;t t
4258 s,@libdir@,$libdir,;t t
4259 s,@includedir@,$includedir,;t t
4260 s,@oldincludedir@,$oldincludedir,;t t
4261 s,@infodir@,$infodir,;t t
4262 s,@mandir@,$mandir,;t t
4263 s,@build_alias@,$build_alias,;t t
4264 s,@host_alias@,$host_alias,;t t
4265 s,@target_alias@,$target_alias,;t t
4267 s,@ECHO_C@,$ECHO_C,;t t
4268 s,@ECHO_N@,$ECHO_N,;t t
4269 s,@ECHO_T@,$ECHO_T,;t t
4271 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4272 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4273 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4275 s,@CFLAGS@,$CFLAGS,;t t
4276 s,@LDFLAGS@,$LDFLAGS,;t t
4277 s,@CPPFLAGS@,$CPPFLAGS,;t t
4278 s,@ac_ct_CC@,$ac_ct_CC,;t t
4279 s,@EXEEXT@,$EXEEXT,;t t
4280 s,@OBJEXT@,$OBJEXT,;t t
4281 s,@build@,$build,;t t
4282 s,@build_cpu@,$build_cpu,;t t
4283 s,@build_vendor@,$build_vendor,;t t
4284 s,@build_os@,$build_os,;t t
4286 s,@host_cpu@,$host_cpu,;t t
4287 s,@host_vendor@,$host_vendor,;t t
4288 s,@host_os@,$host_os,;t t
4289 s,@target@,$target,;t t
4290 s,@target_cpu@,$target_cpu,;t t
4291 s,@target_vendor@,$target_vendor,;t t
4292 s,@target_os@,$target_os,;t t
4294 s,@EGREP@,$EGREP,;t t
4295 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
4296 s,@AR_FLAGS_FOR_BUILD@,$AR_FLAGS_FOR_BUILD,;t t
4297 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
4298 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
4299 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
4300 s,@LIBIBERTY_LIB@,$LIBIBERTY_LIB,;t t
4302 s,@RANLIB@,$RANLIB,;t t
4303 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4304 s,@LIBOBJS@,$LIBOBJS,;t t
4305 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4310 cat >>$CONFIG_STATUS <<\_ACEOF
4311 # Split the substitutions into bite-sized pieces for seds with
4312 # small command number limits, like on Digital OSF/1 and HP-UX.
4314 ac_sed_frag
=1 # Number of current file.
4315 ac_beg
=1 # First line for current file.
4316 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4319 while $ac_more_lines; do
4320 if test $ac_beg -gt 1; then
4321 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4323 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4325 if test ! -s $tmp/subs.frag
; then
4328 # The purpose of the label and of the branching condition is to
4329 # speed up the sed processing (if there are no `@' at all, there
4330 # is no need to browse any of the substitutions).
4331 # These are the two extra sed commands mentioned above.
4333 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4334 if test -z "$ac_sed_cmds"; then
4335 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4337 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4339 ac_sed_frag
=`expr $ac_sed_frag + 1`
4341 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4344 if test -z "$ac_sed_cmds"; then
4347 fi # test -n "$CONFIG_FILES"
4350 cat >>$CONFIG_STATUS <<\_ACEOF
4351 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4352 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4354 - |
*:- |
*:-:* ) # input from stdin
4356 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4357 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4358 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4359 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4360 * ) ac_file_in
=$ac_file.
in ;;
4363 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4364 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4365 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4366 X"$ac_file" : 'X\(//\)[^/]' \| \
4367 X"$ac_file" : 'X\(//\)$' \| \
4368 X"$ac_file" : 'X\(/\)' \| \
4369 . : '\(.\)' 2>/dev/null ||
4371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4373 /^X\(\/\/\)$/{ s//\1/; q; }
4374 /^X\(\/\).*/{ s//\1/; q; }
4376 { if $as_mkdir_p; then
4381 while test ! -d "$as_dir"; do
4382 as_dirs
="$as_dir $as_dirs"
4383 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4385 X"$as_dir" : 'X\(//\)[^/]' \| \
4386 X"$as_dir" : 'X\(//\)$' \| \
4387 X"$as_dir" : 'X\(/\)' \| \
4388 . : '\(.\)' 2>/dev/null ||
4390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4392 /^X\(\/\/\)$/{ s//\1/; q; }
4393 /^X\(\/\).*/{ s//\1/; q; }
4396 test ! -n "$as_dirs" || mkdir
$as_dirs
4397 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4398 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4399 { (exit 1); exit 1; }; }; }
4403 if test "$ac_dir" != .
; then
4404 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4405 # A "../" for each directory in $ac_dir_suffix.
4406 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4408 ac_dir_suffix
= ac_top_builddir
=
4412 .
) # No --srcdir option. We are building in place.
4414 if test -z "$ac_top_builddir"; then
4417 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4419 [\\/]* | ?
:[\\/]* ) # Absolute path.
4420 ac_srcdir
=$srcdir$ac_dir_suffix;
4421 ac_top_srcdir
=$srcdir ;;
4423 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4424 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4427 # Do not use `cd foo && pwd` to compute absolute paths, because
4428 # the directories may not exist.
4430 .
) ac_abs_builddir
="$ac_dir";;
4433 .
) ac_abs_builddir
=`pwd`;;
4434 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4435 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4438 case $ac_abs_builddir in
4439 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4441 case ${ac_top_builddir}.
in
4442 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4443 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4444 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4447 case $ac_abs_builddir in
4448 .
) ac_abs_srcdir
=$ac_srcdir;;
4451 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4452 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4453 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4456 case $ac_abs_builddir in
4457 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4459 case $ac_top_srcdir in
4460 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4461 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4462 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4468 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4469 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4472 if test x
"$ac_file" != x-
; then
4473 { echo "$as_me:$LINENO: creating $ac_file" >&5
4474 echo "$as_me: creating $ac_file" >&6;}
4477 # Let's still pretend it is `configure' which instantiates (i.e., don't
4478 # use $as_me), people would be surprised to read:
4479 # /* config.h. Generated by config.status. */
4480 if test x
"$ac_file" = x-
; then
4483 configure_input
="$ac_file. "
4485 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4486 sed 's,.*/,,'` by configure."
4488 # First look for the input files in the build tree, otherwise in the
4490 ac_file_inputs
=`IFS=:
4491 for f in $ac_file_in; do
4493 -) echo $tmp/stdin ;;
4495 # Absolute (can't be DOS-style, as IFS=:)
4496 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4497 echo "$as_me: error: cannot find input file: $f" >&2;}
4498 { (exit 1); exit 1; }; }
4501 if test -f "$f"; then
4504 elif test -f "$srcdir/$f"; then
4509 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4510 echo "$as_me: error: cannot find input file: $f" >&2;}
4511 { (exit 1); exit 1; }; }
4514 done` ||
{ (exit 1); exit 1; }
4516 cat >>$CONFIG_STATUS <<_ACEOF
4520 cat >>$CONFIG_STATUS <<\_ACEOF
4522 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4523 s
,@configure_input@
,$configure_input,;t t
4524 s
,@srcdir@
,$ac_srcdir,;t t
4525 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4526 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4527 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4528 s
,@builddir@
,$ac_builddir,;t t
4529 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4530 s
,@top_builddir@
,$ac_top_builddir,;t t
4531 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4532 s
,@INSTALL@
,$ac_INSTALL,;t t
4533 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4535 if test x"$ac_file" != x-; then
4536 mv $tmp/out $ac_file
4544 cat >>$CONFIG_STATUS <<\_ACEOF
4547 # CONFIG_HEADER section.
4550 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
4551 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4553 # ac_d sets the value in "#define NAME VALUE" lines.
4554 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4555 ac_dB
='[ ].*$,\1#\2'
4558 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4559 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4560 ac_uB
='$,\1#\2define\3'
4564 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4565 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4567 - |
*:- |
*:-:* ) # input from stdin
4569 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4570 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4571 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4572 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4573 * ) ac_file_in
=$ac_file.
in ;;
4576 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4577 echo "$as_me: creating $ac_file" >&6;}
4579 # First look for the input files in the build tree, otherwise in the
4581 ac_file_inputs
=`IFS=:
4582 for f in $ac_file_in; do
4584 -) echo $tmp/stdin ;;
4586 # Absolute (can't be DOS-style, as IFS=:)
4587 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4588 echo "$as_me: error: cannot find input file: $f" >&2;}
4589 { (exit 1); exit 1; }; }
4590 # Do quote $f, to prevent DOS paths from being IFS'd.
4593 if test -f "$f"; then
4596 elif test -f "$srcdir/$f"; then
4601 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4602 echo "$as_me: error: cannot find input file: $f" >&2;}
4603 { (exit 1); exit 1; }; }
4606 done` ||
{ (exit 1); exit 1; }
4607 # Remove the trailing spaces.
4608 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4612 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4613 # `conftest.undefs', that substitutes the proper values into
4614 # config.h.in to produce config.h. The first handles `#define'
4615 # templates, and the second `#undef' templates.
4616 # And first: Protect against being on the right side of a sed subst in
4617 # config.status. Protect against being in an unquoted here document
4619 rm -f conftest.defines conftest.undefs
4620 # Using a here document instead of a string reduces the quoting nightmare.
4621 # Putting comments in sed scripts is not portable.
4623 # `end' is used to avoid that the second main sed command (meant for
4624 # 0-ary CPP macros) applies to n-ary macro definitions.
4625 # See the Autoconf documentation for `clear'.
4626 cat >confdef2sed.
sed <<\_ACEOF
4631 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4633 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4636 # If some macros were called several times there might be several times
4637 # the same #defines, which is useless. Nevertheless, we may not want to
4638 # sort them, since we want the *last* AC-DEFINE to be honored.
4639 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4640 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4641 rm -f confdef2sed.sed
4643 # This sed command replaces #undef with comments. This is necessary, for
4644 # example, in the case of _POSIX_SOURCE, which is predefined and required
4645 # on some systems where configure will not decide to define it.
4646 cat >>conftest.undefs <<\_ACEOF
4647 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4650 # Break up conftest.defines because some shells have a limit on the size
4651 # of here documents, and old seds have small limits too (100 cmds).
4652 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4653 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4654 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4655 echo ' :' >>$CONFIG_STATUS
4657 while grep . conftest.defines >/dev/null
4659 # Write a limited-size here document to $tmp/defines.sed.
4660 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4661 # Speed up: don't consider the non `#define' lines.
4662 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4663 # Work around the forget-to-reset-the-flag bug.
4664 echo 't clr' >>$CONFIG_STATUS
4665 echo ': clr' >>$CONFIG_STATUS
4666 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
4668 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4672 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
4673 rm -f conftest.defines
4674 mv conftest.
tail conftest.defines
4676 rm -f conftest.defines
4677 echo ' fi # grep' >>$CONFIG_STATUS
4678 echo >>$CONFIG_STATUS
4680 # Break up conftest.undefs because some shells have a limit on the size
4681 # of here documents, and old seds have small limits too (100 cmds).
4682 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4684 while grep . conftest.undefs
>/dev
/null
4686 # Write a limited-size here document to $tmp/undefs.sed.
4687 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4688 # Speed up: don't consider the non
`#undef'
4689 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4690 # Work around the forget-to-reset-the-flag bug.
4691 echo 't clr' >>$CONFIG_STATUS
4692 echo ': clr' >>$CONFIG_STATUS
4693 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4695 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4699 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4700 rm -f conftest.undefs
4701 mv conftest.tail conftest.undefs
4703 rm -f conftest.undefs
4705 cat >>$CONFIG_STATUS <<\_ACEOF
4706 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4707 # use $as_me), people would be surprised to read:
4708 # /* config.h. Generated by config.status. */
4709 if test x
"$ac_file" = x-
; then
4710 echo "/* Generated by configure. */" >$tmp/config.h
4712 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4714 cat $tmp/in >>$tmp/config.h
4716 if test x
"$ac_file" != x-
; then
4717 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
4718 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4719 echo "$as_me: $ac_file is unchanged" >&6;}
4721 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4723 X"$ac_file" : 'X\(//\)[^/]' \| \
4724 X"$ac_file" : 'X\(//\)$' \| \
4725 X"$ac_file" : 'X\(/\)' \| \
4726 . : '\(.\)' 2>/dev/null ||
4728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4730 /^X\(\/\/\)$/{ s//\1/; q; }
4731 /^X\(\/\).*/{ s//\1/; q; }
4733 { if $as_mkdir_p; then
4738 while test ! -d "$as_dir"; do
4739 as_dirs
="$as_dir $as_dirs"
4740 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4742 X"$as_dir" : 'X\(//\)[^/]' \| \
4743 X"$as_dir" : 'X\(//\)$' \| \
4744 X"$as_dir" : 'X\(/\)' \| \
4745 . : '\(.\)' 2>/dev/null ||
4747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4749 /^X\(\/\/\)$/{ s//\1/; q; }
4750 /^X\(\/\).*/{ s//\1/; q; }
4753 test ! -n "$as_dirs" || mkdir
$as_dirs
4754 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4755 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4756 { (exit 1); exit 1; }; }; }
4759 mv $tmp/config.h
$ac_file
4767 cat >>$CONFIG_STATUS <<\_ACEOF
4770 # CONFIG_COMMANDS section.
4772 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
4773 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
4774 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4775 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
4776 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777 X"$ac_dest" : 'X\(//\)[^/]' \| \
4778 X"$ac_dest" : 'X\(//\)$' \| \
4779 X"$ac_dest" : 'X\(/\)' \| \
4780 . : '\(.\)' 2>/dev/null ||
4782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4784 /^X\(\/\/\)$/{ s//\1/; q; }
4785 /^X\(\/\).*/{ s//\1/; q; }
4787 { if $as_mkdir_p; then
4792 while test ! -d "$as_dir"; do
4793 as_dirs
="$as_dir $as_dirs"
4794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4796 X"$as_dir" : 'X\(//\)[^/]' \| \
4797 X"$as_dir" : 'X\(//\)$' \| \
4798 X"$as_dir" : 'X\(/\)' \| \
4799 . : '\(.\)' 2>/dev/null ||
4801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4803 /^X\(\/\/\)$/{ s//\1/; q; }
4804 /^X\(\/\).*/{ s//\1/; q; }
4807 test ! -n "$as_dirs" || mkdir
$as_dirs
4808 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4810 { (exit 1); exit 1; }; }; }
4814 if test "$ac_dir" != .
; then
4815 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4816 # A "../" for each directory in $ac_dir_suffix.
4817 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4819 ac_dir_suffix
= ac_top_builddir
=
4823 .
) # No --srcdir option. We are building in place.
4825 if test -z "$ac_top_builddir"; then
4828 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4830 [\\/]* | ?
:[\\/]* ) # Absolute path.
4831 ac_srcdir
=$srcdir$ac_dir_suffix;
4832 ac_top_srcdir
=$srcdir ;;
4834 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4835 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4838 # Do not use `cd foo && pwd` to compute absolute paths, because
4839 # the directories may not exist.
4841 .
) ac_abs_builddir
="$ac_dir";;
4844 .
) ac_abs_builddir
=`pwd`;;
4845 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4846 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4849 case $ac_abs_builddir in
4850 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4852 case ${ac_top_builddir}.
in
4853 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4854 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4855 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4858 case $ac_abs_builddir in
4859 .
) ac_abs_srcdir
=$ac_srcdir;;
4862 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4863 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4864 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4867 case $ac_abs_builddir in
4868 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4870 case $ac_top_srcdir in
4871 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4872 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4873 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4878 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4879 echo "$as_me: executing $ac_dest commands" >&6;}
4881 default
) case x
$CONFIG_HEADERS in xconfig.h
:config.
in) echo > stamp-h
;; esac ;;
4886 cat >>$CONFIG_STATUS <<\_ACEOF
4888 { (exit 0); exit 0; }
4890 chmod +x
$CONFIG_STATUS
4891 ac_clean_files
=$ac_clean_files_save
4894 # configure is writing to config.log, and then calls config.status.
4895 # config.status does its own redirection, appending to config.log.
4896 # Unfortunately, on DOS this fails, as config.log is still kept open
4897 # by configure, so config.status won't be able to write to it; its
4898 # output is simply discarded. So we exec the FD to /dev/null,
4899 # effectively closing config.log, so it can be properly (re)opened and
4900 # appended to by config.status. When coming back to configure, we
4901 # need to make the FD available again.
4902 if test "$no_create" != yes; then
4904 ac_config_status_args
=
4905 test "$silent" = yes &&
4906 ac_config_status_args
="$ac_config_status_args --quiet"
4908 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4910 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4911 # would make configure fail if this is the last instruction.
4912 $ac_cs_success ||
{ (exit 1); exit 1; }