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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS NO_WERROR 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 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=no
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --enable-targets alternative target configurations
860 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
861 --enable-werror treat compile warnings as errors
862 --enable-build-warnings Enable build-time compiler warnings
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
865 --enable-install-libbfd controls installation of libbfd and related headers
866 --disable-nls do not use Native Language Support
867 --enable-cgen-maint=dir build cgen generated files
870 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
871 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
872 --with-gnu-ld assume the C compiler uses GNU ld default
=no
873 --with-pic try to use only PIC
/non-PIC objects default
=use both
874 --with-included-gettext use the GNU
gettext library included here
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
885 Use these variables to override the choices made by
`configure' or to help
886 it to find libraries and programs with nonstandard names/locations.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix= ac_top_builddir=
907 .) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 # Do not use `cd foo
&& pwd` to compute absolute paths, because
923 # the directories may not exist.
925 .) ac_abs_builddir="$ac_dir";;
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
984 Copyright (C) 2003 Free Software Foundation, Inc.
985 This configure script is free software; the Free Software Foundation
986 gives unlimited permission to copy, distribute and modify it.
992 This file contains any messages produced by compilers while
993 running configure, to aid debugging if configure makes a mistake.
995 It was created by $as_me, which was
996 generated by GNU Autoconf 2.59. Invocation command line was
1007 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1008 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1009 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1010 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1011 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1016 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1019 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1020 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1022 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1046 # Keep a trace of the command line.
1047 # Strip out --no-create and --no-recursion so they do not pile up.
1048 # Strip out --silent because we don't want to record it for future runs.
1049 # Also quote any args containing shell meta-characters.
1050 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_must_keep_next=false
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 -* ) ac_must_keep_next=true ;;
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097 # When interrupted or exit'd, cleanup temporary files, and complete
1098 # config.log. We remove comments because anyway the quotes in there
1099 # would cause problems or look ugly.
1100 # WARNING: Be sure not to use single quotes in there, as some shells,
1101 # such as our DU 5.0 friend, will then `close
' the trap.
1102 trap 'exit_status
=$?
1103 # Save into config.log some information that might help in debugging.
1108 ## ---------------- ##
1109 ## Cache variables. ##
1110 ## ---------------- ##
1113 # The following way of writing the cache mishandles newlines in values,
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ## ----------------- ##
1132 ## Output variables. ##
1133 ## ----------------- ##
1136 for ac_var
in $ac_subst_vars
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -n "$ac_subst_files"; then
1150 for ac_var
in $ac_subst_files
1152 eval ac_val
=$
`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -s confdefs.h
; then
1165 sed "/^$/d" confdefs.h |
sort
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1172 rm -f core
*.core
&&
1173 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1176 for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1182 rm -rf conftest* confdefs.h
1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 # Predefined preprocessor variables.
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_NAME "$PACKAGE_NAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_STRING "$PACKAGE_STRING"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1213 # Let the site file select an alternate cache file if it wants to.
1214 # Prefer explicitly selected file to automatically selected ones.
1215 if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225 echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's
/^
/|
/' "$ac_site_file" >&5
1231 if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236 echo "$as_me: loading cache $cache_file" >&6;}
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244 echo "$as_me: creating cache $cache_file" >&6;}
1248 # Check that the precious variables saved in the cache have kept the same
1250 ac_cache_corrupted=false
1251 for ac_var in `(set) 2>&1 |
1252 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1261 ac_cache_corrupted=: ;;
1263 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1270 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272 echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274 echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1295 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327 if test -f $ac_dir/install-sh; then
1329 ac_install_sh="$ac_aux_dir/install-sh -c"
1331 elif test -f $ac_dir/install.sh; then
1333 ac_install_sh="$ac_aux_dir/install.sh -c"
1335 elif test -f $ac_dir/shtool; then
1337 ac_install_sh="$ac_aux_dir/shtool install -c"
1341 if test -z "$ac_aux_dir"; then
1342 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1344 { (exit 1); exit 1; }; }
1346 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350 # Make sure we can run config.sub.
1351 $ac_config_sub sun4 >/dev/null 2>&1 ||
1352 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1353 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1354 { (exit 1); exit 1; }; }
1356 echo "$as_me:$LINENO: checking build system type" >&5
1357 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1358 if test "${ac_cv_build+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 ac_cv_build_alias=$build_alias
1362 test -z "$ac_cv_build_alias" &&
1363 ac_cv_build_alias=`$ac_config_guess`
1364 test -z "$ac_cv_build_alias" &&
1365 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1366 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1367 { (exit 1); exit 1; }; }
1368 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1369 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1370 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1371 { (exit 1); exit 1; }; }
1374 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1375 echo "${ECHO_T}$ac_cv_build" >&6
1377 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1378 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1379 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1382 echo "$as_me:$LINENO: checking host system type" >&5
1383 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1384 if test "${ac_cv_host+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 ac_cv_host_alias=$host_alias
1388 test -z "$ac_cv_host_alias" &&
1389 ac_cv_host_alias=$ac_cv_build_alias
1390 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1391 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1392 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1393 { (exit 1); exit 1; }; }
1396 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1397 echo "${ECHO_T}$ac_cv_host" >&6
1399 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1400 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1401 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1404 echo "$as_me:$LINENO: checking target system type" >&5
1405 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1406 if test "${ac_cv_target+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 ac_cv_target_alias=$target_alias
1410 test "x$ac_cv_target_alias" = "x" &&
1411 ac_cv_target_alias=$ac_cv_host_alias
1412 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1413 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1414 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1415 { (exit 1); exit 1; }; }
1418 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1419 echo "${ECHO_T}$ac_cv_target" >&6
1420 target=$ac_cv_target
1421 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1422 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1423 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1426 # The aliases save the names the user supplied, while $host etc.
1427 # will get canonicalized.
1428 test -n "$target_alias" &&
1429 test "$program_prefix$program_suffix$program_transform_name" = \
1431 program_prefix=${target_alias}-
1433 ac_cpp='$CPP $CPPFLAGS'
1434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1437 if test -n "$ac_tool_prefix"; then
1438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$CC"; then
1446 ac_cv_prog_CC="$CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 if test -n "$CC"; then
1466 echo "$as_me:$LINENO: result: $CC" >&5
1467 echo "${ECHO_T}$CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1474 if test -z "$ac_cv_prog_CC"; then
1476 # Extract the first word of "gcc", so it can be a program name with args.
1477 set dummy gcc; ac_word=$2
1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 if test -n "$ac_ct_CC"; then
1484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 for ac_exec_ext in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1493 ac_cv_prog_ac_ct_CC="gcc"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1503 if test -n "$ac_ct_CC"; then
1504 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1505 echo "${ECHO_T}$ac_ct_CC" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="${ac_tool_prefix}cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1554 if test -z "$ac_cv_prog_CC"; then
1556 # Extract the first word of "cc", so it can be a program name with args.
1557 set dummy cc; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$ac_ct_CC"; then
1564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_ac_ct_CC="cc"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1583 if test -n "$ac_ct_CC"; then
1584 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1585 echo "${ECHO_T}$ac_ct_CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 # Extract the first word of "cc", so it can be a program name with args.
1599 set dummy cc; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1617 ac_prog_rejected=yes
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test $ac_prog_rejected = yes; then
1628 # We found a bogon in the path, so make sure we never use it.
1629 set dummy $ac_cv_prog_CC
1631 if test $# != 0; then
1632 # We chose a different compiler from the bogus one.
1633 # However, it has the same basename, so the bogon will be chosen
1634 # first if we set CC to just the basename; use the full file name.
1636 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$CC"; then
1652 if test -n "$ac_tool_prefix"; then
1655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1657 echo "$as_me:$LINENO: checking for $ac_word" >&5
1658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1659 if test "${ac_cv_prog_CC+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 if test -n "$CC"; then
1663 ac_cv_prog_CC="$CC" # Let the user override the test.
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 for ac_exec_ext in '' $ac_executable_extensions; do
1671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 if test -n "$CC"; then
1683 echo "$as_me:$LINENO: result: $CC" >&5
1684 echo "${ECHO_T}$CC" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1690 test -n "$CC" && break
1693 if test -z "$CC"; then
1697 # Extract the first word of "$ac_prog", so it can be a program name with args.
1698 set dummy $ac_prog; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC="$ac_prog"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1732 test -n "$ac_ct_CC" && break
1741 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1742 See \`config.log' for more details.
" >&5
1743 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1744 See \
`config.log' for more details." >&2;}
1745 { (exit 1); exit 1; }; }
1747 # Provide some information about the compiler.
1748 echo "$as_me:$LINENO:" \
1749 "checking for C compiler version" >&5
1750 ac_compiler=`set X
$ac_compile; echo $2`
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1752 (eval $ac_compiler --version </dev/null >&5) 2>&5
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1757 (eval $ac_compiler -v </dev/null >&5) 2>&5
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1762 (eval $ac_compiler -V </dev/null >&5) 2>&5
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1765 (exit $ac_status); }
1767 cat >conftest.$ac_ext <<_ACEOF
1770 cat confdefs.h >>conftest.$ac_ext
1771 cat >>conftest.$ac_ext <<_ACEOF
1772 /* end confdefs.h. */
1782 ac_clean_files_save=$ac_clean_files
1783 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1784 # Try to create an executable without -o first, disregard a.out.
1785 # It will help us diagnose broken compilers, and finding out an intuition
1787 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1788 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1789 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1790 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1791 (eval $ac_link_default) 2>&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; then
1795 # Find the output, starting from the most likely. This scheme is
1796 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1799 # Be careful to initialize this variable, since it used to be cached.
1800 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1802 # b.out is created by i960 compilers.
1803 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1805 test -f "$ac_file" || continue
1807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1810 # This is the source file.
1813 # We found the default executable, but exeext='' is most
1817 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1818 # FIXME: I believe we export ac_cv_exeext for Libtool,
1819 # but it would be cool to find out if it's true. Does anybody
1820 # maintain Libtool? --akim.
1828 echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1832 See \`config.log
' for more details." >&5
1833 echo "$as_me: error: C compiler cannot create executables
1834 See \`config.log' for more details.
" >&2;}
1835 { (exit 77); exit 77; }; }
1838 ac_exeext=$ac_cv_exeext
1839 echo "$as_me:$LINENO: result
: $ac_file" >&5
1840 echo "${ECHO_T}$ac_file" >&6
1842 # Check the compiler produces executables we can run. If not, either
1843 # the compiler is broken, or we cross compile.
1844 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1845 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1846 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1847 # If not cross compiling, check that we can run a simple program.
1848 if test "$cross_compiling" != yes; then
1849 if { ac_try='./$ac_file'
1850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1854 (exit $ac_status); }; }; then
1857 if test "$cross_compiling" = maybe; then
1860 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1861 If you meant to cross compile
, use \
`--host'.
1862 See \`config.log
' for more details." >&5
1863 echo "$as_me: error: cannot run C compiled programs.
1864 If you meant to cross compile, use \`--host'.
1865 See \
`config.log' for more details." >&2;}
1866 { (exit 1); exit 1; }; }
1870 echo "$as_me:$LINENO: result: yes" >&5
1871 echo "${ECHO_T}yes" >&6
1873 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1874 ac_clean_files=$ac_clean_files_save
1875 # Check the compiler produces executables we can run. If not, either
1876 # the compiler is broken, or we cross compile.
1877 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1878 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1879 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1880 echo "${ECHO_T}$cross_compiling" >&6
1882 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1883 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1885 (eval $ac_link) 2>&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; then
1889 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1890 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1891 # work properly (i.e., refer to `conftest.exe'), while it won't with
1893 for ac_file
in conftest.exe conftest conftest.
*; do
1894 test -f "$ac_file" ||
continue
1896 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1897 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1904 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&5
1906 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1907 See \`config.log' for more details." >&2;}
1908 { (exit 1); exit 1; }; }
1911 rm -f conftest
$ac_cv_exeext
1912 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1913 echo "${ECHO_T}$ac_cv_exeext" >&6
1915 rm -f conftest.
$ac_ext
1916 EXEEXT
=$ac_cv_exeext
1918 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1919 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1920 if test "${ac_cv_objext+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 cat >conftest.
$ac_ext <<_ACEOF
1926 cat confdefs.h
>>conftest.
$ac_ext
1927 cat >>conftest.
$ac_ext <<_ACEOF
1928 /* end confdefs.h. */
1938 rm -f conftest.o conftest.obj
1939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1940 (eval $ac_compile) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; then
1944 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1947 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1955 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&5
1957 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1958 See \`config.log' for more details." >&2;}
1959 { (exit 1); exit 1; }; }
1962 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1964 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1965 echo "${ECHO_T}$ac_cv_objext" >&6
1966 OBJEXT
=$ac_cv_objext
1968 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1969 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1991 rm -f conftest.
$ac_objext
1992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1993 (eval $ac_compile) 2>conftest.er1
1995 grep -v '^ *+' conftest.er1
>conftest.err
1997 cat conftest.err
>&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); } &&
2000 { ac_try
='test -z "$ac_c_werror_flag"
2001 || test ! -s conftest.err'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; } &&
2007 { ac_try
='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2024 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2025 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2026 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2027 ac_test_CFLAGS
=${CFLAGS+set}
2028 ac_save_CFLAGS
=$CFLAGS
2030 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2031 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2032 if test "${ac_cv_prog_cc_g+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 cat >conftest.
$ac_ext <<_ACEOF
2038 cat confdefs.h
>>conftest.
$ac_ext
2039 cat >>conftest.
$ac_ext <<_ACEOF
2040 /* end confdefs.h. */
2050 rm -f conftest.
$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052 (eval $ac_compile) 2>conftest.er1
2054 grep -v '^ *+' conftest.er1
>conftest.err
2056 cat conftest.err
>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try
='test -z "$ac_c_werror_flag"
2060 || test ! -s conftest.err'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.
$ac_ext >&5
2079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2083 if test "$ac_test_CFLAGS" = set; then
2084 CFLAGS
=$ac_save_CFLAGS
2085 elif test $ac_cv_prog_cc_g = yes; then
2086 if test "$GCC" = yes; then
2092 if test "$GCC" = yes; then
2098 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2099 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2100 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 ac_cv_prog_cc_stdc
=no
2105 cat >conftest.
$ac_ext <<_ACEOF
2108 cat confdefs.h
>>conftest.
$ac_ext
2109 cat >>conftest.
$ac_ext <<_ACEOF
2110 /* end confdefs.h. */
2113 #include <sys/types.h>
2114 #include <sys/stat.h>
2115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2116 struct buf { int x; };
2117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2118 static char *e (p, i)
2124 static char *f (char * (*g) (char **, int), char **p, ...)
2129 s = g (p, va_arg (v,int));
2134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2135 function prototypes and stuff, but not '\xHH' hex character constants.
2136 These don't provoke an error unfortunately, instead are silently treated
2137 as 'x'. The following induces an error, until -std1 is added to get
2138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2139 array size at least. It's necessary to write '\x00'==0 to get something
2140 that's true only with -std1. */
2141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2143 int test (int i, double x);
2144 struct s1 {int (*f) (int a);};
2145 struct s2 {int (*f) (double a);};
2146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2157 # Don't try gcc -ansi; that turns off useful extensions and
2158 # breaks some systems' header files.
2159 # AIX -qlanglvl=ansi
2160 # Ultrix and OSF/1 -std1
2161 # HP-UX 10.20 and later -Ae
2162 # HP-UX older versions -Aa -D_HPUX_SOURCE
2163 # SVR4 -Xc -D__EXTENSIONS__
2164 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2166 CC
="$ac_save_CC $ac_arg"
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>conftest.er1
2171 grep -v '^ *+' conftest.er1
>conftest.err
2173 cat conftest.err
>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); } &&
2176 { ac_try
='test -z "$ac_c_werror_flag"
2177 || test ! -s conftest.err'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2189 ac_cv_prog_cc_stdc
=$ac_arg
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.
$ac_ext >&5
2196 rm -f conftest.err conftest.
$ac_objext
2198 rm -f conftest.
$ac_ext conftest.
$ac_objext
2203 case "x$ac_cv_prog_cc_stdc" in
2205 echo "$as_me:$LINENO: result: none needed" >&5
2206 echo "${ECHO_T}none needed" >&6 ;;
2208 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2209 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2210 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2213 # Some people use a C++ compiler to compile C. Since we use `exit',
2214 # in C++ we need to declare it. In case someone uses the same compiler
2215 # for both compiling C and C++ we need to have the C++ compiler decide
2216 # the declaration of exit, since it's the most demanding environment.
2217 cat >conftest.
$ac_ext <<_ACEOF
2222 rm -f conftest.
$ac_objext
2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2224 (eval $ac_compile) 2>conftest.er1
2226 grep -v '^ *+' conftest.er1
>conftest.err
2228 cat conftest.err
>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -z "$ac_c_werror_flag"
2232 || test ! -s conftest.err'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; } &&
2238 { ac_try
='test -s conftest.$ac_objext'
2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; }; then
2244 for ac_declaration
in \
2246 'extern "C" void std::exit (int) throw (); using std::exit;' \
2247 'extern "C" void std::exit (int); using std::exit;' \
2248 'extern "C" void exit (int) throw ();' \
2249 'extern "C" void exit (int);' \
2252 cat >conftest.
$ac_ext <<_ACEOF
2255 cat confdefs.h
>>conftest.
$ac_ext
2256 cat >>conftest.
$ac_ext <<_ACEOF
2257 /* end confdefs.h. */
2268 rm -f conftest.
$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2272 grep -v '^ *+' conftest.er1
>conftest.err
2274 cat conftest.err
>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try
='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 cat >conftest.
$ac_ext <<_ACEOF
2301 cat confdefs.h
>>conftest.
$ac_ext
2302 cat >>conftest.
$ac_ext <<_ACEOF
2303 /* end confdefs.h. */
2313 rm -f conftest.
$ac_objext
2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 (eval $ac_compile) 2>conftest.er1
2317 grep -v '^ *+' conftest.er1
>conftest.err
2319 cat conftest.err
>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try
='test -z "$ac_c_werror_flag"
2323 || test ! -s conftest.err'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; } &&
2329 { ac_try
='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.
$ac_ext >&5
2341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2344 if test -n "$ac_declaration"; then
2345 echo '#ifdef __cplusplus' >>confdefs.h
2346 echo $ac_declaration >>confdefs.h
2347 echo '#endif' >>confdefs.h
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2357 ac_cpp
='$CPP $CPPFLAGS'
2358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2363 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2364 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2365 if test "${ac_cv_search_strerror+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 ac_func_search_save_LIBS
=$LIBS
2369 ac_cv_search_strerror
=no
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2377 /* Override any gcc2 internal prototype to avoid an error. */
2381 /* We use char because int might match the return type of a gcc2
2382 builtin and then its argument prototype would still apply. */
2392 rm -f conftest.
$ac_objext conftest
$ac_exeext
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2394 (eval $ac_link) 2>conftest.er1
2396 grep -v '^ *+' conftest.er1
>conftest.err
2398 cat conftest.err
>&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); } &&
2401 { ac_try
='test -z "$ac_c_werror_flag"
2402 || test ! -s conftest.err'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; } &&
2408 { ac_try
='test -s conftest$ac_exeext'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; }; then
2414 ac_cv_search_strerror
="none required"
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2420 rm -f conftest.err conftest.
$ac_objext \
2421 conftest
$ac_exeext conftest.
$ac_ext
2422 if test "$ac_cv_search_strerror" = no
; then
2423 for ac_lib
in cposix
; do
2424 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2425 cat >conftest.
$ac_ext <<_ACEOF
2428 cat confdefs.h
>>conftest.
$ac_ext
2429 cat >>conftest.
$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2432 /* Override any gcc2 internal prototype to avoid an error. */
2436 /* We use char because int might match the return type of a gcc2
2437 builtin and then its argument prototype would still apply. */
2447 rm -f conftest.
$ac_objext conftest
$ac_exeext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2449 (eval $ac_link) 2>conftest.er1
2451 grep -v '^ *+' conftest.er1
>conftest.err
2453 cat conftest.err
>&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); } &&
2456 { ac_try
='test -z "$ac_c_werror_flag"
2457 || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try
='test -s conftest$ac_exeext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2469 ac_cv_search_strerror
="-l$ac_lib"
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2476 rm -f conftest.err conftest.
$ac_objext \
2477 conftest
$ac_exeext conftest.
$ac_ext
2480 LIBS
=$ac_func_search_save_LIBS
2482 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2483 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2484 if test "$ac_cv_search_strerror" != no
; then
2485 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2490 # We currently only use the version number for the name of any shared
2491 # library. For user convenience, we always use the same version
2492 # number that BFD is using.
2493 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2495 am__api_version
="1.9"
2496 # Find a good install program. We prefer a C program (faster),
2497 # so one script is as good as another. But avoid the broken or
2498 # incompatible versions:
2499 # SysV /etc/install, /usr/sbin/install
2500 # SunOS /usr/etc/install
2501 # IRIX /sbin/install
2503 # AmigaOS /C/install, which installs bootblocks on floppy discs
2504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2507 # OS/2's system install, which has a completely different semantic
2508 # ./install, which can be erroneously created by make from ./install.sh.
2509 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2510 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2511 if test -z "$INSTALL"; then
2512 if test "${ac_cv_path_install+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2519 test -z "$as_dir" && as_dir
=.
2520 # Account for people who put trailing slashes in PATH elements.
2522 .
/ | .
// |
/cC
/* | \
2523 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2524 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2527 # OSF1 and SCO ODT 3.0 have their own names for install.
2528 # Don't use installbsd from OSF since it installs stuff as root
2530 for ac_prog
in ginstall scoinst
install; do
2531 for ac_exec_ext
in '' $ac_executable_extensions; do
2532 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2533 if test $ac_prog = install &&
2534 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2535 # AIX install. It has an incompatible calling convention.
2537 elif test $ac_prog = install &&
2538 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2539 # program-specific install script used by HP pwplus--don't use.
2542 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2554 if test "${ac_cv_path_install+set}" = set; then
2555 INSTALL
=$ac_cv_path_install
2557 # As a last resort, use the slow shell script. We don't cache a
2558 # path for INSTALL within a source directory, because that will
2559 # break other packages using the cache if that directory is
2560 # removed, or if the path is relative.
2561 INSTALL
=$ac_install_sh
2564 echo "$as_me:$LINENO: result: $INSTALL" >&5
2565 echo "${ECHO_T}$INSTALL" >&6
2567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2568 # It thinks the first close brace ends the variable substitution.
2569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2573 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2575 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2576 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2579 echo timestamp
> conftest.
file
2580 # Do `set' in a subshell so we don't clobber the current shell's
2581 # arguments. Must try -L first in case configure is actually a
2582 # symlink; some systems play weird games with the mod time of symlinks
2583 # (eg FreeBSD returns the mod time of the symlink's containing
2586 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2587 if test "$*" = "X"; then
2589 set X
`ls -t $srcdir/configure conftest.file`
2592 if test "$*" != "X $srcdir/configure conftest.file" \
2593 && test "$*" != "X conftest.file $srcdir/configure"; then
2595 # If neither matched, then we have a broken ls. This can happen
2596 # if, for instance, CONFIG_SHELL is bash and it inherits a
2597 # broken ls alias from the environment. This has actually
2598 # happened. Such a system could not be considered "sane".
2599 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2600 alias in your environment" >&5
2601 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2602 alias in your environment" >&2;}
2603 { (exit 1); exit 1; }; }
2606 test "$2" = conftest.
file
2612 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2613 Check your system clock" >&5
2614 echo "$as_me: error: newly created file is older than distributed files!
2615 Check your system clock" >&2;}
2616 { (exit 1); exit 1; }; }
2618 echo "$as_me:$LINENO: result: yes" >&5
2619 echo "${ECHO_T}yes" >&6
2620 test "$program_prefix" != NONE
&&
2621 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2622 # Use a double $ so make ignores it.
2623 test "$program_suffix" != NONE
&&
2624 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2625 # Double any \ or $. echo might interpret backslashes.
2626 # By default was `s,x,x', remove it if useless.
2627 cat <<\_ACEOF
>conftest.
sed
2628 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2630 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2633 # expand $ac_aux_dir to an absolute path
2634 am_aux_dir
=`cd $ac_aux_dir && pwd`
2636 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2637 # Use eval to expand $SHELL
2638 if eval "$MISSING --run true"; then
2639 am_missing_run
="$MISSING --run "
2642 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2643 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2646 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2647 # We used to keeping the `.' as first argument, in order to
2648 # allow $(mkdir_p) to be used without argument. As in
2649 # $(mkdir_p) $(somedir)
2650 # where $(somedir) is conditionally defined. However this is wrong
2652 # 1. if the package is installed by a user who cannot write `.'
2653 # make install will fail,
2654 # 2. the above comment should most certainly read
2655 # $(mkdir_p) $(DESTDIR)$(somedir)
2656 # so it does not work when $(somedir) is undefined and
2657 # $(DESTDIR) is not.
2658 # To support the latter case, we have to write
2659 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2660 # so the `.' trick is pointless.
2661 mkdir_p
='mkdir -p --'
2663 # On NextStep and OpenStep, the `mkdir' command does not
2664 # recognize any option. It will interpret all options as
2665 # directories to create, and then abort because `.' already
2667 for d
in .
/-p .
/--version;
2669 test -d $d && rmdir $d
2671 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2672 if test -f "$ac_aux_dir/mkinstalldirs"; then
2673 mkdir_p
='$(mkinstalldirs)'
2675 mkdir_p
='$(install_sh) -d'
2679 for ac_prog
in gawk mawk nawk
awk
2681 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682 set dummy
$ac_prog; ac_word
=$2
2683 echo "$as_me:$LINENO: checking for $ac_word" >&5
2684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2685 if test "${ac_cv_prog_AWK+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 if test -n "$AWK"; then
2689 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 for ac_exec_ext
in '' $ac_executable_extensions; do
2697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_AWK
="$ac_prog"
2699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test -n "$AWK"; then
2709 echo "$as_me:$LINENO: result: $AWK" >&5
2710 echo "${ECHO_T}$AWK" >&6
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2716 test -n "$AWK" && break
2719 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2720 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2721 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2722 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 cat >conftest.
make <<\_ACEOF
2727 @
echo 'ac_maketemp="$(MAKE)"'
2729 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2730 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2731 if test -n "$ac_maketemp"; then
2732 eval ac_cv_prog_make_
${ac_make}_set
=yes
2734 eval ac_cv_prog_make_
${ac_make}_set
=no
2738 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740 echo "${ECHO_T}yes" >&6
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2745 SET_MAKE
="MAKE=${MAKE-make}"
2748 rm -rf .tst
2>/dev
/null
2749 mkdir .tst
2>/dev
/null
2750 if test -d .tst
; then
2755 rmdir .tst
2>/dev
/null
2757 DEPDIR
="${am__leading_dot}deps"
2759 ac_config_commands
="$ac_config_commands depfiles"
2762 am_make
=${MAKE-make}
2763 cat > confinc
<< 'END'
2768 # If we don't find an include directive, just comment out the code.
2769 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2770 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2774 # First try GNU make style include.
2775 echo "include confinc" > confmf
2776 # We grep out `Entering directory' and `Leaving directory'
2777 # messages which can occur if `w' ends up in MAKEFLAGS.
2778 # In particular we don't look at `^make:' because GNU make might
2779 # be invoked under some other name (usually "gmake"), in which
2780 # case it prints its new name instead of `make'.
2781 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2786 # Now try BSD make style include.
2787 if test "$am__include" = "#"; then
2788 echo '.include "confinc"' > confmf
2789 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2790 am__include
=.include
2797 echo "$as_me:$LINENO: result: $_am_result" >&5
2798 echo "${ECHO_T}$_am_result" >&6
2799 rm -f confinc confmf
2801 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2802 if test "${enable_dependency_tracking+set}" = set; then
2803 enableval
="$enable_dependency_tracking"
2806 if test "x$enable_dependency_tracking" != xno
; then
2807 am_depcomp
="$ac_aux_dir/depcomp"
2812 if test "x$enable_dependency_tracking" != xno; then
2822 # test to see if srcdir already configured
2823 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2824 test -f $srcdir/config.status
; then
2825 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2826 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2827 { (exit 1); exit 1; }; }
2830 # test whether we have cygpath
2831 if test -z "$CYGPATH_W"; then
2832 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2833 CYGPATH_W
='cygpath -w'
2840 # Define the identity of the package.
2842 VERSION
=${BFD_VERSION}
2845 cat >>confdefs.h
<<_ACEOF
2846 #define PACKAGE "$PACKAGE"
2850 cat >>confdefs.h
<<_ACEOF
2851 #define VERSION "$VERSION"
2854 # Some tools Automake needs.
2856 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2859 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2862 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2865 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2868 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2870 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2872 # Installed binaries are usually stripped using `strip' when the user
2873 # run `make install-strip'. However `strip' might not be the right
2874 # tool to use in cross-compilation environments, therefore Automake
2875 # will honor the `STRIP' environment variable to overrule this program.
2876 if test "$cross_compiling" != no
; then
2877 if test -n "$ac_tool_prefix"; then
2878 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2879 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2880 echo "$as_me:$LINENO: checking for $ac_word" >&5
2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2882 if test "${ac_cv_prog_STRIP+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -n "$STRIP"; then
2886 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 STRIP
=$ac_cv_prog_STRIP
2905 if test -n "$STRIP"; then
2906 echo "$as_me:$LINENO: result: $STRIP" >&5
2907 echo "${ECHO_T}$STRIP" >&6
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2914 if test -z "$ac_cv_prog_STRIP"; then
2916 # Extract the first word of "strip", so it can be a program name with args.
2917 set dummy strip
; ac_word
=$2
2918 echo "$as_me:$LINENO: checking for $ac_word" >&5
2919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 if test -n "$ac_ct_STRIP"; then
2924 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_ac_ct_STRIP
="strip"
2934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2943 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2944 if test -n "$ac_ct_STRIP"; then
2945 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2946 echo "${ECHO_T}$ac_ct_STRIP" >&6
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2954 STRIP
="$ac_cv_prog_STRIP"
2958 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2960 # We need awk for the "check" target. The system "awk" is bad on
2962 # Always define AMTAR for backward compatibility.
2964 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2966 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2971 depcc
="$CC" am_compiler_list
=
2973 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2974 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2975 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2979 # We make a subdir and do the tests there. Otherwise we can end up
2980 # making bogus files that we don't know about and never remove. For
2981 # instance it was reported that on HP-UX the gcc test will end up
2982 # making a dummy file named `D' -- because `-MD' means `put the output
2985 # Copy depcomp to subdir because otherwise we won't find it if we're
2986 # using a relative directory.
2987 cp "$am_depcomp" conftest.dir
2989 # We will build objects and dependencies in a subdirectory because
2990 # it helps to detect inapplicable dependency modes. For instance
2991 # both Tru64's cc and ICC support -MD to output dependencies as a
2992 # side effect of compilation, but ICC will put the dependencies in
2993 # the current directory while Tru64 will put them in the object
2997 am_cv_CC_dependencies_compiler_type
=none
2998 if test "$am_compiler_list" = ""; then
2999 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3001 for depmode
in $am_compiler_list; do
3002 # Setup a source with many dependencies, because some compilers
3003 # like to wrap large dependency lists on column 80 (with \), and
3004 # we should not choose a depcomp mode which is confused by this.
3006 # We need to recreate these files for each test, as the compiler may
3007 # overwrite some of them when testing with obscure command lines.
3008 # This happens at least with the AIX C compiler.
3010 for i
in 1 2 3 4 5 6; do
3011 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3012 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3013 # Solaris 8's {/usr,}/bin/sh.
3014 touch sub
/conftst
$i.h
3016 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3020 # after this tag, mechanisms are not by side-effect, so they'll
3021 # only be used when explicitly requested
3022 if test "x$enable_dependency_tracking" = xyes
; then
3030 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3031 # mode. It turns out that the SunPro C++ compiler does not properly
3032 # handle `-M -o', and we need to detect this.
3033 if depmode
=$depmode \
3034 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3035 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3036 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3037 >/dev
/null
2>conftest.err
&&
3038 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3039 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3040 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3041 # icc doesn't choke on unknown options, it will just issue warnings
3042 # or remarks (even with -Werror). So we grep stderr for any message
3043 # that says an option was ignored or not supported.
3044 # When given -MP, icc 7.0 and 7.1 complain thusly:
3045 # icc: Command line warning: ignoring option '-M'; no argument required
3046 # The diagnosis changed in icc 8.0:
3047 # icc: Command line remark: option '-MP' not supported
3048 if (grep 'ignoring option' conftest.err ||
3049 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3050 am_cv_CC_dependencies_compiler_type
=$depmode
3059 am_cv_CC_dependencies_compiler_type
=none
3063 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3064 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3065 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3070 test "x$enable_dependency_tracking" != xno \
3071 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3073 am__fastdepCC_FALSE
='#'
3075 am__fastdepCC_TRUE
='#'
3076 am__fastdepCC_FALSE
=
3082 if test -n "$ac_tool_prefix"; then
3083 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3084 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3085 echo "$as_me:$LINENO: checking for $ac_word" >&5
3086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3087 if test "${ac_cv_prog_AR+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 if test -n "$AR"; then
3091 ac_cv_prog_AR
="$AR" # Let the user override the test.
3093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir
=.
3098 for ac_exec_ext
in '' $ac_executable_extensions; do
3099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 if test -n "$AR"; then
3111 echo "$as_me:$LINENO: result: $AR" >&5
3112 echo "${ECHO_T}$AR" >&6
3114 echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6
3119 if test -z "$ac_cv_prog_AR"; then
3121 # Extract the first word of "ar", so it can be a program name with args.
3122 set dummy
ar; ac_word
=$2
3123 echo "$as_me:$LINENO: checking for $ac_word" >&5
3124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3125 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 if test -n "$ac_ct_AR"; then
3129 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_ac_ct_AR
="ar"
3139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3148 if test -n "$ac_ct_AR"; then
3149 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3150 echo "${ECHO_T}$ac_ct_AR" >&6
3152 echo "$as_me:$LINENO: result: no" >&5
3153 echo "${ECHO_T}no" >&6
3161 if test -n "$ac_tool_prefix"; then
3162 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3163 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3164 echo "$as_me:$LINENO: checking for $ac_word" >&5
3165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3166 if test "${ac_cv_prog_RANLIB+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 if test -n "$RANLIB"; then
3170 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 RANLIB
=$ac_cv_prog_RANLIB
3189 if test -n "$RANLIB"; then
3190 echo "$as_me:$LINENO: result: $RANLIB" >&5
3191 echo "${ECHO_T}$RANLIB" >&6
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3198 if test -z "$ac_cv_prog_RANLIB"; then
3199 ac_ct_RANLIB
=$RANLIB
3200 # Extract the first word of "ranlib", so it can be a program name with args.
3201 set dummy ranlib
; ac_word
=$2
3202 echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3204 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 if test -n "$ac_ct_RANLIB"; then
3208 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3227 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3228 if test -n "$ac_ct_RANLIB"; then
3229 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3230 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3236 RANLIB
=$ac_ct_RANLIB
3238 RANLIB
="$ac_cv_prog_RANLIB"
3242 # Check whether --enable-shared or --disable-shared was given.
3243 if test "${enable_shared+set}" = set; then
3244 enableval
="$enable_shared"
3245 p
=${PACKAGE-default}
3247 yes) enable_shared
=yes ;;
3248 no
) enable_shared
=no
;;
3251 # Look at the argument we got. We use all the common list separators.
3252 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3253 for pkg
in $enableval; do
3254 if test "X$pkg" = "X$p"; then
3265 # Check whether --enable-static or --disable-static was given.
3266 if test "${enable_static+set}" = set; then
3267 enableval
="$enable_static"
3268 p
=${PACKAGE-default}
3270 yes) enable_static
=yes ;;
3271 no
) enable_static
=no
;;
3274 # Look at the argument we got. We use all the common list separators.
3275 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3276 for pkg
in $enableval; do
3277 if test "X$pkg" = "X$p"; then
3287 # Check whether --enable-fast-install or --disable-fast-install was given.
3288 if test "${enable_fast_install+set}" = set; then
3289 enableval
="$enable_fast_install"
3290 p
=${PACKAGE-default}
3292 yes) enable_fast_install
=yes ;;
3293 no
) enable_fast_install
=no
;;
3295 enable_fast_install
=no
3296 # Look at the argument we got. We use all the common list separators.
3297 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3298 for pkg
in $enableval; do
3299 if test "X$pkg" = "X$p"; then
3300 enable_fast_install
=yes
3307 enable_fast_install
=yes
3310 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3311 if test "${with_gnu_ld+set}" = set; then
3312 withval
="$with_gnu_ld"
3313 test "$withval" = no || with_gnu_ld
=yes
3318 if test "$GCC" = yes; then
3319 # Check if gcc -print-prog-name=ld gives a path.
3320 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3321 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3324 # gcc leaves a trailing carriage return which upsets mingw
3325 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3327 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3330 # Accept absolute paths.
3331 [\\/]* |
[A-Za-z
]:[\\/]*)
3332 re_direlt
='/[^/][^/]*/\.\./'
3333 # Canonicalize the path of ld
3334 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3335 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3336 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3338 test -z "$LD" && LD
="$ac_prog"
3341 # If it fails, then pretend we aren't using GCC.
3345 # If it is relative, then search for the first ld in PATH.
3349 elif test "$with_gnu_ld" = yes; then
3350 echo "$as_me:$LINENO: checking for GNU ld" >&5
3351 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3353 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3354 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3356 if test "${lt_cv_path_LD+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 if test -z "$LD"; then
3360 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3361 for ac_dir
in $PATH; do
3362 test -z "$ac_dir" && ac_dir
=.
3363 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3364 lt_cv_path_LD
="$ac_dir/$ac_prog"
3365 # Check to see if the program is GNU ld. I'd rather use --version,
3366 # but apparently some GNU ld's only accept -v.
3367 # Break only if it was the GNU/non-GNU ld that we prefer.
3368 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3369 test "$with_gnu_ld" != no
&& break
3371 test "$with_gnu_ld" != yes && break
3377 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3382 if test -n "$LD"; then
3383 echo "$as_me:$LINENO: result: $LD" >&5
3384 echo "${ECHO_T}$LD" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3389 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3390 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3391 { (exit 1); exit 1; }; }
3392 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3393 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3394 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3398 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3399 lt_cv_prog_gnu_ld
=yes
3401 lt_cv_prog_gnu_ld
=no
3404 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3405 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3406 with_gnu_ld
=$lt_cv_prog_gnu_ld
3409 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3410 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3411 if test "${lt_cv_ld_reload_flag+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 lt_cv_ld_reload_flag
='-r'
3416 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3417 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3418 reload_flag
=$lt_cv_ld_reload_flag
3419 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3421 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3422 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3423 if test "${lt_cv_path_NM+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 if test -n "$NM"; then
3427 # Let the user override the test.
3430 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3431 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3432 test -z "$ac_dir" && ac_dir
=.
3433 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3434 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3435 # Check to see if the nm accepts a BSD-compat flag.
3436 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3437 # nm: unknown option "B" ignored
3438 # Tru64's nm complains that /dev/null is an invalid object file
3439 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3440 lt_cv_path_NM
="$tmp_nm -B"
3442 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3443 lt_cv_path_NM
="$tmp_nm -p"
3446 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3447 continue # so that we can try to find one that supports BSD flags
3452 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3457 echo "$as_me:$LINENO: result: $NM" >&5
3458 echo "${ECHO_T}$NM" >&6
3460 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3463 if test "$LN_S" = "ln -s"; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465 echo "${ECHO_T}yes" >&6
3467 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3468 echo "${ECHO_T}no, using $LN_S" >&6
3471 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3472 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3473 if test "${lt_cv_deplibs_check_method+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3477 lt_cv_file_magic_test_file
=
3478 lt_cv_deplibs_check_method
='unknown'
3479 # Need to set the preceding variable on all platforms that support
3480 # interlibrary dependencies.
3481 # 'none' -- dependencies not supported.
3482 # `unknown' -- same as none, but documents that we really don't know.
3483 # 'pass_all' -- all dependencies passed with no checks.
3484 # 'test_compile' -- check by making test program.
3485 # 'file_magic [regex]' -- check by looking for files in library path
3486 # which responds to the $file_magic_cmd with a given egrep regex.
3487 # If you have `file' or equivalent on your system and you're not sure
3488 # whether `pass_all' will *always* work, you probably want this one.
3492 lt_cv_deplibs_check_method
=pass_all
3496 lt_cv_deplibs_check_method
=pass_all
3500 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3501 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3502 lt_cv_file_magic_test_file
=/shlib
/libc.so
3505 cygwin
* | mingw
* |pw32
*)
3506 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3507 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3510 darwin
* | rhapsody
*)
3511 # this will be overwritten by pass_all, but leave it in just in case
3512 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3513 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3515 rhapsody
* | darwin1.012
)
3516 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3519 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3522 lt_cv_deplibs_check_method
=pass_all
3525 freebsd
* | kfreebsd
*-gnu)
3526 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3529 # Not sure whether the presence of OpenBSD here was a mistake.
3530 # Let's accept both of them until this is cleared up.
3531 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3532 lt_cv_file_magic_cmd
=/usr
/bin
/file
3533 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3537 lt_cv_deplibs_check_method
=pass_all
3542 lt_cv_deplibs_check_method
=pass_all
3548 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3549 lt_cv_file_magic_cmd
=/usr
/bin
/file
3550 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3553 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3554 lt_cv_file_magic_cmd
=/usr
/bin
/file
3555 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3563 # this will be overridden with pass_all, but let us keep it just in case
3564 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3568 *-32|
*"-32 ") libmagic
=32-bit;;
3569 *-n32|
*"-n32 ") libmagic
=N32
;;
3570 *-64|
*"-64 ") libmagic
=64-bit;;
3571 *) libmagic
=never-match
;;
3573 # this will be overridden with pass_all, but let us keep it just in case
3574 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3577 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3578 lt_cv_deplibs_check_method
=pass_all
3581 # This must be Linux ELF.
3583 lt_cv_deplibs_check_method
=pass_all
3586 netbsd
* | knetbsd
*-gnu)
3587 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3588 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3590 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3595 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3596 lt_cv_file_magic_cmd
=/usr
/bin
/file
3597 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3600 osf3
* | osf4
* | osf5
*)
3601 # this will be overridden with pass_all, but let us keep it just in case
3602 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3603 lt_cv_file_magic_test_file
=/shlib
/libc.so
3604 lt_cv_deplibs_check_method
=pass_all
3608 lt_cv_deplibs_check_method
=pass_all
3612 lt_cv_deplibs_check_method
=pass_all
3613 lt_cv_file_magic_test_file
=/lib
/libc.so
3616 sysv5uw
[78]* | sysv4
*uw2
*)
3617 lt_cv_deplibs_check_method
=pass_all
3620 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3621 case $host_vendor in
3623 lt_cv_deplibs_check_method
=pass_all
3626 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]'
3627 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3634 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3635 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3636 file_magic_cmd
=$lt_cv_file_magic_cmd
3637 deplibs_check_method
=$lt_cv_deplibs_check_method
3642 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3644 # find the maximum length of command line arguments
3645 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3646 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3647 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 # On DJGPP, this test can blow up pretty badly due to problems in libc
3656 # (any single argument exceeding 2000 bytes causes a buffer overrun
3657 # during glob expansion). Even if it were fixed, the result of this
3658 # check would be larger than it should be.
3659 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3663 # On Win9x/ME, this test blows up -- it succeeds, but takes
3664 # about 5 minutes as the teststring grows exponentially.
3665 # Worse, since 9x/ME are not pre-emptively multitasking,
3666 # you end up with a "frozen" computer, even though with patience
3667 # the test eventually succeeds (with a max line length of 256k).
3668 # Instead, let's just punt: use the minimum linelength reported by
3669 # all of the supported platforms: 8192 (on NT/2K/XP).
3670 lt_cv_sys_max_cmd_len
=8192;
3674 # On AmigaOS with pdksh, this test takes hours, literally.
3675 # So we just punt and use a minimum line length of 8192.
3676 lt_cv_sys_max_cmd_len
=8192;
3679 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3680 # This has been around since 386BSD, at least. Likely further.
3681 if test -x /sbin
/sysctl
; then
3682 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3683 elif test -x /usr
/sbin
/sysctl
; then
3684 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3686 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3688 # And add a safety zone
3689 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3690 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3696 if test -n "$lt_cv_sys_max_cmd_len" ; then
3697 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3698 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3700 echo "$as_me:$LINENO: result: none" >&5
3701 echo "${ECHO_T}none" >&6
3705 # Only perform the check for file, if the check method requires it
3706 case $deplibs_check_method in
3708 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3709 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3710 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3711 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3719 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3722 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3723 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3724 ac_dummy
="/usr/bin:$PATH"
3725 for ac_dir
in $ac_dummy; do
3726 test -z "$ac_dir" && ac_dir
=.
3727 if test -f $ac_dir/${ac_tool_prefix}file; then
3728 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3729 if test -n "$file_magic_test_file"; then
3730 case $deplibs_check_method in
3732 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3733 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3734 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3735 egrep "$file_magic_regex" > /dev
/null
; then
3740 *** Warning: the command libtool uses to detect shared libraries,
3741 *** $file_magic_cmd, produces output that libtool cannot recognize.
3742 *** The result is that libtool may fail to recognize shared libraries
3743 *** as such. This will affect the creation of libtool libraries that
3744 *** depend on shared libraries, but programs linked with such libtool
3745 *** libraries will work regardless of this problem. Nevertheless, you
3746 *** may want to report the problem to your system manager and/or to
3747 *** bug-libtool@gnu.org
3757 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3762 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3763 if test -n "$MAGIC_CMD"; then
3764 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3765 echo "${ECHO_T}$MAGIC_CMD" >&6
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3771 if test -z "$lt_cv_path_MAGIC_CMD"; then
3772 if test -n "$ac_tool_prefix"; then
3773 echo "$as_me:$LINENO: checking for file" >&5
3774 echo $ECHO_N "checking for file... $ECHO_C" >&6
3775 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3783 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3786 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3787 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3788 ac_dummy
="/usr/bin:$PATH"
3789 for ac_dir
in $ac_dummy; do
3790 test -z "$ac_dir" && ac_dir
=.
3791 if test -f $ac_dir/file; then
3792 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3793 if test -n "$file_magic_test_file"; then
3794 case $deplibs_check_method in
3796 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3797 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3798 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3799 egrep "$file_magic_regex" > /dev
/null
; then
3804 *** Warning: the command libtool uses to detect shared libraries,
3805 *** $file_magic_cmd, produces output that libtool cannot recognize.
3806 *** The result is that libtool may fail to recognize shared libraries
3807 *** as such. This will affect the creation of libtool libraries that
3808 *** depend on shared libraries, but programs linked with such libtool
3809 *** libraries will work regardless of this problem. Nevertheless, you
3810 *** may want to report the problem to your system manager and/or to
3811 *** bug-libtool@gnu.org
3821 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3826 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3827 if test -n "$MAGIC_CMD"; then
3828 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3829 echo "${ECHO_T}$MAGIC_CMD" >&6
3831 echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6
3844 if test -n "$ac_tool_prefix"; then
3845 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3846 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_prog_RANLIB+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 if test -n "$RANLIB"; then
3853 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_exec_ext
in '' $ac_executable_extensions; do
3861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 RANLIB
=$ac_cv_prog_RANLIB
3872 if test -n "$RANLIB"; then
3873 echo "$as_me:$LINENO: result: $RANLIB" >&5
3874 echo "${ECHO_T}$RANLIB" >&6
3876 echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3881 if test -z "$ac_cv_prog_RANLIB"; then
3882 ac_ct_RANLIB
=$RANLIB
3883 # Extract the first word of "ranlib", so it can be a program name with args.
3884 set dummy ranlib
; ac_word
=$2
3885 echo "$as_me:$LINENO: checking for $ac_word" >&5
3886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3887 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 if test -n "$ac_ct_RANLIB"; then
3891 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir
=.
3898 for ac_exec_ext
in '' $ac_executable_extensions; do
3899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3910 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3911 if test -n "$ac_ct_RANLIB"; then
3912 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3913 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3919 RANLIB
=$ac_ct_RANLIB
3921 RANLIB
="$ac_cv_prog_RANLIB"
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3926 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3927 echo "$as_me:$LINENO: checking for $ac_word" >&5
3928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3929 if test "${ac_cv_prog_STRIP+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 if test -n "$STRIP"; then
3933 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 STRIP
=$ac_cv_prog_STRIP
3952 if test -n "$STRIP"; then
3953 echo "$as_me:$LINENO: result: $STRIP" >&5
3954 echo "${ECHO_T}$STRIP" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3961 if test -z "$ac_cv_prog_STRIP"; then
3963 # Extract the first word of "strip", so it can be a program name with args.
3964 set dummy strip
; ac_word
=$2
3965 echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3967 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 if test -n "$ac_ct_STRIP"; then
3971 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_ac_ct_STRIP
="strip"
3981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3990 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3991 if test -n "$ac_ct_STRIP"; then
3992 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3993 echo "${ECHO_T}$ac_ct_STRIP" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
4001 STRIP
="$ac_cv_prog_STRIP"
4005 # Check for any special flags to pass to ltconfig.
4006 libtool_flags
="--cache-file=$cache_file"
4007 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4008 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4009 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4010 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4011 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4014 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4015 if test "${enable_libtool_lock+set}" = set; then
4016 enableval
="$enable_libtool_lock"
4019 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4020 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4023 # Check whether --with-pic or --without-pic was given.
4024 if test "${with_pic+set}" = set; then
4030 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4031 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4033 # Some flags need to be propagated to the compiler or linker for good
4037 # Find out which ABI we are using.
4038 echo '#line 4038 "configure"' > conftest.
$ac_ext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; then
4044 if test "$lt_cv_prog_gnu_ld" = yes; then
4045 case `/usr/bin/file conftest.$ac_objext` in
4047 LD
="${LD-ld} -melf32bsmip"
4050 LD
="${LD-ld} -melf32bmipn32"
4053 LD
="${LD-ld} -melf64bmip"
4057 case `/usr/bin/file conftest.$ac_objext` in
4074 # Find out which ABI we are using.
4075 echo 'int i;' > conftest.
$ac_ext
4076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4077 (eval $ac_compile) 2>&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; then
4081 case "`/usr/bin/file conftest.o`" in
4093 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4094 # Find out which ABI we are using.
4095 echo 'int i;' > conftest.
$ac_ext
4096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4097 (eval $ac_compile) 2>&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; then
4101 case "`/usr/bin/file conftest.o`" in
4105 LD
="${LD-ld} -m elf_i386"
4107 ppc64-
*linux
*|powerpc64-
*linux
*)
4108 LD
="${LD-ld} -m elf32ppclinux"
4111 LD
="${LD-ld} -m elf_s390"
4114 LD
="${LD-ld} -m elf32_sparc"
4121 LD
="${LD-ld} -m elf_x86_64"
4123 ppc
*-*linux
*|powerpc
*-*linux
*)
4124 LD
="${LD-ld} -m elf64ppc"
4127 LD
="${LD-ld} -m elf64_s390"
4130 LD
="${LD-ld} -m elf64_sparc"
4140 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4141 SAVE_CFLAGS
="$CFLAGS"
4142 CFLAGS
="$CFLAGS -belf"
4143 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4144 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4145 if test "${lt_cv_cc_needs_belf+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 ac_cpp
='$CPP $CPPFLAGS'
4152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4156 cat >conftest.
$ac_ext <<_ACEOF
4159 cat confdefs.h
>>conftest.
$ac_ext
4160 cat >>conftest.
$ac_ext <<_ACEOF
4161 /* end confdefs.h. */
4171 rm -f conftest.
$ac_objext conftest
$ac_exeext
4172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4173 (eval $ac_link) 2>conftest.er1
4175 grep -v '^ *+' conftest.er1
>conftest.err
4177 cat conftest.err
>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } &&
4180 { ac_try
='test -z "$ac_c_werror_flag"
4181 || test ! -s conftest.err'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; } &&
4187 { ac_try
='test -s conftest$ac_exeext'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4193 lt_cv_cc_needs_belf
=yes
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.
$ac_ext >&5
4198 lt_cv_cc_needs_belf
=no
4200 rm -f conftest.err conftest.
$ac_objext \
4201 conftest
$ac_exeext conftest.
$ac_ext
4203 ac_cpp
='$CPP $CPPFLAGS'
4204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4209 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4210 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4211 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4212 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4213 CFLAGS
="$SAVE_CFLAGS"
4221 # Save cache, so that ltconfig can load it
4222 cat >confcache
<<\_ACEOF
4223 # This file is a shell script that caches the results of configure
4224 # tests run on this system so they can be shared between configure
4225 # scripts and configure runs, see configure's option --config-cache.
4226 # It is not useful on other systems. If it contains results you don't
4227 # want to keep, you may remove or edit it.
4229 # config.status only pays attention to the cache file if you give it
4230 # the --recheck option to rerun configure.
4232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4238 # The following way of writing the cache mishandles newlines in values,
4239 # but we know of no workaround that is simple, portable, and efficient.
4240 # So, don't put newlines in cache variables' values.
4241 # Ultrix sh set writes to stderr and can't be redirected directly,
4242 # and sets the high bit in the cache file unless we assign to the vars.
4245 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4247 # `set' does not quote correctly, so add quotes (double-quote
4248 # substitution turns \\\\ into \\, and sed turns \\ into \).
4251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4254 # `set' quotes correctly as required by POSIX, so do not add quotes.
4256 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4263 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4265 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4267 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4268 if test -w $cache_file; then
4269 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4270 cat confcache
>$cache_file
4272 echo "not updating unwritable cache $cache_file"
4277 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4278 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4279 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4280 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4281 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4282 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4283 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4284 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4285 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4286 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4287 echo "$as_me: error: libtool configure failed" >&2;}
4288 { (exit 1); exit 1; }; }
4290 # Reload cache, that may have been modified by ltconfig
4291 if test -r "$cache_file"; then
4292 # Some versions of bash will fail to source /dev/null (special
4293 # files actually), so we avoid doing that.
4294 if test -f "$cache_file"; then
4295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4296 echo "$as_me: loading cache $cache_file" >&6;}
4298 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4299 *) . .
/$cache_file;;
4303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4304 echo "$as_me: creating cache $cache_file" >&6;}
4309 # This can be used to rebuild libtool when needed
4310 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4312 # Always use our own libtool.
4313 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4315 # Redirect the config.log output again, so that the ltconfig log is not
4316 # clobbered by the next message.
4317 exec 5>>.
/config.log
4325 # Check whether --enable-targets or --disable-targets was given.
4326 if test "${enable_targets+set}" = set; then
4327 enableval
="$enable_targets"
4328 case "${enableval}" in
4329 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4330 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4331 { (exit 1); exit 1; }; }
4333 no
) enable_targets
= ;;
4334 *) enable_targets
=$enableval ;;
4336 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4337 if test "${enable_commonbfdlib+set}" = set; then
4338 enableval
="$enable_commonbfdlib"
4339 case "${enableval}" in
4340 yes) commonbfdlib
=true
;;
4341 no
) commonbfdlib
=false
;;
4342 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
4343 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
4344 { (exit 1); exit 1; }; } ;;
4348 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4350 # Check whether --enable-werror or --disable-werror was given.
4351 if test "${enable_werror+set}" = set; then
4352 enableval
="$enable_werror"
4353 case "${enableval}" in
4354 yes | y
) ERROR_ON_WARNING
="yes" ;;
4355 no | n
) ERROR_ON_WARNING
="no" ;;
4356 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4357 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4358 { (exit 1); exit 1; }; } ;;
4362 # Enable -Werror by default when using gcc
4363 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4364 ERROR_ON_WARNING
=yes
4368 if test "${ERROR_ON_WARNING}" = yes ; then
4369 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4370 NO_WERROR
="-Wno-error"
4373 if test "${GCC}" = yes ; then
4374 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4377 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4378 if test "${enable_build_warnings+set}" = set; then
4379 enableval
="$enable_build_warnings"
4380 case "${enableval}" in
4381 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4382 no
) if test "${GCC}" = yes ; then
4385 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4386 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4387 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4388 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4389 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4393 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4394 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4401 ac_config_headers
="$ac_config_headers config.h:config.in"
4404 if test -z "$target" ; then
4405 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4406 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4407 { (exit 1); exit 1; }; }
4410 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4411 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4412 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4413 if test "${enable_maintainer_mode+set}" = set; then
4414 enableval
="$enable_maintainer_mode"
4415 USE_MAINTAINER_MODE
=$enableval
4417 USE_MAINTAINER_MODE
=no
4419 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4420 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4423 if test $USE_MAINTAINER_MODE = yes; then
4424 MAINTAINER_MODE_TRUE
=
4425 MAINTAINER_MODE_FALSE
='#'
4427 MAINTAINER_MODE_TRUE
='#'
4428 MAINTAINER_MODE_FALSE
=
4431 MAINT
=$MAINTAINER_MODE_TRUE
4434 case ${build_alias} in
4435 "") build_noncanonical
=${build} ;;
4436 *) build_noncanonical
=${build_alias} ;;
4439 case ${host_alias} in
4440 "") host_noncanonical
=${build_noncanonical} ;;
4441 *) host_noncanonical
=${host_alias} ;;
4444 case ${target_alias} in
4445 "") target_noncanonical
=${host_noncanonical} ;;
4446 *) target_noncanonical
=${target_alias} ;;
4449 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4450 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4451 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4452 if test "${enable_install_libbfd+set}" = set; then
4453 enableval
="$enable_install_libbfd"
4454 install_libbfd_p
=$enableval
4456 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4457 install_libbfd_p
=yes
4462 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4463 echo "${ECHO_T}$install_libbfd_p" >&6
4466 if test $install_libbfd_p = yes; then
4467 INSTALL_LIBBFD_TRUE
=
4468 INSTALL_LIBBFD_FALSE
='#'
4470 INSTALL_LIBBFD_TRUE
='#'
4471 INSTALL_LIBBFD_FALSE
=
4474 # Need _noncanonical variables for this.
4479 # libbfd.a is a host library containing target dependent code
4480 bfdlibdir
='$(libdir)'
4481 bfdincludedir
='$(includedir)'
4482 if test "${host}" != "${target}"; then
4483 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4484 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4492 # host-specific stuff:
4495 ac_cpp
='$CPP $CPPFLAGS'
4496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4499 if test -n "$ac_tool_prefix"; then
4500 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4501 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4502 echo "$as_me:$LINENO: checking for $ac_word" >&5
4503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4504 if test "${ac_cv_prog_CC+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 if test -n "$CC"; then
4508 ac_cv_prog_CC
="$CC" # Let the user override the test.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4517 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 if test -n "$CC"; then
4528 echo "$as_me:$LINENO: result: $CC" >&5
4529 echo "${ECHO_T}$CC" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4536 if test -z "$ac_cv_prog_CC"; then
4538 # Extract the first word of "gcc", so it can be a program name with args.
4539 set dummy gcc
; ac_word
=$2
4540 echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4542 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 if test -n "$ac_ct_CC"; then
4546 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_prog_ac_ct_CC
="gcc"
4556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4565 if test -n "$ac_ct_CC"; then
4566 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4567 echo "${ECHO_T}$ac_ct_CC" >&6
4569 echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6
4578 if test -z "$CC"; then
4579 if test -n "$ac_tool_prefix"; then
4580 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4581 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4582 echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4584 if test "${ac_cv_prog_CC+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 if test -n "$CC"; then
4588 ac_cv_prog_CC
="$CC" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 if test -n "$CC"; then
4608 echo "$as_me:$LINENO: result: $CC" >&5
4609 echo "${ECHO_T}$CC" >&6
4611 echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6
4616 if test -z "$ac_cv_prog_CC"; then
4618 # Extract the first word of "cc", so it can be a program name with args.
4619 set dummy cc
; ac_word
=$2
4620 echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4622 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 if test -n "$ac_ct_CC"; then
4626 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_ac_ct_CC
="cc"
4636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4645 if test -n "$ac_ct_CC"; then
4646 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4647 echo "${ECHO_T}$ac_ct_CC" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4659 if test -z "$CC"; then
4660 # Extract the first word of "cc", so it can be a program name with args.
4661 set dummy cc
; ac_word
=$2
4662 echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4664 if test "${ac_cv_prog_CC+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 if test -n "$CC"; then
4668 ac_cv_prog_CC
="$CC" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4679 ac_prog_rejected
=yes
4683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test $ac_prog_rejected = yes; then
4690 # We found a bogon in the path, so make sure we never use it.
4691 set dummy
$ac_cv_prog_CC
4693 if test $# != 0; then
4694 # We chose a different compiler from the bogus one.
4695 # However, it has the same basename, so the bogon will be chosen
4696 # first if we set CC to just the basename; use the full file name.
4698 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4704 if test -n "$CC"; then
4705 echo "$as_me:$LINENO: result: $CC" >&5
4706 echo "${ECHO_T}$CC" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4713 if test -z "$CC"; then
4714 if test -n "$ac_tool_prefix"; then
4717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4718 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4719 echo "$as_me:$LINENO: checking for $ac_word" >&5
4720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4721 if test "${ac_cv_prog_CC+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 if test -n "$CC"; then
4725 ac_cv_prog_CC
="$CC" # Let the user override the test.
4727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir
=.
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 if test -n "$CC"; then
4745 echo "$as_me:$LINENO: result: $CC" >&5
4746 echo "${ECHO_T}$CC" >&6
4748 echo "$as_me:$LINENO: result: no" >&5
4749 echo "${ECHO_T}no" >&6
4752 test -n "$CC" && break
4755 if test -z "$CC"; then
4759 # Extract the first word of "$ac_prog", so it can be a program name with args.
4760 set dummy
$ac_prog; ac_word
=$2
4761 echo "$as_me:$LINENO: checking for $ac_word" >&5
4762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4763 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 if test -n "$ac_ct_CC"; then
4767 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir
=.
4774 for ac_exec_ext
in '' $ac_executable_extensions; do
4775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4776 ac_cv_prog_ac_ct_CC
="$ac_prog"
4777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4786 if test -n "$ac_ct_CC"; then
4787 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4788 echo "${ECHO_T}$ac_ct_CC" >&6
4790 echo "$as_me:$LINENO: result: no" >&5
4791 echo "${ECHO_T}no" >&6
4794 test -n "$ac_ct_CC" && break
4803 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4804 See \`config.log' for more details." >&5
4805 echo "$as_me: error: no acceptable C compiler found in \$PATH
4806 See \`config.log' for more details." >&2;}
4807 { (exit 1); exit 1; }; }
4809 # Provide some information about the compiler.
4810 echo "$as_me:$LINENO:" \
4811 "checking for C compiler version" >&5
4812 ac_compiler
=`set X $ac_compile; echo $2`
4813 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4814 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }
4818 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4819 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }
4823 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4824 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }
4829 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4830 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4831 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 cat >conftest.
$ac_ext <<_ACEOF
4837 cat confdefs.h
>>conftest.
$ac_ext
4838 cat >>conftest.
$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4852 rm -f conftest.
$ac_objext
4853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4854 (eval $ac_compile) 2>conftest.er1
4856 grep -v '^ *+' conftest.er1
>conftest.err
4858 cat conftest.err
>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } &&
4861 { ac_try
='test -z "$ac_c_werror_flag"
4862 || test ! -s conftest.err'
4863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); }; } &&
4868 { ac_try
='test -s conftest.$ac_objext'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; }; then
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.
$ac_ext >&5
4881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4882 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4885 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4886 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4887 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4888 ac_test_CFLAGS
=${CFLAGS+set}
4889 ac_save_CFLAGS
=$CFLAGS
4891 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4892 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4893 if test "${ac_cv_prog_cc_g+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 cat >conftest.
$ac_ext <<_ACEOF
4899 cat confdefs.h
>>conftest.
$ac_ext
4900 cat >>conftest.
$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4911 rm -f conftest.
$ac_objext
4912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4913 (eval $ac_compile) 2>conftest.er1
4915 grep -v '^ *+' conftest.er1
>conftest.err
4917 cat conftest.err
>&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try
='test -z "$ac_c_werror_flag"
4921 || test ! -s conftest.err'
4922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; } &&
4927 { ac_try
='test -s conftest.$ac_objext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.
$ac_ext >&5
4940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4943 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4944 if test "$ac_test_CFLAGS" = set; then
4945 CFLAGS
=$ac_save_CFLAGS
4946 elif test $ac_cv_prog_cc_g = yes; then
4947 if test "$GCC" = yes; then
4953 if test "$GCC" = yes; then
4959 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4960 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4961 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 ac_cv_prog_cc_stdc
=no
4966 cat >conftest.
$ac_ext <<_ACEOF
4969 cat confdefs.h
>>conftest.
$ac_ext
4970 cat >>conftest.
$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4974 #include <sys/types.h>
4975 #include <sys/stat.h>
4976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4977 struct buf { int x; };
4978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4979 static char *e (p, i)
4985 static char *f (char * (*g) (char **, int), char **p, ...)
4990 s = g (p, va_arg (v,int));
4995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4996 function prototypes and stuff, but not '\xHH' hex character constants.
4997 These don't provoke an error unfortunately, instead are silently treated
4998 as 'x'. The following induces an error, until -std1 is added to get
4999 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5000 array size at least. It's necessary to write '\x00'==0 to get something
5001 that's true only with -std1. */
5002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5004 int test (int i, double x);
5005 struct s1 {int (*f) (int a);};
5006 struct s2 {int (*f) (double a);};
5007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5018 # Don't try gcc -ansi; that turns off useful extensions and
5019 # breaks some systems' header files.
5020 # AIX -qlanglvl=ansi
5021 # Ultrix and OSF/1 -std1
5022 # HP-UX 10.20 and later -Ae
5023 # HP-UX older versions -Aa -D_HPUX_SOURCE
5024 # SVR4 -Xc -D__EXTENSIONS__
5025 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5027 CC
="$ac_save_CC $ac_arg"
5028 rm -f conftest.
$ac_objext
5029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5030 (eval $ac_compile) 2>conftest.er1
5032 grep -v '^ *+' conftest.er1
>conftest.err
5034 cat conftest.err
>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } &&
5037 { ac_try
='test -z "$ac_c_werror_flag"
5038 || test ! -s conftest.err'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; } &&
5044 { ac_try
='test -s conftest.$ac_objext'
5045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); }; }; then
5050 ac_cv_prog_cc_stdc
=$ac_arg
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.
$ac_ext >&5
5057 rm -f conftest.err conftest.
$ac_objext
5059 rm -f conftest.
$ac_ext conftest.
$ac_objext
5064 case "x$ac_cv_prog_cc_stdc" in
5066 echo "$as_me:$LINENO: result: none needed" >&5
5067 echo "${ECHO_T}none needed" >&6 ;;
5069 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5070 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5071 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5074 # Some people use a C++ compiler to compile C. Since we use `exit',
5075 # in C++ we need to declare it. In case someone uses the same compiler
5076 # for both compiling C and C++ we need to have the C++ compiler decide
5077 # the declaration of exit, since it's the most demanding environment.
5078 cat >conftest.
$ac_ext <<_ACEOF
5083 rm -f conftest.
$ac_objext
5084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5085 (eval $ac_compile) 2>conftest.er1
5087 grep -v '^ *+' conftest.er1
>conftest.err
5089 cat conftest.err
>&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } &&
5092 { ac_try
='test -z "$ac_c_werror_flag"
5093 || test ! -s conftest.err'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; } &&
5099 { ac_try
='test -s conftest.$ac_objext'
5100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); }; }; then
5105 for ac_declaration
in \
5107 'extern "C" void std::exit (int) throw (); using std::exit;' \
5108 'extern "C" void std::exit (int); using std::exit;' \
5109 'extern "C" void exit (int) throw ();' \
5110 'extern "C" void exit (int);' \
5113 cat >conftest.
$ac_ext <<_ACEOF
5116 cat confdefs.h
>>conftest.
$ac_ext
5117 cat >>conftest.
$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5129 rm -f conftest.
$ac_objext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5131 (eval $ac_compile) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1
>conftest.err
5135 cat conftest.err
>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try
='test -z "$ac_c_werror_flag"
5139 || test ! -s conftest.err'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; } &&
5145 { ac_try
='test -s conftest.$ac_objext'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; }; then
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.
$ac_ext >&5
5158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5159 cat >conftest.
$ac_ext <<_ACEOF
5162 cat confdefs.h
>>conftest.
$ac_ext
5163 cat >>conftest.
$ac_ext <<_ACEOF
5164 /* end confdefs.h. */
5174 rm -f conftest.
$ac_objext
5175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5176 (eval $ac_compile) 2>conftest.er1
5178 grep -v '^ *+' conftest.er1
>conftest.err
5180 cat conftest.err
>&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } &&
5183 { ac_try
='test -z "$ac_c_werror_flag"
5184 || test ! -s conftest.err'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; } &&
5190 { ac_try
='test -s conftest.$ac_objext'
5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5205 if test -n "$ac_declaration"; then
5206 echo '#ifdef __cplusplus' >>confdefs.h
5207 echo $ac_declaration >>confdefs.h
5208 echo '#endif' >>confdefs.h
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.
$ac_ext >&5
5216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5218 ac_cpp
='$CPP $CPPFLAGS'
5219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5224 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
5225 if test -n "$ac_tool_prefix"; then
5226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5227 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5228 echo "$as_me:$LINENO: checking for $ac_word" >&5
5229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5230 if test "${ac_cv_prog_RANLIB+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 if test -n "$RANLIB"; then
5234 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 RANLIB
=$ac_cv_prog_RANLIB
5253 if test -n "$RANLIB"; then
5254 echo "$as_me:$LINENO: result: $RANLIB" >&5
5255 echo "${ECHO_T}$RANLIB" >&6
5257 echo "$as_me:$LINENO: result: no" >&5
5258 echo "${ECHO_T}no" >&6
5262 if test -z "$ac_cv_prog_RANLIB"; then
5263 ac_ct_RANLIB
=$RANLIB
5264 # Extract the first word of "ranlib", so it can be a program name with args.
5265 set dummy ranlib
; ac_word
=$2
5266 echo "$as_me:$LINENO: checking for $ac_word" >&5
5267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5268 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 if test -n "$ac_ct_RANLIB"; then
5272 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir
=.
5279 for ac_exec_ext
in '' $ac_executable_extensions; do
5280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5291 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5292 if test -n "$ac_ct_RANLIB"; then
5293 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5294 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5296 echo "$as_me:$LINENO: result: no" >&5
5297 echo "${ECHO_T}no" >&6
5300 RANLIB
=$ac_ct_RANLIB
5302 RANLIB
="$ac_cv_prog_RANLIB"
5306 ac_cpp
='$CPP $CPPFLAGS'
5307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5310 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5311 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5312 # On Suns, sometimes $CPP names a directory.
5313 if test -n "$CPP" && test -d "$CPP"; then
5316 if test -z "$CPP"; then
5317 if test "${ac_cv_prog_CPP+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 # Double quotes because CPP needs to be expanded
5321 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5324 for ac_c_preproc_warn_flag
in '' yes
5326 # Use a header file that comes with gcc, so configuring glibc
5327 # with a fresh cross-compiler works.
5328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5329 # <limits.h> exists even on freestanding compilers.
5330 # On the NeXT, cc -E runs the code through the compiler's parser,
5331 # not just through cpp. "Syntax error" is here to catch this case.
5332 cat >conftest.
$ac_ext <<_ACEOF
5335 cat confdefs.h
>>conftest.
$ac_ext
5336 cat >>conftest.
$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5339 # include <limits.h>
5341 # include <assert.h>
5345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5348 grep -v '^ *+' conftest.er1
>conftest.err
5350 cat conftest.err
>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } >/dev
/null
; then
5353 if test -s conftest.err
; then
5354 ac_cpp_err
=$ac_c_preproc_warn_flag
5355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5362 if test -z "$ac_cpp_err"; then
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.
$ac_ext >&5
5368 # Broken: fails on valid input.
5371 rm -f conftest.err conftest.
$ac_ext
5373 # OK, works on sane cases. Now check whether non-existent headers
5374 # can be detected and how.
5375 cat >conftest.
$ac_ext <<_ACEOF
5378 cat confdefs.h
>>conftest.
$ac_ext
5379 cat >>conftest.
$ac_ext <<_ACEOF
5380 /* end confdefs.h. */
5381 #include <ac_nonexistent.h>
5383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5386 grep -v '^ *+' conftest.er1
>conftest.err
5388 cat conftest.err
>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); } >/dev
/null
; then
5391 if test -s conftest.err
; then
5392 ac_cpp_err
=$ac_c_preproc_warn_flag
5393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5400 if test -z "$ac_cpp_err"; then
5401 # Broken: success on invalid input.
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.
$ac_ext >&5
5407 # Passes both tests.
5411 rm -f conftest.err conftest.
$ac_ext
5414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5415 rm -f conftest.err conftest.
$ac_ext
5416 if $ac_preproc_ok; then
5428 echo "$as_me:$LINENO: result: $CPP" >&5
5429 echo "${ECHO_T}$CPP" >&6
5431 for ac_c_preproc_warn_flag
in '' yes
5433 # Use a header file that comes with gcc, so configuring glibc
5434 # with a fresh cross-compiler works.
5435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5436 # <limits.h> exists even on freestanding compilers.
5437 # On the NeXT, cc -E runs the code through the compiler's parser,
5438 # not just through cpp. "Syntax error" is here to catch this case.
5439 cat >conftest.
$ac_ext <<_ACEOF
5442 cat confdefs.h
>>conftest.
$ac_ext
5443 cat >>conftest.
$ac_ext <<_ACEOF
5444 /* end confdefs.h. */
5446 # include <limits.h>
5448 # include <assert.h>
5452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5455 grep -v '^ *+' conftest.er1
>conftest.err
5457 cat conftest.err
>&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } >/dev
/null
; then
5460 if test -s conftest.err
; then
5461 ac_cpp_err
=$ac_c_preproc_warn_flag
5462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5469 if test -z "$ac_cpp_err"; then
5472 echo "$as_me: failed program was:" >&5
5473 sed 's/^/| /' conftest.
$ac_ext >&5
5475 # Broken: fails on valid input.
5478 rm -f conftest.err conftest.
$ac_ext
5480 # OK, works on sane cases. Now check whether non-existent headers
5481 # can be detected and how.
5482 cat >conftest.
$ac_ext <<_ACEOF
5485 cat confdefs.h
>>conftest.
$ac_ext
5486 cat >>conftest.
$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 #include <ac_nonexistent.h>
5490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5493 grep -v '^ *+' conftest.er1
>conftest.err
5495 cat conftest.err
>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } >/dev
/null
; then
5498 if test -s conftest.err
; then
5499 ac_cpp_err
=$ac_c_preproc_warn_flag
5500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5507 if test -z "$ac_cpp_err"; then
5508 # Broken: success on invalid input.
5511 echo "$as_me: failed program was:" >&5
5512 sed 's/^/| /' conftest.
$ac_ext >&5
5514 # Passes both tests.
5518 rm -f conftest.err conftest.
$ac_ext
5521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5522 rm -f conftest.err conftest.
$ac_ext
5523 if $ac_preproc_ok; then
5526 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5527 See \`config.log' for more details." >&5
5528 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5529 See \`config.log' for more details." >&2;}
5530 { (exit 1); exit 1; }; }
5534 ac_cpp
='$CPP $CPPFLAGS'
5535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5540 echo "$as_me:$LINENO: checking for egrep" >&5
5541 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5542 if test "${ac_cv_prog_egrep+set}" = set; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5546 then ac_cv_prog_egrep
='grep -E'
5547 else ac_cv_prog_egrep
='egrep'
5550 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5551 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5552 EGREP
=$ac_cv_prog_egrep
5555 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5556 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5557 if test "${ac_cv_header_stdc+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5579 rm -f conftest.
$ac_objext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5581 (eval $ac_compile) 2>conftest.er1
5583 grep -v '^ *+' conftest.er1
>conftest.err
5585 cat conftest.err
>&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } &&
5588 { ac_try
='test -z "$ac_c_werror_flag"
5589 || test ! -s conftest.err'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try
='test -s conftest.$ac_objext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_cv_header_stdc
=yes
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.
$ac_ext >&5
5606 ac_cv_header_stdc
=no
5608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5610 if test $ac_cv_header_stdc = yes; then
5611 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5612 cat >conftest.
$ac_ext <<_ACEOF
5615 cat confdefs.h
>>conftest.
$ac_ext
5616 cat >>conftest.
$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5622 $EGREP "memchr" >/dev
/null
2>&1; then
5625 ac_cv_header_stdc
=no
5631 if test $ac_cv_header_stdc = yes; then
5632 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5633 cat >conftest.
$ac_ext <<_ACEOF
5636 cat confdefs.h
>>conftest.
$ac_ext
5637 cat >>conftest.
$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5643 $EGREP "free" >/dev
/null
2>&1; then
5646 ac_cv_header_stdc
=no
5652 if test $ac_cv_header_stdc = yes; then
5653 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5654 if test "$cross_compiling" = yes; then
5657 cat >conftest.
$ac_ext <<_ACEOF
5660 cat confdefs.h
>>conftest.
$ac_ext
5661 cat >>conftest.
$ac_ext <<_ACEOF
5662 /* end confdefs.h. */
5664 #if ((' ' & 0x0FF) == 0x020)
5665 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5666 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5668 # define ISLOWER(c) \
5669 (('a' <= (c) && (c) <= 'i') \
5670 || ('j' <= (c) && (c) <= 'r') \
5671 || ('s' <= (c) && (c) <= 'z'))
5672 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5675 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5680 for (i = 0; i < 256; i++)
5681 if (XOR (islower (i), ISLOWER (i))
5682 || toupper (i) != TOUPPER (i))
5687 rm -f conftest
$ac_exeext
5688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5689 (eval $ac_link) 2>&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; }; then
5700 echo "$as_me: program exited with status $ac_status" >&5
5701 echo "$as_me: failed program was:" >&5
5702 sed 's/^/| /' conftest.
$ac_ext >&5
5705 ac_cv_header_stdc
=no
5707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5711 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5712 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5713 if test $ac_cv_header_stdc = yes; then
5715 cat >>confdefs.h
<<\_ACEOF
5716 #define STDC_HEADERS 1
5721 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5722 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5723 if test "${ac_cv_c_const+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 cat >conftest.
$ac_ext <<_ACEOF
5729 cat confdefs.h
>>conftest.
$ac_ext
5730 cat >>conftest.
$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5736 /* FIXME: Include the comments suggested by Paul. */
5738 /* Ultrix mips cc rejects this. */
5739 typedef int charset[2];
5741 /* SunOS 4.1.1 cc rejects this. */
5742 char const *const *ccp;
5744 /* NEC SVR4.0.2 mips cc rejects this. */
5745 struct point {int x, y;};
5746 static struct point const zero = {0,0};
5747 /* AIX XL C 1.02.0.0 rejects this.
5748 It does not let you subtract one const X* pointer from another in
5749 an arm of an if-expression whose if-part is not a constant
5751 const char *g = "string";
5752 ccp = &g + (g ? g-g : 0);
5753 /* HPUX 7.0 cc rejects these. */
5756 ccp = (char const *const *) p;
5757 { /* SCO 3.2v4 cc rejects this. */
5759 char const *s = 0 ? (char *) 0 : (char const *) 0;
5763 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5765 const int *foo = &x[0];
5768 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5769 typedef const int *iptr;
5773 { /* AIX XL C 1.02.0.0 rejects this saying
5774 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5775 struct s { int j; const int *ap[3]; };
5776 struct s *b; b->j = 5;
5778 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5787 rm -f conftest.
$ac_objext
5788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5789 (eval $ac_compile) 2>conftest.er1
5791 grep -v '^ *+' conftest.er1
>conftest.err
5793 cat conftest.err
>&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } &&
5796 { ac_try
='test -z "$ac_c_werror_flag"
5797 || test ! -s conftest.err'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; } &&
5803 { ac_try
='test -s conftest.$ac_objext'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; }; then
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.
$ac_ext >&5
5816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5818 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5819 echo "${ECHO_T}$ac_cv_c_const" >&6
5820 if test $ac_cv_c_const = no
; then
5822 cat >>confdefs.h
<<\_ACEOF
5828 echo "$as_me:$LINENO: checking for inline" >&5
5829 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5830 if test "${ac_cv_c_inline+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 for ac_kw
in inline __inline__ __inline
; do
5835 cat >conftest.
$ac_ext <<_ACEOF
5838 cat confdefs.h
>>conftest.
$ac_ext
5839 cat >>conftest.
$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5843 static $ac_kw foo_t static_foo () {return 0; }
5844 $ac_kw foo_t foo () {return 0; }
5848 rm -f conftest.
$ac_objext
5849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5850 (eval $ac_compile) 2>conftest.er1
5852 grep -v '^ *+' conftest.er1
>conftest.err
5854 cat conftest.err
>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } &&
5857 { ac_try
='test -z "$ac_c_werror_flag"
5858 || test ! -s conftest.err'
5859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }; } &&
5864 { ac_try
='test -s conftest.$ac_objext'
5865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; }; then
5870 ac_cv_c_inline
=$ac_kw; break
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.
$ac_ext >&5
5876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5880 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5881 echo "${ECHO_T}$ac_cv_c_inline" >&6
5884 case $ac_cv_c_inline in
5887 case $ac_cv_c_inline in
5889 *) ac_val
=$ac_cv_c_inline;;
5891 cat >>confdefs.h
<<_ACEOF
5893 #define inline $ac_val
5899 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5909 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5910 inttypes.h stdint.h unistd.h
5912 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5913 echo "$as_me:$LINENO: checking for $ac_header" >&5
5914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 cat >conftest.
$ac_ext <<_ACEOF
5921 cat confdefs.h
>>conftest.
$ac_ext
5922 cat >>conftest.
$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5924 $ac_includes_default
5926 #include <$ac_header>
5928 rm -f conftest.
$ac_objext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5930 (eval $ac_compile) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try
='test -z "$ac_c_werror_flag"
5938 || test ! -s conftest.err'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; } &&
5944 { ac_try
='test -s conftest.$ac_objext'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; }; then
5950 eval "$as_ac_Header=yes"
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.
$ac_ext >&5
5955 eval "$as_ac_Header=no"
5957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5962 cat >>confdefs.h
<<_ACEOF
5963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5971 echo "$as_me:$LINENO: checking for off_t" >&5
5972 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5973 if test "${ac_cv_type_off_t+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 cat >conftest.
$ac_ext <<_ACEOF
5979 cat confdefs.h
>>conftest.
$ac_ext
5980 cat >>conftest.
$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5982 $ac_includes_default
5994 rm -f conftest.
$ac_objext
5995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5996 (eval $ac_compile) 2>conftest.er1
5998 grep -v '^ *+' conftest.er1
>conftest.err
6000 cat conftest.err
>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } &&
6003 { ac_try
='test -z "$ac_c_werror_flag"
6004 || test ! -s conftest.err'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; } &&
6010 { ac_try
='test -s conftest.$ac_objext'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; }; then
6016 ac_cv_type_off_t
=yes
6018 echo "$as_me: failed program was:" >&5
6019 sed 's/^/| /' conftest.
$ac_ext >&5
6023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6025 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6026 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6027 if test $ac_cv_type_off_t = yes; then
6031 cat >>confdefs.h
<<_ACEOF
6037 echo "$as_me:$LINENO: checking for size_t" >&5
6038 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6039 if test "${ac_cv_type_size_t+set}" = set; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 $ac_includes_default
6054 if (sizeof (size_t))
6060 rm -f conftest.
$ac_objext
6061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6062 (eval $ac_compile) 2>conftest.er1
6064 grep -v '^ *+' conftest.er1
>conftest.err
6066 cat conftest.err
>&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); } &&
6069 { ac_try
='test -z "$ac_c_werror_flag"
6070 || test ! -s conftest.err'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; } &&
6076 { ac_try
='test -s conftest.$ac_objext'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; }; then
6082 ac_cv_type_size_t
=yes
6084 echo "$as_me: failed program was:" >&5
6085 sed 's/^/| /' conftest.
$ac_ext >&5
6087 ac_cv_type_size_t
=no
6089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6091 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6092 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6093 if test $ac_cv_type_size_t = yes; then
6097 cat >>confdefs.h
<<_ACEOF
6098 #define size_t unsigned
6103 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6104 # for constant arguments. Useless!
6105 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6106 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6107 if test "${ac_cv_working_alloca_h+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 cat >conftest.
$ac_ext <<_ACEOF
6113 cat confdefs.h
>>conftest.
$ac_ext
6114 cat >>conftest.
$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6120 char *p = (char *) alloca (2 * sizeof (int));
6125 rm -f conftest.
$ac_objext conftest
$ac_exeext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127 (eval $ac_link) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try
='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try
='test -s conftest$ac_exeext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_cv_working_alloca_h
=yes
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.
$ac_ext >&5
6152 ac_cv_working_alloca_h
=no
6154 rm -f conftest.err conftest.
$ac_objext \
6155 conftest
$ac_exeext conftest.
$ac_ext
6157 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6158 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6159 if test $ac_cv_working_alloca_h = yes; then
6161 cat >>confdefs.h
<<\_ACEOF
6162 #define HAVE_ALLOCA_H 1
6167 echo "$as_me:$LINENO: checking for alloca" >&5
6168 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6169 if test "${ac_cv_func_alloca_works+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 cat >conftest.
$ac_ext <<_ACEOF
6175 cat confdefs.h
>>conftest.
$ac_ext
6176 cat >>conftest.
$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6179 # define alloca __builtin_alloca
6182 # include <malloc.h>
6183 # define alloca _alloca
6186 # include <alloca.h>
6191 # ifndef alloca /* predefined by HP cc +Olibcalls */
6202 char *p = (char *) alloca (1);
6207 rm -f conftest.
$ac_objext conftest
$ac_exeext
6208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6209 (eval $ac_link) 2>conftest.er1
6211 grep -v '^ *+' conftest.er1
>conftest.err
6213 cat conftest.err
>&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } &&
6216 { ac_try
='test -z "$ac_c_werror_flag"
6217 || test ! -s conftest.err'
6218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); }; } &&
6223 { ac_try
='test -s conftest$ac_exeext'
6224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }; }; then
6229 ac_cv_func_alloca_works
=yes
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.
$ac_ext >&5
6234 ac_cv_func_alloca_works
=no
6236 rm -f conftest.err conftest.
$ac_objext \
6237 conftest
$ac_exeext conftest.
$ac_ext
6239 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6240 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6242 if test $ac_cv_func_alloca_works = yes; then
6244 cat >>confdefs.h
<<\_ACEOF
6245 #define HAVE_ALLOCA 1
6249 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6250 # that cause trouble. Some versions do not even contain alloca or
6251 # contain a buggy version. If you still want to use their alloca,
6252 # use ar to extract alloca.o from them instead of compiling alloca.c.
6254 ALLOCA
=alloca.
$ac_objext
6256 cat >>confdefs.h
<<\_ACEOF
6261 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6262 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6263 if test "${ac_cv_os_cray+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 #if defined(CRAY) && ! defined(CRAY2)
6279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6280 $EGREP "webecray" >/dev
/null
2>&1; then
6288 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6289 echo "${ECHO_T}$ac_cv_os_cray" >&6
6290 if test $ac_cv_os_cray = yes; then
6291 for ac_func
in _getb67 GETB67 getb67
; do
6292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6293 echo "$as_me:$LINENO: checking for $ac_func" >&5
6294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6295 if eval "test \"\${$as_ac_var+set}\" = set"; then
6296 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 cat >conftest.
$ac_ext <<_ACEOF
6301 cat confdefs.h
>>conftest.
$ac_ext
6302 cat >>conftest.
$ac_ext <<_ACEOF
6303 /* end confdefs.h. */
6304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6306 #define $ac_func innocuous_$ac_func
6308 /* System header to define __stub macros and hopefully few prototypes,
6309 which can conflict with char $ac_func (); below.
6310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6311 <limits.h> exists even on freestanding compilers. */
6314 # include <limits.h>
6316 # include <assert.h>
6321 /* Override any gcc2 internal prototype to avoid an error. */
6326 /* We use char because int might match the return type of a gcc2
6327 builtin and then its argument prototype would still apply. */
6329 /* The GNU C library defines this for functions which it implements
6330 to always fail with ENOSYS. Some functions are actually named
6331 something starting with __ and the normal name is an alias. */
6332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6335 char (*f) () = $ac_func;
6344 return f != $ac_func;
6349 rm -f conftest.
$ac_objext conftest
$ac_exeext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6351 (eval $ac_link) 2>conftest.er1
6353 grep -v '^ *+' conftest.er1
>conftest.err
6355 cat conftest.err
>&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 { ac_try
='test -z "$ac_c_werror_flag"
6359 || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try
='test -s conftest$ac_exeext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 eval "$as_ac_var=yes"
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.
$ac_ext >&5
6376 eval "$as_ac_var=no"
6378 rm -f conftest.err conftest.
$ac_objext \
6379 conftest
$ac_exeext conftest.
$ac_ext
6381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6383 if test `eval echo '${'$as_ac_var'}'` = yes; then
6385 cat >>confdefs.h
<<_ACEOF
6386 #define CRAY_STACKSEG_END $ac_func
6395 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6396 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6397 if test "${ac_cv_c_stack_direction+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 if test "$cross_compiling" = yes; then
6401 ac_cv_c_stack_direction
=0
6403 cat >conftest.
$ac_ext <<_ACEOF
6406 cat confdefs.h
>>conftest.
$ac_ext
6407 cat >>conftest.
$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6410 find_stack_direction ()
6412 static char *addr = 0;
6417 return find_stack_direction ();
6420 return (&dummy > addr) ? 1 : -1;
6426 exit (find_stack_direction () < 0);
6429 rm -f conftest
$ac_exeext
6430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6431 (eval $ac_link) 2>&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }; }; then
6440 ac_cv_c_stack_direction
=1
6442 echo "$as_me: program exited with status $ac_status" >&5
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.
$ac_ext >&5
6447 ac_cv_c_stack_direction
=-1
6449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6453 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6455 cat >>confdefs.h
<<_ACEOF
6456 #define STACK_DIRECTION $ac_cv_c_stack_direction
6464 for ac_header
in stdlib.h unistd.h
6466 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6468 echo "$as_me:$LINENO: checking for $ac_header" >&5
6469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6476 # Is the header compilable?
6477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 $ac_includes_default
6486 #include <$ac_header>
6488 rm -f conftest.
$ac_objext
6489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6490 (eval $ac_compile) 2>conftest.er1
6492 grep -v '^ *+' conftest.er1
>conftest.err
6494 cat conftest.err
>&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } &&
6497 { ac_try
='test -z "$ac_c_werror_flag"
6498 || test ! -s conftest.err'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; } &&
6504 { ac_try
='test -s conftest.$ac_objext'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; }; then
6510 ac_header_compiler
=yes
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.
$ac_ext >&5
6515 ac_header_compiler
=no
6517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6519 echo "${ECHO_T}$ac_header_compiler" >&6
6521 # Is the header present?
6522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6524 cat >conftest.
$ac_ext <<_ACEOF
6527 cat confdefs.h
>>conftest.
$ac_ext
6528 cat >>conftest.
$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <$ac_header>
6532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6533 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6535 grep -v '^ *+' conftest.er1
>conftest.err
6537 cat conftest.err
>&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } >/dev
/null
; then
6540 if test -s conftest.err
; then
6541 ac_cpp_err
=$ac_c_preproc_warn_flag
6542 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6549 if test -z "$ac_cpp_err"; then
6550 ac_header_preproc
=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.
$ac_ext >&5
6555 ac_header_preproc
=no
6557 rm -f conftest.err conftest.
$ac_ext
6558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6559 echo "${ECHO_T}$ac_header_preproc" >&6
6561 # So? What about this header?
6562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6568 ac_header_preproc
=yes
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6575 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6577 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6578 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6581 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6585 ## ------------------------------------------ ##
6586 ## Report this to the AC_PACKAGE_NAME lists. ##
6587 ## ------------------------------------------ ##
6590 sed "s/^/$as_me: WARNING: /" >&2
6593 echo "$as_me:$LINENO: checking for $ac_header" >&5
6594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6598 eval "$as_ac_Header=\$ac_header_preproc"
6600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6605 cat >>confdefs.h
<<_ACEOF
6606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6614 for ac_func
in getpagesize
6616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6617 echo "$as_me:$LINENO: checking for $ac_func" >&5
6618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6619 if eval "test \"\${$as_ac_var+set}\" = set"; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 cat >conftest.
$ac_ext <<_ACEOF
6625 cat confdefs.h
>>conftest.
$ac_ext
6626 cat >>conftest.
$ac_ext <<_ACEOF
6627 /* end confdefs.h. */
6628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6630 #define $ac_func innocuous_$ac_func
6632 /* System header to define __stub macros and hopefully few prototypes,
6633 which can conflict with char $ac_func (); below.
6634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6635 <limits.h> exists even on freestanding compilers. */
6638 # include <limits.h>
6640 # include <assert.h>
6645 /* Override any gcc2 internal prototype to avoid an error. */
6650 /* We use char because int might match the return type of a gcc2
6651 builtin and then its argument prototype would still apply. */
6653 /* The GNU C library defines this for functions which it implements
6654 to always fail with ENOSYS. Some functions are actually named
6655 something starting with __ and the normal name is an alias. */
6656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6659 char (*f) () = $ac_func;
6668 return f != $ac_func;
6673 rm -f conftest.
$ac_objext conftest
$ac_exeext
6674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6675 (eval $ac_link) 2>conftest.er1
6677 grep -v '^ *+' conftest.er1
>conftest.err
6679 cat conftest.err
>&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try
='test -z "$ac_c_werror_flag"
6683 || test ! -s conftest.err'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; } &&
6689 { ac_try
='test -s conftest$ac_exeext'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; }; then
6695 eval "$as_ac_var=yes"
6697 echo "$as_me: failed program was:" >&5
6698 sed 's/^/| /' conftest.
$ac_ext >&5
6700 eval "$as_ac_var=no"
6702 rm -f conftest.err conftest.
$ac_objext \
6703 conftest
$ac_exeext conftest.
$ac_ext
6705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6707 if test `eval echo '${'$as_ac_var'}'` = yes; then
6708 cat >>confdefs.h
<<_ACEOF
6709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6715 echo "$as_me:$LINENO: checking for working mmap" >&5
6716 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6717 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 if test "$cross_compiling" = yes; then
6721 ac_cv_func_mmap_fixed_mapped
=no
6723 cat >conftest.
$ac_ext <<_ACEOF
6726 cat confdefs.h
>>conftest.
$ac_ext
6727 cat >>conftest.
$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 $ac_includes_default
6730 /* malloc might have been renamed as rpl_malloc. */
6733 /* Thanks to Mike Haertel and Jim Avera for this test.
6734 Here is a matrix of mmap possibilities:
6735 mmap private not fixed
6736 mmap private fixed at somewhere currently unmapped
6737 mmap private fixed at somewhere already mapped
6738 mmap shared not fixed
6739 mmap shared fixed at somewhere currently unmapped
6740 mmap shared fixed at somewhere already mapped
6741 For private mappings, we should verify that changes cannot be read()
6742 back from the file, nor mmap's back from the file at a different
6743 address. (There have been systems where private was not correctly
6744 implemented like the infamous i386 svr4.0, and systems where the
6745 VM page cache was not coherent with the file system buffer cache
6746 like early versions of FreeBSD and possibly contemporary NetBSD.)
6747 For shared mappings, we should conversely verify that changes get
6748 propagated back to all the places they're supposed to be.
6750 Grep wants private fixed already mapped.
6751 The main things grep needs to know about mmap are:
6752 * does it exist and is it safe to write into the mmap'd area
6753 * how to use it (BSD variants) */
6756 #include <sys/mman.h>
6758 #if !STDC_HEADERS && !HAVE_STDLIB_H
6762 /* This mess was copied from the GNU getpagesize.h. */
6763 #if !HAVE_GETPAGESIZE
6764 /* Assume that all systems that can run configure have sys/param.h. */
6765 # if !HAVE_SYS_PARAM_H
6766 # define HAVE_SYS_PARAM_H 1
6769 # ifdef _SC_PAGESIZE
6770 # define getpagesize() sysconf(_SC_PAGESIZE)
6771 # else /* no _SC_PAGESIZE */
6772 # if HAVE_SYS_PARAM_H
6773 # include <sys/param.h>
6774 # ifdef EXEC_PAGESIZE
6775 # define getpagesize() EXEC_PAGESIZE
6776 # else /* no EXEC_PAGESIZE */
6778 # define getpagesize() NBPG * CLSIZE
6781 # endif /* no CLSIZE */
6782 # else /* no NBPG */
6784 # define getpagesize() NBPC
6785 # else /* no NBPC */
6787 # define getpagesize() PAGESIZE
6788 # endif /* PAGESIZE */
6789 # endif /* no NBPC */
6790 # endif /* no NBPG */
6791 # endif /* no EXEC_PAGESIZE */
6792 # else /* no HAVE_SYS_PARAM_H */
6793 # define getpagesize() 8192 /* punt totally */
6794 # endif /* no HAVE_SYS_PARAM_H */
6795 # endif /* no _SC_PAGESIZE */
6797 #endif /* no HAVE_GETPAGESIZE */
6802 char *data, *data2, *data3;
6806 pagesize = getpagesize ();
6808 /* First, make a file with some known garbage in it. */
6809 data = (char *) malloc (pagesize);
6812 for (i = 0; i < pagesize; ++i)
6813 *(data + i) = rand ();
6815 fd = creat ("conftest.mmap", 0600);
6818 if (write (fd, data, pagesize) != pagesize)
6822 /* Next, try to mmap the file at a fixed address which already has
6823 something else allocated at it. If we can, also make sure that
6824 we see the same garbage. */
6825 fd = open ("conftest.mmap", O_RDWR);
6828 data2 = (char *) malloc (2 * pagesize);
6831 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6832 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6833 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6835 for (i = 0; i < pagesize; ++i)
6836 if (*(data + i) != *(data2 + i))
6839 /* Finally, make sure that changes to the mapped area do not
6840 percolate back to the file as seen by read(). (This is a bug on
6841 some variants of i386 svr4.0.) */
6842 for (i = 0; i < pagesize; ++i)
6843 *(data2 + i) = *(data2 + i) + 1;
6844 data3 = (char *) malloc (pagesize);
6847 if (read (fd, data3, pagesize) != pagesize)
6849 for (i = 0; i < pagesize; ++i)
6850 if (*(data + i) != *(data3 + i))
6856 rm -f conftest
$ac_exeext
6857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6858 (eval $ac_link) 2>&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); }; }; then
6867 ac_cv_func_mmap_fixed_mapped
=yes
6869 echo "$as_me: program exited with status $ac_status" >&5
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.
$ac_ext >&5
6874 ac_cv_func_mmap_fixed_mapped
=no
6876 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6879 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6880 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6881 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6883 cat >>confdefs.h
<<\_ACEOF
6900 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6901 unistd.h values.h sys
/param.h
6903 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6905 echo "$as_me:$LINENO: checking for $ac_header" >&5
6906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6913 # Is the header compilable?
6914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6916 cat >conftest.
$ac_ext <<_ACEOF
6919 cat confdefs.h
>>conftest.
$ac_ext
6920 cat >>conftest.
$ac_ext <<_ACEOF
6921 /* end confdefs.h. */
6922 $ac_includes_default
6923 #include <$ac_header>
6925 rm -f conftest.
$ac_objext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6927 (eval $ac_compile) 2>conftest.er1
6929 grep -v '^ *+' conftest.er1
>conftest.err
6931 cat conftest.err
>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 { ac_try
='test -z "$ac_c_werror_flag"
6935 || test ! -s conftest.err'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; } &&
6941 { ac_try
='test -s conftest.$ac_objext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6947 ac_header_compiler
=yes
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.
$ac_ext >&5
6952 ac_header_compiler
=no
6954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6956 echo "${ECHO_T}$ac_header_compiler" >&6
6958 # Is the header present?
6959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6961 cat >conftest.
$ac_ext <<_ACEOF
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 #include <$ac_header>
6969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1
>conftest.err
6974 cat conftest.err
>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } >/dev
/null
; then
6977 if test -s conftest.err
; then
6978 ac_cpp_err
=$ac_c_preproc_warn_flag
6979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6986 if test -z "$ac_cpp_err"; then
6987 ac_header_preproc
=yes
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.
$ac_ext >&5
6992 ac_header_preproc
=no
6994 rm -f conftest.err conftest.
$ac_ext
6995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6996 echo "${ECHO_T}$ac_header_preproc" >&6
6998 # So? What about this header?
6999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7005 ac_header_preproc
=yes
7008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7022 ## ------------------------------------------ ##
7023 ## Report this to the AC_PACKAGE_NAME lists. ##
7024 ## ------------------------------------------ ##
7027 sed "s/^/$as_me: WARNING: /" >&2
7030 echo "$as_me:$LINENO: checking for $ac_header" >&5
7031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 eval "$as_ac_Header=\$ac_header_preproc"
7037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7042 cat >>confdefs.h
<<_ACEOF
7043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7060 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7061 __argz_count __argz_stringify __argz_next
7063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7064 echo "$as_me:$LINENO: checking for $ac_func" >&5
7065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7066 if eval "test \"\${$as_ac_var+set}\" = set"; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 cat >conftest.
$ac_ext <<_ACEOF
7072 cat confdefs.h
>>conftest.
$ac_ext
7073 cat >>conftest.
$ac_ext <<_ACEOF
7074 /* end confdefs.h. */
7075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7077 #define $ac_func innocuous_$ac_func
7079 /* System header to define __stub macros and hopefully few prototypes,
7080 which can conflict with char $ac_func (); below.
7081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7082 <limits.h> exists even on freestanding compilers. */
7085 # include <limits.h>
7087 # include <assert.h>
7092 /* Override any gcc2 internal prototype to avoid an error. */
7097 /* We use char because int might match the return type of a gcc2
7098 builtin and then its argument prototype would still apply. */
7100 /* The GNU C library defines this for functions which it implements
7101 to always fail with ENOSYS. Some functions are actually named
7102 something starting with __ and the normal name is an alias. */
7103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7106 char (*f) () = $ac_func;
7115 return f != $ac_func;
7120 rm -f conftest.
$ac_objext conftest
$ac_exeext
7121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7122 (eval $ac_link) 2>conftest.er1
7124 grep -v '^ *+' conftest.er1
>conftest.err
7126 cat conftest.err
>&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } &&
7129 { ac_try
='test -z "$ac_c_werror_flag"
7130 || test ! -s conftest.err'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; } &&
7136 { ac_try
='test -s conftest$ac_exeext'
7137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); }; }; then
7142 eval "$as_ac_var=yes"
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.
$ac_ext >&5
7147 eval "$as_ac_var=no"
7149 rm -f conftest.err conftest.
$ac_objext \
7150 conftest
$ac_exeext conftest.
$ac_ext
7152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7154 if test `eval echo '${'$as_ac_var'}'` = yes; then
7155 cat >>confdefs.h
<<_ACEOF
7156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7163 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7165 for ac_func
in stpcpy
7167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7168 echo "$as_me:$LINENO: checking for $ac_func" >&5
7169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7170 if eval "test \"\${$as_ac_var+set}\" = set"; then
7171 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7181 #define $ac_func innocuous_$ac_func
7183 /* System header to define __stub macros and hopefully few prototypes,
7184 which can conflict with char $ac_func (); below.
7185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7186 <limits.h> exists even on freestanding compilers. */
7189 # include <limits.h>
7191 # include <assert.h>
7196 /* Override any gcc2 internal prototype to avoid an error. */
7201 /* We use char because int might match the return type of a gcc2
7202 builtin and then its argument prototype would still apply. */
7204 /* The GNU C library defines this for functions which it implements
7205 to always fail with ENOSYS. Some functions are actually named
7206 something starting with __ and the normal name is an alias. */
7207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7210 char (*f) () = $ac_func;
7219 return f != $ac_func;
7224 rm -f conftest.
$ac_objext conftest
$ac_exeext
7225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7226 (eval $ac_link) 2>conftest.er1
7228 grep -v '^ *+' conftest.er1
>conftest.err
7230 cat conftest.err
>&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); } &&
7233 { ac_try
='test -z "$ac_c_werror_flag"
7234 || test ! -s conftest.err'
7235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; } &&
7240 { ac_try
='test -s conftest$ac_exeext'
7241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); }; }; then
7246 eval "$as_ac_var=yes"
7248 echo "$as_me: failed program was:" >&5
7249 sed 's/^/| /' conftest.
$ac_ext >&5
7251 eval "$as_ac_var=no"
7253 rm -f conftest.err conftest.
$ac_objext \
7254 conftest
$ac_exeext conftest.
$ac_ext
7256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7258 if test `eval echo '${'$as_ac_var'}'` = yes; then
7259 cat >>confdefs.h
<<_ACEOF
7260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7267 if test "${ac_cv_func_stpcpy}" = "yes"; then
7269 cat >>confdefs.h
<<\_ACEOF
7270 #define HAVE_STPCPY 1
7275 if test $ac_cv_header_locale_h = yes; then
7276 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7277 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7278 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7279 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7296 rm -f conftest.
$ac_objext conftest
$ac_exeext
7297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7298 (eval $ac_link) 2>conftest.er1
7300 grep -v '^ *+' conftest.er1
>conftest.err
7302 cat conftest.err
>&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); } &&
7305 { ac_try
='test -z "$ac_c_werror_flag"
7306 || test ! -s conftest.err'
7307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); }; } &&
7312 { ac_try
='test -s conftest$ac_exeext'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; }; then
7318 am_cv_val_LC_MESSAGES
=yes
7320 echo "$as_me: failed program was:" >&5
7321 sed 's/^/| /' conftest.
$ac_ext >&5
7323 am_cv_val_LC_MESSAGES
=no
7325 rm -f conftest.err conftest.
$ac_objext \
7326 conftest
$ac_exeext conftest.
$ac_ext
7328 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7329 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7330 if test $am_cv_val_LC_MESSAGES = yes; then
7332 cat >>confdefs.h
<<\_ACEOF
7333 #define HAVE_LC_MESSAGES 1
7338 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7339 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7340 # Check whether --enable-nls or --disable-nls was given.
7341 if test "${enable_nls+set}" = set; then
7342 enableval
="$enable_nls"
7347 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7348 echo "${ECHO_T}$USE_NLS" >&6
7351 USE_INCLUDED_LIBINTL
=no
7353 if test "$USE_NLS" = "yes"; then
7354 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7355 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7357 # Check whether --with-included-gettext or --without-included-gettext was given.
7358 if test "${with_included_gettext+set}" = set; then
7359 withval
="$with_included_gettext"
7360 nls_cv_force_use_gnu_gettext
=$withval
7362 nls_cv_force_use_gnu_gettext
=no
7364 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7365 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7367 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7368 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7370 nls_cv_header_libgt
=
7373 if test "${ac_cv_header_libintl_h+set}" = set; then
7374 echo "$as_me:$LINENO: checking for libintl.h" >&5
7375 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7376 if test "${ac_cv_header_libintl_h+set}" = set; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7380 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7382 # Is the header compilable?
7383 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7384 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7385 cat >conftest.
$ac_ext <<_ACEOF
7388 cat confdefs.h
>>conftest.
$ac_ext
7389 cat >>conftest.
$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 $ac_includes_default
7392 #include <libintl.h>
7394 rm -f conftest.
$ac_objext
7395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7396 (eval $ac_compile) 2>conftest.er1
7398 grep -v '^ *+' conftest.er1
>conftest.err
7400 cat conftest.err
>&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } &&
7403 { ac_try
='test -z "$ac_c_werror_flag"
7404 || test ! -s conftest.err'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; } &&
7410 { ac_try
='test -s conftest.$ac_objext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_header_compiler
=yes
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.
$ac_ext >&5
7421 ac_header_compiler
=no
7423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7425 echo "${ECHO_T}$ac_header_compiler" >&6
7427 # Is the header present?
7428 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7429 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7430 cat >conftest.
$ac_ext <<_ACEOF
7433 cat confdefs.h
>>conftest.
$ac_ext
7434 cat >>conftest.
$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <libintl.h>
7438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } >/dev
/null
; then
7446 if test -s conftest.err
; then
7447 ac_cpp_err
=$ac_c_preproc_warn_flag
7448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7455 if test -z "$ac_cpp_err"; then
7456 ac_header_preproc
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_header_preproc
=no
7463 rm -f conftest.err conftest.
$ac_ext
7464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7465 echo "${ECHO_T}$ac_header_preproc" >&6
7467 # So? What about this header?
7468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7470 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7471 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7472 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7473 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7474 ac_header_preproc
=yes
7477 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7478 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7479 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7480 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7482 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7484 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7486 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7488 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7491 ## ------------------------------------------ ##
7492 ## Report this to the AC_PACKAGE_NAME lists. ##
7493 ## ------------------------------------------ ##
7496 sed "s/^/$as_me: WARNING: /" >&2
7499 echo "$as_me:$LINENO: checking for libintl.h" >&5
7500 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7501 if test "${ac_cv_header_libintl_h+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 ac_cv_header_libintl_h
=$ac_header_preproc
7506 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7507 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7510 if test $ac_cv_header_libintl_h = yes; then
7511 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7512 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7513 if test "${gt_cv_func_gettext_libc+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7516 cat >conftest.
$ac_ext <<_ACEOF
7519 cat confdefs.h
>>conftest.
$ac_ext
7520 cat >>conftest.
$ac_ext <<_ACEOF
7521 /* end confdefs.h. */
7522 #include <libintl.h>
7526 return (int) gettext ("")
7531 rm -f conftest.
$ac_objext conftest
$ac_exeext
7532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7533 (eval $ac_link) 2>conftest.er1
7535 grep -v '^ *+' conftest.er1
>conftest.err
7537 cat conftest.err
>&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } &&
7540 { ac_try
='test -z "$ac_c_werror_flag"
7541 || test ! -s conftest.err'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; } &&
7547 { ac_try
='test -s conftest$ac_exeext'
7548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; }; then
7553 gt_cv_func_gettext_libc
=yes
7555 echo "$as_me: failed program was:" >&5
7556 sed 's/^/| /' conftest.
$ac_ext >&5
7558 gt_cv_func_gettext_libc
=no
7560 rm -f conftest.err conftest.
$ac_objext \
7561 conftest
$ac_exeext conftest.
$ac_ext
7563 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7564 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7566 if test "$gt_cv_func_gettext_libc" != "yes"; then
7567 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7568 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7569 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 ac_check_lib_save_LIBS
=$LIBS
7574 cat >conftest.
$ac_ext <<_ACEOF
7577 cat confdefs.h
>>conftest.
$ac_ext
7578 cat >>conftest.
$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7581 /* Override any gcc2 internal prototype to avoid an error. */
7585 /* We use char because int might match the return type of a gcc2
7586 builtin and then its argument prototype would still apply. */
7587 char bindtextdomain ();
7596 rm -f conftest.
$ac_objext conftest
$ac_exeext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7598 (eval $ac_link) 2>conftest.er1
7600 grep -v '^ *+' conftest.er1
>conftest.err
7602 cat conftest.err
>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } &&
7605 { ac_try
='test -z "$ac_c_werror_flag"
7606 || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try
='test -s conftest$ac_exeext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618 ac_cv_lib_intl_bindtextdomain
=yes
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.
$ac_ext >&5
7623 ac_cv_lib_intl_bindtextdomain
=no
7625 rm -f conftest.err conftest.
$ac_objext \
7626 conftest
$ac_exeext conftest.
$ac_ext
7627 LIBS
=$ac_check_lib_save_LIBS
7629 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7630 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7631 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7632 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7633 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7634 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 cat >conftest.
$ac_ext <<_ACEOF
7640 cat confdefs.h
>>conftest.
$ac_ext
7641 cat >>conftest.
$ac_ext <<_ACEOF
7642 /* end confdefs.h. */
7647 return (int) gettext ("")
7652 rm -f conftest.
$ac_objext conftest
$ac_exeext
7653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7654 (eval $ac_link) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } &&
7661 { ac_try
='test -z "$ac_c_werror_flag"
7662 || test ! -s conftest.err'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; } &&
7668 { ac_try
='test -s conftest$ac_exeext'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 gt_cv_func_gettext_libintl
=yes
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.
$ac_ext >&5
7679 gt_cv_func_gettext_libintl
=no
7681 rm -f conftest.err conftest.
$ac_objext \
7682 conftest
$ac_exeext conftest.
$ac_ext
7684 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7685 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7690 if test "$gt_cv_func_gettext_libc" = "yes" \
7691 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7693 cat >>confdefs.h
<<\_ACEOF
7694 #define HAVE_GETTEXT 1
7697 # Extract the first word of "msgfmt", so it can be a program name with args.
7698 set dummy msgfmt
; ac_word
=$2
7699 echo "$as_me:$LINENO: checking for $ac_word" >&5
7700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7701 if test "${ac_cv_path_MSGFMT+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7709 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7710 for ac_dir
in $PATH; do
7711 test -z "$ac_dir" && ac_dir
=.
7712 if test -f $ac_dir/$ac_word; then
7713 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7714 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7720 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7724 MSGFMT
="$ac_cv_path_MSGFMT"
7725 if test -n "$MSGFMT"; then
7726 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7727 echo "${ECHO_T}$MSGFMT" >&6
7729 echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6
7732 if test "$MSGFMT" != "no"; then
7734 for ac_func
in dcgettext
7736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7737 echo "$as_me:$LINENO: checking for $ac_func" >&5
7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_var+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 cat >conftest.
$ac_ext <<_ACEOF
7745 cat confdefs.h
>>conftest.
$ac_ext
7746 cat >>conftest.
$ac_ext <<_ACEOF
7747 /* end confdefs.h. */
7748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7750 #define $ac_func innocuous_$ac_func
7752 /* System header to define __stub macros and hopefully few prototypes,
7753 which can conflict with char $ac_func (); below.
7754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7755 <limits.h> exists even on freestanding compilers. */
7758 # include <limits.h>
7760 # include <assert.h>
7765 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7773 /* The GNU C library defines this for functions which it implements
7774 to always fail with ENOSYS. Some functions are actually named
7775 something starting with __ and the normal name is an alias. */
7776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7779 char (*f) () = $ac_func;
7788 return f != $ac_func;
7793 rm -f conftest.
$ac_objext conftest
$ac_exeext
7794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7795 (eval $ac_link) 2>conftest.er1
7797 grep -v '^ *+' conftest.er1
>conftest.err
7799 cat conftest.err
>&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); } &&
7802 { ac_try
='test -z "$ac_c_werror_flag"
7803 || test ! -s conftest.err'
7804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808 (exit $ac_status); }; } &&
7809 { ac_try
='test -s conftest$ac_exeext'
7810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); }; }; then
7815 eval "$as_ac_var=yes"
7817 echo "$as_me: failed program was:" >&5
7818 sed 's/^/| /' conftest.
$ac_ext >&5
7820 eval "$as_ac_var=no"
7822 rm -f conftest.err conftest.
$ac_objext \
7823 conftest
$ac_exeext conftest.
$ac_ext
7825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7827 if test `eval echo '${'$as_ac_var'}'` = yes; then
7828 cat >>confdefs.h
<<_ACEOF
7829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7835 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7836 set dummy gmsgfmt
; ac_word
=$2
7837 echo "$as_me:$LINENO: checking for $ac_word" >&5
7838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7839 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7851 test -z "$as_dir" && as_dir
=.
7852 for ac_exec_ext
in '' $ac_executable_extensions; do
7853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7865 GMSGFMT
=$ac_cv_path_GMSGFMT
7867 if test -n "$GMSGFMT"; then
7868 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7869 echo "${ECHO_T}$GMSGFMT" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7875 # Extract the first word of "xgettext", so it can be a program name with args.
7876 set dummy xgettext
; ac_word
=$2
7877 echo "$as_me:$LINENO: checking for $ac_word" >&5
7878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7879 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7884 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7887 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7888 for ac_dir
in $PATH; do
7889 test -z "$ac_dir" && ac_dir
=.
7890 if test -f $ac_dir/$ac_word; then
7891 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7892 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7898 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7902 XGETTEXT
="$ac_cv_path_XGETTEXT"
7903 if test -n "$XGETTEXT"; then
7904 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7905 echo "${ECHO_T}$XGETTEXT" >&6
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7911 cat >conftest.
$ac_ext <<_ACEOF
7914 cat confdefs.h
>>conftest.
$ac_ext
7915 cat >>conftest.
$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7921 extern int _nl_msg_cat_cntr;
7922 return _nl_msg_cat_cntr
7927 rm -f conftest.
$ac_objext conftest
$ac_exeext
7928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7929 (eval $ac_link) 2>conftest.er1
7931 grep -v '^ *+' conftest.er1
>conftest.err
7933 cat conftest.err
>&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); } &&
7936 { ac_try
='test -z "$ac_c_werror_flag"
7937 || test ! -s conftest.err'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; } &&
7943 { ac_try
='test -s conftest$ac_exeext'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; }; then
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7958 rm -f conftest.err conftest.
$ac_objext \
7959 conftest
$ac_exeext conftest.
$ac_ext
7969 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7970 # Neither gettext nor catgets in included in the C library.
7971 # Fall back on GNU gettext library (assuming it is present).
7972 nls_cv_use_gnu_gettext
=yes
7976 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7977 INTLOBJS
="\$(GETTOBJS)"
7978 # Extract the first word of "msgfmt", so it can be a program name with args.
7979 set dummy msgfmt
; ac_word
=$2
7980 echo "$as_me:$LINENO: checking for $ac_word" >&5
7981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7982 if test "${ac_cv_path_MSGFMT+set}" = set; then
7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7987 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7990 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7991 for ac_dir
in $PATH; do
7992 test -z "$ac_dir" && ac_dir
=.
7993 if test -f $ac_dir/$ac_word; then
7994 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7995 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8001 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8005 MSGFMT
="$ac_cv_path_MSGFMT"
8006 if test -n "$MSGFMT"; then
8007 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8008 echo "${ECHO_T}$MSGFMT" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8014 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8015 set dummy gmsgfmt
; ac_word
=$2
8016 echo "$as_me:$LINENO: checking for $ac_word" >&5
8017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8018 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir
=.
8031 for ac_exec_ext
in '' $ac_executable_extensions; do
8032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8044 GMSGFMT
=$ac_cv_path_GMSGFMT
8046 if test -n "$GMSGFMT"; then
8047 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8048 echo "${ECHO_T}$GMSGFMT" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8054 # Extract the first word of "xgettext", so it can be a program name with args.
8055 set dummy xgettext
; ac_word
=$2
8056 echo "$as_me:$LINENO: checking for $ac_word" >&5
8057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8058 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8066 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8067 for ac_dir
in $PATH; do
8068 test -z "$ac_dir" && ac_dir
=.
8069 if test -f $ac_dir/$ac_word; then
8070 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8071 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8077 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8081 XGETTEXT
="$ac_cv_path_XGETTEXT"
8082 if test -n "$XGETTEXT"; then
8083 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8084 echo "${ECHO_T}$XGETTEXT" >&6
8086 echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6
8091 USE_INCLUDED_LIBINTL
=yes
8095 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8097 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8098 nls_cv_header_intl
=libintl.h
8099 nls_cv_header_libgt
=libgettext.h
8102 if test "$XGETTEXT" != ":"; then
8103 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8106 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8107 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8112 # We need to process the po/ directory.
8116 nls_cv_header_intl
=libintl.h
8117 nls_cv_header_libgt
=libgettext.h
8120 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8121 # because some of the sources are only built for this goal.
8122 if test "$PACKAGE" = gettext; then
8124 USE_INCLUDED_LIBINTL
=yes
8127 for lang
in $ALL_LINGUAS; do
8128 GMOFILES
="$GMOFILES $lang.gmo"
8129 POFILES
="$POFILES $lang.po"
8143 if test "x$CATOBJEXT" != "x"; then
8145 cat >>confdefs.h
<<\_ACEOF
8146 #define ENABLE_NLS 1
8152 if test "x$CATOBJEXT" != "x"; then
8153 if test "x$ALL_LINGUAS" = "x"; then
8156 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8157 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8159 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8160 case "$ALL_LINGUAS" in
8161 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8164 LINGUAS
=$NEW_LINGUAS
8165 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8166 echo "${ECHO_T}$LINGUAS" >&6
8169 if test -n "$LINGUAS"; then
8170 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8174 if test $ac_cv_header_locale_h = yes; then
8175 INCLUDE_LOCALE_H
="#include <locale.h>"
8178 /* The system does not provide the header <locale.h>. Take care yourself. */"
8182 if test -f $srcdir/po2tbl.
sed.
in; then
8183 if test "$CATOBJEXT" = ".cat"; then
8184 if test "${ac_cv_header_linux_version_h+set}" = set; then
8185 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8186 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8187 if test "${ac_cv_header_linux_version_h+set}" = set; then
8188 echo $ECHO_N "(cached) $ECHO_C" >&6
8190 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8191 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8193 # Is the header compilable?
8194 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8195 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8196 cat >conftest.
$ac_ext <<_ACEOF
8199 cat confdefs.h
>>conftest.
$ac_ext
8200 cat >>conftest.
$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8202 $ac_includes_default
8203 #include <linux/version.h>
8205 rm -f conftest.
$ac_objext
8206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8207 (eval $ac_compile) 2>conftest.er1
8209 grep -v '^ *+' conftest.er1
>conftest.err
8211 cat conftest.err
>&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try
='test -z "$ac_c_werror_flag"
8215 || test ! -s conftest.err'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; } &&
8221 { ac_try
='test -s conftest.$ac_objext'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; }; then
8227 ac_header_compiler
=yes
8229 echo "$as_me: failed program was:" >&5
8230 sed 's/^/| /' conftest.
$ac_ext >&5
8232 ac_header_compiler
=no
8234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8236 echo "${ECHO_T}$ac_header_compiler" >&6
8238 # Is the header present?
8239 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8240 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8241 cat >conftest.
$ac_ext <<_ACEOF
8244 cat confdefs.h
>>conftest.
$ac_ext
8245 cat >>conftest.
$ac_ext <<_ACEOF
8246 /* end confdefs.h. */
8247 #include <linux/version.h>
8249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8252 grep -v '^ *+' conftest.er1
>conftest.err
8254 cat conftest.err
>&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } >/dev
/null
; then
8257 if test -s conftest.err
; then
8258 ac_cpp_err
=$ac_c_preproc_warn_flag
8259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8266 if test -z "$ac_cpp_err"; then
8267 ac_header_preproc
=yes
8269 echo "$as_me: failed program was:" >&5
8270 sed 's/^/| /' conftest.
$ac_ext >&5
8272 ac_header_preproc
=no
8274 rm -f conftest.err conftest.
$ac_ext
8275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8276 echo "${ECHO_T}$ac_header_preproc" >&6
8278 # So? What about this header?
8279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8281 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8282 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8283 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8284 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8285 ac_header_preproc
=yes
8288 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8289 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8290 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8291 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8292 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8293 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8294 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8295 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8296 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8297 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8298 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8299 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8302 ## ------------------------------------------ ##
8303 ## Report this to the AC_PACKAGE_NAME lists. ##
8304 ## ------------------------------------------ ##
8307 sed "s/^/$as_me: WARNING: /" >&2
8310 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8311 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8312 if test "${ac_cv_header_linux_version_h+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 ac_cv_header_linux_version_h
=$ac_header_preproc
8317 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8318 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8321 if test $ac_cv_header_linux_version_h = yes; then
8329 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8331 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8332 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8335 if test "$PACKAGE" = "gettext"; then
8345 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8351 if test -f $srcdir/po
/POTFILES.
in; then
8352 test -d po || mkdir po
8353 if test "x$srcdir" != "x."; then
8354 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8355 posrcprefix
="$srcdir/"
8357 posrcprefix
="../$srcdir/"
8363 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8364 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8368 .
${srcdir}/..
/bfd
/configure.
host
8370 # Put a plausible default for CC_FOR_BUILD in Makefile.
8371 if test -z "$CC_FOR_BUILD"; then
8372 if test "x$cross_compiling" = "xno"; then
8373 CC_FOR_BUILD
='$(CC)'
8379 # Also set EXEEXT_FOR_BUILD.
8380 if test "x$cross_compiling" = "xno"; then
8381 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8383 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8384 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8385 if test "${bfd_cv_build_exeext+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8389 echo 'int main () { return 0; }' > conftest.c
8390 bfd_cv_build_exeext
=
8391 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8392 for file in conftest.
*; do
8394 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8395 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8399 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8401 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8402 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8404 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8409 # Find a good install program. We prefer a C program (faster),
8410 # so one script is as good as another. But avoid the broken or
8411 # incompatible versions:
8412 # SysV /etc/install, /usr/sbin/install
8413 # SunOS /usr/etc/install
8414 # IRIX /sbin/install
8416 # AmigaOS /C/install, which installs bootblocks on floppy discs
8417 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8418 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8419 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8420 # OS/2's system install, which has a completely different semantic
8421 # ./install, which can be erroneously created by make from ./install.sh.
8422 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8423 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8424 if test -z "$INSTALL"; then
8425 if test "${ac_cv_path_install+set}" = set; then
8426 echo $ECHO_N "(cached) $ECHO_C" >&6
8428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8432 test -z "$as_dir" && as_dir
=.
8433 # Account for people who put trailing slashes in PATH elements.
8435 .
/ | .
// |
/cC
/* | \
8436 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8437 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8440 # OSF1 and SCO ODT 3.0 have their own names for install.
8441 # Don't use installbsd from OSF since it installs stuff as root
8443 for ac_prog
in ginstall scoinst
install; do
8444 for ac_exec_ext
in '' $ac_executable_extensions; do
8445 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8446 if test $ac_prog = install &&
8447 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8448 # AIX install. It has an incompatible calling convention.
8450 elif test $ac_prog = install &&
8451 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8452 # program-specific install script used by HP pwplus--don't use.
8455 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8467 if test "${ac_cv_path_install+set}" = set; then
8468 INSTALL
=$ac_cv_path_install
8470 # As a last resort, use the slow shell script. We don't cache a
8471 # path for INSTALL within a source directory, because that will
8472 # break other packages using the cache if that directory is
8473 # removed, or if the path is relative.
8474 INSTALL
=$ac_install_sh
8477 echo "$as_me:$LINENO: result: $INSTALL" >&5
8478 echo "${ECHO_T}$INSTALL" >&6
8480 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8481 # It thinks the first close brace ends the variable substitution.
8482 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8484 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8486 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8492 for ac_header
in string.h
strings.h stdlib.h
8494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8496 echo "$as_me:$LINENO: checking for $ac_header" >&5
8497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8499 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8504 # Is the header compilable?
8505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8507 cat >conftest.
$ac_ext <<_ACEOF
8510 cat confdefs.h
>>conftest.
$ac_ext
8511 cat >>conftest.
$ac_ext <<_ACEOF
8512 /* end confdefs.h. */
8513 $ac_includes_default
8514 #include <$ac_header>
8516 rm -f conftest.
$ac_objext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8518 (eval $ac_compile) 2>conftest.er1
8520 grep -v '^ *+' conftest.er1
>conftest.err
8522 cat conftest.err
>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try
='test -z "$ac_c_werror_flag"
8526 || test ! -s conftest.err'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; } &&
8532 { ac_try
='test -s conftest.$ac_objext'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; }; then
8538 ac_header_compiler
=yes
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.
$ac_ext >&5
8543 ac_header_compiler
=no
8545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8547 echo "${ECHO_T}$ac_header_compiler" >&6
8549 # Is the header present?
8550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8552 cat >conftest.
$ac_ext <<_ACEOF
8555 cat confdefs.h
>>conftest.
$ac_ext
8556 cat >>conftest.
$ac_ext <<_ACEOF
8557 /* end confdefs.h. */
8558 #include <$ac_header>
8560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8563 grep -v '^ *+' conftest.er1
>conftest.err
8565 cat conftest.err
>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } >/dev
/null
; then
8568 if test -s conftest.err
; then
8569 ac_cpp_err
=$ac_c_preproc_warn_flag
8570 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8577 if test -z "$ac_cpp_err"; then
8578 ac_header_preproc
=yes
8580 echo "$as_me: failed program was:" >&5
8581 sed 's/^/| /' conftest.
$ac_ext >&5
8583 ac_header_preproc
=no
8585 rm -f conftest.err conftest.
$ac_ext
8586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8587 echo "${ECHO_T}$ac_header_preproc" >&6
8589 # So? What about this header?
8590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8596 ac_header_preproc
=yes
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8613 ## ------------------------------------------ ##
8614 ## Report this to the AC_PACKAGE_NAME lists. ##
8615 ## ------------------------------------------ ##
8618 sed "s/^/$as_me: WARNING: /" >&2
8621 echo "$as_me:$LINENO: checking for $ac_header" >&5
8622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8626 eval "$as_ac_Header=\$ac_header_preproc"
8628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8633 cat >>confdefs.h
<<_ACEOF
8634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8642 echo "$as_me:$LINENO: checking whether basename is declared" >&5
8643 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8644 if test "${ac_cv_have_decl_basename+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 cat >conftest.
$ac_ext <<_ACEOF
8650 cat confdefs.h
>>conftest.
$ac_ext
8651 cat >>conftest.
$ac_ext <<_ACEOF
8652 /* end confdefs.h. */
8653 $ac_includes_default
8658 char *p = (char *) basename;
8665 rm -f conftest.
$ac_objext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8667 (eval $ac_compile) 2>conftest.er1
8669 grep -v '^ *+' conftest.er1
>conftest.err
8671 cat conftest.err
>&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); } &&
8674 { ac_try
='test -z "$ac_c_werror_flag"
8675 || test ! -s conftest.err'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; } &&
8681 { ac_try
='test -s conftest.$ac_objext'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; }; then
8687 ac_cv_have_decl_basename
=yes
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.
$ac_ext >&5
8692 ac_cv_have_decl_basename
=no
8694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8696 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8697 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8698 if test $ac_cv_have_decl_basename = yes; then
8700 cat >>confdefs.h
<<_ACEOF
8701 #define HAVE_DECL_BASENAME 1
8706 cat >>confdefs.h
<<_ACEOF
8707 #define HAVE_DECL_BASENAME 0
8716 cgendir
='$(srcdir)/../cgen'
8718 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
8719 if test "${enable_cgen_maint+set}" = set; then
8720 enableval
="$enable_cgen_maint"
8721 case "${enableval}" in
8722 yes) cgen_maint
=yes ;;
8723 no
) cgen_maint
=no
;;
8725 # argument is cgen install directory (not implemented yet).
8726 # Having a `share' directory might be more appropriate for the .scm,
8729 cgendir
=${cgen_maint}/lib
/cgen
8734 if test x
${cgen_maint} = xyes
; then
8736 CGEN_MAINT_FALSE
='#'
8746 # Horrible hacks to build DLLs on Windows.
8751 if test "$enable_shared" = "yes"; then
8752 WIN32LDFLAGS
="-no-undefined"
8753 WIN32LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
8760 # target-specific stuff:
8762 # Canonicalize the secondary target names.
8763 if test -n "$enable_targets" ; then
8764 for targ
in `echo $enable_targets | sed 's/,/ /g'`
8766 result
=`$ac_config_sub $targ 2>/dev/null`
8767 if test -n "$result" ; then
8768 canon_targets
="$canon_targets $result"
8770 # Allow targets that config.sub doesn't recognize, like "all".
8771 canon_targets
="$canon_targets $targ"
8778 for targ
in $target $canon_targets
8780 if test "x$targ" = "xall" ; then
8783 .
$srcdir/..
/bfd
/config.bfd
8784 selarchs
="$selarchs $targ_archs"
8788 # Utility var, documents generic cgen support files.
8790 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
8792 # We don't do any links based on the target system, just makefile config.
8794 if test x
${all_targets} = xfalse
; then
8796 # Target architecture .o files.
8799 for arch
in $selarchs
8801 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
8802 archdefs
="$archdefs -DARCH_$ad"
8804 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
8805 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
8806 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
8807 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
8808 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
8809 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
8810 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
8811 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
8812 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
8813 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
8814 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
8815 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
8816 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
8817 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
8818 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
8819 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
8820 bfd_i386_arch
) ta
="$ta i386-dis.lo" ;;
8821 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
8822 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
8823 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
8824 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
8825 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
8826 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
8827 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 ;;
8828 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
8829 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
8830 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
8831 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
8832 bfd_maxq_arch
) ta
="$ta maxq-dis.lo" ;;
8833 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
8834 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
8835 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
8836 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
8837 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
8838 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
8839 bfd_msp430_arch
) ta
="$ta msp430-dis.lo" ;;
8840 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
8841 bfd_openrisc_arch
) ta
="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen
=yes ;;
8842 bfd_or32_arch
) ta
="$ta or32-dis.lo or32-opc.lo" using_cgen
=yes ;;
8843 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
8844 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
8845 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8846 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8847 bfd_pyramid_arch
) ;;
8849 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8850 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
8852 # We can't decide what we want just from the CPU family.
8853 # We want SH5 support unless a specific version of sh is
8854 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
8855 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
8856 for t
in $target $canon_targets; do
8858 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
8859 sh-
*-linux* | shl-
*-linux*)
8860 ta
="$ta sh64-dis.lo sh64-opc.lo"
8861 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
8865 ta
="$ta sh-dis.lo" ;;
8866 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
8868 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
8869 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
8870 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
8871 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
8872 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8873 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8874 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8875 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
8876 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
8878 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
8879 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
8880 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
8881 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
8884 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
8885 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
8886 { (exit 1); exit 1; }; } ;;
8890 if test $using_cgen = yes ; then
8891 ta
="$ta $cgen_files"
8894 # Weed out duplicate .o files.
8904 # And duplicate -D flags.
8906 for i
in $archdefs ; do
8916 else # all_targets is true
8918 BFD_MACHINES
='$(ALL_MACHINES)'
8924 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8926 ac_config_commands
="$ac_config_commands default"
8928 cat >confcache
<<\_ACEOF
8929 # This file is a shell script that caches the results of configure
8930 # tests run on this system so they can be shared between configure
8931 # scripts and configure runs, see configure's option --config-cache.
8932 # It is not useful on other systems. If it contains results you don't
8933 # want to keep, you may remove or edit it.
8935 # config.status only pays attention to the cache file if you give it
8936 # the --recheck option to rerun configure.
8938 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8939 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8944 # The following way of writing the cache mishandles newlines in values,
8945 # but we know of no workaround that is simple, portable, and efficient.
8946 # So, don't put newlines in cache variables' values.
8947 # Ultrix sh set writes to stderr and can't be redirected directly,
8948 # and sets the high bit in the cache file unless we assign to the vars.
8951 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8953 # `set' does not quote correctly, so add quotes (double-quote
8954 # substitution turns \\\\ into \\, and sed turns \\ into \).
8957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8960 # `set' quotes correctly as required by POSIX, so do not add quotes.
8962 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8971 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8973 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8974 if test -w $cache_file; then
8975 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8976 cat confcache
>$cache_file
8978 echo "not updating unwritable cache $cache_file"
8983 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8984 # Let make expand exec_prefix.
8985 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8987 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8988 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8989 # trailing colons and then remove the whole line if VPATH becomes empty
8990 # (actually we leave an empty line to preserve line numbers).
8991 if test "x$srcdir" = x.
; then
8992 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8993 s/:*\$(srcdir):*/:/;
8994 s/:*\${srcdir}:*/:/;
8996 s/^\([^=]*=[ ]*\):*/\1/;
9002 DEFS
=-DHAVE_CONFIG_H
9006 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9007 # 1. Remove the extension, and $U if already installed.
9008 ac_i
=`echo "$ac_i" |
9009 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9011 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9012 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9016 LTLIBOBJS
=$ac_ltlibobjs
9019 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9020 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9021 Usually this means the macro was only invoked conditionally." >&5
9022 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9023 Usually this means the macro was only invoked conditionally." >&2;}
9024 { (exit 1); exit 1; }; }
9026 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9027 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9028 Usually this means the macro was only invoked conditionally." >&5
9029 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9030 Usually this means the macro was only invoked conditionally." >&2;}
9031 { (exit 1); exit 1; }; }
9033 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9034 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9035 Usually this means the macro was only invoked conditionally." >&5
9036 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9037 Usually this means the macro was only invoked conditionally." >&2;}
9038 { (exit 1); exit 1; }; }
9040 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
9041 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
9042 Usually this means the macro was only invoked conditionally." >&5
9043 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
9044 Usually this means the macro was only invoked conditionally." >&2;}
9045 { (exit 1); exit 1; }; }
9047 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
9048 { { echo "$as_me:$LINENO: error: conditional \"CGEN_MAINT\" was never defined.
9049 Usually this means the macro was only invoked conditionally." >&5
9050 echo "$as_me: error: conditional \"CGEN_MAINT\" was never defined.
9051 Usually this means the macro was only invoked conditionally." >&2;}
9052 { (exit 1); exit 1; }; }
9055 : ${CONFIG_STATUS=./config.status}
9056 ac_clean_files_save
=$ac_clean_files
9057 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9058 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9059 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9060 cat >$CONFIG_STATUS <<_ACEOF
9062 # Generated by $as_me.
9063 # Run this file to recreate the current configuration.
9064 # Compiler output produced by configure, useful for debugging
9065 # configure, is in config.log if it exists.
9070 SHELL=\${CONFIG_SHELL-$SHELL}
9073 cat >>$CONFIG_STATUS <<\_ACEOF
9074 ## --------------------- ##
9075 ## M4sh Initialization. ##
9076 ## --------------------- ##
9078 # Be Bourne compatible
9079 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9082 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9083 # is contrary to our usage. Disable this feature.
9084 alias -g '${1+"$@"}'='"$@"'
9085 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9088 DUALCASE
=1; export DUALCASE
# for MKS sh
9090 # Support unset when possible.
9091 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9098 # Work around bugs in pre-3.0 UWIN ksh.
9099 $as_unset ENV MAIL MAILPATH
9106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9108 LC_TELEPHONE LC_TIME
9110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9111 eval $as_var=C
; export $as_var
9117 # Required to use basename.
9118 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9124 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9125 as_basename
=basename
9131 # Name of the executable.
9132 as_me
=`$as_basename "$0" ||
9133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9134 X"$0" : 'X\(//\)$' \| \
9135 X"$0" : 'X\(/\)$' \| \
9136 . : '\(.\)' 2>/dev/null ||
9138 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9139 /^X\/\(\/\/\)$/{ s//\1/; q; }
9140 /^X\/\(\/\).*/{ s//\1/; q; }
9144 # PATH needs CR, and LINENO needs CR and PATH.
9145 # Avoid depending upon Character Ranges.
9146 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9147 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9148 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9149 as_cr_digits
='0123456789'
9150 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9152 # The user is always right.
9153 if test "${PATH_SEPARATOR+set}" != set; then
9154 echo "#! /bin/sh" >conf$$.sh
9155 echo "exit 0" >>conf$$.sh
9157 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9168 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9169 test "x$as_lineno_1" != "x$as_lineno_2" &&
9170 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9171 # Find who we are. Look in the path if we contain no path at all
9174 *[\\/]* ) as_myself
=$0 ;;
9175 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9179 test -z "$as_dir" && as_dir
=.
9180 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9185 # We did not find ourselves, most probably we were run as `sh COMMAND'
9186 # in which case we are not to be found in the path.
9187 if test "x$as_myself" = x
; then
9190 if test ! -f "$as_myself"; then
9191 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9192 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9193 { (exit 1); exit 1; }; }
9195 case $CONFIG_SHELL in
9197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9198 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9201 test -z "$as_dir" && as_dir
=.
9202 for as_base
in sh bash ksh sh5
; do
9205 if ("$as_dir/$as_base" -c '
9208 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9209 test "x$as_lineno_1" != "x$as_lineno_2" &&
9210 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9211 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9212 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9213 CONFIG_SHELL
=$as_dir/$as_base
9215 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9223 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9224 # uniformly replaced by the line number. The first 'sed' inserts a
9225 # line-number line before each line; the second 'sed' does the real
9226 # work. The second script uses 'N' to pair each line-number line
9227 # with the numbered line, and appends trailing '-' during
9228 # substitution so that $LINENO is not a special case at line end.
9229 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9230 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9231 sed '=' <$as_myself |
9236 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9239 s,^['$as_cr_digits']*\n,,
9241 chmod +x
$as_me.lineno ||
9242 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9243 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9244 { (exit 1); exit 1; }; }
9246 # Don't try to exec as it changes $[0], causing all sort of problems
9247 # (the dirname of $[0] is not the place where we might find the
9248 # original and so on. Autoconf is especially sensible to this).
9250 # Exit status is that of the last command.
9255 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9256 *c
*,-n*) ECHO_N
= ECHO_C
='
9258 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9259 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9262 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9268 rm -f conf$$ conf$$.exe conf$$.
file
9270 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9271 # We could just check for DJGPP; but this test a) works b) is more generic
9272 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9273 if test -f conf$$.exe
; then
9274 # Don't use ln at all; we don't have any links
9279 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9284 rm -f conf$$ conf$$.exe conf$$.
file
9286 if mkdir
-p .
2>/dev
/null
; then
9289 test -d .
/-p && rmdir .
/-p
9293 as_executable_p
="test -f"
9295 # Sed expression to map a string onto a valid CPP name.
9296 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9298 # Sed expression to map a string onto a valid variable name.
9299 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9303 # We need space, tab and new line, in precisely that order.
9313 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9314 # report actual input values of CONFIG_FILES etc. instead of their
9315 # values after options handling. Logging --version etc. is OK.
9319 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9320 ## Running $as_me. ##
9325 This file was extended by $as_me, which was
9326 generated by GNU Autoconf 2.59. Invocation command line was
9328 CONFIG_FILES = $CONFIG_FILES
9329 CONFIG_HEADERS = $CONFIG_HEADERS
9330 CONFIG_LINKS = $CONFIG_LINKS
9331 CONFIG_COMMANDS = $CONFIG_COMMANDS
9335 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9339 # Files that config.status was made for.
9340 if test -n "$ac_config_files"; then
9341 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9344 if test -n "$ac_config_headers"; then
9345 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9348 if test -n "$ac_config_links"; then
9349 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9352 if test -n "$ac_config_commands"; then
9353 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9356 cat >>$CONFIG_STATUS <<\_ACEOF
9359 \`$as_me' instantiates files from templates according to the
9360 current configuration.
9362 Usage: $0 [OPTIONS] [FILE]...
9364 -h, --help print this help, then exit
9365 -V, --version print version number, then exit
9366 -q, --quiet do not print progress messages
9367 -d, --debug don't remove temporary files
9368 --recheck update $as_me by reconfiguring in the same conditions
9369 --file=FILE[:TEMPLATE]
9370 instantiate the configuration file FILE
9371 --header=FILE[:TEMPLATE]
9372 instantiate the configuration header FILE
9374 Configuration files:
9377 Configuration headers:
9380 Configuration commands:
9383 Report bugs to <bug-autoconf@gnu.org>."
9386 cat >>$CONFIG_STATUS <<_ACEOF
9389 configured by $0, generated by GNU Autoconf 2.59,
9390 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9392 Copyright (C) 2003 Free Software Foundation, Inc.
9393 This config.status script is free software; the Free Software Foundation
9394 gives unlimited permission to copy, distribute and modify it."
9399 cat >>$CONFIG_STATUS <<\_ACEOF
9400 # If no file are specified by the user, then we need to provide default
9401 # value. By we need to know if files were specified by the user.
9407 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9408 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9416 *) # This is not an option, so the user has probably given explicit
9419 ac_need_defaults
=false
;;
9423 # Handling of the options.
9425 cat >>$CONFIG_STATUS <<\_ACEOF
9426 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9428 --version |
--vers* |
-V )
9429 echo "$ac_cs_version"; exit 0 ;;
9431 # Conflict between --help and --header
9432 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9433 Try \`$0 --help' for more information." >&5
9434 echo "$as_me: error: ambiguous option: $1
9435 Try \`$0 --help' for more information." >&2;}
9436 { (exit 1); exit 1; }; };;
9437 --help |
--hel |
-h )
9438 echo "$ac_cs_usage"; exit 0 ;;
9439 --debug |
--d* |
-d )
9441 --file |
--fil |
--fi |
--f )
9443 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9444 ac_need_defaults
=false
;;
9445 --header |
--heade |
--head |
--hea )
9447 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9448 ac_need_defaults
=false
;;
9449 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9450 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9454 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9455 Try \`$0 --help' for more information." >&5
9456 echo "$as_me: error: unrecognized option: $1
9457 Try \`$0 --help' for more information." >&2;}
9458 { (exit 1); exit 1; }; } ;;
9460 *) ac_config_targets
="$ac_config_targets $1" ;;
9466 ac_configure_extra_args
=
9468 if $ac_cs_silent; then
9470 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9474 cat >>$CONFIG_STATUS <<_ACEOF
9475 if \$ac_cs_recheck; then
9476 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9477 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9482 cat >>$CONFIG_STATUS <<_ACEOF
9484 # INIT-COMMANDS section.
9487 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9494 cat >>$CONFIG_STATUS <<\_ACEOF
9495 for ac_config_target
in $ac_config_targets
9497 case "$ac_config_target" in
9498 # Handling of arguments.
9499 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9500 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
9501 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9502 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9503 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9504 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9505 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9506 { (exit 1); exit 1; }; };;
9510 # If the user did not use the arguments to specify the items to instantiate,
9511 # then the envvar interface is used. Set only those that are not.
9512 # We use the long form for the default assignment because of an extremely
9513 # bizarre bug on SunOS 4.1.3.
9514 if $ac_need_defaults; then
9515 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9516 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9517 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9520 # Have a temporary directory for convenience. Make it in the build tree
9521 # simply because there is no reason to put it here, and in addition,
9522 # creating and moving files from /tmp can sometimes cause problems.
9523 # Create a temporary directory, and hook for its removal unless debugging.
9526 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9527 trap '{ (exit 1); exit 1; }' 1 2 13 15
9530 # Create a (secure) tmp directory for tmp files.
9533 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9534 test -n "$tmp" && test -d "$tmp"
9537 tmp
=.
/confstat$$
-$RANDOM
9538 (umask 077 && mkdir
$tmp)
9541 echo "$me: cannot create a temporary directory in ." >&2
9542 { (exit 1); exit 1; }
9547 cat >>$CONFIG_STATUS <<_ACEOF
9550 # CONFIG_FILES section.
9553 # No need to generate the scripts if there are no CONFIG_FILES.
9554 # This happens for instance when ./config.status config.h
9555 if test -n "\$CONFIG_FILES"; then
9556 # Protect against being on the right side of a sed subst in config.status.
9557 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9558 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9559 s,@SHELL@,$SHELL,;t t
9560 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9561 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9562 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9563 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9564 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9565 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9566 s,@exec_prefix@,$exec_prefix,;t t
9567 s,@prefix@,$prefix,;t t
9568 s,@program_transform_name@,$program_transform_name,;t t
9569 s,@bindir@,$bindir,;t t
9570 s,@sbindir@,$sbindir,;t t
9571 s,@libexecdir@,$libexecdir,;t t
9572 s,@datadir@,$datadir,;t t
9573 s,@sysconfdir@,$sysconfdir,;t t
9574 s,@sharedstatedir@,$sharedstatedir,;t t
9575 s,@localstatedir@,$localstatedir,;t t
9576 s,@libdir@,$libdir,;t t
9577 s,@includedir@,$includedir,;t t
9578 s,@oldincludedir@,$oldincludedir,;t t
9579 s,@infodir@,$infodir,;t t
9580 s,@mandir@,$mandir,;t t
9581 s,@build_alias@,$build_alias,;t t
9582 s,@host_alias@,$host_alias,;t t
9583 s,@target_alias@,$target_alias,;t t
9585 s,@ECHO_C@,$ECHO_C,;t t
9586 s,@ECHO_N@,$ECHO_N,;t t
9587 s,@ECHO_T@,$ECHO_T,;t t
9589 s,@build@,$build,;t t
9590 s,@build_cpu@,$build_cpu,;t t
9591 s,@build_vendor@,$build_vendor,;t t
9592 s,@build_os@,$build_os,;t t
9594 s,@host_cpu@,$host_cpu,;t t
9595 s,@host_vendor@,$host_vendor,;t t
9596 s,@host_os@,$host_os,;t t
9597 s,@target@,$target,;t t
9598 s,@target_cpu@,$target_cpu,;t t
9599 s,@target_vendor@,$target_vendor,;t t
9600 s,@target_os@,$target_os,;t t
9602 s,@CFLAGS@,$CFLAGS,;t t
9603 s,@LDFLAGS@,$LDFLAGS,;t t
9604 s,@CPPFLAGS@,$CPPFLAGS,;t t
9605 s,@ac_ct_CC@,$ac_ct_CC,;t t
9606 s,@EXEEXT@,$EXEEXT,;t t
9607 s,@OBJEXT@,$OBJEXT,;t t
9608 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9609 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9610 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9611 s,@CYGPATH_W@,$CYGPATH_W,;t t
9612 s,@PACKAGE@,$PACKAGE,;t t
9613 s,@VERSION@,$VERSION,;t t
9614 s,@ACLOCAL@,$ACLOCAL,;t t
9615 s,@AUTOCONF@,$AUTOCONF,;t t
9616 s,@AUTOMAKE@,$AUTOMAKE,;t t
9617 s,@AUTOHEADER@,$AUTOHEADER,;t t
9618 s,@MAKEINFO@,$MAKEINFO,;t t
9619 s,@install_sh@,$install_sh,;t t
9620 s,@STRIP@,$STRIP,;t t
9621 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9622 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9623 s,@mkdir_p@,$mkdir_p,;t t
9625 s,@SET_MAKE@,$SET_MAKE,;t t
9626 s,@am__leading_dot@,$am__leading_dot,;t t
9627 s,@AMTAR@,$AMTAR,;t t
9628 s,@am__tar@,$am__tar,;t t
9629 s,@am__untar@,$am__untar,;t t
9630 s,@DEPDIR@,$DEPDIR,;t t
9631 s,@am__include@,$am__include,;t t
9632 s,@am__quote@,$am__quote,;t t
9633 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9634 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9635 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9636 s,@CCDEPMODE@,$CCDEPMODE,;t t
9637 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9638 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9640 s,@ac_ct_AR@,$ac_ct_AR,;t t
9641 s,@RANLIB@,$RANLIB,;t t
9642 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9644 s,@LIBTOOL@,$LIBTOOL,;t t
9645 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9646 s,@NO_WERROR@,$NO_WERROR,;t t
9647 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9648 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9649 s,@MAINT@,$MAINT,;t t
9650 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
9651 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
9652 s,@host_noncanonical@,$host_noncanonical,;t t
9653 s,@target_noncanonical@,$target_noncanonical,;t t
9654 s,@bfdlibdir@,$bfdlibdir,;t t
9655 s,@bfdincludedir@,$bfdincludedir,;t t
9657 s,@EGREP@,$EGREP,;t t
9658 s,@ALLOCA@,$ALLOCA,;t t
9659 s,@USE_NLS@,$USE_NLS,;t t
9660 s,@MSGFMT@,$MSGFMT,;t t
9661 s,@GMSGFMT@,$GMSGFMT,;t t
9662 s,@XGETTEXT@,$XGETTEXT,;t t
9663 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9664 s,@CATALOGS@,$CATALOGS,;t t
9665 s,@CATOBJEXT@,$CATOBJEXT,;t t
9666 s,@DATADIRNAME@,$DATADIRNAME,;t t
9667 s,@GMOFILES@,$GMOFILES,;t t
9668 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9669 s,@INTLDEPS@,$INTLDEPS,;t t
9670 s,@INTLLIBS@,$INTLLIBS,;t t
9671 s,@INTLOBJS@,$INTLOBJS,;t t
9672 s,@POFILES@,$POFILES,;t t
9673 s,@POSUB@,$POSUB,;t t
9674 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9675 s,@GT_NO@,$GT_NO,;t t
9676 s,@GT_YES@,$GT_YES,;t t
9677 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9679 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9680 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
9681 s,@HDEFINES@,$HDEFINES,;t t
9682 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
9683 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
9684 s,@cgendir@,$cgendir,;t t
9685 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
9686 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
9687 s,@archdefs@,$archdefs,;t t
9688 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
9689 s,@LIBOBJS@,$LIBOBJS,;t t
9690 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9695 cat >>$CONFIG_STATUS <<\_ACEOF
9696 # Split the substitutions into bite-sized pieces for seds with
9697 # small command number limits, like on Digital OSF/1 and HP-UX.
9699 ac_sed_frag
=1 # Number of current file.
9700 ac_beg
=1 # First line for current file.
9701 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9704 while $ac_more_lines; do
9705 if test $ac_beg -gt 1; then
9706 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9708 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9710 if test ! -s $tmp/subs.frag
; then
9713 # The purpose of the label and of the branching condition is to
9714 # speed up the sed processing (if there are no `@' at all, there
9715 # is no need to browse any of the substitutions).
9716 # These are the two extra sed commands mentioned above.
9718 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9719 if test -z "$ac_sed_cmds"; then
9720 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9722 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9724 ac_sed_frag
=`expr $ac_sed_frag + 1`
9726 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9729 if test -z "$ac_sed_cmds"; then
9732 fi # test -n "$CONFIG_FILES"
9735 cat >>$CONFIG_STATUS <<\_ACEOF
9736 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9737 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9739 - |
*:- |
*:-:* ) # input from stdin
9741 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9742 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9743 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9744 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9745 * ) ac_file_in
=$ac_file.
in ;;
9748 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9749 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9750 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9751 X"$ac_file" : 'X\(//\)[^/]' \| \
9752 X"$ac_file" : 'X\(//\)$' \| \
9753 X"$ac_file" : 'X\(/\)' \| \
9754 . : '\(.\)' 2>/dev/null ||
9756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9758 /^X\(\/\/\)$/{ s//\1/; q; }
9759 /^X\(\/\).*/{ s//\1/; q; }
9761 { if $as_mkdir_p; then
9766 while test ! -d "$as_dir"; do
9767 as_dirs
="$as_dir $as_dirs"
9768 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9769 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9770 X"$as_dir" : 'X\(//\)[^/]' \| \
9771 X"$as_dir" : 'X\(//\)$' \| \
9772 X"$as_dir" : 'X\(/\)' \| \
9773 . : '\(.\)' 2>/dev/null ||
9775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9777 /^X\(\/\/\)$/{ s//\1/; q; }
9778 /^X\(\/\).*/{ s//\1/; q; }
9781 test ! -n "$as_dirs" || mkdir
$as_dirs
9782 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9783 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9784 { (exit 1); exit 1; }; }; }
9788 if test "$ac_dir" != .
; then
9789 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9790 # A "../" for each directory in $ac_dir_suffix.
9791 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9793 ac_dir_suffix
= ac_top_builddir
=
9797 .
) # No --srcdir option. We are building in place.
9799 if test -z "$ac_top_builddir"; then
9802 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9804 [\\/]* | ?
:[\\/]* ) # Absolute path.
9805 ac_srcdir
=$srcdir$ac_dir_suffix;
9806 ac_top_srcdir
=$srcdir ;;
9808 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9809 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9812 # Do not use `cd foo && pwd` to compute absolute paths, because
9813 # the directories may not exist.
9815 .
) ac_abs_builddir
="$ac_dir";;
9818 .
) ac_abs_builddir
=`pwd`;;
9819 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9820 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9823 case $ac_abs_builddir in
9824 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9826 case ${ac_top_builddir}.
in
9827 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9828 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9829 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9832 case $ac_abs_builddir in
9833 .
) ac_abs_srcdir
=$ac_srcdir;;
9836 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9837 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9838 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9841 case $ac_abs_builddir in
9842 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9844 case $ac_top_srcdir in
9845 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9846 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9847 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9853 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9854 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9857 if test x
"$ac_file" != x-
; then
9858 { echo "$as_me:$LINENO: creating $ac_file" >&5
9859 echo "$as_me: creating $ac_file" >&6;}
9862 # Let's still pretend it is `configure' which instantiates (i.e., don't
9863 # use $as_me), people would be surprised to read:
9864 # /* config.h. Generated by config.status. */
9865 if test x
"$ac_file" = x-
; then
9868 configure_input
="$ac_file. "
9870 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9871 sed 's,.*/,,'` by configure."
9873 # First look for the input files in the build tree, otherwise in the
9875 ac_file_inputs
=`IFS=:
9876 for f in $ac_file_in; do
9878 -) echo $tmp/stdin ;;
9880 # Absolute (can't be DOS-style, as IFS=:)
9881 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9882 echo "$as_me: error: cannot find input file: $f" >&2;}
9883 { (exit 1); exit 1; }; }
9886 if test -f "$f"; then
9889 elif test -f "$srcdir/$f"; then
9894 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9895 echo "$as_me: error: cannot find input file: $f" >&2;}
9896 { (exit 1); exit 1; }; }
9899 done` ||
{ (exit 1); exit 1; }
9901 cat >>$CONFIG_STATUS <<_ACEOF
9905 cat >>$CONFIG_STATUS <<\_ACEOF
9907 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9908 s
,@configure_input@
,$configure_input,;t t
9909 s
,@srcdir@
,$ac_srcdir,;t t
9910 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9911 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9912 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9913 s
,@builddir@
,$ac_builddir,;t t
9914 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9915 s
,@top_builddir@
,$ac_top_builddir,;t t
9916 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9917 s
,@INSTALL@
,$ac_INSTALL,;t t
9918 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9920 if test x"$ac_file" != x-; then
9921 mv $tmp/out $ac_file
9929 cat >>$CONFIG_STATUS <<\_ACEOF
9932 # CONFIG_HEADER section.
9935 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9936 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9938 # ac_d sets the value in "#define NAME VALUE" lines.
9939 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9940 ac_dB
='[ ].*$,\1#\2'
9943 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9944 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9945 ac_uB
='$,\1#\2define\3'
9949 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9950 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9952 - |
*:- |
*:-:* ) # input from stdin
9954 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9955 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9956 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9957 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9958 * ) ac_file_in
=$ac_file.
in ;;
9961 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9962 echo "$as_me: creating $ac_file" >&6;}
9964 # First look for the input files in the build tree, otherwise in the
9966 ac_file_inputs
=`IFS=:
9967 for f in $ac_file_in; do
9969 -) echo $tmp/stdin ;;
9971 # Absolute (can't be DOS-style, as IFS=:)
9972 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9973 echo "$as_me: error: cannot find input file: $f" >&2;}
9974 { (exit 1); exit 1; }; }
9975 # Do quote $f, to prevent DOS paths from being IFS'd.
9978 if test -f "$f"; then
9981 elif test -f "$srcdir/$f"; then
9986 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9987 echo "$as_me: error: cannot find input file: $f" >&2;}
9988 { (exit 1); exit 1; }; }
9991 done` ||
{ (exit 1); exit 1; }
9992 # Remove the trailing spaces.
9993 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9997 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9998 # `conftest.undefs', that substitutes the proper values into
9999 # config.h.in to produce config.h. The first handles `#define'
10000 # templates, and the second `#undef' templates.
10001 # And first: Protect against being on the right side of a sed subst in
10002 # config.status. Protect against being in an unquoted here document
10003 # in config.status.
10004 rm -f conftest.defines conftest.undefs
10005 # Using a here document instead of a string reduces the quoting nightmare.
10006 # Putting comments in sed scripts is not portable.
10008 # `end' is used to avoid that the second main sed command (meant for
10009 # 0-ary CPP macros) applies to n-ary macro definitions.
10010 # See the Autoconf documentation for `clear'.
10011 cat >confdef2sed.
sed <<\_ACEOF
10016 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10018 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10021 # If some macros were called several times there might be several times
10022 # the same #defines, which is useless. Nevertheless, we may not want to
10023 # sort them, since we want the *last* AC-DEFINE to be honored.
10024 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10025 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10026 rm -f confdef2sed.sed
10028 # This sed command replaces #undef with comments. This is necessary, for
10029 # example, in the case of _POSIX_SOURCE, which is predefined and required
10030 # on some systems where configure will not decide to define it.
10031 cat >>conftest.undefs <<\_ACEOF
10032 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10035 # Break up conftest.defines because some shells have a limit on the size
10036 # of here documents, and old seds have small limits too (100 cmds).
10037 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10038 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10039 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10040 echo ' :' >>$CONFIG_STATUS
10041 rm -f conftest.tail
10042 while grep . conftest.defines >/dev/null
10044 # Write a limited-size here document to $tmp/defines.sed.
10045 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10046 # Speed up: don't consider the non `#define' lines.
10047 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10048 # Work around the forget-to-reset-the-flag bug.
10049 echo 't clr' >>$CONFIG_STATUS
10050 echo ': clr' >>$CONFIG_STATUS
10051 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10053 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10055 mv $tmp/out $tmp/in
10057 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10058 rm -f conftest.defines
10059 mv conftest.
tail conftest.defines
10061 rm -f conftest.defines
10062 echo ' fi # grep' >>$CONFIG_STATUS
10063 echo >>$CONFIG_STATUS
10065 # Break up conftest.undefs because some shells have a limit on the size
10066 # of here documents, and old seds have small limits too (100 cmds).
10067 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10068 rm -f conftest.
tail
10069 while grep . conftest.undefs
>/dev
/null
10071 # Write a limited-size here document to $tmp/undefs.sed.
10072 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10073 # Speed up: don't consider the non
`#undef'
10074 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10075 # Work around the forget-to-reset-the-flag bug.
10076 echo 't clr' >>$CONFIG_STATUS
10077 echo ': clr' >>$CONFIG_STATUS
10078 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10080 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10082 mv $tmp/out $tmp/in
10084 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10085 rm -f conftest.undefs
10086 mv conftest.tail conftest.undefs
10088 rm -f conftest.undefs
10090 cat >>$CONFIG_STATUS <<\_ACEOF
10091 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10092 # use $as_me), people would be surprised to read:
10093 # /* config.h. Generated by config.status. */
10094 if test x
"$ac_file" = x-
; then
10095 echo "/* Generated by configure. */" >$tmp/config.h
10097 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10099 cat $tmp/in >>$tmp/config.h
10101 if test x
"$ac_file" != x-
; then
10102 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10103 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10104 echo "$as_me: $ac_file is unchanged" >&6;}
10106 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10108 X"$ac_file" : 'X\(//\)[^/]' \| \
10109 X"$ac_file" : 'X\(//\)$' \| \
10110 X"$ac_file" : 'X\(/\)' \| \
10111 . : '\(.\)' 2>/dev/null ||
10113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10115 /^X\(\/\/\)$/{ s//\1/; q; }
10116 /^X\(\/\).*/{ s//\1/; q; }
10118 { if $as_mkdir_p; then
10123 while test ! -d "$as_dir"; do
10124 as_dirs
="$as_dir $as_dirs"
10125 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10127 X"$as_dir" : 'X\(//\)[^/]' \| \
10128 X"$as_dir" : 'X\(//\)$' \| \
10129 X"$as_dir" : 'X\(/\)' \| \
10130 . : '\(.\)' 2>/dev/null ||
10132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10134 /^X\(\/\/\)$/{ s//\1/; q; }
10135 /^X\(\/\).*/{ s//\1/; q; }
10138 test ! -n "$as_dirs" || mkdir
$as_dirs
10139 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10141 { (exit 1); exit 1; }; }; }
10144 mv $tmp/config.h
$ac_file
10148 rm -f $tmp/config.h
10150 # Compute $ac_file's index in $config_headers.
10152 for _am_header
in $config_headers :; do
10153 case $_am_header in
10154 $ac_file |
$ac_file:* )
10157 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10160 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10161 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10162 X$ac_file : 'X\(//\)[^/]' \| \
10163 X$ac_file : 'X\(//\)$' \| \
10164 X$ac_file : 'X\(/\)' \| \
10165 . : '\(.\)' 2>/dev/null ||
10167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10169 /^X\(\/\/\)$/{ s//\1/; q; }
10170 /^X\(\/\).*/{ s//\1/; q; }
10171 s/.*/./; q'`/stamp-h
$_am_stamp_count
10174 cat >>$CONFIG_STATUS <<\_ACEOF
10177 # CONFIG_COMMANDS section.
10179 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10180 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10181 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10182 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10183 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10184 X"$ac_dest" : 'X\(//\)[^/]' \| \
10185 X"$ac_dest" : 'X\(//\)$' \| \
10186 X"$ac_dest" : 'X\(/\)' \| \
10187 . : '\(.\)' 2>/dev/null ||
10189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10191 /^X\(\/\/\)$/{ s//\1/; q; }
10192 /^X\(\/\).*/{ s//\1/; q; }
10194 { if $as_mkdir_p; then
10199 while test ! -d "$as_dir"; do
10200 as_dirs
="$as_dir $as_dirs"
10201 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10203 X"$as_dir" : 'X\(//\)[^/]' \| \
10204 X"$as_dir" : 'X\(//\)$' \| \
10205 X"$as_dir" : 'X\(/\)' \| \
10206 . : '\(.\)' 2>/dev/null ||
10208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10210 /^X\(\/\/\)$/{ s//\1/; q; }
10211 /^X\(\/\).*/{ s//\1/; q; }
10214 test ! -n "$as_dirs" || mkdir
$as_dirs
10215 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10216 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10217 { (exit 1); exit 1; }; }; }
10221 if test "$ac_dir" != .
; then
10222 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10223 # A "../" for each directory in $ac_dir_suffix.
10224 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10226 ac_dir_suffix
= ac_top_builddir
=
10230 .
) # No --srcdir option. We are building in place.
10232 if test -z "$ac_top_builddir"; then
10235 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10237 [\\/]* | ?
:[\\/]* ) # Absolute path.
10238 ac_srcdir
=$srcdir$ac_dir_suffix;
10239 ac_top_srcdir
=$srcdir ;;
10240 *) # Relative path.
10241 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10242 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10245 # Do not use `cd foo && pwd` to compute absolute paths, because
10246 # the directories may not exist.
10248 .
) ac_abs_builddir
="$ac_dir";;
10251 .
) ac_abs_builddir
=`pwd`;;
10252 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10253 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10256 case $ac_abs_builddir in
10257 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10259 case ${ac_top_builddir}.
in
10260 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10261 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10262 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10265 case $ac_abs_builddir in
10266 .
) ac_abs_srcdir
=$ac_srcdir;;
10269 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10270 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10271 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10274 case $ac_abs_builddir in
10275 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10277 case $ac_top_srcdir in
10278 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10279 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10280 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10285 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10286 echo "$as_me: executing $ac_dest commands" >&6;}
10288 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10289 # Strip MF so we end up with the name of the file.
10290 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10291 # Check whether this is an Automake generated Makefile or not.
10292 # We used to match only the files named `Makefile.in', but
10293 # some people rename them; so instead we look at the file content.
10294 # Grep'ing the first line is not enough: some people post-process
10295 # each Makefile.in and add a new line on top of each file to say so.
10296 # So let's grep whole file.
10297 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10298 dirpart
=`(dirname "$mf") 2>/dev/null ||
10299 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10300 X"$mf" : 'X\(//\)[^/]' \| \
10301 X"$mf" : 'X\(//\)$' \| \
10302 X"$mf" : 'X\(/\)' \| \
10303 . : '\(.\)' 2>/dev/null ||
10305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10307 /^X\(\/\/\)$/{ s//\1/; q; }
10308 /^X\(\/\).*/{ s//\1/; q; }
10313 # Extract the definition of DEPDIR, am__include, and am__quote
10314 # from the Makefile without running `make'.
10315 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10316 test -z "$DEPDIR" && continue
10317 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10318 test -z "am__include" && continue
10319 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10320 # When using ansi2knr, U may be empty or an underscore; expand it
10321 U
=`sed -n 's/^U = //p' < "$mf"`
10322 # Find all dependency output files, they are included files with
10323 # $(DEPDIR) in their names. We invoke sed twice because it is the
10324 # simplest approach to changing $(DEPDIR) to its actual value in the
10326 for file in `sed -n "
10327 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10328 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10329 # Make sure the directory exists.
10330 test -f "$dirpart/$file" && continue
10331 fdir
=`(dirname "$file") 2>/dev/null ||
10332 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10333 X"$file" : 'X\(//\)[^/]' \| \
10334 X"$file" : 'X\(//\)$' \| \
10335 X"$file" : 'X\(/\)' \| \
10336 . : '\(.\)' 2>/dev/null ||
10338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10340 /^X\(\/\/\)$/{ s//\1/; q; }
10341 /^X\(\/\).*/{ s//\1/; q; }
10343 { if $as_mkdir_p; then
10344 mkdir
-p $dirpart/$fdir
10346 as_dir
=$dirpart/$fdir
10348 while test ! -d "$as_dir"; do
10349 as_dirs
="$as_dir $as_dirs"
10350 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10352 X"$as_dir" : 'X\(//\)[^/]' \| \
10353 X"$as_dir" : 'X\(//\)$' \| \
10354 X"$as_dir" : 'X\(/\)' \| \
10355 . : '\(.\)' 2>/dev/null ||
10357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10358 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10359 /^X\(\/\/\)$/{ s//\1/; q; }
10360 /^X\(\/\).*/{ s//\1/; q; }
10363 test ! -n "$as_dirs" || mkdir
$as_dirs
10364 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10365 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10366 { (exit 1); exit 1; }; }; }
10368 # echo "creating $dirpart/$file"
10369 echo '# dummy' > "$dirpart/$file"
10373 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
10378 cat >>$CONFIG_STATUS <<\_ACEOF
10380 { (exit 0); exit 0; }
10382 chmod +x
$CONFIG_STATUS
10383 ac_clean_files
=$ac_clean_files_save
10386 # configure is writing to config.log, and then calls config.status.
10387 # config.status does its own redirection, appending to config.log.
10388 # Unfortunately, on DOS this fails, as config.log is still kept open
10389 # by configure, so config.status won't be able to write to it; its
10390 # output is simply discarded. So we exec the FD to /dev/null,
10391 # effectively closing config.log, so it can be properly (re)opened and
10392 # appended to by config.status. When coming back to configure, we
10393 # need to make the FD available again.
10394 if test "$no_create" != yes; then
10396 ac_config_status_args
=
10397 test "$silent" = yes &&
10398 ac_config_status_args
="$ac_config_status_args --quiet"
10400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10403 # would make configure fail if this is the last instruction.
10404 $ac_cs_success ||
{ (exit 1); exit 1; }