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
="z8k-dis.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S STRIP ac_ct_STRIP LIBTOOL WARN_CFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l CC_FOR_BUILD EXEEXT_FOR_BUILD HDEFINES CGEN_MAINT_TRUE CGEN_MAINT_FALSE cgendir WIN32LDFLAGS WIN32LIBADD archdefs BFD_MACHINES 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-shared=PKGS build shared libraries default
=no
854 --enable-static=PKGS build static libraries default
=yes
855 --enable-fast-install=PKGS optimize
for fast installation default
=yes
856 --disable-libtool-lock avoid locking
(might
break parallel builds
)
857 --enable-targets alternative target configurations
858 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
859 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-install-libbfd controls installation of libbfd and related headers
863 --disable-nls do not use Native Language Support
864 --enable-cgen-maint=dir build cgen generated files
867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-gnu-ld assume the C compiler uses GNU ld default
=no
870 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 --with-included-gettext use the GNU
gettext library included here
873 Some influential environment variables
:
874 CC C compiler
command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
877 nonstandard directory
<lib dir
>
878 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
879 headers
in a nonstandard directory
<include dir
>
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
981 Copyright (C) 2003 Free Software Foundation, Inc.
982 This configure script is free software; the Free Software Foundation
983 gives unlimited permission to copy, distribute and modify it.
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
992 It was created by $as_me, which was
993 generated by GNU Autoconf 2.59. Invocation command line was
1004 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1005 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1006 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1007 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1008 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1011 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1013 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1015 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1016 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1017 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1019 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Strip out --silent because we don't want to record it for future runs.
1046 # Also quote any args containing shell meta-characters.
1047 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_must_keep_next=false
1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069 if test $ac_must_keep_next = true; then
1070 ac_must_keep_next=false # Got value, back to normal.
1073 *=* | --config-cache | -C | -disable-* | --disable-* \
1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076 | -with-* | --with-* | -without-* | --without-* | --x)
1077 case "$ac_configure_args0 " in
1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 -* ) ac_must_keep_next=true ;;
1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085 # Get rid of the leading space.
1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094 # When interrupted or exit'd, cleanup temporary files, and complete
1095 # config.log. We remove comments because anyway the quotes in there
1096 # would cause problems or look ugly.
1097 # WARNING: Be sure not to use single quotes in there, as some shells,
1098 # such as our DU 5.0 friend, will then `close
' the trap.
1099 trap 'exit_status
=$?
1100 # Save into config.log some information that might help in debugging.
1105 ## ---------------- ##
1106 ## Cache variables. ##
1107 ## ---------------- ##
1110 # The following way of writing the cache mishandles newlines in values,
1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1128 ## ----------------- ##
1129 ## Output variables. ##
1130 ## ----------------- ##
1133 for ac_var
in $ac_subst_vars
1135 eval ac_val
=$
`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -n "$ac_subst_files"; then
1147 for ac_var
in $ac_subst_files
1149 eval ac_val
=$
`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -s confdefs.h
; then
1162 sed "/^$/d" confdefs.h |
sort
1165 test "$ac_signal" != 0 &&
1166 echo "$as_me: caught signal $ac_signal"
1167 echo "$as_me: exit $exit_status"
1169 rm -f core
*.core
&&
1170 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1173 for ac_signal in 1 2 13 15; do
1174 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1178 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1179 rm -rf conftest* confdefs.h
1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 # Predefined preprocessor variables.
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_NAME "$PACKAGE_NAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_STRING "$PACKAGE_STRING"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1210 # Let the site file select an alternate cache file if it wants to.
1211 # Prefer explicitly selected file to automatically selected ones.
1212 if test -z "$CONFIG_SITE"; then
1213 if test "x$prefix" != xNONE; then
1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 for ac_site_file in $CONFIG_SITE; do
1220 if test -r "$ac_site_file"; then
1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222 echo "$as_me: loading site script $ac_site_file" >&6;}
1223 sed 's
/^
/|
/' "$ac_site_file" >&5
1228 if test -r "$cache_file"; then
1229 # Some versions of bash will fail to source /dev/null (special
1230 # files actually), so we avoid doing that.
1231 if test -f "$cache_file"; then
1232 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233 echo "$as_me: loading cache $cache_file" >&6;}
1235 [\\/]* | ?:[\\/]* ) . $cache_file;;
1236 *) . ./$cache_file;;
1240 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241 echo "$as_me: creating cache $cache_file" >&6;}
1245 # Check that the precious variables saved in the cache have kept the same
1247 ac_cache_corrupted=false
1248 for ac_var in `(set) 2>&1 |
1249 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251 eval ac_new_set=\$ac_env_${ac_var}_set
1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253 eval ac_new_val="\$ac_env_${ac_var}_value"
1254 case $ac_old_set,$ac_new_set in
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1258 ac_cache_corrupted=: ;;
1260 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1265 if test "x$ac_old_val" != "x$ac_new_val"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1267 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1269 echo "$as_me: former value: $ac_old_val" >&2;}
1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1271 echo "$as_me: current value: $ac_new_val" >&2;}
1272 ac_cache_corrupted=:
1275 # Pass precious variables to config.status.
1276 if test "$ac_new_set" = set; then
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1280 *) ac_arg=$ac_var=$ac_new_val ;;
1282 case " $ac_configure_args " in
1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1288 if $ac_cache_corrupted; then
1289 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1292 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1299 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1324 if test -f $ac_dir/install-sh; then
1326 ac_install_sh="$ac_aux_dir/install-sh -c"
1328 elif test -f $ac_dir/install.sh; then
1330 ac_install_sh="$ac_aux_dir/install.sh -c"
1332 elif test -f $ac_dir/shtool; then
1334 ac_install_sh="$ac_aux_dir/shtool install -c"
1338 if test -z "$ac_aux_dir"; then
1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1340 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1341 { (exit 1); exit 1; }; }
1343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1345 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1347 # Make sure we can run config.sub.
1348 $ac_config_sub sun4 >/dev/null 2>&1 ||
1349 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1350 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1351 { (exit 1); exit 1; }; }
1353 echo "$as_me:$LINENO: checking build system type" >&5
1354 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1355 if test "${ac_cv_build+set}" = set; then
1356 echo $ECHO_N "(cached) $ECHO_C" >&6
1358 ac_cv_build_alias=$build_alias
1359 test -z "$ac_cv_build_alias" &&
1360 ac_cv_build_alias=`$ac_config_guess`
1361 test -z "$ac_cv_build_alias" &&
1362 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1363 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1364 { (exit 1); exit 1; }; }
1365 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1372 echo "${ECHO_T}$ac_cv_build" >&6
1374 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1375 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1376 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1379 echo "$as_me:$LINENO: checking host system type" >&5
1380 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1381 if test "${ac_cv_host+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 ac_cv_host_alias=$host_alias
1385 test -z "$ac_cv_host_alias" &&
1386 ac_cv_host_alias=$ac_cv_build_alias
1387 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1389 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1390 { (exit 1); exit 1; }; }
1393 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1394 echo "${ECHO_T}$ac_cv_host" >&6
1396 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1397 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1398 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1401 echo "$as_me:$LINENO: checking target system type" >&5
1402 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1403 if test "${ac_cv_target+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_target_alias=$target_alias
1407 test "x$ac_cv_target_alias" = "x" &&
1408 ac_cv_target_alias=$ac_cv_host_alias
1409 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1416 echo "${ECHO_T}$ac_cv_target" >&6
1417 target=$ac_cv_target
1418 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1419 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1420 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1423 # The aliases save the names the user supplied, while $host etc.
1424 # will get canonicalized.
1425 test -n "$target_alias" &&
1426 test "$program_prefix$program_suffix$program_transform_name" = \
1428 program_prefix=${target_alias}-
1430 ac_cpp='$CPP $CPPFLAGS'
1431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1432 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1434 if test -n "$ac_tool_prefix"; then
1435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1437 echo "$as_me:$LINENO: checking for $ac_word" >&5
1438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1439 if test "${ac_cv_prog_CC+set}" = set; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 if test -n "$CC"; then
1443 ac_cv_prog_CC="$CC" # Let the user override the test.
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 for ac_exec_ext in '' $ac_executable_extensions; do
1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462 if test -n "$CC"; then
1463 echo "$as_me:$LINENO: result: $CC" >&5
1464 echo "${ECHO_T}$CC" >&6
1466 echo "$as_me:$LINENO: result: no" >&5
1467 echo "${ECHO_T}no" >&6
1471 if test -z "$ac_cv_prog_CC"; then
1473 # Extract the first word of "gcc", so it can be a program name with args.
1474 set dummy gcc; ac_word=$2
1475 echo "$as_me:$LINENO: checking for $ac_word" >&5
1476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 if test -n "$ac_ct_CC"; then
1481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1487 test -z "$as_dir" && as_dir=.
1488 for ac_exec_ext in '' $ac_executable_extensions; do
1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1490 ac_cv_prog_ac_ct_CC="gcc"
1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1500 if test -n "$ac_ct_CC"; then
1501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1502 echo "${ECHO_T}$ac_ct_CC" >&6
1504 echo "$as_me:$LINENO: result: no" >&5
1505 echo "${ECHO_T}no" >&6
1513 if test -z "$CC"; then
1514 if test -n "$ac_tool_prefix"; then
1515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1516 set dummy ${ac_tool_prefix}cc; ac_word=$2
1517 echo "$as_me:$LINENO: checking for $ac_word" >&5
1518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519 if test "${ac_cv_prog_CC+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 if test -n "$CC"; then
1523 ac_cv_prog_CC="$CC" # Let the user override the test.
1525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir=.
1530 for ac_exec_ext in '' $ac_executable_extensions; do
1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1532 ac_cv_prog_CC="${ac_tool_prefix}cc"
1533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1542 if test -n "$CC"; then
1543 echo "$as_me:$LINENO: result: $CC" >&5
1544 echo "${ECHO_T}$CC" >&6
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1551 if test -z "$ac_cv_prog_CC"; then
1553 # Extract the first word of "cc", so it can be a program name with args.
1554 set dummy cc; ac_word=$2
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$ac_ct_CC"; then
1561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 for ac_exec_ext in '' $ac_executable_extensions; do
1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1570 ac_cv_prog_ac_ct_CC="cc"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1580 if test -n "$ac_ct_CC"; then
1581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1582 echo "${ECHO_T}$ac_ct_CC" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 # Extract the first word of "cc", so it can be a program name with args.
1596 set dummy cc; ac_word=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$CC"; then
1603 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1614 ac_prog_rejected=yes
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 if test $ac_prog_rejected = yes; then
1625 # We found a bogon in the path, so make sure we never use it.
1626 set dummy $ac_cv_prog_CC
1628 if test $# != 0; then
1629 # We chose a different compiler from the bogus one.
1630 # However, it has the same basename, so the bogon will be chosen
1631 # first if we set CC to just the basename; use the full file name.
1633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1639 if test -n "$CC"; then
1640 echo "$as_me:$LINENO: result: $CC" >&5
1641 echo "${ECHO_T}$CC" >&6
1643 echo "$as_me:$LINENO: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1648 if test -z "$CC"; then
1649 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$CC"; then
1660 ac_cv_prog_CC="$CC" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 if test -n "$CC"; then
1680 echo "$as_me:$LINENO: result: $CC" >&5
1681 echo "${ECHO_T}$CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1687 test -n "$CC" && break
1690 if test -z "$CC"; then
1694 # Extract the first word of "$ac_prog", so it can be a program name with args.
1695 set dummy $ac_prog; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_CC"; then
1702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_CC="$ac_prog"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1721 if test -n "$ac_ct_CC"; then
1722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1723 echo "${ECHO_T}$ac_ct_CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1729 test -n "$ac_ct_CC" && break
1738 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1739 See \`config.log' for more details.
" >&5
1740 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1741 See \
`config.log' for more details." >&2;}
1742 { (exit 1); exit 1; }; }
1744 # Provide some information about the compiler.
1745 echo "$as_me:$LINENO:" \
1746 "checking for C compiler version" >&5
1747 ac_compiler=`set X
$ac_compile; echo $2`
1748 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1749 (eval $ac_compiler --version </dev/null >&5) 2>&5
1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752 (exit $ac_status); }
1753 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1754 (eval $ac_compiler -v </dev/null >&5) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }
1758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1759 (eval $ac_compiler -V </dev/null >&5) 2>&5
1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762 (exit $ac_status); }
1764 cat >conftest.$ac_ext <<_ACEOF
1767 cat confdefs.h >>conftest.$ac_ext
1768 cat >>conftest.$ac_ext <<_ACEOF
1769 /* end confdefs.h. */
1779 ac_clean_files_save=$ac_clean_files
1780 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1781 # Try to create an executable without -o first, disregard a.out.
1782 # It will help us diagnose broken compilers, and finding out an intuition
1784 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1785 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1786 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1787 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1788 (eval $ac_link_default) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; then
1792 # Find the output, starting from the most likely. This scheme is
1793 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1796 # Be careful to initialize this variable, since it used to be cached.
1797 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1799 # b.out is created by i960 compilers.
1800 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1802 test -f "$ac_file" || continue
1804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1807 # This is the source file.
1810 # We found the default executable, but exeext='' is most
1814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1815 # FIXME: I believe we export ac_cv_exeext for Libtool,
1816 # but it would be cool to find out if it's true. Does anybody
1817 # maintain Libtool? --akim.
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1829 See \`config.log
' for more details." >&5
1830 echo "$as_me: error: C compiler cannot create executables
1831 See \`config.log' for more details.
" >&2;}
1832 { (exit 77); exit 77; }; }
1835 ac_exeext=$ac_cv_exeext
1836 echo "$as_me:$LINENO: result
: $ac_file" >&5
1837 echo "${ECHO_T}$ac_file" >&6
1839 # Check the compiler produces executables we can run. If not, either
1840 # the compiler is broken, or we cross compile.
1841 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1842 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1843 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1844 # If not cross compiling, check that we can run a simple program.
1845 if test "$cross_compiling" != yes; then
1846 if { ac_try='./$ac_file'
1847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1851 (exit $ac_status); }; }; then
1854 if test "$cross_compiling" = maybe; then
1857 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1858 If you meant to cross compile
, use \
`--host'.
1859 See \`config.log
' for more details." >&5
1860 echo "$as_me: error: cannot run C compiled programs.
1861 If you meant to cross compile, use \`--host'.
1862 See \
`config.log' for more details." >&2;}
1863 { (exit 1); exit 1; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1870 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1871 ac_clean_files=$ac_clean_files_save
1872 # Check the compiler produces executables we can run. If not, either
1873 # the compiler is broken, or we cross compile.
1874 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1875 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1876 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1877 echo "${ECHO_T}$cross_compiling" >&6
1879 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1880 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1882 (eval $ac_link) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1887 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1888 # work properly (i.e., refer to `conftest.exe'), while it won't with
1890 for ac_file
in conftest.exe conftest conftest.
*; do
1891 test -f "$ac_file" ||
continue
1893 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1894 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1901 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1902 See \`config.log' for more details." >&5
1903 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1904 See \`config.log' for more details." >&2;}
1905 { (exit 1); exit 1; }; }
1908 rm -f conftest
$ac_cv_exeext
1909 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1910 echo "${ECHO_T}$ac_cv_exeext" >&6
1912 rm -f conftest.
$ac_ext
1913 EXEEXT
=$ac_cv_exeext
1915 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1916 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1917 if test "${ac_cv_objext+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 cat >conftest.
$ac_ext <<_ACEOF
1923 cat confdefs.h
>>conftest.
$ac_ext
1924 cat >>conftest.
$ac_ext <<_ACEOF
1925 /* end confdefs.h. */
1935 rm -f conftest.o conftest.obj
1936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1937 (eval $ac_compile) 2>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; then
1941 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1943 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1944 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1949 echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1952 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1955 See \`config.log' for more details." >&2;}
1956 { (exit 1); exit 1; }; }
1959 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1961 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1962 echo "${ECHO_T}$ac_cv_objext" >&6
1963 OBJEXT
=$ac_cv_objext
1965 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1966 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1967 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 cat >conftest.
$ac_ext <<_ACEOF
1973 cat confdefs.h
>>conftest.
$ac_ext
1974 cat >>conftest.
$ac_ext <<_ACEOF
1975 /* end confdefs.h. */
1988 rm -f conftest.
$ac_objext
1989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1990 (eval $ac_compile) 2>conftest.er1
1992 grep -v '^ *+' conftest.er1
>conftest.err
1994 cat conftest.err
>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); } &&
1997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try
='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2020 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2022 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2023 ac_test_CFLAGS
=${CFLAGS+set}
2024 ac_save_CFLAGS
=$CFLAGS
2026 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2027 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2028 if test "${ac_cv_prog_cc_g+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 cat >conftest.
$ac_ext <<_ACEOF
2034 cat confdefs.h
>>conftest.
$ac_ext
2035 cat >>conftest.
$ac_ext <<_ACEOF
2036 /* end confdefs.h. */
2046 rm -f conftest.
$ac_objext
2047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2048 (eval $ac_compile) 2>conftest.er1
2050 grep -v '^ *+' conftest.er1
>conftest.err
2052 cat conftest.err
>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; } &&
2061 { ac_try
='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2069 echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.
$ac_ext >&5
2074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2077 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2078 if test "$ac_test_CFLAGS" = set; then
2079 CFLAGS
=$ac_save_CFLAGS
2080 elif test $ac_cv_prog_cc_g = yes; then
2081 if test "$GCC" = yes; then
2087 if test "$GCC" = yes; then
2093 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2094 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2095 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 ac_cv_prog_cc_stdc
=no
2100 cat >conftest.
$ac_ext <<_ACEOF
2103 cat confdefs.h
>>conftest.
$ac_ext
2104 cat >>conftest.
$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2108 #include <sys/types.h>
2109 #include <sys/stat.h>
2110 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2111 struct buf { int x; };
2112 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2113 static char *e (p, i)
2119 static char *f (char * (*g) (char **, int), char **p, ...)
2124 s = g (p, va_arg (v,int));
2129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2130 function prototypes and stuff, but not '\xHH' hex character constants.
2131 These don't provoke an error unfortunately, instead are silently treated
2132 as 'x'. The following induces an error, until -std1 is added to get
2133 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2134 array size at least. It's necessary to write '\x00'==0 to get something
2135 that's true only with -std1. */
2136 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2138 int test (int i, double x);
2139 struct s1 {int (*f) (int a);};
2140 struct s2 {int (*f) (double a);};
2141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2152 # Don't try gcc -ansi; that turns off useful extensions and
2153 # breaks some systems' header files.
2154 # AIX -qlanglvl=ansi
2155 # Ultrix and OSF/1 -std1
2156 # HP-UX 10.20 and later -Ae
2157 # HP-UX older versions -Aa -D_HPUX_SOURCE
2158 # SVR4 -Xc -D__EXTENSIONS__
2159 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2161 CC
="$ac_save_CC $ac_arg"
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; } &&
2177 { ac_try
='test -s conftest.$ac_objext'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; }; then
2183 ac_cv_prog_cc_stdc
=$ac_arg
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.
$ac_ext >&5
2190 rm -f conftest.err conftest.
$ac_objext
2192 rm -f conftest.
$ac_ext conftest.
$ac_objext
2197 case "x$ac_cv_prog_cc_stdc" in
2199 echo "$as_me:$LINENO: result: none needed" >&5
2200 echo "${ECHO_T}none needed" >&6 ;;
2202 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2203 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2204 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2207 # Some people use a C++ compiler to compile C. Since we use `exit',
2208 # in C++ we need to declare it. In case someone uses the same compiler
2209 # for both compiling C and C++ we need to have the C++ compiler decide
2210 # the declaration of exit, since it's the most demanding environment.
2211 cat >conftest.
$ac_ext <<_ACEOF
2216 rm -f conftest.
$ac_objext
2217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2218 (eval $ac_compile) 2>conftest.er1
2220 grep -v '^ *+' conftest.er1
>conftest.err
2222 cat conftest.err
>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); } &&
2225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; } &&
2231 { ac_try
='test -s conftest.$ac_objext'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2237 for ac_declaration
in \
2239 'extern "C" void std::exit (int) throw (); using std::exit;' \
2240 'extern "C" void std::exit (int); using std::exit;' \
2241 'extern "C" void exit (int) throw ();' \
2242 'extern "C" void exit (int);' \
2245 cat >conftest.
$ac_ext <<_ACEOF
2248 cat confdefs.h
>>conftest.
$ac_ext
2249 cat >>conftest.
$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1
>conftest.err
2267 cat conftest.err
>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; } &&
2276 { ac_try
='test -s conftest.$ac_objext'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; }; then
2284 echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.
$ac_ext >&5
2289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2290 cat >conftest.
$ac_ext <<_ACEOF
2293 cat confdefs.h
>>conftest.
$ac_ext
2294 cat >>conftest.
$ac_ext <<_ACEOF
2295 /* end confdefs.h. */
2305 rm -f conftest.
$ac_objext
2306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2307 (eval $ac_compile) 2>conftest.er1
2309 grep -v '^ *+' conftest.er1
>conftest.err
2311 cat conftest.err
>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); } &&
2314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; } &&
2320 { ac_try
='test -s conftest.$ac_objext'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; }; then
2328 echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.
$ac_ext >&5
2332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2335 if test -n "$ac_declaration"; then
2336 echo '#ifdef __cplusplus' >>confdefs.h
2337 echo $ac_declaration >>confdefs.h
2338 echo '#endif' >>confdefs.h
2342 echo "$as_me: failed program was:" >&5
2343 sed 's/^/| /' conftest.
$ac_ext >&5
2346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2348 ac_cpp
='$CPP $CPPFLAGS'
2349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2355 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2356 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2357 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 ac_check_lib_save_LIBS
=$LIBS
2361 LIBS
="-lcposix $LIBS"
2362 cat >conftest.
$ac_ext <<_ACEOF
2365 cat confdefs.h
>>conftest.
$ac_ext
2366 cat >>conftest.
$ac_ext <<_ACEOF
2367 /* end confdefs.h. */
2369 /* Override any gcc2 internal prototype to avoid an error. */
2373 /* We use char because int might match the return type of a gcc2
2374 builtin and then its argument prototype would still apply. */
2384 rm -f conftest.
$ac_objext conftest
$ac_exeext
2385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2386 (eval $ac_link) 2>conftest.er1
2388 grep -v '^ *+' conftest.er1
>conftest.err
2390 cat conftest.err
>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); } &&
2393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; } &&
2399 { ac_try
='test -s conftest$ac_exeext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2405 ac_cv_lib_cposix_strerror
=yes
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.
$ac_ext >&5
2410 ac_cv_lib_cposix_strerror
=no
2412 rm -f conftest.err conftest.
$ac_objext \
2413 conftest
$ac_exeext conftest.
$ac_ext
2414 LIBS
=$ac_check_lib_save_LIBS
2416 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2417 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2418 if test $ac_cv_lib_cposix_strerror = yes; then
2419 LIBS
="$LIBS -lcposix"
2425 # We currently only use the version number for the name of any shared
2426 # library. For user convenience, we always use the same version
2427 # number that BFD is using.
2428 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2430 am__api_version
="1.4"
2431 # Find a good install program. We prefer a C program (faster),
2432 # so one script is as good as another. But avoid the broken or
2433 # incompatible versions:
2434 # SysV /etc/install, /usr/sbin/install
2435 # SunOS /usr/etc/install
2436 # IRIX /sbin/install
2438 # AmigaOS /C/install, which installs bootblocks on floppy discs
2439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442 # OS/2's system install, which has a completely different semantic
2443 # ./install, which can be erroneously created by make from ./install.sh.
2444 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2445 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2446 if test -z "$INSTALL"; then
2447 if test "${ac_cv_path_install+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir
=.
2455 # Account for people who put trailing slashes in PATH elements.
2457 .
/ | .
// |
/cC
/* | \
2458 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2459 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2462 # OSF1 and SCO ODT 3.0 have their own names for install.
2463 # Don't use installbsd from OSF since it installs stuff as root
2465 for ac_prog
in ginstall scoinst
install; do
2466 for ac_exec_ext
in '' $ac_executable_extensions; do
2467 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2468 if test $ac_prog = install &&
2469 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2470 # AIX install. It has an incompatible calling convention.
2472 elif test $ac_prog = install &&
2473 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2474 # program-specific install script used by HP pwplus--don't use.
2477 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2489 if test "${ac_cv_path_install+set}" = set; then
2490 INSTALL
=$ac_cv_path_install
2492 # As a last resort, use the slow shell script. We don't cache a
2493 # path for INSTALL within a source directory, because that will
2494 # break other packages using the cache if that directory is
2495 # removed, or if the path is relative.
2496 INSTALL
=$ac_install_sh
2499 echo "$as_me:$LINENO: result: $INSTALL" >&5
2500 echo "${ECHO_T}$INSTALL" >&6
2502 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2503 # It thinks the first close brace ends the variable substitution.
2504 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2506 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2508 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2510 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2511 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2514 echo timestamp
> conftestfile
2515 # Do `set' in a subshell so we don't clobber the current shell's
2516 # arguments. Must try -L first in case configure is actually a
2517 # symlink; some systems play weird games with the mod time of symlinks
2518 # (eg FreeBSD returns the mod time of the symlink's containing
2521 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2522 if test "$*" = "X"; then
2524 set X
`ls -t $srcdir/configure conftestfile`
2526 if test "$*" != "X $srcdir/configure conftestfile" \
2527 && test "$*" != "X conftestfile $srcdir/configure"; then
2529 # If neither matched, then we have a broken ls. This can happen
2530 # if, for instance, CONFIG_SHELL is bash and it inherits a
2531 # broken ls alias from the environment. This has actually
2532 # happened. Such a system could not be considered "sane".
2533 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2534 alias in your environment" >&5
2535 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2536 alias in your environment" >&2;}
2537 { (exit 1); exit 1; }; }
2540 test "$2" = conftestfile
2546 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2547 Check your system clock" >&5
2548 echo "$as_me: error: newly created file is older than distributed files!
2549 Check your system clock" >&2;}
2550 { (exit 1); exit 1; }; }
2553 echo "$as_me:$LINENO: result: yes" >&5
2554 echo "${ECHO_T}yes" >&6
2555 test "$program_prefix" != NONE
&&
2556 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2557 # Use a double $ so make ignores it.
2558 test "$program_suffix" != NONE
&&
2559 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2560 # Double any \ or $. echo might interpret backslashes.
2561 # By default was `s,x,x', remove it if useless.
2562 cat <<\_ACEOF
>conftest.
sed
2563 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2565 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2568 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2569 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2570 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2571 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 cat >conftest.
make <<\_ACEOF
2576 @
echo 'ac_maketemp="$(MAKE)"'
2578 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2579 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2580 if test -n "$ac_maketemp"; then
2581 eval ac_cv_prog_make_
${ac_make}_set
=yes
2583 eval ac_cv_prog_make_
${ac_make}_set
=no
2587 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2588 echo "$as_me:$LINENO: result: yes" >&5
2589 echo "${ECHO_T}yes" >&6
2592 echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6
2594 SET_MAKE
="MAKE=${MAKE-make}"
2600 VERSION
=${BFD_VERSION}
2602 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
2603 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2604 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2605 { (exit 1); exit 1; }; }
2608 cat >>confdefs.h
<<_ACEOF
2609 #define PACKAGE "$PACKAGE"
2613 cat >>confdefs.h
<<_ACEOF
2614 #define VERSION "$VERSION"
2619 missing_dir
=`cd $ac_aux_dir && pwd`
2620 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
2621 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
2622 # Run test in a subshell; some versions of sh will print an error if
2623 # an executable is not found, even if stderr is redirected.
2624 # Redirect stdin to placate older versions of autoconf. Sigh.
2625 if (aclocal-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
2626 ACLOCAL
=aclocal-
${am__api_version}
2627 echo "$as_me:$LINENO: result: found" >&5
2628 echo "${ECHO_T}found" >&6
2630 ACLOCAL
="$missing_dir/missing aclocal-${am__api_version}"
2631 echo "$as_me:$LINENO: result: missing" >&5
2632 echo "${ECHO_T}missing" >&6
2635 echo "$as_me:$LINENO: checking for working autoconf" >&5
2636 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
2637 # Run test in a subshell; some versions of sh will print an error if
2638 # an executable is not found, even if stderr is redirected.
2639 # Redirect stdin to placate older versions of autoconf. Sigh.
2640 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
2642 echo "$as_me:$LINENO: result: found" >&5
2643 echo "${ECHO_T}found" >&6
2645 AUTOCONF
="$missing_dir/missing autoconf"
2646 echo "$as_me:$LINENO: result: missing" >&5
2647 echo "${ECHO_T}missing" >&6
2650 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
2651 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
2652 # Run test in a subshell; some versions of sh will print an error if
2653 # an executable is not found, even if stderr is redirected.
2654 # Redirect stdin to placate older versions of autoconf. Sigh.
2655 if (automake-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
2656 AUTOMAKE
=automake-
${am__api_version}
2657 echo "$as_me:$LINENO: result: found" >&5
2658 echo "${ECHO_T}found" >&6
2660 AUTOMAKE
="$missing_dir/missing automake-${am__api_version}"
2661 echo "$as_me:$LINENO: result: missing" >&5
2662 echo "${ECHO_T}missing" >&6
2665 echo "$as_me:$LINENO: checking for working autoheader" >&5
2666 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
2667 # Run test in a subshell; some versions of sh will print an error if
2668 # an executable is not found, even if stderr is redirected.
2669 # Redirect stdin to placate older versions of autoconf. Sigh.
2670 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
2671 AUTOHEADER
=autoheader
2672 echo "$as_me:$LINENO: result: found" >&5
2673 echo "${ECHO_T}found" >&6
2675 AUTOHEADER
="$missing_dir/missing autoheader"
2676 echo "$as_me:$LINENO: result: missing" >&5
2677 echo "${ECHO_T}missing" >&6
2680 echo "$as_me:$LINENO: checking for working makeinfo" >&5
2681 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
2682 # Run test in a subshell; some versions of sh will print an error if
2683 # an executable is not found, even if stderr is redirected.
2684 # Redirect stdin to placate older versions of autoconf. Sigh.
2685 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
2687 echo "$as_me:$LINENO: result: found" >&5
2688 echo "${ECHO_T}found" >&6
2690 MAKEINFO
="$missing_dir/missing makeinfo"
2691 echo "$as_me:$LINENO: result: missing" >&5
2692 echo "${ECHO_T}missing" >&6
2697 if test -n "$ac_tool_prefix"; then
2698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2699 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2700 echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2702 if test "${ac_cv_prog_AR+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 if test -n "$AR"; then
2706 ac_cv_prog_AR
="$AR" # Let the user override the test.
2708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir
=.
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test -n "$AR"; then
2726 echo "$as_me:$LINENO: result: $AR" >&5
2727 echo "${ECHO_T}$AR" >&6
2729 echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2734 if test -z "$ac_cv_prog_AR"; then
2736 # Extract the first word of "ar", so it can be a program name with args.
2737 set dummy
ar; ac_word
=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 if test -n "$ac_ct_AR"; then
2744 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir
=.
2751 for ac_exec_ext
in '' $ac_executable_extensions; do
2752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753 ac_cv_prog_ac_ct_AR
="ar"
2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2763 if test -n "$ac_ct_AR"; then
2764 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2765 echo "${ECHO_T}$ac_ct_AR" >&6
2767 echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2778 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2779 echo "$as_me:$LINENO: checking for $ac_word" >&5
2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2781 if test "${ac_cv_prog_RANLIB+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 if test -n "$RANLIB"; then
2785 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 RANLIB
=$ac_cv_prog_RANLIB
2804 if test -n "$RANLIB"; then
2805 echo "$as_me:$LINENO: result: $RANLIB" >&5
2806 echo "${ECHO_T}$RANLIB" >&6
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2813 if test -z "$ac_cv_prog_RANLIB"; then
2814 ac_ct_RANLIB
=$RANLIB
2815 # Extract the first word of "ranlib", so it can be a program name with args.
2816 set dummy ranlib
; ac_word
=$2
2817 echo "$as_me:$LINENO: checking for $ac_word" >&5
2818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2819 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 if test -n "$ac_ct_RANLIB"; then
2823 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir
=.
2830 for ac_exec_ext
in '' $ac_executable_extensions; do
2831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2832 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2842 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2843 if test -n "$ac_ct_RANLIB"; then
2844 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2845 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2851 RANLIB
=$ac_ct_RANLIB
2853 RANLIB
="$ac_cv_prog_RANLIB"
2857 # Check whether --enable-shared or --disable-shared was given.
2858 if test "${enable_shared+set}" = set; then
2859 enableval
="$enable_shared"
2860 p
=${PACKAGE-default}
2862 yes) enable_shared
=yes ;;
2863 no
) enable_shared
=no
;;
2866 # Look at the argument we got. We use all the common list separators.
2867 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2868 for pkg
in $enableval; do
2869 if test "X$pkg" = "X$p"; then
2880 # Check whether --enable-static or --disable-static was given.
2881 if test "${enable_static+set}" = set; then
2882 enableval
="$enable_static"
2883 p
=${PACKAGE-default}
2885 yes) enable_static
=yes ;;
2886 no
) enable_static
=no
;;
2889 # Look at the argument we got. We use all the common list separators.
2890 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2891 for pkg
in $enableval; do
2892 if test "X$pkg" = "X$p"; then
2902 # Check whether --enable-fast-install or --disable-fast-install was given.
2903 if test "${enable_fast_install+set}" = set; then
2904 enableval
="$enable_fast_install"
2905 p
=${PACKAGE-default}
2907 yes) enable_fast_install
=yes ;;
2908 no
) enable_fast_install
=no
;;
2910 enable_fast_install
=no
2911 # Look at the argument we got. We use all the common list separators.
2912 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2913 for pkg
in $enableval; do
2914 if test "X$pkg" = "X$p"; then
2915 enable_fast_install
=yes
2922 enable_fast_install
=yes
2925 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2926 if test "${with_gnu_ld+set}" = set; then
2927 withval
="$with_gnu_ld"
2928 test "$withval" = no || with_gnu_ld
=yes
2933 if test "$GCC" = yes; then
2934 # Check if gcc -print-prog-name=ld gives a path.
2935 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2936 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2939 # gcc leaves a trailing carriage return which upsets mingw
2940 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2942 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2945 # Accept absolute paths.
2946 [\\/]* |
[A-Za-z
]:[\\/]*)
2947 re_direlt
='/[^/][^/]*/\.\./'
2948 # Canonicalize the path of ld
2949 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2950 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2951 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2953 test -z "$LD" && LD
="$ac_prog"
2956 # If it fails, then pretend we aren't using GCC.
2960 # If it is relative, then search for the first ld in PATH.
2964 elif test "$with_gnu_ld" = yes; then
2965 echo "$as_me:$LINENO: checking for GNU ld" >&5
2966 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2968 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2969 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2971 if test "${lt_cv_path_LD+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -z "$LD"; then
2975 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2976 for ac_dir
in $PATH; do
2977 test -z "$ac_dir" && ac_dir
=.
2978 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
2979 lt_cv_path_LD
="$ac_dir/$ac_prog"
2980 # Check to see if the program is GNU ld. I'd rather use --version,
2981 # but apparently some GNU ld's only accept -v.
2982 # Break only if it was the GNU/non-GNU ld that we prefer.
2983 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
2984 test "$with_gnu_ld" != no
&& break
2986 test "$with_gnu_ld" != yes && break
2992 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
2997 if test -n "$LD"; then
2998 echo "$as_me:$LINENO: result: $LD" >&5
2999 echo "${ECHO_T}$LD" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3004 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3005 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3006 { (exit 1); exit 1; }; }
3007 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3008 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3009 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3013 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3014 lt_cv_prog_gnu_ld
=yes
3016 lt_cv_prog_gnu_ld
=no
3019 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3020 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3021 with_gnu_ld
=$lt_cv_prog_gnu_ld
3024 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3025 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3026 if test "${lt_cv_ld_reload_flag+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 lt_cv_ld_reload_flag
='-r'
3031 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3032 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3033 reload_flag
=$lt_cv_ld_reload_flag
3034 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3036 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3037 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3038 if test "${lt_cv_path_NM+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 if test -n "$NM"; then
3042 # Let the user override the test.
3045 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3046 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3047 test -z "$ac_dir" && ac_dir
=.
3048 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3049 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3050 # Check to see if the nm accepts a BSD-compat flag.
3051 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3052 # nm: unknown option "B" ignored
3053 # Tru64's nm complains that /dev/null is an invalid object file
3054 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3055 lt_cv_path_NM
="$tmp_nm -B"
3057 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3058 lt_cv_path_NM
="$tmp_nm -p"
3061 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3062 continue # so that we can try to find one that supports BSD flags
3067 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3072 echo "$as_me:$LINENO: result: $NM" >&5
3073 echo "${ECHO_T}$NM" >&6
3075 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3076 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3078 if test "$LN_S" = "ln -s"; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3082 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3083 echo "${ECHO_T}no, using $LN_S" >&6
3086 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3087 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3088 if test "${lt_cv_deplibs_check_method+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3092 lt_cv_file_magic_test_file
=
3093 lt_cv_deplibs_check_method
='unknown'
3094 # Need to set the preceding variable on all platforms that support
3095 # interlibrary dependencies.
3096 # 'none' -- dependencies not supported.
3097 # `unknown' -- same as none, but documents that we really don't know.
3098 # 'pass_all' -- all dependencies passed with no checks.
3099 # 'test_compile' -- check by making test program.
3100 # 'file_magic [regex]' -- check by looking for files in library path
3101 # which responds to the $file_magic_cmd with a given egrep regex.
3102 # If you have `file' or equivalent on your system and you're not sure
3103 # whether `pass_all' will *always* work, you probably want this one.
3107 lt_cv_deplibs_check_method
=pass_all
3111 lt_cv_deplibs_check_method
=pass_all
3115 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3116 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3117 lt_cv_file_magic_test_file
=/shlib
/libc.so
3120 cygwin
* | mingw
* |pw32
*)
3121 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3122 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3125 darwin
* | rhapsody
*)
3126 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3127 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3129 rhapsody
* | darwin1.012
)
3130 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3133 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3138 freebsd
* | kfreebsd
*-gnu)
3139 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3142 # Not sure whether the presence of OpenBSD here was a mistake.
3143 # Let's accept both of them until this is cleared up.
3144 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3145 lt_cv_file_magic_cmd
=/usr
/bin
/file
3146 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3150 lt_cv_deplibs_check_method
=pass_all
3155 lt_cv_deplibs_check_method
=pass_all
3161 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3162 lt_cv_file_magic_cmd
=/usr
/bin
/file
3163 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3166 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3167 lt_cv_file_magic_cmd
=/usr
/bin
/file
3168 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3176 # this will be overridden with pass_all, but let us keep it just in case
3177 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3181 *-32|
*"-32 ") libmagic
=32-bit;;
3182 *-n32|
*"-n32 ") libmagic
=N32
;;
3183 *-64|
*"-64 ") libmagic
=64-bit;;
3184 *) libmagic
=never-match
;;
3186 # this will be overridden with pass_all, but let us keep it just in case
3187 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3190 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3191 lt_cv_deplibs_check_method
=pass_all
3194 # This must be Linux ELF.
3197 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3198 lt_cv_deplibs_check_method
=pass_all
;;
3200 # glibc up to 2.1.1 does not perform some relocations on ARM
3201 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3203 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3206 netbsd
* | knetbsd
*-gnu)
3207 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3208 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3210 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3215 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3216 lt_cv_file_magic_cmd
=/usr
/bin
/file
3217 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3220 osf3
* | osf4
* | osf5
*)
3221 # this will be overridden with pass_all, but let us keep it just in case
3222 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3223 lt_cv_file_magic_test_file
=/shlib
/libc.so
3224 lt_cv_deplibs_check_method
=pass_all
3228 lt_cv_deplibs_check_method
=pass_all
3232 lt_cv_deplibs_check_method
=pass_all
3233 lt_cv_file_magic_test_file
=/lib
/libc.so
3236 sysv5uw
[78]* | sysv4
*uw2
*)
3237 lt_cv_deplibs_check_method
=pass_all
3240 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3241 case $host_vendor in
3243 lt_cv_deplibs_check_method
=pass_all
3246 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3247 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3254 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3255 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3256 file_magic_cmd
=$lt_cv_file_magic_cmd
3257 deplibs_check_method
=$lt_cv_deplibs_check_method
3262 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3264 # Only perform the check for file, if the check method requires it
3265 case $deplibs_check_method in
3267 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3268 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3269 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3270 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3271 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3278 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3281 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3282 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3283 ac_dummy
="/usr/bin:$PATH"
3284 for ac_dir
in $ac_dummy; do
3285 test -z "$ac_dir" && ac_dir
=.
3286 if test -f $ac_dir/${ac_tool_prefix}file; then
3287 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3288 if test -n "$file_magic_test_file"; then
3289 case $deplibs_check_method in
3291 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3292 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3293 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3294 egrep "$file_magic_regex" > /dev
/null
; then
3299 *** Warning: the command libtool uses to detect shared libraries,
3300 *** $file_magic_cmd, produces output that libtool cannot recognize.
3301 *** The result is that libtool may fail to recognize shared libraries
3302 *** as such. This will affect the creation of libtool libraries that
3303 *** depend on shared libraries, but programs linked with such libtool
3304 *** libraries will work regardless of this problem. Nevertheless, you
3305 *** may want to report the problem to your system manager and/or to
3306 *** bug-libtool@gnu.org
3316 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3321 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3322 if test -n "$MAGIC_CMD"; then
3323 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3324 echo "${ECHO_T}$MAGIC_CMD" >&6
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3330 if test -z "$lt_cv_path_MAGIC_CMD"; then
3331 if test -n "$ac_tool_prefix"; then
3332 echo "$as_me:$LINENO: checking for file" >&5
3333 echo $ECHO_N "checking for file... $ECHO_C" >&6
3334 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3342 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3345 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3346 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3347 ac_dummy
="/usr/bin:$PATH"
3348 for ac_dir
in $ac_dummy; do
3349 test -z "$ac_dir" && ac_dir
=.
3350 if test -f $ac_dir/file; then
3351 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3352 if test -n "$file_magic_test_file"; then
3353 case $deplibs_check_method in
3355 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3356 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3357 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3358 egrep "$file_magic_regex" > /dev
/null
; then
3363 *** Warning: the command libtool uses to detect shared libraries,
3364 *** $file_magic_cmd, produces output that libtool cannot recognize.
3365 *** The result is that libtool may fail to recognize shared libraries
3366 *** as such. This will affect the creation of libtool libraries that
3367 *** depend on shared libraries, but programs linked with such libtool
3368 *** libraries will work regardless of this problem. Nevertheless, you
3369 *** may want to report the problem to your system manager and/or to
3370 *** bug-libtool@gnu.org
3380 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3385 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3386 if test -n "$MAGIC_CMD"; then
3387 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3388 echo "${ECHO_T}$MAGIC_CMD" >&6
3390 echo "$as_me:$LINENO: result: no" >&5
3391 echo "${ECHO_T}no" >&6
3403 if test -n "$ac_tool_prefix"; then
3404 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3405 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3406 echo "$as_me:$LINENO: checking for $ac_word" >&5
3407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3408 if test "${ac_cv_prog_RANLIB+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 if test -n "$RANLIB"; then
3412 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3421 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 RANLIB
=$ac_cv_prog_RANLIB
3431 if test -n "$RANLIB"; then
3432 echo "$as_me:$LINENO: result: $RANLIB" >&5
3433 echo "${ECHO_T}$RANLIB" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3440 if test -z "$ac_cv_prog_RANLIB"; then
3441 ac_ct_RANLIB
=$RANLIB
3442 # Extract the first word of "ranlib", so it can be a program name with args.
3443 set dummy ranlib
; ac_word
=$2
3444 echo "$as_me:$LINENO: checking for $ac_word" >&5
3445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3446 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 if test -n "$ac_ct_RANLIB"; then
3450 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir
=.
3457 for ac_exec_ext
in '' $ac_executable_extensions; do
3458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3469 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3470 if test -n "$ac_ct_RANLIB"; then
3471 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3472 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3478 RANLIB
=$ac_ct_RANLIB
3480 RANLIB
="$ac_cv_prog_RANLIB"
3483 if test -n "$ac_tool_prefix"; then
3484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3485 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3486 echo "$as_me:$LINENO: checking for $ac_word" >&5
3487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3488 if test "${ac_cv_prog_STRIP+set}" = set; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 if test -n "$STRIP"; then
3492 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3498 test -z "$as_dir" && as_dir
=.
3499 for ac_exec_ext
in '' $ac_executable_extensions; do
3500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3501 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 STRIP
=$ac_cv_prog_STRIP
3511 if test -n "$STRIP"; then
3512 echo "$as_me:$LINENO: result: $STRIP" >&5
3513 echo "${ECHO_T}$STRIP" >&6
3515 echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6
3520 if test -z "$ac_cv_prog_STRIP"; then
3522 # Extract the first word of "strip", so it can be a program name with args.
3523 set dummy strip
; ac_word
=$2
3524 echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3526 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 if test -n "$ac_ct_STRIP"; then
3530 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir
=.
3537 for ac_exec_ext
in '' $ac_executable_extensions; do
3538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539 ac_cv_prog_ac_ct_STRIP
="strip"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3549 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3550 if test -n "$ac_ct_STRIP"; then
3551 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3552 echo "${ECHO_T}$ac_ct_STRIP" >&6
3554 echo "$as_me:$LINENO: result: no" >&5
3555 echo "${ECHO_T}no" >&6
3560 STRIP
="$ac_cv_prog_STRIP"
3564 # Check for any special flags to pass to ltconfig.
3565 libtool_flags
="--cache-file=$cache_file"
3566 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3567 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3568 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3569 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3570 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3573 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3574 if test "${enable_libtool_lock+set}" = set; then
3575 enableval
="$enable_libtool_lock"
3578 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3579 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3582 # Check whether --with-pic or --without-pic was given.
3583 if test "${with_pic+set}" = set; then
3589 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3590 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3592 # Some flags need to be propagated to the compiler or linker for good
3596 # Find out which ABI we are using.
3597 echo '#line 3597 "configure"' > conftest.
$ac_ext
3598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3599 (eval $ac_compile) 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; then
3603 if test "$lt_cv_prog_gnu_ld" = yes; then
3604 case `/usr/bin/file conftest.$ac_objext` in
3606 LD
="${LD-ld} -melf32bsmip"
3609 LD
="${LD-ld} -melf32bmipn32"
3612 LD
="${LD-ld} -melf64bmip"
3616 case `/usr/bin/file conftest.$ac_objext` in
3633 # Find out which ABI we are using.
3634 echo 'int i;' > conftest.
$ac_ext
3635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3636 (eval $ac_compile) 2>&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; then
3640 case "`/usr/bin/file conftest.o`" in
3653 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3654 SAVE_CFLAGS
="$CFLAGS"
3655 CFLAGS
="$CFLAGS -belf"
3656 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3657 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3658 if test "${lt_cv_cc_needs_belf+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 ac_cpp
='$CPP $CPPFLAGS'
3665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3669 cat >conftest.
$ac_ext <<_ACEOF
3672 cat confdefs.h
>>conftest.
$ac_ext
3673 cat >>conftest.
$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3684 rm -f conftest.
$ac_objext conftest
$ac_exeext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3686 (eval $ac_link) 2>conftest.er1
3688 grep -v '^ *+' conftest.er1
>conftest.err
3690 cat conftest.err
>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; } &&
3699 { ac_try
='test -s conftest$ac_exeext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3705 lt_cv_cc_needs_belf
=yes
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.
$ac_ext >&5
3710 lt_cv_cc_needs_belf
=no
3712 rm -f conftest.err conftest.
$ac_objext \
3713 conftest
$ac_exeext conftest.
$ac_ext
3715 ac_cpp
='$CPP $CPPFLAGS'
3716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3721 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3722 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3723 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3724 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3725 CFLAGS
="$SAVE_CFLAGS"
3733 # Save cache, so that ltconfig can load it
3734 cat >confcache
<<\_ACEOF
3735 # This file is a shell script that caches the results of configure
3736 # tests run on this system so they can be shared between configure
3737 # scripts and configure runs, see configure's option --config-cache.
3738 # It is not useful on other systems. If it contains results you don't
3739 # want to keep, you may remove or edit it.
3741 # config.status only pays attention to the cache file if you give it
3742 # the --recheck option to rerun configure.
3744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3750 # The following way of writing the cache mishandles newlines in values,
3751 # but we know of no workaround that is simple, portable, and efficient.
3752 # So, don't put newlines in cache variables' values.
3753 # Ultrix sh set writes to stderr and can't be redirected directly,
3754 # and sets the high bit in the cache file unless we assign to the vars.
3757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3759 # `set' does not quote correctly, so add quotes (double-quote
3760 # substitution turns \\\\ into \\, and sed turns \\ into \).
3763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3766 # `set' quotes correctly as required by POSIX, so do not add quotes.
3768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3779 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3780 if test -w $cache_file; then
3781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3782 cat confcache
>$cache_file
3784 echo "not updating unwritable cache $cache_file"
3789 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3790 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3791 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3792 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3793 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3794 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3795 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3796 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3797 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3798 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3799 echo "$as_me: error: libtool configure failed" >&2;}
3800 { (exit 1); exit 1; }; }
3802 # Reload cache, that may have been modified by ltconfig
3803 if test -r "$cache_file"; then
3804 # Some versions of bash will fail to source /dev/null (special
3805 # files actually), so we avoid doing that.
3806 if test -f "$cache_file"; then
3807 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3808 echo "$as_me: loading cache $cache_file" >&6;}
3810 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
3811 *) . .
/$cache_file;;
3815 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3816 echo "$as_me: creating cache $cache_file" >&6;}
3821 # This can be used to rebuild libtool when needed
3822 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3824 # Always use our own libtool.
3825 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3827 # Redirect the config.log output again, so that the ltconfig log is not
3828 # clobbered by the next message.
3829 exec 5>>.
/config.log
3837 # Check whether --enable-targets or --disable-targets was given.
3838 if test "${enable_targets+set}" = set; then
3839 enableval
="$enable_targets"
3840 case "${enableval}" in
3841 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
3842 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
3843 { (exit 1); exit 1; }; }
3845 no
) enable_targets
= ;;
3846 *) enable_targets
=$enableval ;;
3848 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
3849 if test "${enable_commonbfdlib+set}" = set; then
3850 enableval
="$enable_commonbfdlib"
3851 case "${enableval}" in
3852 yes) commonbfdlib
=true
;;
3853 no
) commonbfdlib
=false
;;
3854 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
3855 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
3856 { (exit 1); exit 1; }; } ;;
3859 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3860 # Check whether --enable-build-warnings or --disable-build-warnings was given.
3861 if test "${enable_build_warnings+set}" = set; then
3862 enableval
="$enable_build_warnings"
3863 case "${enableval}" in
3865 no
) build_warnings
="-w";;
3866 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3867 build_warnings
="${build_warnings} ${t}";;
3868 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3869 build_warnings
="${t} ${build_warnings}";;
3870 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3872 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
3873 echo "Setting warning flags = $build_warnings" 6>&1
3876 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
; then
3877 WARN_CFLAGS
="${build_warnings}"
3882 ac_config_headers
="$ac_config_headers config.h:config.in"
3884 ac_config_commands
="$ac_config_commands default-1"
3887 if test -z "$target" ; then
3888 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
3889 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
3890 { (exit 1); exit 1; }; }
3893 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3894 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3895 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3896 if test "${enable_maintainer_mode+set}" = set; then
3897 enableval
="$enable_maintainer_mode"
3898 USE_MAINTAINER_MODE
=$enableval
3900 USE_MAINTAINER_MODE
=no
3902 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3903 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3906 if test $USE_MAINTAINER_MODE = yes; then
3907 MAINTAINER_MODE_TRUE
=
3908 MAINTAINER_MODE_FALSE
='#'
3910 MAINTAINER_MODE_TRUE
='#'
3911 MAINTAINER_MODE_FALSE
=
3913 MAINT
=$MAINTAINER_MODE_TRUE
3916 case ${build_alias} in
3917 "") build_noncanonical
=${build} ;;
3918 *) build_noncanonical
=${build_alias} ;;
3921 case ${host_alias} in
3922 "") host_noncanonical
=${build_noncanonical} ;;
3923 *) host_noncanonical
=${host_alias} ;;
3926 case ${target_alias} in
3927 "") target_noncanonical
=${host_noncanonical} ;;
3928 *) target_noncanonical
=${target_alias} ;;
3931 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
3932 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
3933 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
3934 if test "${enable_install_libbfd+set}" = set; then
3935 enableval
="$enable_install_libbfd"
3936 install_libbfd_p
=$enableval
3938 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
3939 install_libbfd_p
=yes
3944 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
3945 echo "${ECHO_T}$install_libbfd_p" >&6
3948 if test $install_libbfd_p = yes; then
3949 INSTALL_LIBBFD_TRUE
=
3950 INSTALL_LIBBFD_FALSE
='#'
3952 INSTALL_LIBBFD_TRUE
='#'
3953 INSTALL_LIBBFD_FALSE
=
3955 # Need _noncanonical variables for this.
3960 # libbfd.a is a host library containing target dependent code
3961 bfdlibdir
='$(libdir)'
3962 bfdincludedir
='$(includedir)'
3963 if test "${host}" != "${target}"; then
3964 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
3965 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
3973 # host-specific stuff:
3976 ac_cpp
='$CPP $CPPFLAGS'
3977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3982 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3983 echo "$as_me:$LINENO: checking for $ac_word" >&5
3984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3985 if test "${ac_cv_prog_CC+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 if test -n "$CC"; then
3989 ac_cv_prog_CC
="$CC" # Let the user override the test.
3991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir
=.
3996 for ac_exec_ext
in '' $ac_executable_extensions; do
3997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 if test -n "$CC"; then
4009 echo "$as_me:$LINENO: result: $CC" >&5
4010 echo "${ECHO_T}$CC" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4017 if test -z "$ac_cv_prog_CC"; then
4019 # Extract the first word of "gcc", so it can be a program name with args.
4020 set dummy gcc
; ac_word
=$2
4021 echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 if test -n "$ac_ct_CC"; then
4027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir
=.
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4036 ac_cv_prog_ac_ct_CC
="gcc"
4037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4046 if test -n "$ac_ct_CC"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4048 echo "${ECHO_T}$ac_ct_CC" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4059 if test -z "$CC"; then
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4062 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_CC+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 if test -n "$CC"; then
4069 ac_cv_prog_CC
="$CC" # Let the user override the test.
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 if test -n "$CC"; then
4089 echo "$as_me:$LINENO: result: $CC" >&5
4090 echo "${ECHO_T}$CC" >&6
4092 echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6
4097 if test -z "$ac_cv_prog_CC"; then
4099 # Extract the first word of "cc", so it can be a program name with args.
4100 set dummy cc
; ac_word
=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 if test -n "$ac_ct_CC"; then
4107 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_CC
="cc"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4126 if test -n "$ac_ct_CC"; then
4127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4128 echo "${ECHO_T}$ac_ct_CC" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4140 if test -z "$CC"; then
4141 # Extract the first word of "cc", so it can be a program name with args.
4142 set dummy cc
; ac_word
=$2
4143 echo "$as_me:$LINENO: checking for $ac_word" >&5
4144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4145 if test "${ac_cv_prog_CC+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 if test -n "$CC"; then
4149 ac_cv_prog_CC
="$CC" # Let the user override the test.
4152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir
=.
4157 for ac_exec_ext
in '' $ac_executable_extensions; do
4158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4159 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4160 ac_prog_rejected
=yes
4164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 if test $ac_prog_rejected = yes; then
4171 # We found a bogon in the path, so make sure we never use it.
4172 set dummy
$ac_cv_prog_CC
4174 if test $# != 0; then
4175 # We chose a different compiler from the bogus one.
4176 # However, it has the same basename, so the bogon will be chosen
4177 # first if we set CC to just the basename; use the full file name.
4179 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4185 if test -n "$CC"; then
4186 echo "$as_me:$LINENO: result: $CC" >&5
4187 echo "${ECHO_T}$CC" >&6
4189 echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6
4194 if test -z "$CC"; then
4195 if test -n "$ac_tool_prefix"; then
4198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4199 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4202 if test "${ac_cv_prog_CC+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 if test -n "$CC"; then
4206 ac_cv_prog_CC
="$CC" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 if test -n "$CC"; then
4226 echo "$as_me:$LINENO: result: $CC" >&5
4227 echo "${ECHO_T}$CC" >&6
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4233 test -n "$CC" && break
4236 if test -z "$CC"; then
4240 # Extract the first word of "$ac_prog", so it can be a program name with args.
4241 set dummy
$ac_prog; ac_word
=$2
4242 echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4244 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$ac_ct_CC"; then
4248 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir
=.
4255 for ac_exec_ext
in '' $ac_executable_extensions; do
4256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_ac_ct_CC
="$ac_prog"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4267 if test -n "$ac_ct_CC"; then
4268 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4269 echo "${ECHO_T}$ac_ct_CC" >&6
4271 echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4275 test -n "$ac_ct_CC" && break
4284 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4285 See \`config.log' for more details." >&5
4286 echo "$as_me: error: no acceptable C compiler found in \$PATH
4287 See \`config.log' for more details." >&2;}
4288 { (exit 1); exit 1; }; }
4290 # Provide some information about the compiler.
4291 echo "$as_me:$LINENO:" \
4292 "checking for C compiler version" >&5
4293 ac_compiler
=`set X $ac_compile; echo $2`
4294 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4295 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }
4299 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4300 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }
4304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4305 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }
4310 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4311 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4312 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4313 echo $ECHO_N "(cached) $ECHO_C" >&6
4315 cat >conftest.
$ac_ext <<_ACEOF
4318 cat confdefs.h
>>conftest.
$ac_ext
4319 cat >>conftest.
$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4333 rm -f conftest.
$ac_objext
4334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4335 (eval $ac_compile) 2>conftest.er1
4337 grep -v '^ *+' conftest.er1
>conftest.err
4339 cat conftest.err
>&5
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 (exit $ac_status); } &&
4342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); }; } &&
4348 { ac_try
='test -s conftest.$ac_objext'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; }; then
4356 echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.
$ac_ext >&5
4361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4362 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4365 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4366 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4367 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4368 ac_test_CFLAGS
=${CFLAGS+set}
4369 ac_save_CFLAGS
=$CFLAGS
4371 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4372 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4373 if test "${ac_cv_prog_cc_g+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 cat >conftest.
$ac_ext <<_ACEOF
4379 cat confdefs.h
>>conftest.
$ac_ext
4380 cat >>conftest.
$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4391 rm -f conftest.
$ac_objext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4393 (eval $ac_compile) 2>conftest.er1
4395 grep -v '^ *+' conftest.er1
>conftest.err
4397 cat conftest.err
>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } &&
4400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; } &&
4406 { ac_try
='test -s conftest.$ac_objext'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; }; then
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.
$ac_ext >&5
4419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4421 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4423 if test "$ac_test_CFLAGS" = set; then
4424 CFLAGS
=$ac_save_CFLAGS
4425 elif test $ac_cv_prog_cc_g = yes; then
4426 if test "$GCC" = yes; then
4432 if test "$GCC" = yes; then
4438 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4439 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4440 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 ac_cv_prog_cc_stdc
=no
4445 cat >conftest.
$ac_ext <<_ACEOF
4448 cat confdefs.h
>>conftest.
$ac_ext
4449 cat >>conftest.
$ac_ext <<_ACEOF
4450 /* end confdefs.h. */
4453 #include <sys/types.h>
4454 #include <sys/stat.h>
4455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4456 struct buf { int x; };
4457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4458 static char *e (p, i)
4464 static char *f (char * (*g) (char **, int), char **p, ...)
4469 s = g (p, va_arg (v,int));
4474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4475 function prototypes and stuff, but not '\xHH' hex character constants.
4476 These don't provoke an error unfortunately, instead are silently treated
4477 as 'x'. The following induces an error, until -std1 is added to get
4478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4479 array size at least. It's necessary to write '\x00'==0 to get something
4480 that's true only with -std1. */
4481 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4483 int test (int i, double x);
4484 struct s1 {int (*f) (int a);};
4485 struct s2 {int (*f) (double a);};
4486 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4492 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4497 # Don't try gcc -ansi; that turns off useful extensions and
4498 # breaks some systems' header files.
4499 # AIX -qlanglvl=ansi
4500 # Ultrix and OSF/1 -std1
4501 # HP-UX 10.20 and later -Ae
4502 # HP-UX older versions -Aa -D_HPUX_SOURCE
4503 # SVR4 -Xc -D__EXTENSIONS__
4504 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4506 CC
="$ac_save_CC $ac_arg"
4507 rm -f conftest.
$ac_objext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>conftest.er1
4511 grep -v '^ *+' conftest.er1
>conftest.err
4513 cat conftest.err
>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; } &&
4522 { ac_try
='test -s conftest.$ac_objext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4528 ac_cv_prog_cc_stdc
=$ac_arg
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4535 rm -f conftest.err conftest.
$ac_objext
4537 rm -f conftest.
$ac_ext conftest.
$ac_objext
4542 case "x$ac_cv_prog_cc_stdc" in
4544 echo "$as_me:$LINENO: result: none needed" >&5
4545 echo "${ECHO_T}none needed" >&6 ;;
4547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4548 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4549 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4552 # Some people use a C++ compiler to compile C. Since we use `exit',
4553 # in C++ we need to declare it. In case someone uses the same compiler
4554 # for both compiling C and C++ we need to have the C++ compiler decide
4555 # the declaration of exit, since it's the most demanding environment.
4556 cat >conftest.
$ac_ext <<_ACEOF
4561 rm -f conftest.
$ac_objext
4562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4563 (eval $ac_compile) 2>conftest.er1
4565 grep -v '^ *+' conftest.er1
>conftest.err
4567 cat conftest.err
>&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try
='test -s conftest.$ac_objext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; }; then
4582 for ac_declaration
in \
4584 'extern "C" void std::exit (int) throw (); using std::exit;' \
4585 'extern "C" void std::exit (int); using std::exit;' \
4586 'extern "C" void exit (int) throw ();' \
4587 'extern "C" void exit (int);' \
4590 cat >conftest.
$ac_ext <<_ACEOF
4593 cat confdefs.h
>>conftest.
$ac_ext
4594 cat >>conftest.
$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4606 rm -f conftest.
$ac_objext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4608 (eval $ac_compile) 2>conftest.er1
4610 grep -v '^ *+' conftest.er1
>conftest.err
4612 cat conftest.err
>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } &&
4615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try
='test -s conftest.$ac_objext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.
$ac_ext >&5
4634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4635 cat >conftest.
$ac_ext <<_ACEOF
4638 cat confdefs.h
>>conftest.
$ac_ext
4639 cat >>conftest.
$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4650 rm -f conftest.
$ac_objext
4651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4652 (eval $ac_compile) 2>conftest.er1
4654 grep -v '^ *+' conftest.er1
>conftest.err
4656 cat conftest.err
>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } &&
4659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; } &&
4665 { ac_try
='test -s conftest.$ac_objext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.
$ac_ext >&5
4677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4680 if test -n "$ac_declaration"; then
4681 echo '#ifdef __cplusplus' >>confdefs.h
4682 echo $ac_declaration >>confdefs.h
4683 echo '#endif' >>confdefs.h
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.
$ac_ext >&5
4691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 ac_cpp
='$CPP $CPPFLAGS'
4694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4699 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl"
4700 if test -n "$ac_tool_prefix"; then
4701 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4702 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4703 echo "$as_me:$LINENO: checking for $ac_word" >&5
4704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4705 if test "${ac_cv_prog_RANLIB+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 if test -n "$RANLIB"; then
4709 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir
=.
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 RANLIB
=$ac_cv_prog_RANLIB
4728 if test -n "$RANLIB"; then
4729 echo "$as_me:$LINENO: result: $RANLIB" >&5
4730 echo "${ECHO_T}$RANLIB" >&6
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4737 if test -z "$ac_cv_prog_RANLIB"; then
4738 ac_ct_RANLIB
=$RANLIB
4739 # Extract the first word of "ranlib", so it can be a program name with args.
4740 set dummy ranlib
; ac_word
=$2
4741 echo "$as_me:$LINENO: checking for $ac_word" >&5
4742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4743 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 if test -n "$ac_ct_RANLIB"; then
4747 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4753 test -z "$as_dir" && as_dir
=.
4754 for ac_exec_ext
in '' $ac_executable_extensions; do
4755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4756 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4766 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4767 if test -n "$ac_ct_RANLIB"; then
4768 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4769 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4775 RANLIB
=$ac_ct_RANLIB
4777 RANLIB
="$ac_cv_prog_RANLIB"
4781 ac_cpp
='$CPP $CPPFLAGS'
4782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4785 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4786 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4787 # On Suns, sometimes $CPP names a directory.
4788 if test -n "$CPP" && test -d "$CPP"; then
4791 if test -z "$CPP"; then
4792 if test "${ac_cv_prog_CPP+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 # Double quotes because CPP needs to be expanded
4796 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4799 for ac_c_preproc_warn_flag
in '' yes
4801 # Use a header file that comes with gcc, so configuring glibc
4802 # with a fresh cross-compiler works.
4803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 # <limits.h> exists even on freestanding compilers.
4805 # On the NeXT, cc -E runs the code through the compiler's parser,
4806 # not just through cpp. "Syntax error" is here to catch this case.
4807 cat >conftest.
$ac_ext <<_ACEOF
4810 cat confdefs.h
>>conftest.
$ac_ext
4811 cat >>conftest.
$ac_ext <<_ACEOF
4812 /* end confdefs.h. */
4814 # include <limits.h>
4816 # include <assert.h>
4820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4823 grep -v '^ *+' conftest.er1
>conftest.err
4825 cat conftest.err
>&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } >/dev
/null
; then
4828 if test -s conftest.err
; then
4829 ac_cpp_err
=$ac_c_preproc_warn_flag
4830 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4837 if test -z "$ac_cpp_err"; then
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4843 # Broken: fails on valid input.
4846 rm -f conftest.err conftest.
$ac_ext
4848 # OK, works on sane cases. Now check whether non-existent headers
4849 # can be detected and how.
4850 cat >conftest.
$ac_ext <<_ACEOF
4853 cat confdefs.h
>>conftest.
$ac_ext
4854 cat >>conftest.
$ac_ext <<_ACEOF
4855 /* end confdefs.h. */
4856 #include <ac_nonexistent.h>
4858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4861 grep -v '^ *+' conftest.er1
>conftest.err
4863 cat conftest.err
>&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); } >/dev
/null
; then
4866 if test -s conftest.err
; then
4867 ac_cpp_err
=$ac_c_preproc_warn_flag
4868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4875 if test -z "$ac_cpp_err"; then
4876 # Broken: success on invalid input.
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.
$ac_ext >&5
4882 # Passes both tests.
4886 rm -f conftest.err conftest.
$ac_ext
4889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4890 rm -f conftest.err conftest.
$ac_ext
4891 if $ac_preproc_ok; then
4903 echo "$as_me:$LINENO: result: $CPP" >&5
4904 echo "${ECHO_T}$CPP" >&6
4906 for ac_c_preproc_warn_flag
in '' yes
4908 # Use a header file that comes with gcc, so configuring glibc
4909 # with a fresh cross-compiler works.
4910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4911 # <limits.h> exists even on freestanding compilers.
4912 # On the NeXT, cc -E runs the code through the compiler's parser,
4913 # not just through cpp. "Syntax error" is here to catch this case.
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4921 # include <limits.h>
4923 # include <assert.h>
4927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4930 grep -v '^ *+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } >/dev
/null
; then
4935 if test -s conftest.err
; then
4936 ac_cpp_err
=$ac_c_preproc_warn_flag
4937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4944 if test -z "$ac_cpp_err"; then
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.
$ac_ext >&5
4950 # Broken: fails on valid input.
4953 rm -f conftest.err conftest.
$ac_ext
4955 # OK, works on sane cases. Now check whether non-existent headers
4956 # can be detected and how.
4957 cat >conftest.
$ac_ext <<_ACEOF
4960 cat confdefs.h
>>conftest.
$ac_ext
4961 cat >>conftest.
$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4963 #include <ac_nonexistent.h>
4965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4968 grep -v '^ *+' conftest.er1
>conftest.err
4970 cat conftest.err
>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } >/dev
/null
; then
4973 if test -s conftest.err
; then
4974 ac_cpp_err
=$ac_c_preproc_warn_flag
4975 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4982 if test -z "$ac_cpp_err"; then
4983 # Broken: success on invalid input.
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.
$ac_ext >&5
4989 # Passes both tests.
4993 rm -f conftest.err conftest.
$ac_ext
4996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4997 rm -f conftest.err conftest.
$ac_ext
4998 if $ac_preproc_ok; then
5001 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5002 See \`config.log' for more details." >&5
5003 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5004 See \`config.log' for more details." >&2;}
5005 { (exit 1); exit 1; }; }
5009 ac_cpp
='$CPP $CPPFLAGS'
5010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5015 echo "$as_me:$LINENO: checking for egrep" >&5
5016 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5017 if test "${ac_cv_prog_egrep+set}" = set; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5021 then ac_cv_prog_egrep
='grep -E'
5022 else ac_cv_prog_egrep
='egrep'
5025 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5026 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5027 EGREP
=$ac_cv_prog_egrep
5030 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5032 if test "${ac_cv_header_stdc+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 cat >conftest.
$ac_ext <<_ACEOF
5038 cat confdefs.h
>>conftest.
$ac_ext
5039 cat >>conftest.
$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5054 rm -f conftest.
$ac_objext
5055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1
>conftest.err
5060 cat conftest.err
>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } &&
5063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; } &&
5069 { ac_try
='test -s conftest.$ac_objext'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; }; then
5075 ac_cv_header_stdc
=yes
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5080 ac_cv_header_stdc
=no
5082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5084 if test $ac_cv_header_stdc = yes; then
5085 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5086 cat >conftest.
$ac_ext <<_ACEOF
5089 cat confdefs.h
>>conftest.
$ac_ext
5090 cat >>conftest.
$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5096 $EGREP "memchr" >/dev
/null
2>&1; then
5099 ac_cv_header_stdc
=no
5105 if test $ac_cv_header_stdc = yes; then
5106 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5107 cat >conftest.
$ac_ext <<_ACEOF
5110 cat confdefs.h
>>conftest.
$ac_ext
5111 cat >>conftest.
$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5117 $EGREP "free" >/dev
/null
2>&1; then
5120 ac_cv_header_stdc
=no
5126 if test $ac_cv_header_stdc = yes; then
5127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5128 if test "$cross_compiling" = yes; then
5131 cat >conftest.
$ac_ext <<_ACEOF
5134 cat confdefs.h
>>conftest.
$ac_ext
5135 cat >>conftest.
$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5138 #if ((' ' & 0x0FF) == 0x020)
5139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5142 # define ISLOWER(c) \
5143 (('a' <= (c) && (c) <= 'i') \
5144 || ('j' <= (c) && (c) <= 'r') \
5145 || ('s' <= (c) && (c) <= 'z'))
5146 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5149 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5154 for (i = 0; i < 256; i++)
5155 if (XOR (islower (i), ISLOWER (i))
5156 || toupper (i) != TOUPPER (i))
5161 rm -f conftest
$ac_exeext
5162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5163 (eval $ac_link) 2>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }; }; then
5174 echo "$as_me: program exited with status $ac_status" >&5
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.
$ac_ext >&5
5179 ac_cv_header_stdc
=no
5181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5185 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5186 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5187 if test $ac_cv_header_stdc = yes; then
5189 cat >>confdefs.h
<<\_ACEOF
5190 #define STDC_HEADERS 1
5195 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5196 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5197 if test "${ac_cv_c_const+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 cat >conftest.
$ac_ext <<_ACEOF
5203 cat confdefs.h
>>conftest.
$ac_ext
5204 cat >>conftest.
$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5210 /* FIXME: Include the comments suggested by Paul. */
5212 /* Ultrix mips cc rejects this. */
5213 typedef int charset[2];
5215 /* SunOS 4.1.1 cc rejects this. */
5216 char const *const *ccp;
5218 /* NEC SVR4.0.2 mips cc rejects this. */
5219 struct point {int x, y;};
5220 static struct point const zero = {0,0};
5221 /* AIX XL C 1.02.0.0 rejects this.
5222 It does not let you subtract one const X* pointer from another in
5223 an arm of an if-expression whose if-part is not a constant
5225 const char *g = "string";
5226 ccp = &g + (g ? g-g : 0);
5227 /* HPUX 7.0 cc rejects these. */
5230 ccp = (char const *const *) p;
5231 { /* SCO 3.2v4 cc rejects this. */
5233 char const *s = 0 ? (char *) 0 : (char const *) 0;
5237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5239 const int *foo = &x[0];
5242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5243 typedef const int *iptr;
5247 { /* AIX XL C 1.02.0.0 rejects this saying
5248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5249 struct s { int j; const int *ap[3]; };
5250 struct s *b; b->j = 5;
5252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5261 rm -f conftest.
$ac_objext
5262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5263 (eval $ac_compile) 2>conftest.er1
5265 grep -v '^ *+' conftest.er1
>conftest.err
5267 cat conftest.err
>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } &&
5270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); }; } &&
5276 { ac_try
='test -s conftest.$ac_objext'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5291 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5292 echo "${ECHO_T}$ac_cv_c_const" >&6
5293 if test $ac_cv_c_const = no
; then
5295 cat >>confdefs.h
<<\_ACEOF
5301 echo "$as_me:$LINENO: checking for inline" >&5
5302 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5303 if test "${ac_cv_c_inline+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 for ac_kw
in inline __inline__ __inline
; do
5308 cat >conftest.
$ac_ext <<_ACEOF
5311 cat confdefs.h
>>conftest.
$ac_ext
5312 cat >>conftest.
$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5316 static $ac_kw foo_t static_foo () {return 0; }
5317 $ac_kw foo_t foo () {return 0; }
5321 rm -f conftest.
$ac_objext
5322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5323 (eval $ac_compile) 2>conftest.er1
5325 grep -v '^ *+' conftest.er1
>conftest.err
5327 cat conftest.err
>&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } &&
5330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; } &&
5336 { ac_try
='test -s conftest.$ac_objext'
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; }; then
5342 ac_cv_c_inline
=$ac_kw; break
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.
$ac_ext >&5
5348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5352 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5353 echo "${ECHO_T}$ac_cv_c_inline" >&6
5356 case $ac_cv_c_inline in
5359 case $ac_cv_c_inline in
5361 *) ac_val
=$ac_cv_c_inline;;
5363 cat >>confdefs.h
<<_ACEOF
5365 #define inline $ac_val
5371 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5381 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5382 inttypes.h stdint.h unistd.h
5384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5385 echo "$as_me:$LINENO: checking for $ac_header" >&5
5386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5390 cat >conftest.
$ac_ext <<_ACEOF
5393 cat confdefs.h
>>conftest.
$ac_ext
5394 cat >>conftest.
$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5396 $ac_includes_default
5398 #include <$ac_header>
5400 rm -f conftest.
$ac_objext
5401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5402 (eval $ac_compile) 2>conftest.er1
5404 grep -v '^ *+' conftest.er1
>conftest.err
5406 cat conftest.err
>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); } &&
5409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); }; } &&
5415 { ac_try
='test -s conftest.$ac_objext'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; }; then
5421 eval "$as_ac_Header=yes"
5423 echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.
$ac_ext >&5
5426 eval "$as_ac_Header=no"
5428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5433 cat >>confdefs.h
<<_ACEOF
5434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5442 echo "$as_me:$LINENO: checking for off_t" >&5
5443 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5444 if test "${ac_cv_type_off_t+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5453 $ac_includes_default
5465 rm -f conftest.
$ac_objext
5466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5467 (eval $ac_compile) 2>conftest.er1
5469 grep -v '^ *+' conftest.er1
>conftest.err
5471 cat conftest.err
>&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } &&
5474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; } &&
5480 { ac_try
='test -s conftest.$ac_objext'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 ac_cv_type_off_t
=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.
$ac_ext >&5
5493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5495 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5496 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5497 if test $ac_cv_type_off_t = yes; then
5501 cat >>confdefs.h
<<_ACEOF
5507 echo "$as_me:$LINENO: checking for size_t" >&5
5508 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5509 if test "${ac_cv_type_size_t+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 cat >conftest.
$ac_ext <<_ACEOF
5515 cat confdefs.h
>>conftest.
$ac_ext
5516 cat >>conftest.
$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5518 $ac_includes_default
5524 if (sizeof (size_t))
5530 rm -f conftest.
$ac_objext
5531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5532 (eval $ac_compile) 2>conftest.er1
5534 grep -v '^ *+' conftest.er1
>conftest.err
5536 cat conftest.err
>&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); } &&
5539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; } &&
5545 { ac_try
='test -s conftest.$ac_objext'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then
5551 ac_cv_type_size_t
=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.
$ac_ext >&5
5556 ac_cv_type_size_t
=no
5558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5560 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5561 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5562 if test $ac_cv_type_size_t = yes; then
5566 cat >>confdefs.h
<<_ACEOF
5567 #define size_t unsigned
5572 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5573 # for constant arguments. Useless!
5574 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5575 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5576 if test "${ac_cv_working_alloca_h+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5589 char *p = (char *) alloca (2 * sizeof (int));
5594 rm -f conftest.
$ac_objext conftest
$ac_exeext
5595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5596 (eval $ac_link) 2>conftest.er1
5598 grep -v '^ *+' conftest.er1
>conftest.err
5600 cat conftest.err
>&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } &&
5603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; } &&
5609 { ac_try
='test -s conftest$ac_exeext'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; }; then
5615 ac_cv_working_alloca_h
=yes
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.
$ac_ext >&5
5620 ac_cv_working_alloca_h
=no
5622 rm -f conftest.err conftest.
$ac_objext \
5623 conftest
$ac_exeext conftest.
$ac_ext
5625 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5626 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5627 if test $ac_cv_working_alloca_h = yes; then
5629 cat >>confdefs.h
<<\_ACEOF
5630 #define HAVE_ALLOCA_H 1
5635 echo "$as_me:$LINENO: checking for alloca" >&5
5636 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5637 if test "${ac_cv_func_alloca_works+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 cat >conftest.
$ac_ext <<_ACEOF
5643 cat confdefs.h
>>conftest.
$ac_ext
5644 cat >>conftest.
$ac_ext <<_ACEOF
5645 /* end confdefs.h. */
5647 # define alloca __builtin_alloca
5650 # include <malloc.h>
5651 # define alloca _alloca
5654 # include <alloca.h>
5659 # ifndef alloca /* predefined by HP cc +Olibcalls */
5670 char *p = (char *) alloca (1);
5675 rm -f conftest.
$ac_objext conftest
$ac_exeext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5677 (eval $ac_link) 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; } &&
5690 { ac_try
='test -s conftest$ac_exeext'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; }; then
5696 ac_cv_func_alloca_works
=yes
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.
$ac_ext >&5
5701 ac_cv_func_alloca_works
=no
5703 rm -f conftest.err conftest.
$ac_objext \
5704 conftest
$ac_exeext conftest.
$ac_ext
5706 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5707 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5709 if test $ac_cv_func_alloca_works = yes; then
5711 cat >>confdefs.h
<<\_ACEOF
5712 #define HAVE_ALLOCA 1
5716 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5717 # that cause trouble. Some versions do not even contain alloca or
5718 # contain a buggy version. If you still want to use their alloca,
5719 # use ar to extract alloca.o from them instead of compiling alloca.c.
5721 ALLOCA
=alloca.
$ac_objext
5723 cat >>confdefs.h
<<\_ACEOF
5728 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5729 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5730 if test "${ac_cv_os_cray+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 cat >conftest.
$ac_ext <<_ACEOF
5736 cat confdefs.h
>>conftest.
$ac_ext
5737 cat >>conftest.
$ac_ext <<_ACEOF
5738 /* end confdefs.h. */
5739 #if defined(CRAY) && ! defined(CRAY2)
5746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5747 $EGREP "webecray" >/dev
/null
2>&1; then
5755 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5756 echo "${ECHO_T}$ac_cv_os_cray" >&6
5757 if test $ac_cv_os_cray = yes; then
5758 for ac_func
in _getb67 GETB67 getb67
; do
5759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5760 echo "$as_me:$LINENO: checking for $ac_func" >&5
5761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5762 if eval "test \"\${$as_ac_var+set}\" = set"; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 cat >conftest.
$ac_ext <<_ACEOF
5768 cat confdefs.h
>>conftest.
$ac_ext
5769 cat >>conftest.
$ac_ext <<_ACEOF
5770 /* end confdefs.h. */
5771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5773 #define $ac_func innocuous_$ac_func
5775 /* System header to define __stub macros and hopefully few prototypes,
5776 which can conflict with char $ac_func (); below.
5777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5778 <limits.h> exists even on freestanding compilers. */
5781 # include <limits.h>
5783 # include <assert.h>
5788 /* Override any gcc2 internal prototype to avoid an error. */
5793 /* We use char because int might match the return type of a gcc2
5794 builtin and then its argument prototype would still apply. */
5796 /* The GNU C library defines this for functions which it implements
5797 to always fail with ENOSYS. Some functions are actually named
5798 something starting with __ and the normal name is an alias. */
5799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5802 char (*f) () = $ac_func;
5811 return f != $ac_func;
5816 rm -f conftest.
$ac_objext conftest
$ac_exeext
5817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5818 (eval $ac_link) 2>conftest.er1
5820 grep -v '^ *+' conftest.er1
>conftest.err
5822 cat conftest.err
>&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } &&
5825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; } &&
5831 { ac_try
='test -s conftest$ac_exeext'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; }; then
5837 eval "$as_ac_var=yes"
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.
$ac_ext >&5
5842 eval "$as_ac_var=no"
5844 rm -f conftest.err conftest.
$ac_objext \
5845 conftest
$ac_exeext conftest.
$ac_ext
5847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5849 if test `eval echo '${'$as_ac_var'}'` = yes; then
5851 cat >>confdefs.h
<<_ACEOF
5852 #define CRAY_STACKSEG_END $ac_func
5861 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5862 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5863 if test "${ac_cv_c_stack_direction+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 if test "$cross_compiling" = yes; then
5867 ac_cv_c_stack_direction
=0
5869 cat >conftest.
$ac_ext <<_ACEOF
5872 cat confdefs.h
>>conftest.
$ac_ext
5873 cat >>conftest.
$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5876 find_stack_direction ()
5878 static char *addr = 0;
5883 return find_stack_direction ();
5886 return (&dummy > addr) ? 1 : -1;
5892 exit (find_stack_direction () < 0);
5895 rm -f conftest
$ac_exeext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5897 (eval $ac_link) 2>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 ac_cv_c_stack_direction
=1
5908 echo "$as_me: program exited with status $ac_status" >&5
5909 echo "$as_me: failed program was:" >&5
5910 sed 's/^/| /' conftest.
$ac_ext >&5
5913 ac_cv_c_stack_direction
=-1
5915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5918 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5919 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5921 cat >>confdefs.h
<<_ACEOF
5922 #define STACK_DIRECTION $ac_cv_c_stack_direction
5930 for ac_header
in stdlib.h unistd.h
5932 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5934 echo "$as_me:$LINENO: checking for $ac_header" >&5
5935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5942 # Is the header compilable?
5943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5945 cat >conftest.
$ac_ext <<_ACEOF
5948 cat confdefs.h
>>conftest.
$ac_ext
5949 cat >>conftest.
$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5951 $ac_includes_default
5952 #include <$ac_header>
5954 rm -f conftest.
$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956 (eval $ac_compile) 2>conftest.er1
5958 grep -v '^ *+' conftest.er1
>conftest.err
5960 cat conftest.err
>&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } &&
5963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; } &&
5969 { ac_try
='test -s conftest.$ac_objext'
5970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); }; }; then
5975 ac_header_compiler
=yes
5977 echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.
$ac_ext >&5
5980 ac_header_compiler
=no
5982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5984 echo "${ECHO_T}$ac_header_compiler" >&6
5986 # Is the header present?
5987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5989 cat >conftest.
$ac_ext <<_ACEOF
5992 cat confdefs.h
>>conftest.
$ac_ext
5993 cat >>conftest.
$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <$ac_header>
5997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6000 grep -v '^ *+' conftest.er1
>conftest.err
6002 cat conftest.err
>&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } >/dev
/null
; then
6005 if test -s conftest.err
; then
6006 ac_cpp_err
=$ac_c_preproc_warn_flag
6007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6014 if test -z "$ac_cpp_err"; then
6015 ac_header_preproc
=yes
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.
$ac_ext >&5
6020 ac_header_preproc
=no
6022 rm -f conftest.err conftest.
$ac_ext
6023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6024 echo "${ECHO_T}$ac_header_preproc" >&6
6026 # So? What about this header?
6027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6033 ac_header_preproc
=yes
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6050 ## ------------------------------------------ ##
6051 ## Report this to the AC_PACKAGE_NAME lists. ##
6052 ## ------------------------------------------ ##
6055 sed "s/^/$as_me: WARNING: /" >&2
6058 echo "$as_me:$LINENO: checking for $ac_header" >&5
6059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 eval "$as_ac_Header=\$ac_header_preproc"
6065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6070 cat >>confdefs.h
<<_ACEOF
6071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6079 for ac_func
in getpagesize
6081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6082 echo "$as_me:$LINENO: checking for $ac_func" >&5
6083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6084 if eval "test \"\${$as_ac_var+set}\" = set"; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 cat >conftest.
$ac_ext <<_ACEOF
6090 cat confdefs.h
>>conftest.
$ac_ext
6091 cat >>conftest.
$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6095 #define $ac_func innocuous_$ac_func
6097 /* System header to define __stub macros and hopefully few prototypes,
6098 which can conflict with char $ac_func (); below.
6099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6100 <limits.h> exists even on freestanding compilers. */
6103 # include <limits.h>
6105 # include <assert.h>
6110 /* Override any gcc2 internal prototype to avoid an error. */
6115 /* We use char because int might match the return type of a gcc2
6116 builtin and then its argument prototype would still apply. */
6118 /* The GNU C library defines this for functions which it implements
6119 to always fail with ENOSYS. Some functions are actually named
6120 something starting with __ and the normal name is an alias. */
6121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6124 char (*f) () = $ac_func;
6133 return f != $ac_func;
6138 rm -f conftest.
$ac_objext conftest
$ac_exeext
6139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6140 (eval $ac_link) 2>conftest.er1
6142 grep -v '^ *+' conftest.er1
>conftest.err
6144 cat conftest.err
>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } &&
6147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; } &&
6153 { ac_try
='test -s conftest$ac_exeext'
6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 eval "$as_ac_var=yes"
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.
$ac_ext >&5
6164 eval "$as_ac_var=no"
6166 rm -f conftest.err conftest.
$ac_objext \
6167 conftest
$ac_exeext conftest.
$ac_ext
6169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6171 if test `eval echo '${'$as_ac_var'}'` = yes; then
6172 cat >>confdefs.h
<<_ACEOF
6173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6179 echo "$as_me:$LINENO: checking for working mmap" >&5
6180 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6181 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 if test "$cross_compiling" = yes; then
6185 ac_cv_func_mmap_fixed_mapped
=no
6187 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6193 $ac_includes_default
6194 /* malloc might have been renamed as rpl_malloc. */
6197 /* Thanks to Mike Haertel and Jim Avera for this test.
6198 Here is a matrix of mmap possibilities:
6199 mmap private not fixed
6200 mmap private fixed at somewhere currently unmapped
6201 mmap private fixed at somewhere already mapped
6202 mmap shared not fixed
6203 mmap shared fixed at somewhere currently unmapped
6204 mmap shared fixed at somewhere already mapped
6205 For private mappings, we should verify that changes cannot be read()
6206 back from the file, nor mmap's back from the file at a different
6207 address. (There have been systems where private was not correctly
6208 implemented like the infamous i386 svr4.0, and systems where the
6209 VM page cache was not coherent with the file system buffer cache
6210 like early versions of FreeBSD and possibly contemporary NetBSD.)
6211 For shared mappings, we should conversely verify that changes get
6212 propagated back to all the places they're supposed to be.
6214 Grep wants private fixed already mapped.
6215 The main things grep needs to know about mmap are:
6216 * does it exist and is it safe to write into the mmap'd area
6217 * how to use it (BSD variants) */
6220 #include <sys/mman.h>
6222 #if !STDC_HEADERS && !HAVE_STDLIB_H
6226 /* This mess was copied from the GNU getpagesize.h. */
6227 #if !HAVE_GETPAGESIZE
6228 /* Assume that all systems that can run configure have sys/param.h. */
6229 # if !HAVE_SYS_PARAM_H
6230 # define HAVE_SYS_PARAM_H 1
6233 # ifdef _SC_PAGESIZE
6234 # define getpagesize() sysconf(_SC_PAGESIZE)
6235 # else /* no _SC_PAGESIZE */
6236 # if HAVE_SYS_PARAM_H
6237 # include <sys/param.h>
6238 # ifdef EXEC_PAGESIZE
6239 # define getpagesize() EXEC_PAGESIZE
6240 # else /* no EXEC_PAGESIZE */
6242 # define getpagesize() NBPG * CLSIZE
6245 # endif /* no CLSIZE */
6246 # else /* no NBPG */
6248 # define getpagesize() NBPC
6249 # else /* no NBPC */
6251 # define getpagesize() PAGESIZE
6252 # endif /* PAGESIZE */
6253 # endif /* no NBPC */
6254 # endif /* no NBPG */
6255 # endif /* no EXEC_PAGESIZE */
6256 # else /* no HAVE_SYS_PARAM_H */
6257 # define getpagesize() 8192 /* punt totally */
6258 # endif /* no HAVE_SYS_PARAM_H */
6259 # endif /* no _SC_PAGESIZE */
6261 #endif /* no HAVE_GETPAGESIZE */
6266 char *data, *data2, *data3;
6270 pagesize = getpagesize ();
6272 /* First, make a file with some known garbage in it. */
6273 data = (char *) malloc (pagesize);
6276 for (i = 0; i < pagesize; ++i)
6277 *(data + i) = rand ();
6279 fd = creat ("conftest.mmap", 0600);
6282 if (write (fd, data, pagesize) != pagesize)
6286 /* Next, try to mmap the file at a fixed address which already has
6287 something else allocated at it. If we can, also make sure that
6288 we see the same garbage. */
6289 fd = open ("conftest.mmap", O_RDWR);
6292 data2 = (char *) malloc (2 * pagesize);
6295 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6296 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6297 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6299 for (i = 0; i < pagesize; ++i)
6300 if (*(data + i) != *(data2 + i))
6303 /* Finally, make sure that changes to the mapped area do not
6304 percolate back to the file as seen by read(). (This is a bug on
6305 some variants of i386 svr4.0.) */
6306 for (i = 0; i < pagesize; ++i)
6307 *(data2 + i) = *(data2 + i) + 1;
6308 data3 = (char *) malloc (pagesize);
6311 if (read (fd, data3, pagesize) != pagesize)
6313 for (i = 0; i < pagesize; ++i)
6314 if (*(data + i) != *(data3 + i))
6320 rm -f conftest
$ac_exeext
6321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6322 (eval $ac_link) 2>&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); }; }; then
6331 ac_cv_func_mmap_fixed_mapped
=yes
6333 echo "$as_me: program exited with status $ac_status" >&5
6334 echo "$as_me: failed program was:" >&5
6335 sed 's/^/| /' conftest.
$ac_ext >&5
6338 ac_cv_func_mmap_fixed_mapped
=no
6340 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6343 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6344 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6345 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6347 cat >>confdefs.h
<<\_ACEOF
6364 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6365 unistd.h values.h sys
/param.h
6367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6369 echo "$as_me:$LINENO: checking for $ac_header" >&5
6370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6377 # Is the header compilable?
6378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6380 cat >conftest.
$ac_ext <<_ACEOF
6383 cat confdefs.h
>>conftest.
$ac_ext
6384 cat >>conftest.
$ac_ext <<_ACEOF
6385 /* end confdefs.h. */
6386 $ac_includes_default
6387 #include <$ac_header>
6389 rm -f conftest.
$ac_objext
6390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6391 (eval $ac_compile) 2>conftest.er1
6393 grep -v '^ *+' conftest.er1
>conftest.err
6395 cat conftest.err
>&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); } &&
6398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); }; } &&
6404 { ac_try
='test -s conftest.$ac_objext'
6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; }; then
6410 ac_header_compiler
=yes
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.
$ac_ext >&5
6415 ac_header_compiler
=no
6417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6419 echo "${ECHO_T}$ac_header_compiler" >&6
6421 # Is the header present?
6422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6424 cat >conftest.
$ac_ext <<_ACEOF
6427 cat confdefs.h
>>conftest.
$ac_ext
6428 cat >>conftest.
$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6430 #include <$ac_header>
6432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6435 grep -v '^ *+' conftest.er1
>conftest.err
6437 cat conftest.err
>&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); } >/dev
/null
; then
6440 if test -s conftest.err
; then
6441 ac_cpp_err
=$ac_c_preproc_warn_flag
6442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6449 if test -z "$ac_cpp_err"; then
6450 ac_header_preproc
=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 ac_header_preproc
=no
6457 rm -f conftest.err conftest.
$ac_ext
6458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6459 echo "${ECHO_T}$ac_header_preproc" >&6
6461 # So? What about this header?
6462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6468 ac_header_preproc
=yes
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6485 ## ------------------------------------------ ##
6486 ## Report this to the AC_PACKAGE_NAME lists. ##
6487 ## ------------------------------------------ ##
6490 sed "s/^/$as_me: WARNING: /" >&2
6493 echo "$as_me:$LINENO: checking for $ac_header" >&5
6494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 eval "$as_ac_Header=\$ac_header_preproc"
6500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6505 cat >>confdefs.h
<<_ACEOF
6506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6523 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6524 __argz_count __argz_stringify __argz_next
6526 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6527 echo "$as_me:$LINENO: checking for $ac_func" >&5
6528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6529 if eval "test \"\${$as_ac_var+set}\" = set"; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 cat >conftest.
$ac_ext <<_ACEOF
6535 cat confdefs.h
>>conftest.
$ac_ext
6536 cat >>conftest.
$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6540 #define $ac_func innocuous_$ac_func
6542 /* System header to define __stub macros and hopefully few prototypes,
6543 which can conflict with char $ac_func (); below.
6544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6545 <limits.h> exists even on freestanding compilers. */
6548 # include <limits.h>
6550 # include <assert.h>
6555 /* Override any gcc2 internal prototype to avoid an error. */
6560 /* We use char because int might match the return type of a gcc2
6561 builtin and then its argument prototype would still apply. */
6563 /* The GNU C library defines this for functions which it implements
6564 to always fail with ENOSYS. Some functions are actually named
6565 something starting with __ and the normal name is an alias. */
6566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6569 char (*f) () = $ac_func;
6578 return f != $ac_func;
6583 rm -f conftest.
$ac_objext conftest
$ac_exeext
6584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6585 (eval $ac_link) 2>conftest.er1
6587 grep -v '^ *+' conftest.er1
>conftest.err
6589 cat conftest.err
>&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } &&
6592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; } &&
6598 { ac_try
='test -s conftest$ac_exeext'
6599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); }; }; then
6604 eval "$as_ac_var=yes"
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.
$ac_ext >&5
6609 eval "$as_ac_var=no"
6611 rm -f conftest.err conftest.
$ac_objext \
6612 conftest
$ac_exeext conftest.
$ac_ext
6614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6616 if test `eval echo '${'$as_ac_var'}'` = yes; then
6617 cat >>confdefs.h
<<_ACEOF
6618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6625 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6627 for ac_func
in stpcpy
6629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6630 echo "$as_me:$LINENO: checking for $ac_func" >&5
6631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6632 if eval "test \"\${$as_ac_var+set}\" = set"; then
6633 echo $ECHO_N "(cached) $ECHO_C" >&6
6635 cat >conftest.
$ac_ext <<_ACEOF
6638 cat confdefs.h
>>conftest.
$ac_ext
6639 cat >>conftest.
$ac_ext <<_ACEOF
6640 /* end confdefs.h. */
6641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6643 #define $ac_func innocuous_$ac_func
6645 /* System header to define __stub macros and hopefully few prototypes,
6646 which can conflict with char $ac_func (); below.
6647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6648 <limits.h> exists even on freestanding compilers. */
6651 # include <limits.h>
6653 # include <assert.h>
6658 /* Override any gcc2 internal prototype to avoid an error. */
6663 /* We use char because int might match the return type of a gcc2
6664 builtin and then its argument prototype would still apply. */
6666 /* The GNU C library defines this for functions which it implements
6667 to always fail with ENOSYS. Some functions are actually named
6668 something starting with __ and the normal name is an alias. */
6669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6672 char (*f) () = $ac_func;
6681 return f != $ac_func;
6686 rm -f conftest.
$ac_objext conftest
$ac_exeext
6687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6688 (eval $ac_link) 2>conftest.er1
6690 grep -v '^ *+' conftest.er1
>conftest.err
6692 cat conftest.err
>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; } &&
6701 { ac_try
='test -s conftest$ac_exeext'
6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }; }; then
6707 eval "$as_ac_var=yes"
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.
$ac_ext >&5
6712 eval "$as_ac_var=no"
6714 rm -f conftest.err conftest.
$ac_objext \
6715 conftest
$ac_exeext conftest.
$ac_ext
6717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6719 if test `eval echo '${'$as_ac_var'}'` = yes; then
6720 cat >>confdefs.h
<<_ACEOF
6721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6728 if test "${ac_cv_func_stpcpy}" = "yes"; then
6730 cat >>confdefs.h
<<\_ACEOF
6731 #define HAVE_STPCPY 1
6736 if test $ac_cv_header_locale_h = yes; then
6737 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6738 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6739 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6742 cat >conftest.
$ac_ext <<_ACEOF
6745 cat confdefs.h
>>conftest.
$ac_ext
6746 cat >>conftest.
$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6757 rm -f conftest.
$ac_objext conftest
$ac_exeext
6758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6759 (eval $ac_link) 2>conftest.er1
6761 grep -v '^ *+' conftest.er1
>conftest.err
6763 cat conftest.err
>&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } &&
6766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; } &&
6772 { ac_try
='test -s conftest$ac_exeext'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; }; then
6778 am_cv_val_LC_MESSAGES
=yes
6780 echo "$as_me: failed program was:" >&5
6781 sed 's/^/| /' conftest.
$ac_ext >&5
6783 am_cv_val_LC_MESSAGES
=no
6785 rm -f conftest.err conftest.
$ac_objext \
6786 conftest
$ac_exeext conftest.
$ac_ext
6788 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6789 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6790 if test $am_cv_val_LC_MESSAGES = yes; then
6792 cat >>confdefs.h
<<\_ACEOF
6793 #define HAVE_LC_MESSAGES 1
6798 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6799 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6800 # Check whether --enable-nls or --disable-nls was given.
6801 if test "${enable_nls+set}" = set; then
6802 enableval
="$enable_nls"
6807 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6808 echo "${ECHO_T}$USE_NLS" >&6
6811 USE_INCLUDED_LIBINTL
=no
6813 if test "$USE_NLS" = "yes"; then
6815 cat >>confdefs.h
<<\_ACEOF
6816 #define ENABLE_NLS 1
6819 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6820 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6822 # Check whether --with-included-gettext or --without-included-gettext was given.
6823 if test "${with_included_gettext+set}" = set; then
6824 withval
="$with_included_gettext"
6825 nls_cv_force_use_gnu_gettext
=$withval
6827 nls_cv_force_use_gnu_gettext
=no
6829 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6830 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6832 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6833 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6835 nls_cv_header_libgt
=
6838 if test "${ac_cv_header_libintl_h+set}" = set; then
6839 echo "$as_me:$LINENO: checking for libintl.h" >&5
6840 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6841 if test "${ac_cv_header_libintl_h+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6845 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6847 # Is the header compilable?
6848 echo "$as_me:$LINENO: checking libintl.h usability" >&5
6849 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
6850 cat >conftest.
$ac_ext <<_ACEOF
6853 cat confdefs.h
>>conftest.
$ac_ext
6854 cat >>conftest.
$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6856 $ac_includes_default
6857 #include <libintl.h>
6859 rm -f conftest.
$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861 (eval $ac_compile) 2>conftest.er1
6863 grep -v '^ *+' conftest.er1
>conftest.err
6865 cat conftest.err
>&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); } &&
6868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try
='test -s conftest.$ac_objext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_header_compiler
=yes
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.
$ac_ext >&5
6885 ac_header_compiler
=no
6887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 echo "${ECHO_T}$ac_header_compiler" >&6
6891 # Is the header present?
6892 echo "$as_me:$LINENO: checking libintl.h presence" >&5
6893 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
6894 cat >conftest.
$ac_ext <<_ACEOF
6897 cat confdefs.h
>>conftest.
$ac_ext
6898 cat >>conftest.
$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6900 #include <libintl.h>
6902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6905 grep -v '^ *+' conftest.er1
>conftest.err
6907 cat conftest.err
>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } >/dev
/null
; then
6910 if test -s conftest.err
; then
6911 ac_cpp_err
=$ac_c_preproc_warn_flag
6912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6919 if test -z "$ac_cpp_err"; then
6920 ac_header_preproc
=yes
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.
$ac_ext >&5
6925 ac_header_preproc
=no
6927 rm -f conftest.err conftest.
$ac_ext
6928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6929 echo "${ECHO_T}$ac_header_preproc" >&6
6931 # So? What about this header?
6932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6934 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6935 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6937 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6938 ac_header_preproc
=yes
6941 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6942 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6943 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6944 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6945 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6946 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6947 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6948 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6949 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6950 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6951 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6952 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6955 ## ------------------------------------------ ##
6956 ## Report this to the AC_PACKAGE_NAME lists. ##
6957 ## ------------------------------------------ ##
6960 sed "s/^/$as_me: WARNING: /" >&2
6963 echo "$as_me:$LINENO: checking for libintl.h" >&5
6964 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6965 if test "${ac_cv_header_libintl_h+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 ac_cv_header_libintl_h
=$ac_header_preproc
6970 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6971 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6974 if test $ac_cv_header_libintl_h = yes; then
6975 echo "$as_me:$LINENO: checking for gettext in libc" >&5
6976 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
6977 if test "${gt_cv_func_gettext_libc+set}" = set; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 cat >conftest.
$ac_ext <<_ACEOF
6983 cat confdefs.h
>>conftest.
$ac_ext
6984 cat >>conftest.
$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 #include <libintl.h>
6990 return (int) gettext ("")
6995 rm -f conftest.
$ac_objext conftest
$ac_exeext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6997 (eval $ac_link) 2>conftest.er1
6999 grep -v '^ *+' conftest.er1
>conftest.err
7001 cat conftest.err
>&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); }; } &&
7010 { ac_try
='test -s conftest$ac_exeext'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; }; then
7016 gt_cv_func_gettext_libc
=yes
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.
$ac_ext >&5
7021 gt_cv_func_gettext_libc
=no
7023 rm -f conftest.err conftest.
$ac_objext \
7024 conftest
$ac_exeext conftest.
$ac_ext
7026 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7027 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7029 if test "$gt_cv_func_gettext_libc" != "yes"; then
7030 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7031 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7032 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 ac_check_lib_save_LIBS
=$LIBS
7037 cat >conftest.
$ac_ext <<_ACEOF
7040 cat confdefs.h
>>conftest.
$ac_ext
7041 cat >>conftest.
$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7044 /* Override any gcc2 internal prototype to avoid an error. */
7048 /* We use char because int might match the return type of a gcc2
7049 builtin and then its argument prototype would still apply. */
7050 char bindtextdomain ();
7059 rm -f conftest.
$ac_objext conftest
$ac_exeext
7060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7061 (eval $ac_link) 2>conftest.er1
7063 grep -v '^ *+' conftest.er1
>conftest.err
7065 cat conftest.err
>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); } &&
7068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); }; } &&
7074 { ac_try
='test -s conftest$ac_exeext'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 ac_cv_lib_intl_bindtextdomain
=yes
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.
$ac_ext >&5
7085 ac_cv_lib_intl_bindtextdomain
=no
7087 rm -f conftest.err conftest.
$ac_objext \
7088 conftest
$ac_exeext conftest.
$ac_ext
7089 LIBS
=$ac_check_lib_save_LIBS
7091 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7092 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7093 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7094 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7095 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7096 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 cat >conftest.
$ac_ext <<_ACEOF
7102 cat confdefs.h
>>conftest.
$ac_ext
7103 cat >>conftest.
$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7109 return (int) gettext ("")
7114 rm -f conftest.
$ac_objext conftest
$ac_exeext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1
>conftest.err
7120 cat conftest.err
>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; } &&
7129 { ac_try
='test -s conftest$ac_exeext'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7135 gt_cv_func_gettext_libintl
=yes
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.
$ac_ext >&5
7140 gt_cv_func_gettext_libintl
=no
7142 rm -f conftest.err conftest.
$ac_objext \
7143 conftest
$ac_exeext conftest.
$ac_ext
7145 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7146 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7151 if test "$gt_cv_func_gettext_libc" = "yes" \
7152 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7154 cat >>confdefs.h
<<\_ACEOF
7155 #define HAVE_GETTEXT 1
7158 # Extract the first word of "msgfmt", so it can be a program name with args.
7159 set dummy msgfmt
; ac_word
=$2
7160 echo "$as_me:$LINENO: checking for $ac_word" >&5
7161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7162 if test "${ac_cv_path_MSGFMT+set}" = set; then
7163 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7170 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7171 for ac_dir
in $PATH; do
7172 test -z "$ac_dir" && ac_dir
=.
7173 if test -f $ac_dir/$ac_word; then
7174 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7175 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7181 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7185 MSGFMT
="$ac_cv_path_MSGFMT"
7186 if test -n "$MSGFMT"; then
7187 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7188 echo "${ECHO_T}$MSGFMT" >&6
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7193 if test "$MSGFMT" != "no"; then
7195 for ac_func
in dcgettext
7197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7198 echo "$as_me:$LINENO: checking for $ac_func" >&5
7199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7200 if eval "test \"\${$as_ac_var+set}\" = set"; then
7201 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 cat >conftest.
$ac_ext <<_ACEOF
7206 cat confdefs.h
>>conftest.
$ac_ext
7207 cat >>conftest.
$ac_ext <<_ACEOF
7208 /* end confdefs.h. */
7209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7211 #define $ac_func innocuous_$ac_func
7213 /* System header to define __stub macros and hopefully few prototypes,
7214 which can conflict with char $ac_func (); below.
7215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7216 <limits.h> exists even on freestanding compilers. */
7219 # include <limits.h>
7221 # include <assert.h>
7226 /* Override any gcc2 internal prototype to avoid an error. */
7231 /* We use char because int might match the return type of a gcc2
7232 builtin and then its argument prototype would still apply. */
7234 /* The GNU C library defines this for functions which it implements
7235 to always fail with ENOSYS. Some functions are actually named
7236 something starting with __ and the normal name is an alias. */
7237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7240 char (*f) () = $ac_func;
7249 return f != $ac_func;
7254 rm -f conftest.
$ac_objext conftest
$ac_exeext
7255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7256 (eval $ac_link) 2>conftest.er1
7258 grep -v '^ *+' conftest.er1
>conftest.err
7260 cat conftest.err
>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } &&
7263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); }; } &&
7269 { ac_try
='test -s conftest$ac_exeext'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 eval "$as_ac_var=yes"
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.
$ac_ext >&5
7280 eval "$as_ac_var=no"
7282 rm -f conftest.err conftest.
$ac_objext \
7283 conftest
$ac_exeext conftest.
$ac_ext
7285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7287 if test `eval echo '${'$as_ac_var'}'` = yes; then
7288 cat >>confdefs.h
<<_ACEOF
7289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7295 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7296 set dummy gmsgfmt
; ac_word
=$2
7297 echo "$as_me:$LINENO: checking for $ac_word" >&5
7298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7299 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7304 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7311 test -z "$as_dir" && as_dir
=.
7312 for ac_exec_ext
in '' $ac_executable_extensions; do
7313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7325 GMSGFMT
=$ac_cv_path_GMSGFMT
7327 if test -n "$GMSGFMT"; then
7328 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7329 echo "${ECHO_T}$GMSGFMT" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7335 # Extract the first word of "xgettext", so it can be a program name with args.
7336 set dummy xgettext
; ac_word
=$2
7337 echo "$as_me:$LINENO: checking for $ac_word" >&5
7338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7339 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7347 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7348 for ac_dir
in $PATH; do
7349 test -z "$ac_dir" && ac_dir
=.
7350 if test -f $ac_dir/$ac_word; then
7351 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7352 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7358 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7362 XGETTEXT
="$ac_cv_path_XGETTEXT"
7363 if test -n "$XGETTEXT"; then
7364 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7365 echo "${ECHO_T}$XGETTEXT" >&6
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7371 cat >conftest.
$ac_ext <<_ACEOF
7374 cat confdefs.h
>>conftest.
$ac_ext
7375 cat >>conftest.
$ac_ext <<_ACEOF
7376 /* end confdefs.h. */
7381 extern int _nl_msg_cat_cntr;
7382 return _nl_msg_cat_cntr
7387 rm -f conftest.
$ac_objext conftest
$ac_exeext
7388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7389 (eval $ac_link) 2>conftest.er1
7391 grep -v '^ *+' conftest.er1
>conftest.err
7393 cat conftest.err
>&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } &&
7396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); }; } &&
7402 { ac_try
='test -s conftest$ac_exeext'
7403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); }; }; then
7411 echo "$as_me: failed program was:" >&5
7412 sed 's/^/| /' conftest.
$ac_ext >&5
7417 rm -f conftest.err conftest.
$ac_objext \
7418 conftest
$ac_exeext conftest.
$ac_ext
7428 if test "$CATOBJEXT" = "NONE"; then
7429 nls_cv_use_gnu_gettext
=yes
7433 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7434 INTLOBJS
="\$(GETTOBJS)"
7435 # Extract the first word of "msgfmt", so it can be a program name with args.
7436 set dummy msgfmt
; ac_word
=$2
7437 echo "$as_me:$LINENO: checking for $ac_word" >&5
7438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7439 if test "${ac_cv_path_MSGFMT+set}" = set; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7444 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7447 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7448 for ac_dir
in $PATH; do
7449 test -z "$ac_dir" && ac_dir
=.
7450 if test -f $ac_dir/$ac_word; then
7451 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7452 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7458 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7462 MSGFMT
="$ac_cv_path_MSGFMT"
7463 if test -n "$MSGFMT"; then
7464 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7465 echo "${ECHO_T}$MSGFMT" >&6
7467 echo "$as_me:$LINENO: result: no" >&5
7468 echo "${ECHO_T}no" >&6
7471 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7472 set dummy gmsgfmt
; ac_word
=$2
7473 echo "$as_me:$LINENO: checking for $ac_word" >&5
7474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7475 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir
=.
7488 for ac_exec_ext
in '' $ac_executable_extensions; do
7489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7501 GMSGFMT
=$ac_cv_path_GMSGFMT
7503 if test -n "$GMSGFMT"; then
7504 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7505 echo "${ECHO_T}$GMSGFMT" >&6
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7511 # Extract the first word of "xgettext", so it can be a program name with args.
7512 set dummy xgettext
; ac_word
=$2
7513 echo "$as_me:$LINENO: checking for $ac_word" >&5
7514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7515 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7523 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7524 for ac_dir
in $PATH; do
7525 test -z "$ac_dir" && ac_dir
=.
7526 if test -f $ac_dir/$ac_word; then
7527 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7528 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7534 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7538 XGETTEXT
="$ac_cv_path_XGETTEXT"
7539 if test -n "$XGETTEXT"; then
7540 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7541 echo "${ECHO_T}$XGETTEXT" >&6
7543 echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6
7548 USE_INCLUDED_LIBINTL
=yes
7552 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7554 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7555 nls_cv_header_intl
=libintl.h
7556 nls_cv_header_libgt
=libgettext.h
7559 if test "$XGETTEXT" != ":"; then
7560 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7563 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7564 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7569 # We need to process the po/ directory.
7573 nls_cv_header_intl
=libintl.h
7574 nls_cv_header_libgt
=libgettext.h
7577 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7578 # because some of the sources are only built for this goal.
7579 if test "$PACKAGE" = gettext; then
7581 USE_INCLUDED_LIBINTL
=yes
7584 for lang
in $ALL_LINGUAS; do
7585 GMOFILES
="$GMOFILES $lang.gmo"
7586 POFILES
="$POFILES $lang.po"
7602 if test "x$CATOBJEXT" != "x"; then
7603 if test "x$ALL_LINGUAS" = "x"; then
7606 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7607 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7609 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7610 case "$ALL_LINGUAS" in
7611 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7614 LINGUAS
=$NEW_LINGUAS
7615 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7616 echo "${ECHO_T}$LINGUAS" >&6
7619 if test -n "$LINGUAS"; then
7620 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7624 if test $ac_cv_header_locale_h = yes; then
7625 INCLUDE_LOCALE_H
="#include <locale.h>"
7628 /* The system does not provide the header <locale.h>. Take care yourself. */"
7632 if test -f $srcdir/po2tbl.
sed.
in; then
7633 if test "$CATOBJEXT" = ".cat"; then
7634 if test "${ac_cv_header_linux_version_h+set}" = set; then
7635 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7636 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7637 if test "${ac_cv_header_linux_version_h+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7641 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7643 # Is the header compilable?
7644 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7645 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7646 cat >conftest.
$ac_ext <<_ACEOF
7649 cat confdefs.h
>>conftest.
$ac_ext
7650 cat >>conftest.
$ac_ext <<_ACEOF
7651 /* end confdefs.h. */
7652 $ac_includes_default
7653 #include <linux/version.h>
7655 rm -f conftest.
$ac_objext
7656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7657 (eval $ac_compile) 2>conftest.er1
7659 grep -v '^ *+' conftest.er1
>conftest.err
7661 cat conftest.err
>&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } &&
7664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; } &&
7670 { ac_try
='test -s conftest.$ac_objext'
7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); }; }; then
7676 ac_header_compiler
=yes
7678 echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.
$ac_ext >&5
7681 ac_header_compiler
=no
7683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7685 echo "${ECHO_T}$ac_header_compiler" >&6
7687 # Is the header present?
7688 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7689 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7690 cat >conftest.
$ac_ext <<_ACEOF
7693 cat confdefs.h
>>conftest.
$ac_ext
7694 cat >>conftest.
$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 #include <linux/version.h>
7698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7701 grep -v '^ *+' conftest.er1
>conftest.err
7703 cat conftest.err
>&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } >/dev
/null
; then
7706 if test -s conftest.err
; then
7707 ac_cpp_err
=$ac_c_preproc_warn_flag
7708 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7715 if test -z "$ac_cpp_err"; then
7716 ac_header_preproc
=yes
7718 echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.
$ac_ext >&5
7721 ac_header_preproc
=no
7723 rm -f conftest.err conftest.
$ac_ext
7724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7725 echo "${ECHO_T}$ac_header_preproc" >&6
7727 # So? What about this header?
7728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7730 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
7731 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7732 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
7733 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
7734 ac_header_preproc
=yes
7737 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
7738 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
7739 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
7740 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
7741 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
7742 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
7743 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
7744 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
7745 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
7746 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
7747 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
7748 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
7751 ## ------------------------------------------ ##
7752 ## Report this to the AC_PACKAGE_NAME lists. ##
7753 ## ------------------------------------------ ##
7756 sed "s/^/$as_me: WARNING: /" >&2
7759 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7760 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7761 if test "${ac_cv_header_linux_version_h+set}" = set; then
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 ac_cv_header_linux_version_h
=$ac_header_preproc
7766 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7767 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7770 if test $ac_cv_header_linux_version_h = yes; then
7778 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
7780 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
7781 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
7784 if test "$PACKAGE" = "gettext"; then
7794 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
7800 if test -f $srcdir/po
/POTFILES.
in; then
7801 test -d po || mkdir po
7802 if test "x$srcdir" != "x."; then
7803 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7804 posrcprefix
="$srcdir/"
7806 posrcprefix
="../$srcdir/"
7812 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7813 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7817 .
${srcdir}/..
/bfd
/configure.
host
7819 # Put a plausible default for CC_FOR_BUILD in Makefile.
7820 if test -z "$CC_FOR_BUILD"; then
7821 if test "x$cross_compiling" = "xno"; then
7822 CC_FOR_BUILD
='$(CC)'
7828 # Also set EXEEXT_FOR_BUILD.
7829 if test "x$cross_compiling" = "xno"; then
7830 EXEEXT_FOR_BUILD
='$(EXEEXT)'
7832 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
7833 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
7834 if test "${bfd_cv_build_exeext+set}" = set; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 echo 'int main () { return 0; }' > conftest.c
7839 bfd_cv_build_exeext
=
7840 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
7841 for file in conftest.
*; do
7843 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
7844 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
7848 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
7850 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
7851 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
7853 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
7858 # Find a good install program. We prefer a C program (faster),
7859 # so one script is as good as another. But avoid the broken or
7860 # incompatible versions:
7861 # SysV /etc/install, /usr/sbin/install
7862 # SunOS /usr/etc/install
7863 # IRIX /sbin/install
7865 # AmigaOS /C/install, which installs bootblocks on floppy discs
7866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7869 # OS/2's system install, which has a completely different semantic
7870 # ./install, which can be erroneously created by make from ./install.sh.
7871 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7872 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7873 if test -z "$INSTALL"; then
7874 if test "${ac_cv_path_install+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7881 test -z "$as_dir" && as_dir
=.
7882 # Account for people who put trailing slashes in PATH elements.
7884 .
/ | .
// |
/cC
/* | \
7885 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7886 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7889 # OSF1 and SCO ODT 3.0 have their own names for install.
7890 # Don't use installbsd from OSF since it installs stuff as root
7892 for ac_prog
in ginstall scoinst
install; do
7893 for ac_exec_ext
in '' $ac_executable_extensions; do
7894 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7895 if test $ac_prog = install &&
7896 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7897 # AIX install. It has an incompatible calling convention.
7899 elif test $ac_prog = install &&
7900 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7901 # program-specific install script used by HP pwplus--don't use.
7904 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7916 if test "${ac_cv_path_install+set}" = set; then
7917 INSTALL
=$ac_cv_path_install
7919 # As a last resort, use the slow shell script. We don't cache a
7920 # path for INSTALL within a source directory, because that will
7921 # break other packages using the cache if that directory is
7922 # removed, or if the path is relative.
7923 INSTALL
=$ac_install_sh
7926 echo "$as_me:$LINENO: result: $INSTALL" >&5
7927 echo "${ECHO_T}$INSTALL" >&6
7929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7930 # It thinks the first close brace ends the variable substitution.
7931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7935 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7941 for ac_header
in string.h
strings.h stdlib.h
7943 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7945 echo "$as_me:$LINENO: checking for $ac_header" >&5
7946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7953 # Is the header compilable?
7954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7956 cat >conftest.
$ac_ext <<_ACEOF
7959 cat confdefs.h
>>conftest.
$ac_ext
7960 cat >>conftest.
$ac_ext <<_ACEOF
7961 /* end confdefs.h. */
7962 $ac_includes_default
7963 #include <$ac_header>
7965 rm -f conftest.
$ac_objext
7966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7967 (eval $ac_compile) 2>conftest.er1
7969 grep -v '^ *+' conftest.er1
>conftest.err
7971 cat conftest.err
>&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); } &&
7974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); }; } &&
7980 { ac_try
='test -s conftest.$ac_objext'
7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); }; }; then
7986 ac_header_compiler
=yes
7988 echo "$as_me: failed program was:" >&5
7989 sed 's/^/| /' conftest.
$ac_ext >&5
7991 ac_header_compiler
=no
7993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7995 echo "${ECHO_T}$ac_header_compiler" >&6
7997 # Is the header present?
7998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8000 cat >conftest.
$ac_ext <<_ACEOF
8003 cat confdefs.h
>>conftest.
$ac_ext
8004 cat >>conftest.
$ac_ext <<_ACEOF
8005 /* end confdefs.h. */
8006 #include <$ac_header>
8008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8011 grep -v '^ *+' conftest.er1
>conftest.err
8013 cat conftest.err
>&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } >/dev
/null
; then
8016 if test -s conftest.err
; then
8017 ac_cpp_err
=$ac_c_preproc_warn_flag
8018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8025 if test -z "$ac_cpp_err"; then
8026 ac_header_preproc
=yes
8028 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.
$ac_ext >&5
8031 ac_header_preproc
=no
8033 rm -f conftest.err conftest.
$ac_ext
8034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8035 echo "${ECHO_T}$ac_header_preproc" >&6
8037 # So? What about this header?
8038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8044 ac_header_preproc
=yes
8047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8061 ## ------------------------------------------ ##
8062 ## Report this to the AC_PACKAGE_NAME lists. ##
8063 ## ------------------------------------------ ##
8066 sed "s/^/$as_me: WARNING: /" >&2
8069 echo "$as_me:$LINENO: checking for $ac_header" >&5
8070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 eval "$as_ac_Header=\$ac_header_preproc"
8076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8081 cat >>confdefs.h
<<_ACEOF
8082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8091 cgendir
='$(srcdir)/../cgen'
8093 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
8094 if test "${enable_cgen_maint+set}" = set; then
8095 enableval
="$enable_cgen_maint"
8096 case "${enableval}" in
8097 yes) cgen_maint
=yes ;;
8098 no
) cgen_maint
=no
;;
8100 # argument is cgen install directory (not implemented yet).
8101 # Having a `share' directory might be more appropriate for the .scm,
8104 cgendir
=${cgen_maint}/lib
/cgen
8109 if test x
${cgen_maint} = xyes
; then
8111 CGEN_MAINT_FALSE
='#'
8120 # Horrible hacks to build DLLs on Windows.
8125 if test "$enable_shared" = "yes"; then
8126 WIN32LDFLAGS
="-no-undefined"
8127 WIN32LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
8134 # target-specific stuff:
8136 # Canonicalize the secondary target names.
8137 if test -n "$enable_targets" ; then
8138 for targ
in `echo $enable_targets | sed 's/,/ /g'`
8140 result
=`$ac_config_sub $targ 2>/dev/null`
8141 if test -n "$result" ; then
8142 canon_targets
="$canon_targets $result"
8144 # Allow targets that config.sub doesn't recognize, like "all".
8145 canon_targets
="$canon_targets $targ"
8152 for targ
in $target $canon_targets
8154 if test "x$targ" = "xall" ; then
8157 .
$srcdir/..
/bfd
/config.bfd
8158 selarchs
="$selarchs $targ_archs"
8162 # Utility var, documents generic cgen support files.
8164 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo"
8166 # We don't do any links based on the target system, just makefile config.
8168 if test x
${all_targets} = xfalse
; then
8170 # Target architecture .o files.
8173 for arch
in $selarchs
8175 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
8176 archdefs
="$archdefs -DARCH_$ad"
8178 bfd_a29k_arch
) ta
="$ta a29k-dis.lo" ;;
8179 bfd_alliant_arch
) ;;
8180 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
8181 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
8182 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
8183 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
8185 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo" ;;
8186 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
8187 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
8188 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
8189 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
8190 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
8191 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
8192 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
8193 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
8194 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
8195 bfd_i386_arch
) ta
="$ta i386-dis.lo" ;;
8196 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
8197 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
8198 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
8199 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
8200 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
8201 bfd_m32r_arch
) ta
="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen
=yes ;;
8202 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
8203 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
8204 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
8205 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
8206 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
8207 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
8208 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
8209 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
8210 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
8211 bfd_msp430_arch
) ta
="$ta msp430-dis.lo" ;;
8212 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
8213 bfd_openrisc_arch
) ta
="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen
=yes ;;
8214 bfd_or32_arch
) ta
="$ta or32-dis.lo or32-opc.lo" using_cgen
=yes ;;
8215 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
8216 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
8217 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8218 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8219 bfd_pyramid_arch
) ;;
8221 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8222 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
8224 # We can't decide what we want just from the CPU family.
8225 # We want SH5 support unless a specific version of sh is
8226 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
8227 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
8228 for t
in $target $canon_targets; do
8230 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
8231 sh-
*-linux* | shl-
*-linux*)
8232 ta
="$ta sh64-dis.lo sh64-opc.lo"
8233 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
8237 ta
="$ta sh-dis.lo" ;;
8238 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
8240 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
8241 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
8242 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
8243 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
8244 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8245 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8246 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8247 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
8248 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
8250 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
8251 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
8252 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
8253 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
8256 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
8257 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
8258 { (exit 1); exit 1; }; } ;;
8262 if test $using_cgen = yes ; then
8263 ta
="$ta $cgen_files"
8266 # Weed out duplicate .o files.
8276 # And duplicate -D flags.
8278 for i
in $archdefs ; do
8288 else # all_targets is true
8290 BFD_MACHINES
='$(ALL_MACHINES)'
8296 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8298 ac_config_commands
="$ac_config_commands default"
8300 cat >confcache
<<\_ACEOF
8301 # This file is a shell script that caches the results of configure
8302 # tests run on this system so they can be shared between configure
8303 # scripts and configure runs, see configure's option --config-cache.
8304 # It is not useful on other systems. If it contains results you don't
8305 # want to keep, you may remove or edit it.
8307 # config.status only pays attention to the cache file if you give it
8308 # the --recheck option to rerun configure.
8310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8316 # The following way of writing the cache mishandles newlines in values,
8317 # but we know of no workaround that is simple, portable, and efficient.
8318 # So, don't put newlines in cache variables' values.
8319 # Ultrix sh set writes to stderr and can't be redirected directly,
8320 # and sets the high bit in the cache file unless we assign to the vars.
8323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8325 # `set' does not quote correctly, so add quotes (double-quote
8326 # substitution turns \\\\ into \\, and sed turns \\ into \).
8329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8332 # `set' quotes correctly as required by POSIX, so do not add quotes.
8334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8345 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8346 if test -w $cache_file; then
8347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8348 cat confcache
>$cache_file
8350 echo "not updating unwritable cache $cache_file"
8355 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8356 # Let make expand exec_prefix.
8357 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8361 # trailing colons and then remove the whole line if VPATH becomes empty
8362 # (actually we leave an empty line to preserve line numbers).
8363 if test "x$srcdir" = x.
; then
8364 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8365 s/:*\$(srcdir):*/:/;
8366 s/:*\${srcdir}:*/:/;
8368 s/^\([^=]*=[ ]*\):*/\1/;
8374 DEFS
=-DHAVE_CONFIG_H
8378 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8379 # 1. Remove the extension, and $U if already installed.
8380 ac_i
=`echo "$ac_i" |
8381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8383 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8384 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8388 LTLIBOBJS
=$ac_ltlibobjs
8392 : ${CONFIG_STATUS=./config.status}
8393 ac_clean_files_save
=$ac_clean_files
8394 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8395 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8397 cat >$CONFIG_STATUS <<_ACEOF
8399 # Generated by $as_me.
8400 # Run this file to recreate the current configuration.
8401 # Compiler output produced by configure, useful for debugging
8402 # configure, is in config.log if it exists.
8407 SHELL=\${CONFIG_SHELL-$SHELL}
8410 cat >>$CONFIG_STATUS <<\_ACEOF
8411 ## --------------------- ##
8412 ## M4sh Initialization. ##
8413 ## --------------------- ##
8415 # Be Bourne compatible
8416 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8420 # is contrary to our usage. Disable this feature.
8421 alias -g '${1+"$@"}'='"$@"'
8422 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8425 DUALCASE
=1; export DUALCASE
# for MKS sh
8427 # Support unset when possible.
8428 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8435 # Work around bugs in pre-3.0 UWIN ksh.
8436 $as_unset ENV MAIL MAILPATH
8443 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8444 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8445 LC_TELEPHONE LC_TIME
8447 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8448 eval $as_var=C
; export $as_var
8454 # Required to use basename.
8455 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8461 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8462 as_basename
=basename
8468 # Name of the executable.
8469 as_me
=`$as_basename "$0" ||
8470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8471 X"$0" : 'X\(//\)$' \| \
8472 X"$0" : 'X\(/\)$' \| \
8473 . : '\(.\)' 2>/dev/null ||
8475 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8476 /^X\/\(\/\/\)$/{ s//\1/; q; }
8477 /^X\/\(\/\).*/{ s//\1/; q; }
8481 # PATH needs CR, and LINENO needs CR and PATH.
8482 # Avoid depending upon Character Ranges.
8483 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8484 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8485 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8486 as_cr_digits
='0123456789'
8487 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8489 # The user is always right.
8490 if test "${PATH_SEPARATOR+set}" != set; then
8491 echo "#! /bin/sh" >conf$$.sh
8492 echo "exit 0" >>conf$$.sh
8494 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8505 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8506 test "x$as_lineno_1" != "x$as_lineno_2" &&
8507 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8508 # Find who we are. Look in the path if we contain no path at all
8511 *[\\/]* ) as_myself
=$0 ;;
8512 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8516 test -z "$as_dir" && as_dir
=.
8517 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8522 # We did not find ourselves, most probably we were run as `sh COMMAND'
8523 # in which case we are not to be found in the path.
8524 if test "x$as_myself" = x
; then
8527 if test ! -f "$as_myself"; then
8528 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8529 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8530 { (exit 1); exit 1; }; }
8532 case $CONFIG_SHELL in
8534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8535 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8538 test -z "$as_dir" && as_dir
=.
8539 for as_base
in sh bash ksh sh5
; do
8542 if ("$as_dir/$as_base" -c '
8545 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8546 test "x$as_lineno_1" != "x$as_lineno_2" &&
8547 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8548 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8549 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8550 CONFIG_SHELL
=$as_dir/$as_base
8552 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8560 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8561 # uniformly replaced by the line number. The first 'sed' inserts a
8562 # line-number line before each line; the second 'sed' does the real
8563 # work. The second script uses 'N' to pair each line-number line
8564 # with the numbered line, and appends trailing '-' during
8565 # substitution so that $LINENO is not a special case at line end.
8566 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8567 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8568 sed '=' <$as_myself |
8573 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8576 s,^['$as_cr_digits']*\n,,
8578 chmod +x
$as_me.lineno ||
8579 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8580 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8581 { (exit 1); exit 1; }; }
8583 # Don't try to exec as it changes $[0], causing all sort of problems
8584 # (the dirname of $[0] is not the place where we might find the
8585 # original and so on. Autoconf is especially sensible to this).
8587 # Exit status is that of the last command.
8592 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8593 *c
*,-n*) ECHO_N
= ECHO_C
='
8595 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8596 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8599 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8605 rm -f conf$$ conf$$.exe conf$$.
file
8607 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8608 # We could just check for DJGPP; but this test a) works b) is more generic
8609 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8610 if test -f conf$$.exe
; then
8611 # Don't use ln at all; we don't have any links
8616 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8621 rm -f conf$$ conf$$.exe conf$$.
file
8623 if mkdir
-p .
2>/dev
/null
; then
8626 test -d .
/-p && rmdir .
/-p
8630 as_executable_p
="test -f"
8632 # Sed expression to map a string onto a valid CPP name.
8633 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8635 # Sed expression to map a string onto a valid variable name.
8636 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8640 # We need space, tab and new line, in precisely that order.
8650 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8651 # report actual input values of CONFIG_FILES etc. instead of their
8652 # values after options handling. Logging --version etc. is OK.
8656 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8657 ## Running $as_me. ##
8662 This file was extended by $as_me, which was
8663 generated by GNU Autoconf 2.59. Invocation command line was
8665 CONFIG_FILES = $CONFIG_FILES
8666 CONFIG_HEADERS = $CONFIG_HEADERS
8667 CONFIG_LINKS = $CONFIG_LINKS
8668 CONFIG_COMMANDS = $CONFIG_COMMANDS
8672 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8676 # Files that config.status was made for.
8677 if test -n "$ac_config_files"; then
8678 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8681 if test -n "$ac_config_headers"; then
8682 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8685 if test -n "$ac_config_links"; then
8686 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8689 if test -n "$ac_config_commands"; then
8690 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8693 cat >>$CONFIG_STATUS <<\_ACEOF
8696 \`$as_me' instantiates files from templates according to the
8697 current configuration.
8699 Usage: $0 [OPTIONS] [FILE]...
8701 -h, --help print this help, then exit
8702 -V, --version print version number, then exit
8703 -q, --quiet do not print progress messages
8704 -d, --debug don't remove temporary files
8705 --recheck update $as_me by reconfiguring in the same conditions
8706 --file=FILE[:TEMPLATE]
8707 instantiate the configuration file FILE
8708 --header=FILE[:TEMPLATE]
8709 instantiate the configuration header FILE
8711 Configuration files:
8714 Configuration headers:
8717 Configuration commands:
8720 Report bugs to <bug-autoconf@gnu.org>."
8723 cat >>$CONFIG_STATUS <<_ACEOF
8726 configured by $0, generated by GNU Autoconf 2.59,
8727 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8729 Copyright (C) 2003 Free Software Foundation, Inc.
8730 This config.status script is free software; the Free Software Foundation
8731 gives unlimited permission to copy, distribute and modify it."
8736 cat >>$CONFIG_STATUS <<\_ACEOF
8737 # If no file are specified by the user, then we need to provide default
8738 # value. By we need to know if files were specified by the user.
8744 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8745 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8753 *) # This is not an option, so the user has probably given explicit
8756 ac_need_defaults
=false
;;
8760 # Handling of the options.
8762 cat >>$CONFIG_STATUS <<\_ACEOF
8763 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8765 --version |
--vers* |
-V )
8766 echo "$ac_cs_version"; exit 0 ;;
8768 # Conflict between --help and --header
8769 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8770 Try \`$0 --help' for more information." >&5
8771 echo "$as_me: error: ambiguous option: $1
8772 Try \`$0 --help' for more information." >&2;}
8773 { (exit 1); exit 1; }; };;
8774 --help |
--hel |
-h )
8775 echo "$ac_cs_usage"; exit 0 ;;
8776 --debug |
--d* |
-d )
8778 --file |
--fil |
--fi |
--f )
8780 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8781 ac_need_defaults
=false
;;
8782 --header |
--heade |
--head |
--hea )
8784 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8785 ac_need_defaults
=false
;;
8786 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8787 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8791 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8792 Try \`$0 --help' for more information." >&5
8793 echo "$as_me: error: unrecognized option: $1
8794 Try \`$0 --help' for more information." >&2;}
8795 { (exit 1); exit 1; }; } ;;
8797 *) ac_config_targets
="$ac_config_targets $1" ;;
8803 ac_configure_extra_args
=
8805 if $ac_cs_silent; then
8807 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8811 cat >>$CONFIG_STATUS <<_ACEOF
8812 if \$ac_cs_recheck; then
8813 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8814 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8819 cat >>$CONFIG_STATUS <<_ACEOF
8821 # INIT-COMMANDS section.
8831 cat >>$CONFIG_STATUS <<\_ACEOF
8832 for ac_config_target
in $ac_config_targets
8834 case "$ac_config_target" in
8835 # Handling of arguments.
8836 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8837 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8838 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8839 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8840 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8841 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8842 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8843 { (exit 1); exit 1; }; };;
8847 # If the user did not use the arguments to specify the items to instantiate,
8848 # then the envvar interface is used. Set only those that are not.
8849 # We use the long form for the default assignment because of an extremely
8850 # bizarre bug on SunOS 4.1.3.
8851 if $ac_need_defaults; then
8852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8853 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8854 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8857 # Have a temporary directory for convenience. Make it in the build tree
8858 # simply because there is no reason to put it here, and in addition,
8859 # creating and moving files from /tmp can sometimes cause problems.
8860 # Create a temporary directory, and hook for its removal unless debugging.
8863 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8864 trap '{ (exit 1); exit 1; }' 1 2 13 15
8867 # Create a (secure) tmp directory for tmp files.
8870 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8871 test -n "$tmp" && test -d "$tmp"
8874 tmp
=.
/confstat$$
-$RANDOM
8875 (umask 077 && mkdir
$tmp)
8878 echo "$me: cannot create a temporary directory in ." >&2
8879 { (exit 1); exit 1; }
8884 cat >>$CONFIG_STATUS <<_ACEOF
8887 # CONFIG_FILES section.
8890 # No need to generate the scripts if there are no CONFIG_FILES.
8891 # This happens for instance when ./config.status config.h
8892 if test -n "\$CONFIG_FILES"; then
8893 # Protect against being on the right side of a sed subst in config.status.
8894 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8895 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8896 s,@SHELL@,$SHELL,;t t
8897 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8898 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8899 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8900 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8901 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8902 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8903 s,@exec_prefix@,$exec_prefix,;t t
8904 s,@prefix@,$prefix,;t t
8905 s,@program_transform_name@,$program_transform_name,;t t
8906 s,@bindir@,$bindir,;t t
8907 s,@sbindir@,$sbindir,;t t
8908 s,@libexecdir@,$libexecdir,;t t
8909 s,@datadir@,$datadir,;t t
8910 s,@sysconfdir@,$sysconfdir,;t t
8911 s,@sharedstatedir@,$sharedstatedir,;t t
8912 s,@localstatedir@,$localstatedir,;t t
8913 s,@libdir@,$libdir,;t t
8914 s,@includedir@,$includedir,;t t
8915 s,@oldincludedir@,$oldincludedir,;t t
8916 s,@infodir@,$infodir,;t t
8917 s,@mandir@,$mandir,;t t
8918 s,@build_alias@,$build_alias,;t t
8919 s,@host_alias@,$host_alias,;t t
8920 s,@target_alias@,$target_alias,;t t
8922 s,@ECHO_C@,$ECHO_C,;t t
8923 s,@ECHO_N@,$ECHO_N,;t t
8924 s,@ECHO_T@,$ECHO_T,;t t
8926 s,@build@,$build,;t t
8927 s,@build_cpu@,$build_cpu,;t t
8928 s,@build_vendor@,$build_vendor,;t t
8929 s,@build_os@,$build_os,;t t
8931 s,@host_cpu@,$host_cpu,;t t
8932 s,@host_vendor@,$host_vendor,;t t
8933 s,@host_os@,$host_os,;t t
8934 s,@target@,$target,;t t
8935 s,@target_cpu@,$target_cpu,;t t
8936 s,@target_vendor@,$target_vendor,;t t
8937 s,@target_os@,$target_os,;t t
8939 s,@CFLAGS@,$CFLAGS,;t t
8940 s,@LDFLAGS@,$LDFLAGS,;t t
8941 s,@CPPFLAGS@,$CPPFLAGS,;t t
8942 s,@ac_ct_CC@,$ac_ct_CC,;t t
8943 s,@EXEEXT@,$EXEEXT,;t t
8944 s,@OBJEXT@,$OBJEXT,;t t
8945 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8946 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8947 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8948 s,@PACKAGE@,$PACKAGE,;t t
8949 s,@VERSION@,$VERSION,;t t
8950 s,@ACLOCAL@,$ACLOCAL,;t t
8951 s,@AUTOCONF@,$AUTOCONF,;t t
8952 s,@AUTOMAKE@,$AUTOMAKE,;t t
8953 s,@AUTOHEADER@,$AUTOHEADER,;t t
8954 s,@MAKEINFO@,$MAKEINFO,;t t
8955 s,@SET_MAKE@,$SET_MAKE,;t t
8957 s,@ac_ct_AR@,$ac_ct_AR,;t t
8958 s,@RANLIB@,$RANLIB,;t t
8959 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8961 s,@STRIP@,$STRIP,;t t
8962 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8963 s,@LIBTOOL@,$LIBTOOL,;t t
8964 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8965 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8966 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8967 s,@MAINT@,$MAINT,;t t
8968 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
8969 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
8970 s,@host_noncanonical@,$host_noncanonical,;t t
8971 s,@target_noncanonical@,$target_noncanonical,;t t
8972 s,@bfdlibdir@,$bfdlibdir,;t t
8973 s,@bfdincludedir@,$bfdincludedir,;t t
8975 s,@EGREP@,$EGREP,;t t
8976 s,@ALLOCA@,$ALLOCA,;t t
8977 s,@USE_NLS@,$USE_NLS,;t t
8978 s,@MSGFMT@,$MSGFMT,;t t
8979 s,@GMSGFMT@,$GMSGFMT,;t t
8980 s,@XGETTEXT@,$XGETTEXT,;t t
8981 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
8982 s,@CATALOGS@,$CATALOGS,;t t
8983 s,@CATOBJEXT@,$CATOBJEXT,;t t
8984 s,@DATADIRNAME@,$DATADIRNAME,;t t
8985 s,@GMOFILES@,$GMOFILES,;t t
8986 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8987 s,@INTLDEPS@,$INTLDEPS,;t t
8988 s,@INTLLIBS@,$INTLLIBS,;t t
8989 s,@INTLOBJS@,$INTLOBJS,;t t
8990 s,@POFILES@,$POFILES,;t t
8991 s,@POSUB@,$POSUB,;t t
8992 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
8993 s,@GT_NO@,$GT_NO,;t t
8994 s,@GT_YES@,$GT_YES,;t t
8995 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8997 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
8998 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
8999 s,@HDEFINES@,$HDEFINES,;t t
9000 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
9001 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
9002 s,@cgendir@,$cgendir,;t t
9003 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
9004 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
9005 s,@archdefs@,$archdefs,;t t
9006 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
9007 s,@LIBOBJS@,$LIBOBJS,;t t
9008 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9013 cat >>$CONFIG_STATUS <<\_ACEOF
9014 # Split the substitutions into bite-sized pieces for seds with
9015 # small command number limits, like on Digital OSF/1 and HP-UX.
9017 ac_sed_frag
=1 # Number of current file.
9018 ac_beg
=1 # First line for current file.
9019 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9022 while $ac_more_lines; do
9023 if test $ac_beg -gt 1; then
9024 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9026 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9028 if test ! -s $tmp/subs.frag
; then
9031 # The purpose of the label and of the branching condition is to
9032 # speed up the sed processing (if there are no `@' at all, there
9033 # is no need to browse any of the substitutions).
9034 # These are the two extra sed commands mentioned above.
9036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9037 if test -z "$ac_sed_cmds"; then
9038 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9040 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9042 ac_sed_frag
=`expr $ac_sed_frag + 1`
9044 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9047 if test -z "$ac_sed_cmds"; then
9050 fi # test -n "$CONFIG_FILES"
9053 cat >>$CONFIG_STATUS <<\_ACEOF
9054 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9055 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9057 - |
*:- |
*:-:* ) # input from stdin
9059 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9060 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9061 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9062 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9063 * ) ac_file_in
=$ac_file.
in ;;
9066 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9067 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9069 X"$ac_file" : 'X\(//\)[^/]' \| \
9070 X"$ac_file" : 'X\(//\)$' \| \
9071 X"$ac_file" : 'X\(/\)' \| \
9072 . : '\(.\)' 2>/dev/null ||
9074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9076 /^X\(\/\/\)$/{ s//\1/; q; }
9077 /^X\(\/\).*/{ s//\1/; q; }
9079 { if $as_mkdir_p; then
9084 while test ! -d "$as_dir"; do
9085 as_dirs
="$as_dir $as_dirs"
9086 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9088 X"$as_dir" : 'X\(//\)[^/]' \| \
9089 X"$as_dir" : 'X\(//\)$' \| \
9090 X"$as_dir" : 'X\(/\)' \| \
9091 . : '\(.\)' 2>/dev/null ||
9093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9095 /^X\(\/\/\)$/{ s//\1/; q; }
9096 /^X\(\/\).*/{ s//\1/; q; }
9099 test ! -n "$as_dirs" || mkdir
$as_dirs
9100 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9101 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9102 { (exit 1); exit 1; }; }; }
9106 if test "$ac_dir" != .
; then
9107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9108 # A "../" for each directory in $ac_dir_suffix.
9109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9111 ac_dir_suffix
= ac_top_builddir
=
9115 .
) # No --srcdir option. We are building in place.
9117 if test -z "$ac_top_builddir"; then
9120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9122 [\\/]* | ?
:[\\/]* ) # Absolute path.
9123 ac_srcdir
=$srcdir$ac_dir_suffix;
9124 ac_top_srcdir
=$srcdir ;;
9126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9130 # Do not use `cd foo && pwd` to compute absolute paths, because
9131 # the directories may not exist.
9133 .
) ac_abs_builddir
="$ac_dir";;
9136 .
) ac_abs_builddir
=`pwd`;;
9137 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9138 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9141 case $ac_abs_builddir in
9142 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9144 case ${ac_top_builddir}.
in
9145 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9146 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9147 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9150 case $ac_abs_builddir in
9151 .
) ac_abs_srcdir
=$ac_srcdir;;
9154 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9155 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9156 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9159 case $ac_abs_builddir in
9160 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9162 case $ac_top_srcdir in
9163 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9164 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9165 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9171 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9172 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9175 # Let's still pretend it is `configure' which instantiates (i.e., don't
9176 # use $as_me), people would be surprised to read:
9177 # /* config.h. Generated by config.status. */
9178 if test x
"$ac_file" = x-
; then
9181 configure_input
="$ac_file. "
9183 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9184 sed 's,.*/,,'` by configure."
9186 # First look for the input files in the build tree, otherwise in the
9188 ac_file_inputs
=`IFS=:
9189 for f in $ac_file_in; do
9191 -) echo $tmp/stdin ;;
9193 # Absolute (can't be DOS-style, as IFS=:)
9194 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9195 echo "$as_me: error: cannot find input file: $f" >&2;}
9196 { (exit 1); exit 1; }; }
9199 if test -f "$f"; then
9202 elif test -f "$srcdir/$f"; then
9207 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9208 echo "$as_me: error: cannot find input file: $f" >&2;}
9209 { (exit 1); exit 1; }; }
9212 done` ||
{ (exit 1); exit 1; }
9214 if test x
"$ac_file" != x-
; then
9215 { echo "$as_me:$LINENO: creating $ac_file" >&5
9216 echo "$as_me: creating $ac_file" >&6;}
9220 cat >>$CONFIG_STATUS <<_ACEOF
9224 cat >>$CONFIG_STATUS <<\_ACEOF
9226 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9227 s
,@configure_input@
,$configure_input,;t t
9228 s
,@srcdir@
,$ac_srcdir,;t t
9229 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9230 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9231 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9232 s
,@builddir@
,$ac_builddir,;t t
9233 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9234 s
,@top_builddir@
,$ac_top_builddir,;t t
9235 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9236 s
,@INSTALL@
,$ac_INSTALL,;t t
9237 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9239 if test x"$ac_file" != x-; then
9240 mv $tmp/out $ac_file
9248 cat >>$CONFIG_STATUS <<\_ACEOF
9251 # CONFIG_HEADER section.
9254 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9255 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9257 # ac_d sets the value in "#define NAME VALUE" lines.
9258 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9259 ac_dB
='[ ].*$,\1#\2'
9262 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9263 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9264 ac_uB
='$,\1#\2define\3'
9268 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9269 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9271 - |
*:- |
*:-:* ) # input from stdin
9273 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9274 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9275 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9276 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9277 * ) ac_file_in
=$ac_file.
in ;;
9280 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9281 echo "$as_me: creating $ac_file" >&6;}
9283 # First look for the input files in the build tree, otherwise in the
9285 ac_file_inputs
=`IFS=:
9286 for f in $ac_file_in; do
9288 -) echo $tmp/stdin ;;
9290 # Absolute (can't be DOS-style, as IFS=:)
9291 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9292 echo "$as_me: error: cannot find input file: $f" >&2;}
9293 { (exit 1); exit 1; }; }
9294 # Do quote $f, to prevent DOS paths from being IFS'd.
9297 if test -f "$f"; then
9300 elif test -f "$srcdir/$f"; then
9305 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9306 echo "$as_me: error: cannot find input file: $f" >&2;}
9307 { (exit 1); exit 1; }; }
9310 done` ||
{ (exit 1); exit 1; }
9311 # Remove the trailing spaces.
9312 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9316 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9317 # `conftest.undefs', that substitutes the proper values into
9318 # config.h.in to produce config.h. The first handles `#define'
9319 # templates, and the second `#undef' templates.
9320 # And first: Protect against being on the right side of a sed subst in
9321 # config.status. Protect against being in an unquoted here document
9323 rm -f conftest.defines conftest.undefs
9324 # Using a here document instead of a string reduces the quoting nightmare.
9325 # Putting comments in sed scripts is not portable.
9327 # `end' is used to avoid that the second main sed command (meant for
9328 # 0-ary CPP macros) applies to n-ary macro definitions.
9329 # See the Autoconf documentation for `clear'.
9330 cat >confdef2sed.
sed <<\_ACEOF
9335 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9337 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9340 # If some macros were called several times there might be several times
9341 # the same #defines, which is useless. Nevertheless, we may not want to
9342 # sort them, since we want the *last* AC-DEFINE to be honored.
9343 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9344 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9345 rm -f confdef2sed.sed
9347 # This sed command replaces #undef with comments. This is necessary, for
9348 # example, in the case of _POSIX_SOURCE, which is predefined and required
9349 # on some systems where configure will not decide to define it.
9350 cat >>conftest.undefs <<\_ACEOF
9351 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9354 # Break up conftest.defines because some shells have a limit on the size
9355 # of here documents, and old seds have small limits too (100 cmds).
9356 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9357 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9358 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9359 echo ' :' >>$CONFIG_STATUS
9361 while grep . conftest.defines >/dev/null
9363 # Write a limited-size here document to $tmp/defines.sed.
9364 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9365 # Speed up: don't consider the non `#define' lines.
9366 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9367 # Work around the forget-to-reset-the-flag bug.
9368 echo 't clr' >>$CONFIG_STATUS
9369 echo ': clr' >>$CONFIG_STATUS
9370 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9372 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9376 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9377 rm -f conftest.defines
9378 mv conftest.
tail conftest.defines
9380 rm -f conftest.defines
9381 echo ' fi # grep' >>$CONFIG_STATUS
9382 echo >>$CONFIG_STATUS
9384 # Break up conftest.undefs because some shells have a limit on the size
9385 # of here documents, and old seds have small limits too (100 cmds).
9386 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9388 while grep . conftest.undefs
>/dev
/null
9390 # Write a limited-size here document to $tmp/undefs.sed.
9391 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9392 # Speed up: don't consider the non
`#undef'
9393 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9394 # Work around the forget-to-reset-the-flag bug.
9395 echo 't clr' >>$CONFIG_STATUS
9396 echo ': clr' >>$CONFIG_STATUS
9397 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9399 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9403 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9404 rm -f conftest.undefs
9405 mv conftest.tail conftest.undefs
9407 rm -f conftest.undefs
9409 cat >>$CONFIG_STATUS <<\_ACEOF
9410 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9411 # use $as_me), people would be surprised to read:
9412 # /* config.h. Generated by config.status. */
9413 if test x
"$ac_file" = x-
; then
9414 echo "/* Generated by configure. */" >$tmp/config.h
9416 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9418 cat $tmp/in >>$tmp/config.h
9420 if test x
"$ac_file" != x-
; then
9421 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9422 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9423 echo "$as_me: $ac_file is unchanged" >&6;}
9425 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9426 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9427 X"$ac_file" : 'X\(//\)[^/]' \| \
9428 X"$ac_file" : 'X\(//\)$' \| \
9429 X"$ac_file" : 'X\(/\)' \| \
9430 . : '\(.\)' 2>/dev/null ||
9432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9434 /^X\(\/\/\)$/{ s//\1/; q; }
9435 /^X\(\/\).*/{ s//\1/; q; }
9437 { if $as_mkdir_p; then
9442 while test ! -d "$as_dir"; do
9443 as_dirs
="$as_dir $as_dirs"
9444 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9446 X"$as_dir" : 'X\(//\)[^/]' \| \
9447 X"$as_dir" : 'X\(//\)$' \| \
9448 X"$as_dir" : 'X\(/\)' \| \
9449 . : '\(.\)' 2>/dev/null ||
9451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9453 /^X\(\/\/\)$/{ s//\1/; q; }
9454 /^X\(\/\).*/{ s//\1/; q; }
9457 test ! -n "$as_dirs" || mkdir
$as_dirs
9458 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9460 { (exit 1); exit 1; }; }; }
9463 mv $tmp/config.h
$ac_file
9471 cat >>$CONFIG_STATUS <<\_ACEOF
9474 # CONFIG_COMMANDS section.
9476 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9477 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9478 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9479 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9480 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9481 X"$ac_dest" : 'X\(//\)[^/]' \| \
9482 X"$ac_dest" : 'X\(//\)$' \| \
9483 X"$ac_dest" : 'X\(/\)' \| \
9484 . : '\(.\)' 2>/dev/null ||
9486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9488 /^X\(\/\/\)$/{ s//\1/; q; }
9489 /^X\(\/\).*/{ s//\1/; q; }
9491 { if $as_mkdir_p; then
9496 while test ! -d "$as_dir"; do
9497 as_dirs
="$as_dir $as_dirs"
9498 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9500 X"$as_dir" : 'X\(//\)[^/]' \| \
9501 X"$as_dir" : 'X\(//\)$' \| \
9502 X"$as_dir" : 'X\(/\)' \| \
9503 . : '\(.\)' 2>/dev/null ||
9505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9507 /^X\(\/\/\)$/{ s//\1/; q; }
9508 /^X\(\/\).*/{ s//\1/; q; }
9511 test ! -n "$as_dirs" || mkdir
$as_dirs
9512 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9513 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9514 { (exit 1); exit 1; }; }; }
9518 if test "$ac_dir" != .
; then
9519 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9520 # A "../" for each directory in $ac_dir_suffix.
9521 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9523 ac_dir_suffix
= ac_top_builddir
=
9527 .
) # No --srcdir option. We are building in place.
9529 if test -z "$ac_top_builddir"; then
9532 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9534 [\\/]* | ?
:[\\/]* ) # Absolute path.
9535 ac_srcdir
=$srcdir$ac_dir_suffix;
9536 ac_top_srcdir
=$srcdir ;;
9538 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9539 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9542 # Do not use `cd foo && pwd` to compute absolute paths, because
9543 # the directories may not exist.
9545 .
) ac_abs_builddir
="$ac_dir";;
9548 .
) ac_abs_builddir
=`pwd`;;
9549 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9550 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9553 case $ac_abs_builddir in
9554 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9556 case ${ac_top_builddir}.
in
9557 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9558 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9559 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9562 case $ac_abs_builddir in
9563 .
) ac_abs_srcdir
=$ac_srcdir;;
9566 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9567 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9568 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9571 case $ac_abs_builddir in
9572 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9574 case $ac_top_srcdir in
9575 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9576 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9577 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9582 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9583 echo "$as_me: executing $ac_dest commands" >&6;}
9585 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
9586 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
9591 cat >>$CONFIG_STATUS <<\_ACEOF
9593 { (exit 0); exit 0; }
9595 chmod +x
$CONFIG_STATUS
9596 ac_clean_files
=$ac_clean_files_save
9599 # configure is writing to config.log, and then calls config.status.
9600 # config.status does its own redirection, appending to config.log.
9601 # Unfortunately, on DOS this fails, as config.log is still kept open
9602 # by configure, so config.status won't be able to write to it; its
9603 # output is simply discarded. So we exec the FD to /dev/null,
9604 # effectively closing config.log, so it can be properly (re)opened and
9605 # appended to by config.status. When coming back to configure, we
9606 # need to make the FD available again.
9607 if test "$no_create" != yes; then
9609 ac_config_status_args
=
9610 test "$silent" = yes &&
9611 ac_config_status_args
="$ac_config_status_args --quiet"
9613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9616 # would make configure fail if this is the last instruction.
9617 $ac_cs_success ||
{ (exit 1); exit 1; }