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 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-build-warnings Enable build-time compiler warnings
if gcc is used
862 --enable-maintainer-mode enable make rules and dependencies not useful
863 (and sometimes confusing
) to the casual installer
864 --enable-install-libbfd controls installation of libbfd and related headers
865 --disable-nls do not use Native Language Support
866 --enable-cgen-maint=dir build cgen generated files
869 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
870 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
871 --with-gnu-ld assume the C compiler uses GNU ld default
=no
872 --with-pic try to use only PIC
/non-PIC objects default
=use both
873 --with-included-gettext use the GNU
gettext library included here
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
884 Use these variables to override the choices made by
`configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
890 if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
897 if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
902 ac_dir_suffix= ac_top_builddir=
906 .) # No --srcdir option. We are building in place.
908 if test -z "$ac_top_builddir"; then
911 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
921 # Do not use `cd foo
&& pwd` to compute absolute paths, because
922 # the directories may not exist.
924 .) ac_abs_builddir="$ac_dir";;
927 .) ac_abs_builddir=`pwd`;;
928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
929 *) ac_abs_builddir=`pwd`/"$ac_dir";;
932 case $ac_abs_builddir in
933 .) ac_abs_top_builddir=${ac_top_builddir}.;;
935 case ${ac_top_builddir}. in
936 .) ac_abs_top_builddir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
941 case $ac_abs_builddir in
942 .) ac_abs_srcdir=$ac_srcdir;;
945 .) ac_abs_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
950 case $ac_abs_builddir in
951 .) ac_abs_top_srcdir=$ac_top_srcdir;;
953 case $ac_top_srcdir in
954 .) ac_abs_top_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu; then
964 $SHELL $ac_srcdir/configure.gnu --help=recursive
965 elif test -f $ac_srcdir/configure; then
967 $SHELL $ac_srcdir/configure --help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.in; then
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
979 test -n "$ac_init_help" && exit 0
980 if $ac_init_version; then
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by $as_me, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1325 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1326 if test -f $ac_dir/install-sh; then
1328 ac_install_sh="$ac_aux_dir/install-sh -c"
1330 elif test -f $ac_dir/install.sh; then
1332 ac_install_sh="$ac_aux_dir/install.sh -c"
1334 elif test -f $ac_dir/shtool; then
1336 ac_install_sh="$ac_aux_dir/shtool install -c"
1340 if test -z "$ac_aux_dir"; then
1341 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1342 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1343 { (exit 1); exit 1; }; }
1345 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1346 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1347 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1349 # Make sure we can run config.sub.
1350 $ac_config_sub sun4 >/dev/null 2>&1 ||
1351 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1352 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1353 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: checking build system type" >&5
1356 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1357 if test "${ac_cv_build+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 ac_cv_build_alias=$build_alias
1361 test -z "$ac_cv_build_alias" &&
1362 ac_cv_build_alias=`$ac_config_guess`
1363 test -z "$ac_cv_build_alias" &&
1364 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1365 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1366 { (exit 1); exit 1; }; }
1367 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1368 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1369 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1370 { (exit 1); exit 1; }; }
1373 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1374 echo "${ECHO_T}$ac_cv_build" >&6
1376 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1377 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1378 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1381 echo "$as_me:$LINENO: checking host system type" >&5
1382 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1383 if test "${ac_cv_host+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 ac_cv_host_alias=$host_alias
1387 test -z "$ac_cv_host_alias" &&
1388 ac_cv_host_alias=$ac_cv_build_alias
1389 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1390 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1391 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1392 { (exit 1); exit 1; }; }
1395 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1396 echo "${ECHO_T}$ac_cv_host" >&6
1398 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1399 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1400 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1403 echo "$as_me:$LINENO: checking target system type" >&5
1404 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1405 if test "${ac_cv_target+set}" = set; then
1406 echo $ECHO_N "(cached) $ECHO_C" >&6
1408 ac_cv_target_alias=$target_alias
1409 test "x$ac_cv_target_alias" = "x" &&
1410 ac_cv_target_alias=$ac_cv_host_alias
1411 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1412 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1413 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1414 { (exit 1); exit 1; }; }
1417 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1418 echo "${ECHO_T}$ac_cv_target" >&6
1419 target=$ac_cv_target
1420 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1421 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1422 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1425 # The aliases save the names the user supplied, while $host etc.
1426 # will get canonicalized.
1427 test -n "$target_alias" &&
1428 test "$program_prefix$program_suffix$program_transform_name" = \
1430 program_prefix=${target_alias}-
1432 ac_cpp='$CPP $CPPFLAGS'
1433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1436 if test -n "$ac_tool_prefix"; then
1437 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1438 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1439 echo "$as_me:$LINENO: checking for $ac_word" >&5
1440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1441 if test "${ac_cv_prog_CC+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 if test -n "$CC"; then
1445 ac_cv_prog_CC="$CC" # Let the user override the test.
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 test -z "$as_dir" && as_dir=.
1452 for ac_exec_ext in '' $ac_executable_extensions; do
1453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1454 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 if test -n "$CC"; then
1465 echo "$as_me:$LINENO: result: $CC" >&5
1466 echo "${ECHO_T}$CC" >&6
1468 echo "$as_me:$LINENO: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1473 if test -z "$ac_cv_prog_CC"; then
1475 # Extract the first word of "gcc", so it can be a program name with args.
1476 set dummy gcc; ac_word=$2
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$ac_ct_CC"; then
1483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 test -z "$as_dir" && as_dir=.
1490 for ac_exec_ext in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492 ac_cv_prog_ac_ct_CC="gcc"
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1502 if test -n "$ac_ct_CC"; then
1503 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1504 echo "${ECHO_T}$ac_ct_CC" >&6
1506 echo "$as_me:$LINENO: result: no" >&5
1507 echo "${ECHO_T}no" >&6
1515 if test -z "$CC"; then
1516 if test -n "$ac_tool_prefix"; then
1517 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}cc; ac_word=$2
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1521 if test "${ac_cv_prog_CC+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 if test -n "$CC"; then
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 test -z "$as_dir" && as_dir=.
1532 for ac_exec_ext in '' $ac_executable_extensions; do
1533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1534 ac_cv_prog_CC="${ac_tool_prefix}cc"
1535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544 if test -n "$CC"; then
1545 echo "$as_me:$LINENO: result: $CC" >&5
1546 echo "${ECHO_T}$CC" >&6
1548 echo "$as_me:$LINENO: result: no" >&5
1549 echo "${ECHO_T}no" >&6
1553 if test -z "$ac_cv_prog_CC"; then
1555 # Extract the first word of "cc", so it can be a program name with args.
1556 set dummy cc; ac_word=$2
1557 echo "$as_me:$LINENO: checking for $ac_word" >&5
1558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 if test -n "$ac_ct_CC"; then
1563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir=.
1570 for ac_exec_ext in '' $ac_executable_extensions; do
1571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572 ac_cv_prog_ac_ct_CC="cc"
1573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1582 if test -n "$ac_ct_CC"; then
1583 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1584 echo "${ECHO_T}$ac_ct_CC" >&6
1586 echo "$as_me:$LINENO: result: no" >&5
1587 echo "${ECHO_T}no" >&6
1596 if test -z "$CC"; then
1597 # Extract the first word of "cc", so it can be a program name with args.
1598 set dummy cc; ac_word=$2
1599 echo "$as_me:$LINENO: checking for $ac_word" >&5
1600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1601 if test "${ac_cv_prog_CC+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 if test -n "$CC"; then
1605 ac_cv_prog_CC="$CC" # Let the user override the test.
1608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 for ac_exec_ext in '' $ac_executable_extensions; do
1614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1615 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1616 ac_prog_rejected=yes
1620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 if test $ac_prog_rejected = yes; then
1627 # We found a bogon in the path, so make sure we never use it.
1628 set dummy $ac_cv_prog_CC
1630 if test $# != 0; then
1631 # We chose a different compiler from the bogus one.
1632 # However, it has the same basename, so the bogon will be chosen
1633 # first if we set CC to just the basename; use the full file name.
1635 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1641 if test -n "$CC"; then
1642 echo "$as_me:$LINENO: result: $CC" >&5
1643 echo "${ECHO_T}$CC" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$CC"; then
1651 if test -n "$ac_tool_prefix"; then
1654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658 if test "${ac_cv_prog_CC+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 if test -n "$CC"; then
1662 ac_cv_prog_CC="$CC" # Let the user override the test.
1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir=.
1669 for ac_exec_ext in '' $ac_executable_extensions; do
1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681 if test -n "$CC"; then
1682 echo "$as_me:$LINENO: result: $CC" >&5
1683 echo "${ECHO_T}$CC" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1689 test -n "$CC" && break
1692 if test -z "$CC"; then
1696 # Extract the first word of "$ac_prog", so it can be a program name with args.
1697 set dummy $ac_prog; ac_word=$2
1698 echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$ac_ct_CC"; then
1704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713 ac_cv_prog_ac_ct_CC="$ac_prog"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1723 if test -n "$ac_ct_CC"; then
1724 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1725 echo "${ECHO_T}$ac_ct_CC" >&6
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1731 test -n "$ac_ct_CC" && break
1740 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1741 See \`config.log' for more details.
" >&5
1742 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1743 See \
`config.log' for more details." >&2;}
1744 { (exit 1); exit 1; }; }
1746 # Provide some information about the compiler.
1747 echo "$as_me:$LINENO:" \
1748 "checking for C compiler version" >&5
1749 ac_compiler=`set X
$ac_compile; echo $2`
1750 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1751 (eval $ac_compiler --version </dev/null >&5) 2>&5
1753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1754 (exit $ac_status); }
1755 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1756 (eval $ac_compiler -v </dev/null >&5) 2>&5
1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 (exit $ac_status); }
1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1761 (eval $ac_compiler -V </dev/null >&5) 2>&5
1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1764 (exit $ac_status); }
1766 cat >conftest.$ac_ext <<_ACEOF
1769 cat confdefs.h >>conftest.$ac_ext
1770 cat >>conftest.$ac_ext <<_ACEOF
1771 /* end confdefs.h. */
1781 ac_clean_files_save=$ac_clean_files
1782 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1783 # Try to create an executable without -o first, disregard a.out.
1784 # It will help us diagnose broken compilers, and finding out an intuition
1786 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1787 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1788 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1789 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1790 (eval $ac_link_default) 2>&5
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }; then
1794 # Find the output, starting from the most likely. This scheme is
1795 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1798 # Be careful to initialize this variable, since it used to be cached.
1799 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1801 # b.out is created by i960 compilers.
1802 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1804 test -f "$ac_file" || continue
1806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1809 # This is the source file.
1812 # We found the default executable, but exeext='' is most
1816 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1817 # FIXME: I believe we export ac_cv_exeext for Libtool,
1818 # but it would be cool to find out if it's true. Does anybody
1819 # maintain Libtool? --akim.
1827 echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1830 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1831 See \`config.log
' for more details." >&5
1832 echo "$as_me: error: C compiler cannot create executables
1833 See \`config.log' for more details.
" >&2;}
1834 { (exit 77); exit 77; }; }
1837 ac_exeext=$ac_cv_exeext
1838 echo "$as_me:$LINENO: result
: $ac_file" >&5
1839 echo "${ECHO_T}$ac_file" >&6
1841 # Check the compiler produces executables we can run. If not, either
1842 # the compiler is broken, or we cross compile.
1843 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1844 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1845 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1846 # If not cross compiling, check that we can run a simple program.
1847 if test "$cross_compiling" != yes; then
1848 if { ac_try='./$ac_file'
1849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1853 (exit $ac_status); }; }; then
1856 if test "$cross_compiling" = maybe; then
1859 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1860 If you meant to cross compile
, use \
`--host'.
1861 See \`config.log
' for more details." >&5
1862 echo "$as_me: error: cannot run C compiled programs.
1863 If you meant to cross compile, use \`--host'.
1864 See \
`config.log' for more details." >&2;}
1865 { (exit 1); exit 1; }; }
1869 echo "$as_me:$LINENO: result: yes" >&5
1870 echo "${ECHO_T}yes" >&6
1872 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1873 ac_clean_files=$ac_clean_files_save
1874 # Check the compiler produces executables we can run. If not, either
1875 # the compiler is broken, or we cross compile.
1876 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1877 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1878 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1879 echo "${ECHO_T}$cross_compiling" >&6
1881 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1882 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1884 (eval $ac_link) 2>&5
1886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1887 (exit $ac_status); }; then
1888 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1889 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1890 # work properly (i.e., refer to `conftest.exe'), while it won't with
1892 for ac_file
in conftest.exe conftest conftest.
*; do
1893 test -f "$ac_file" ||
continue
1895 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1896 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1903 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1904 See \`config.log' for more details." >&5
1905 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1906 See \`config.log' for more details." >&2;}
1907 { (exit 1); exit 1; }; }
1910 rm -f conftest
$ac_cv_exeext
1911 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1912 echo "${ECHO_T}$ac_cv_exeext" >&6
1914 rm -f conftest.
$ac_ext
1915 EXEEXT
=$ac_cv_exeext
1917 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1918 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1919 if test "${ac_cv_objext+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 cat >conftest.
$ac_ext <<_ACEOF
1925 cat confdefs.h
>>conftest.
$ac_ext
1926 cat >>conftest.
$ac_ext <<_ACEOF
1927 /* end confdefs.h. */
1937 rm -f conftest.o conftest.obj
1938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1939 (eval $ac_compile) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; then
1943 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1945 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1946 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.
$ac_ext >&5
1954 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1961 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1963 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1964 echo "${ECHO_T}$ac_cv_objext" >&6
1965 OBJEXT
=$ac_cv_objext
1967 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1968 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1969 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.
$ac_ext <<_ACEOF
1975 cat confdefs.h
>>conftest.
$ac_ext
1976 cat >>conftest.
$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1990 rm -f conftest.
$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>conftest.er1
1994 grep -v '^ *+' conftest.er1
>conftest.err
1996 cat conftest.err
>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try
='test -z "$ac_c_werror_flag"
2000 || test ! -s conftest.err'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; } &&
2006 { ac_try
='test -s conftest.$ac_objext'
2007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; }; then
2014 echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.
$ac_ext >&5
2019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2020 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2023 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2024 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2025 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2026 ac_test_CFLAGS
=${CFLAGS+set}
2027 ac_save_CFLAGS
=$CFLAGS
2029 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2030 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2031 if test "${ac_cv_prog_cc_g+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 cat >conftest.
$ac_ext <<_ACEOF
2037 cat confdefs.h
>>conftest.
$ac_ext
2038 cat >>conftest.
$ac_ext <<_ACEOF
2039 /* end confdefs.h. */
2049 rm -f conftest.
$ac_objext
2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051 (eval $ac_compile) 2>conftest.er1
2053 grep -v '^ *+' conftest.er1
>conftest.err
2055 cat conftest.err
>&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); } &&
2058 { ac_try
='test -z "$ac_c_werror_flag"
2059 || test ! -s conftest.err'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; } &&
2065 { ac_try
='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2073 echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.
$ac_ext >&5
2078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2080 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2081 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2082 if test "$ac_test_CFLAGS" = set; then
2083 CFLAGS
=$ac_save_CFLAGS
2084 elif test $ac_cv_prog_cc_g = yes; then
2085 if test "$GCC" = yes; then
2091 if test "$GCC" = yes; then
2097 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2098 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2099 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 ac_cv_prog_cc_stdc
=no
2104 cat >conftest.
$ac_ext <<_ACEOF
2107 cat confdefs.h
>>conftest.
$ac_ext
2108 cat >>conftest.
$ac_ext <<_ACEOF
2109 /* end confdefs.h. */
2112 #include <sys/types.h>
2113 #include <sys/stat.h>
2114 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2115 struct buf { int x; };
2116 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2117 static char *e (p, i)
2123 static char *f (char * (*g) (char **, int), char **p, ...)
2128 s = g (p, va_arg (v,int));
2133 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2134 function prototypes and stuff, but not '\xHH' hex character constants.
2135 These don't provoke an error unfortunately, instead are silently treated
2136 as 'x'. The following induces an error, until -std1 is added to get
2137 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2138 array size at least. It's necessary to write '\x00'==0 to get something
2139 that's true only with -std1. */
2140 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2142 int test (int i, double x);
2143 struct s1 {int (*f) (int a);};
2144 struct s2 {int (*f) (double a);};
2145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2156 # Don't try gcc -ansi; that turns off useful extensions and
2157 # breaks some systems' header files.
2158 # AIX -qlanglvl=ansi
2159 # Ultrix and OSF/1 -std1
2160 # HP-UX 10.20 and later -Ae
2161 # HP-UX older versions -Aa -D_HPUX_SOURCE
2162 # SVR4 -Xc -D__EXTENSIONS__
2163 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2165 CC
="$ac_save_CC $ac_arg"
2166 rm -f conftest.
$ac_objext
2167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 (eval $ac_compile) 2>conftest.er1
2170 grep -v '^ *+' conftest.er1
>conftest.err
2172 cat conftest.err
>&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); } &&
2175 { ac_try
='test -z "$ac_c_werror_flag"
2176 || test ! -s conftest.err'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; } &&
2182 { ac_try
='test -s conftest.$ac_objext'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; }; then
2188 ac_cv_prog_cc_stdc
=$ac_arg
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2195 rm -f conftest.err conftest.
$ac_objext
2197 rm -f conftest.
$ac_ext conftest.
$ac_objext
2202 case "x$ac_cv_prog_cc_stdc" in
2204 echo "$as_me:$LINENO: result: none needed" >&5
2205 echo "${ECHO_T}none needed" >&6 ;;
2207 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2208 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2209 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2212 # Some people use a C++ compiler to compile C. Since we use `exit',
2213 # in C++ we need to declare it. In case someone uses the same compiler
2214 # for both compiling C and C++ we need to have the C++ compiler decide
2215 # the declaration of exit, since it's the most demanding environment.
2216 cat >conftest.
$ac_ext <<_ACEOF
2221 rm -f conftest.
$ac_objext
2222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223 (eval $ac_compile) 2>conftest.er1
2225 grep -v '^ *+' conftest.er1
>conftest.err
2227 cat conftest.err
>&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); } &&
2230 { ac_try
='test -z "$ac_c_werror_flag"
2231 || test ! -s conftest.err'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; } &&
2237 { ac_try
='test -s conftest.$ac_objext'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; }; then
2243 for ac_declaration
in \
2245 'extern "C" void std::exit (int) throw (); using std::exit;' \
2246 'extern "C" void std::exit (int); using std::exit;' \
2247 'extern "C" void exit (int) throw ();' \
2248 'extern "C" void exit (int);' \
2251 cat >conftest.
$ac_ext <<_ACEOF
2254 cat confdefs.h
>>conftest.
$ac_ext
2255 cat >>conftest.
$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2267 rm -f conftest.
$ac_objext
2268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2269 (eval $ac_compile) 2>conftest.er1
2271 grep -v '^ *+' conftest.er1
>conftest.err
2273 cat conftest.err
>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } &&
2276 { ac_try
='test -z "$ac_c_werror_flag"
2277 || test ! -s conftest.err'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; } &&
2283 { ac_try
='test -s conftest.$ac_objext'
2284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }; }; then
2291 echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.
$ac_ext >&5
2296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 cat >conftest.
$ac_ext <<_ACEOF
2300 cat confdefs.h
>>conftest.
$ac_ext
2301 cat >>conftest.
$ac_ext <<_ACEOF
2302 /* end confdefs.h. */
2312 rm -f conftest.
$ac_objext
2313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2314 (eval $ac_compile) 2>conftest.er1
2316 grep -v '^ *+' conftest.er1
>conftest.err
2318 cat conftest.err
>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); } &&
2321 { ac_try
='test -z "$ac_c_werror_flag"
2322 || test ! -s conftest.err'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; } &&
2328 { ac_try
='test -s conftest.$ac_objext'
2329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; }; then
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.
$ac_ext >&5
2340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2343 if test -n "$ac_declaration"; then
2344 echo '#ifdef __cplusplus' >>confdefs.h
2345 echo $ac_declaration >>confdefs.h
2346 echo '#endif' >>confdefs.h
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.
$ac_ext >&5
2354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2356 ac_cpp
='$CPP $CPPFLAGS'
2357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2362 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2363 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2364 if test "${ac_cv_search_strerror+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 ac_func_search_save_LIBS
=$LIBS
2368 ac_cv_search_strerror
=no
2369 cat >conftest.
$ac_ext <<_ACEOF
2372 cat confdefs.h
>>conftest.
$ac_ext
2373 cat >>conftest.
$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2376 /* Override any gcc2 internal prototype to avoid an error. */
2380 /* We use char because int might match the return type of a gcc2
2381 builtin and then its argument prototype would still apply. */
2391 rm -f conftest.
$ac_objext conftest
$ac_exeext
2392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2393 (eval $ac_link) 2>conftest.er1
2395 grep -v '^ *+' conftest.er1
>conftest.err
2397 cat conftest.err
>&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } &&
2400 { ac_try
='test -z "$ac_c_werror_flag"
2401 || test ! -s conftest.err'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; } &&
2407 { ac_try
='test -s conftest$ac_exeext'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2413 ac_cv_search_strerror
="none required"
2415 echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.
$ac_ext >&5
2419 rm -f conftest.err conftest.
$ac_objext \
2420 conftest
$ac_exeext conftest.
$ac_ext
2421 if test "$ac_cv_search_strerror" = no
; then
2422 for ac_lib
in cposix
; do
2423 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2424 cat >conftest.
$ac_ext <<_ACEOF
2427 cat confdefs.h
>>conftest.
$ac_ext
2428 cat >>conftest.
$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2431 /* Override any gcc2 internal prototype to avoid an error. */
2435 /* We use char because int might match the return type of a gcc2
2436 builtin and then its argument prototype would still apply. */
2446 rm -f conftest.
$ac_objext conftest
$ac_exeext
2447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2448 (eval $ac_link) 2>conftest.er1
2450 grep -v '^ *+' conftest.er1
>conftest.err
2452 cat conftest.err
>&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } &&
2455 { ac_try
='test -z "$ac_c_werror_flag"
2456 || test ! -s conftest.err'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; } &&
2462 { ac_try
='test -s conftest$ac_exeext'
2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }; }; then
2468 ac_cv_search_strerror
="-l$ac_lib"
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.
$ac_ext >&5
2475 rm -f conftest.err conftest.
$ac_objext \
2476 conftest
$ac_exeext conftest.
$ac_ext
2479 LIBS
=$ac_func_search_save_LIBS
2481 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2482 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2483 if test "$ac_cv_search_strerror" != no
; then
2484 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2489 # We currently only use the version number for the name of any shared
2490 # library. For user convenience, we always use the same version
2491 # number that BFD is using.
2492 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2494 am__api_version
="1.9"
2495 # Find a good install program. We prefer a C program (faster),
2496 # so one script is as good as another. But avoid the broken or
2497 # incompatible versions:
2498 # SysV /etc/install, /usr/sbin/install
2499 # SunOS /usr/etc/install
2500 # IRIX /sbin/install
2502 # AmigaOS /C/install, which installs bootblocks on floppy discs
2503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2506 # OS/2's system install, which has a completely different semantic
2507 # ./install, which can be erroneously created by make from ./install.sh.
2508 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2509 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2510 if test -z "$INSTALL"; then
2511 if test "${ac_cv_path_install+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir
=.
2519 # Account for people who put trailing slashes in PATH elements.
2521 .
/ | .
// |
/cC
/* | \
2522 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2523 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2526 # OSF1 and SCO ODT 3.0 have their own names for install.
2527 # Don't use installbsd from OSF since it installs stuff as root
2529 for ac_prog
in ginstall scoinst
install; do
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2532 if test $ac_prog = install &&
2533 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2534 # AIX install. It has an incompatible calling convention.
2536 elif test $ac_prog = install &&
2537 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2538 # program-specific install script used by HP pwplus--don't use.
2541 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL
=$ac_cv_path_install
2556 # As a last resort, use the slow shell script. We don't cache a
2557 # path for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the path is relative.
2560 INSTALL
=$ac_install_sh
2563 echo "$as_me:$LINENO: result: $INSTALL" >&5
2564 echo "${ECHO_T}$INSTALL" >&6
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2574 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2575 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2578 echo timestamp
> conftest.
file
2579 # Do `set' in a subshell so we don't clobber the current shell's
2580 # arguments. Must try -L first in case configure is actually a
2581 # symlink; some systems play weird games with the mod time of symlinks
2582 # (eg FreeBSD returns the mod time of the symlink's containing
2585 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2586 if test "$*" = "X"; then
2588 set X
`ls -t $srcdir/configure conftest.file`
2591 if test "$*" != "X $srcdir/configure conftest.file" \
2592 && test "$*" != "X conftest.file $srcdir/configure"; then
2594 # If neither matched, then we have a broken ls. This can happen
2595 # if, for instance, CONFIG_SHELL is bash and it inherits a
2596 # broken ls alias from the environment. This has actually
2597 # happened. Such a system could not be considered "sane".
2598 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2599 alias in your environment" >&5
2600 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2601 alias in your environment" >&2;}
2602 { (exit 1); exit 1; }; }
2605 test "$2" = conftest.
file
2611 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2612 Check your system clock" >&5
2613 echo "$as_me: error: newly created file is older than distributed files!
2614 Check your system clock" >&2;}
2615 { (exit 1); exit 1; }; }
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619 test "$program_prefix" != NONE
&&
2620 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2621 # Use a double $ so make ignores it.
2622 test "$program_suffix" != NONE
&&
2623 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2624 # Double any \ or $. echo might interpret backslashes.
2625 # By default was `s,x,x', remove it if useless.
2626 cat <<\_ACEOF
>conftest.
sed
2627 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2629 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2632 # expand $ac_aux_dir to an absolute path
2633 am_aux_dir
=`cd $ac_aux_dir && pwd`
2635 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2636 # Use eval to expand $SHELL
2637 if eval "$MISSING --run true"; then
2638 am_missing_run
="$MISSING --run "
2641 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2642 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2645 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2646 # We used to keeping the `.' as first argument, in order to
2647 # allow $(mkdir_p) to be used without argument. As in
2648 # $(mkdir_p) $(somedir)
2649 # where $(somedir) is conditionally defined. However this is wrong
2651 # 1. if the package is installed by a user who cannot write `.'
2652 # make install will fail,
2653 # 2. the above comment should most certainly read
2654 # $(mkdir_p) $(DESTDIR)$(somedir)
2655 # so it does not work when $(somedir) is undefined and
2656 # $(DESTDIR) is not.
2657 # To support the latter case, we have to write
2658 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2659 # so the `.' trick is pointless.
2660 mkdir_p
='mkdir -p --'
2662 # On NextStep and OpenStep, the `mkdir' command does not
2663 # recognize any option. It will interpret all options as
2664 # directories to create, and then abort because `.' already
2666 for d
in .
/-p .
/--version;
2668 test -d $d && rmdir $d
2670 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2671 if test -f "$ac_aux_dir/mkinstalldirs"; then
2672 mkdir_p
='$(mkinstalldirs)'
2674 mkdir_p
='$(install_sh) -d'
2678 for ac_prog
in gawk mawk nawk
awk
2680 # Extract the first word of "$ac_prog", so it can be a program name with args.
2681 set dummy
$ac_prog; ac_word
=$2
2682 echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684 if test "${ac_cv_prog_AWK+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$AWK"; then
2688 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir
=.
2695 for ac_exec_ext
in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 ac_cv_prog_AWK
="$ac_prog"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 if test -n "$AWK"; then
2708 echo "$as_me:$LINENO: result: $AWK" >&5
2709 echo "${ECHO_T}$AWK" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2715 test -n "$AWK" && break
2718 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2720 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2721 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.
make <<\_ACEOF
2726 @
echo 'ac_maketemp="$(MAKE)"'
2728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2729 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2730 if test -n "$ac_maketemp"; then
2731 eval ac_cv_prog_make_
${ac_make}_set
=yes
2733 eval ac_cv_prog_make_
${ac_make}_set
=no
2737 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2738 echo "$as_me:$LINENO: result: yes" >&5
2739 echo "${ECHO_T}yes" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2744 SET_MAKE
="MAKE=${MAKE-make}"
2747 rm -rf .tst
2>/dev
/null
2748 mkdir .tst
2>/dev
/null
2749 if test -d .tst
; then
2754 rmdir .tst
2>/dev
/null
2756 DEPDIR
="${am__leading_dot}deps"
2758 ac_config_commands
="$ac_config_commands depfiles"
2761 am_make
=${MAKE-make}
2762 cat > confinc
<< 'END'
2767 # If we don't find an include directive, just comment out the code.
2768 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2769 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2773 # First try GNU make style include.
2774 echo "include confinc" > confmf
2775 # We grep out `Entering directory' and `Leaving directory'
2776 # messages which can occur if `w' ends up in MAKEFLAGS.
2777 # In particular we don't look at `^make:' because GNU make might
2778 # be invoked under some other name (usually "gmake"), in which
2779 # case it prints its new name instead of `make'.
2780 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2785 # Now try BSD make style include.
2786 if test "$am__include" = "#"; then
2787 echo '.include "confinc"' > confmf
2788 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2789 am__include
=.include
2796 echo "$as_me:$LINENO: result: $_am_result" >&5
2797 echo "${ECHO_T}$_am_result" >&6
2798 rm -f confinc confmf
2800 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2801 if test "${enable_dependency_tracking+set}" = set; then
2802 enableval
="$enable_dependency_tracking"
2805 if test "x$enable_dependency_tracking" != xno
; then
2806 am_depcomp
="$ac_aux_dir/depcomp"
2811 if test "x$enable_dependency_tracking" != xno; then
2821 # test to see if srcdir already configured
2822 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2823 test -f $srcdir/config.status
; then
2824 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2825 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2826 { (exit 1); exit 1; }; }
2829 # test whether we have cygpath
2830 if test -z "$CYGPATH_W"; then
2831 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2832 CYGPATH_W
='cygpath -w'
2839 # Define the identity of the package.
2841 VERSION
=${BFD_VERSION}
2844 cat >>confdefs.h
<<_ACEOF
2845 #define PACKAGE "$PACKAGE"
2849 cat >>confdefs.h
<<_ACEOF
2850 #define VERSION "$VERSION"
2853 # Some tools Automake needs.
2855 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2858 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2861 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2864 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2867 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2869 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2871 # Installed binaries are usually stripped using `strip' when the user
2872 # run `make install-strip'. However `strip' might not be the right
2873 # tool to use in cross-compilation environments, therefore Automake
2874 # will honor the `STRIP' environment variable to overrule this program.
2875 if test "$cross_compiling" != no
; then
2876 if test -n "$ac_tool_prefix"; then
2877 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2878 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2879 echo "$as_me:$LINENO: checking for $ac_word" >&5
2880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2881 if test "${ac_cv_prog_STRIP+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -n "$STRIP"; then
2885 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2894 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 STRIP
=$ac_cv_prog_STRIP
2904 if test -n "$STRIP"; then
2905 echo "$as_me:$LINENO: result: $STRIP" >&5
2906 echo "${ECHO_T}$STRIP" >&6
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2913 if test -z "$ac_cv_prog_STRIP"; then
2915 # Extract the first word of "strip", so it can be a program name with args.
2916 set dummy strip
; ac_word
=$2
2917 echo "$as_me:$LINENO: checking for $ac_word" >&5
2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 if test -n "$ac_ct_STRIP"; then
2923 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_prog_ac_ct_STRIP
="strip"
2933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2942 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2943 if test -n "$ac_ct_STRIP"; then
2944 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2945 echo "${ECHO_T}$ac_ct_STRIP" >&6
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2953 STRIP
="$ac_cv_prog_STRIP"
2957 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2959 # We need awk for the "check" target. The system "awk" is bad on
2961 # Always define AMTAR for backward compatibility.
2963 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2965 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2970 depcc
="$CC" am_compiler_list
=
2972 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2973 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2974 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2978 # We make a subdir and do the tests there. Otherwise we can end up
2979 # making bogus files that we don't know about and never remove. For
2980 # instance it was reported that on HP-UX the gcc test will end up
2981 # making a dummy file named `D' -- because `-MD' means `put the output
2984 # Copy depcomp to subdir because otherwise we won't find it if we're
2985 # using a relative directory.
2986 cp "$am_depcomp" conftest.dir
2988 # We will build objects and dependencies in a subdirectory because
2989 # it helps to detect inapplicable dependency modes. For instance
2990 # both Tru64's cc and ICC support -MD to output dependencies as a
2991 # side effect of compilation, but ICC will put the dependencies in
2992 # the current directory while Tru64 will put them in the object
2996 am_cv_CC_dependencies_compiler_type
=none
2997 if test "$am_compiler_list" = ""; then
2998 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3000 for depmode
in $am_compiler_list; do
3001 # Setup a source with many dependencies, because some compilers
3002 # like to wrap large dependency lists on column 80 (with \), and
3003 # we should not choose a depcomp mode which is confused by this.
3005 # We need to recreate these files for each test, as the compiler may
3006 # overwrite some of them when testing with obscure command lines.
3007 # This happens at least with the AIX C compiler.
3009 for i
in 1 2 3 4 5 6; do
3010 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3011 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3012 # Solaris 8's {/usr,}/bin/sh.
3013 touch sub
/conftst
$i.h
3015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3019 # after this tag, mechanisms are not by side-effect, so they'll
3020 # only be used when explicitly requested
3021 if test "x$enable_dependency_tracking" = xyes
; then
3029 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3030 # mode. It turns out that the SunPro C++ compiler does not properly
3031 # handle `-M -o', and we need to detect this.
3032 if depmode
=$depmode \
3033 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3034 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3035 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3036 >/dev
/null
2>conftest.err
&&
3037 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3038 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3039 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3040 # icc doesn't choke on unknown options, it will just issue warnings
3041 # or remarks (even with -Werror). So we grep stderr for any message
3042 # that says an option was ignored or not supported.
3043 # When given -MP, icc 7.0 and 7.1 complain thusly:
3044 # icc: Command line warning: ignoring option '-M'; no argument required
3045 # The diagnosis changed in icc 8.0:
3046 # icc: Command line remark: option '-MP' not supported
3047 if (grep 'ignoring option' conftest.err ||
3048 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3049 am_cv_CC_dependencies_compiler_type
=$depmode
3058 am_cv_CC_dependencies_compiler_type
=none
3062 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3063 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3064 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3069 test "x$enable_dependency_tracking" != xno \
3070 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3072 am__fastdepCC_FALSE
='#'
3074 am__fastdepCC_TRUE
='#'
3075 am__fastdepCC_FALSE
=
3081 if test -n "$ac_tool_prefix"; then
3082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3083 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3084 echo "$as_me:$LINENO: checking for $ac_word" >&5
3085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3086 if test "${ac_cv_prog_AR+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 if test -n "$AR"; then
3090 ac_cv_prog_AR
="$AR" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$AR"; then
3110 echo "$as_me:$LINENO: result: $AR" >&5
3111 echo "${ECHO_T}$AR" >&6
3113 echo "$as_me:$LINENO: result: no" >&5
3114 echo "${ECHO_T}no" >&6
3118 if test -z "$ac_cv_prog_AR"; then
3120 # Extract the first word of "ar", so it can be a program name with args.
3121 set dummy
ar; ac_word
=$2
3122 echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3124 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 if test -n "$ac_ct_AR"; then
3128 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_ac_ct_AR
="ar"
3138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3147 if test -n "$ac_ct_AR"; then
3148 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3149 echo "${ECHO_T}$ac_ct_AR" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3160 if test -n "$ac_tool_prefix"; then
3161 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3162 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3163 echo "$as_me:$LINENO: checking for $ac_word" >&5
3164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3165 if test "${ac_cv_prog_RANLIB+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 if test -n "$RANLIB"; then
3169 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir
=.
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 RANLIB
=$ac_cv_prog_RANLIB
3188 if test -n "$RANLIB"; then
3189 echo "$as_me:$LINENO: result: $RANLIB" >&5
3190 echo "${ECHO_T}$RANLIB" >&6
3192 echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6
3197 if test -z "$ac_cv_prog_RANLIB"; then
3198 ac_ct_RANLIB
=$RANLIB
3199 # Extract the first word of "ranlib", so it can be a program name with args.
3200 set dummy ranlib
; ac_word
=$2
3201 echo "$as_me:$LINENO: checking for $ac_word" >&5
3202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3203 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if test -n "$ac_ct_RANLIB"; then
3207 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir
=.
3214 for ac_exec_ext
in '' $ac_executable_extensions; do
3215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3226 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3227 if test -n "$ac_ct_RANLIB"; then
3228 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3229 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3231 echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6
3235 RANLIB
=$ac_ct_RANLIB
3237 RANLIB
="$ac_cv_prog_RANLIB"
3241 # Check whether --enable-shared or --disable-shared was given.
3242 if test "${enable_shared+set}" = set; then
3243 enableval
="$enable_shared"
3244 p
=${PACKAGE-default}
3246 yes) enable_shared
=yes ;;
3247 no
) enable_shared
=no
;;
3250 # Look at the argument we got. We use all the common list separators.
3251 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3252 for pkg
in $enableval; do
3253 if test "X$pkg" = "X$p"; then
3264 # Check whether --enable-static or --disable-static was given.
3265 if test "${enable_static+set}" = set; then
3266 enableval
="$enable_static"
3267 p
=${PACKAGE-default}
3269 yes) enable_static
=yes ;;
3270 no
) enable_static
=no
;;
3273 # Look at the argument we got. We use all the common list separators.
3274 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3275 for pkg
in $enableval; do
3276 if test "X$pkg" = "X$p"; then
3286 # Check whether --enable-fast-install or --disable-fast-install was given.
3287 if test "${enable_fast_install+set}" = set; then
3288 enableval
="$enable_fast_install"
3289 p
=${PACKAGE-default}
3291 yes) enable_fast_install
=yes ;;
3292 no
) enable_fast_install
=no
;;
3294 enable_fast_install
=no
3295 # Look at the argument we got. We use all the common list separators.
3296 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3297 for pkg
in $enableval; do
3298 if test "X$pkg" = "X$p"; then
3299 enable_fast_install
=yes
3306 enable_fast_install
=yes
3309 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3310 if test "${with_gnu_ld+set}" = set; then
3311 withval
="$with_gnu_ld"
3312 test "$withval" = no || with_gnu_ld
=yes
3317 if test "$GCC" = yes; then
3318 # Check if gcc -print-prog-name=ld gives a path.
3319 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3320 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3323 # gcc leaves a trailing carriage return which upsets mingw
3324 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3326 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3329 # Accept absolute paths.
3330 [\\/]* |
[A-Za-z
]:[\\/]*)
3331 re_direlt
='/[^/][^/]*/\.\./'
3332 # Canonicalize the path of ld
3333 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3334 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3335 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3337 test -z "$LD" && LD
="$ac_prog"
3340 # If it fails, then pretend we aren't using GCC.
3344 # If it is relative, then search for the first ld in PATH.
3348 elif test "$with_gnu_ld" = yes; then
3349 echo "$as_me:$LINENO: checking for GNU ld" >&5
3350 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3352 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3353 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3355 if test "${lt_cv_path_LD+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 if test -z "$LD"; then
3359 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3360 for ac_dir
in $PATH; do
3361 test -z "$ac_dir" && ac_dir
=.
3362 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3363 lt_cv_path_LD
="$ac_dir/$ac_prog"
3364 # Check to see if the program is GNU ld. I'd rather use --version,
3365 # but apparently some GNU ld's only accept -v.
3366 # Break only if it was the GNU/non-GNU ld that we prefer.
3367 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3368 test "$with_gnu_ld" != no
&& break
3370 test "$with_gnu_ld" != yes && break
3376 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3381 if test -n "$LD"; then
3382 echo "$as_me:$LINENO: result: $LD" >&5
3383 echo "${ECHO_T}$LD" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3388 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3389 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3390 { (exit 1); exit 1; }; }
3391 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3392 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3393 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3397 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3398 lt_cv_prog_gnu_ld
=yes
3400 lt_cv_prog_gnu_ld
=no
3403 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3404 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3405 with_gnu_ld
=$lt_cv_prog_gnu_ld
3408 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3409 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3410 if test "${lt_cv_ld_reload_flag+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 lt_cv_ld_reload_flag
='-r'
3415 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3416 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3417 reload_flag
=$lt_cv_ld_reload_flag
3418 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3420 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3421 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3422 if test "${lt_cv_path_NM+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 if test -n "$NM"; then
3426 # Let the user override the test.
3429 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3430 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3431 test -z "$ac_dir" && ac_dir
=.
3432 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3433 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3434 # Check to see if the nm accepts a BSD-compat flag.
3435 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3436 # nm: unknown option "B" ignored
3437 # Tru64's nm complains that /dev/null is an invalid object file
3438 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3439 lt_cv_path_NM
="$tmp_nm -B"
3441 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3442 lt_cv_path_NM
="$tmp_nm -p"
3445 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3446 continue # so that we can try to find one that supports BSD flags
3451 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3456 echo "$as_me:$LINENO: result: $NM" >&5
3457 echo "${ECHO_T}$NM" >&6
3459 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3460 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3462 if test "$LN_S" = "ln -s"; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3466 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3467 echo "${ECHO_T}no, using $LN_S" >&6
3470 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3471 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3472 if test "${lt_cv_deplibs_check_method+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3476 lt_cv_file_magic_test_file
=
3477 lt_cv_deplibs_check_method
='unknown'
3478 # Need to set the preceding variable on all platforms that support
3479 # interlibrary dependencies.
3480 # 'none' -- dependencies not supported.
3481 # `unknown' -- same as none, but documents that we really don't know.
3482 # 'pass_all' -- all dependencies passed with no checks.
3483 # 'test_compile' -- check by making test program.
3484 # 'file_magic [regex]' -- check by looking for files in library path
3485 # which responds to the $file_magic_cmd with a given egrep regex.
3486 # If you have `file' or equivalent on your system and you're not sure
3487 # whether `pass_all' will *always* work, you probably want this one.
3491 lt_cv_deplibs_check_method
=pass_all
3495 lt_cv_deplibs_check_method
=pass_all
3499 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3500 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3501 lt_cv_file_magic_test_file
=/shlib
/libc.so
3504 cygwin
* | mingw
* |pw32
*)
3505 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3506 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3509 darwin
* | rhapsody
*)
3510 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3511 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3513 rhapsody
* | darwin1.012
)
3514 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3517 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3522 freebsd
* | kfreebsd
*-gnu)
3523 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3526 # Not sure whether the presence of OpenBSD here was a mistake.
3527 # Let's accept both of them until this is cleared up.
3528 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3529 lt_cv_file_magic_cmd
=/usr
/bin
/file
3530 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3534 lt_cv_deplibs_check_method
=pass_all
3539 lt_cv_deplibs_check_method
=pass_all
3545 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3546 lt_cv_file_magic_cmd
=/usr
/bin
/file
3547 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3550 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3551 lt_cv_file_magic_cmd
=/usr
/bin
/file
3552 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3560 # this will be overridden with pass_all, but let us keep it just in case
3561 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3565 *-32|
*"-32 ") libmagic
=32-bit;;
3566 *-n32|
*"-n32 ") libmagic
=N32
;;
3567 *-64|
*"-64 ") libmagic
=64-bit;;
3568 *) libmagic
=never-match
;;
3570 # this will be overridden with pass_all, but let us keep it just in case
3571 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3574 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3575 lt_cv_deplibs_check_method
=pass_all
3578 # This must be Linux ELF.
3581 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3582 lt_cv_deplibs_check_method
=pass_all
;;
3584 # glibc up to 2.1.1 does not perform some relocations on ARM
3585 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3587 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3590 netbsd
* | knetbsd
*-gnu)
3591 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3592 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3594 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3599 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3600 lt_cv_file_magic_cmd
=/usr
/bin
/file
3601 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3604 osf3
* | osf4
* | osf5
*)
3605 # this will be overridden with pass_all, but let us keep it just in case
3606 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3607 lt_cv_file_magic_test_file
=/shlib
/libc.so
3608 lt_cv_deplibs_check_method
=pass_all
3612 lt_cv_deplibs_check_method
=pass_all
3616 lt_cv_deplibs_check_method
=pass_all
3617 lt_cv_file_magic_test_file
=/lib
/libc.so
3620 sysv5uw
[78]* | sysv4
*uw2
*)
3621 lt_cv_deplibs_check_method
=pass_all
3624 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3625 case $host_vendor in
3627 lt_cv_deplibs_check_method
=pass_all
3630 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]'
3631 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3638 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3639 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3640 file_magic_cmd
=$lt_cv_file_magic_cmd
3641 deplibs_check_method
=$lt_cv_deplibs_check_method
3646 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3648 # Only perform the check for file, if the check method requires it
3649 case $deplibs_check_method in
3651 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3652 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3653 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3654 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3662 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3665 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3667 ac_dummy
="/usr/bin:$PATH"
3668 for ac_dir
in $ac_dummy; do
3669 test -z "$ac_dir" && ac_dir
=.
3670 if test -f $ac_dir/${ac_tool_prefix}file; then
3671 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3672 if test -n "$file_magic_test_file"; then
3673 case $deplibs_check_method in
3675 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3676 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3677 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3678 egrep "$file_magic_regex" > /dev
/null
; then
3683 *** Warning: the command libtool uses to detect shared libraries,
3684 *** $file_magic_cmd, produces output that libtool cannot recognize.
3685 *** The result is that libtool may fail to recognize shared libraries
3686 *** as such. This will affect the creation of libtool libraries that
3687 *** depend on shared libraries, but programs linked with such libtool
3688 *** libraries will work regardless of this problem. Nevertheless, you
3689 *** may want to report the problem to your system manager and/or to
3690 *** bug-libtool@gnu.org
3700 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3705 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3706 if test -n "$MAGIC_CMD"; then
3707 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3708 echo "${ECHO_T}$MAGIC_CMD" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3714 if test -z "$lt_cv_path_MAGIC_CMD"; then
3715 if test -n "$ac_tool_prefix"; then
3716 echo "$as_me:$LINENO: checking for file" >&5
3717 echo $ECHO_N "checking for file... $ECHO_C" >&6
3718 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3726 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3729 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3730 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3731 ac_dummy
="/usr/bin:$PATH"
3732 for ac_dir
in $ac_dummy; do
3733 test -z "$ac_dir" && ac_dir
=.
3734 if test -f $ac_dir/file; then
3735 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3736 if test -n "$file_magic_test_file"; then
3737 case $deplibs_check_method in
3739 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3740 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3741 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3742 egrep "$file_magic_regex" > /dev
/null
; then
3747 *** Warning: the command libtool uses to detect shared libraries,
3748 *** $file_magic_cmd, produces output that libtool cannot recognize.
3749 *** The result is that libtool may fail to recognize shared libraries
3750 *** as such. This will affect the creation of libtool libraries that
3751 *** depend on shared libraries, but programs linked with such libtool
3752 *** libraries will work regardless of this problem. Nevertheless, you
3753 *** may want to report the problem to your system manager and/or to
3754 *** bug-libtool@gnu.org
3764 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3769 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3770 if test -n "$MAGIC_CMD"; then
3771 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3772 echo "${ECHO_T}$MAGIC_CMD" >&6
3774 echo "$as_me:$LINENO: result: no" >&5
3775 echo "${ECHO_T}no" >&6
3787 if test -n "$ac_tool_prefix"; then
3788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3789 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3790 echo "$as_me:$LINENO: checking for $ac_word" >&5
3791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3792 if test "${ac_cv_prog_RANLIB+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 if test -n "$RANLIB"; then
3796 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 RANLIB
=$ac_cv_prog_RANLIB
3815 if test -n "$RANLIB"; then
3816 echo "$as_me:$LINENO: result: $RANLIB" >&5
3817 echo "${ECHO_T}$RANLIB" >&6
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3824 if test -z "$ac_cv_prog_RANLIB"; then
3825 ac_ct_RANLIB
=$RANLIB
3826 # Extract the first word of "ranlib", so it can be a program name with args.
3827 set dummy ranlib
; ac_word
=$2
3828 echo "$as_me:$LINENO: checking for $ac_word" >&5
3829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3830 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 if test -n "$ac_ct_RANLIB"; then
3834 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir
=.
3841 for ac_exec_ext
in '' $ac_executable_extensions; do
3842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3843 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3853 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3854 if test -n "$ac_ct_RANLIB"; then
3855 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3856 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3862 RANLIB
=$ac_ct_RANLIB
3864 RANLIB
="$ac_cv_prog_RANLIB"
3867 if test -n "$ac_tool_prefix"; then
3868 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3869 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3870 echo "$as_me:$LINENO: checking for $ac_word" >&5
3871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3872 if test "${ac_cv_prog_STRIP+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 if test -n "$STRIP"; then
3876 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir
=.
3883 for ac_exec_ext
in '' $ac_executable_extensions; do
3884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 STRIP
=$ac_cv_prog_STRIP
3895 if test -n "$STRIP"; then
3896 echo "$as_me:$LINENO: result: $STRIP" >&5
3897 echo "${ECHO_T}$STRIP" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3904 if test -z "$ac_cv_prog_STRIP"; then
3906 # Extract the first word of "strip", so it can be a program name with args.
3907 set dummy strip
; ac_word
=$2
3908 echo "$as_me:$LINENO: checking for $ac_word" >&5
3909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3910 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 if test -n "$ac_ct_STRIP"; then
3914 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir
=.
3921 for ac_exec_ext
in '' $ac_executable_extensions; do
3922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3923 ac_cv_prog_ac_ct_STRIP
="strip"
3924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3933 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3934 if test -n "$ac_ct_STRIP"; then
3935 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3936 echo "${ECHO_T}$ac_ct_STRIP" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3944 STRIP
="$ac_cv_prog_STRIP"
3948 # Check for any special flags to pass to ltconfig.
3949 libtool_flags
="--cache-file=$cache_file"
3950 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3951 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3952 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3953 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3954 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3957 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3958 if test "${enable_libtool_lock+set}" = set; then
3959 enableval
="$enable_libtool_lock"
3962 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3963 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3966 # Check whether --with-pic or --without-pic was given.
3967 if test "${with_pic+set}" = set; then
3973 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3974 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3976 # Some flags need to be propagated to the compiler or linker for good
3980 # Find out which ABI we are using.
3981 echo '#line 3981 "configure"' > conftest.
$ac_ext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3983 (eval $ac_compile) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; then
3987 if test "$lt_cv_prog_gnu_ld" = yes; then
3988 case `/usr/bin/file conftest.$ac_objext` in
3990 LD
="${LD-ld} -melf32bsmip"
3993 LD
="${LD-ld} -melf32bmipn32"
3996 LD
="${LD-ld} -melf64bmip"
4000 case `/usr/bin/file conftest.$ac_objext` in
4017 # Find out which ABI we are using.
4018 echo 'int i;' > conftest.
$ac_ext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020 (eval $ac_compile) 2>&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; then
4024 case "`/usr/bin/file conftest.o`" in
4037 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4038 SAVE_CFLAGS
="$CFLAGS"
4039 CFLAGS
="$CFLAGS -belf"
4040 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4041 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4042 if test "${lt_cv_cc_needs_belf+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 ac_cpp
='$CPP $CPPFLAGS'
4049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4053 cat >conftest.
$ac_ext <<_ACEOF
4056 cat confdefs.h
>>conftest.
$ac_ext
4057 cat >>conftest.
$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4068 rm -f conftest.
$ac_objext conftest
$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>conftest.er1
4072 grep -v '^ *+' conftest.er1
>conftest.err
4074 cat conftest.err
>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } &&
4077 { ac_try
='test -z "$ac_c_werror_flag"
4078 || test ! -s conftest.err'
4079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; } &&
4084 { ac_try
='test -s conftest$ac_exeext'
4085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); }; }; then
4090 lt_cv_cc_needs_belf
=yes
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.
$ac_ext >&5
4095 lt_cv_cc_needs_belf
=no
4097 rm -f conftest.err conftest.
$ac_objext \
4098 conftest
$ac_exeext conftest.
$ac_ext
4100 ac_cpp
='$CPP $CPPFLAGS'
4101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4106 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4107 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4108 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4109 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4110 CFLAGS
="$SAVE_CFLAGS"
4118 # Save cache, so that ltconfig can load it
4119 cat >confcache
<<\_ACEOF
4120 # This file is a shell script that caches the results of configure
4121 # tests run on this system so they can be shared between configure
4122 # scripts and configure runs, see configure's option --config-cache.
4123 # It is not useful on other systems. If it contains results you don't
4124 # want to keep, you may remove or edit it.
4126 # config.status only pays attention to the cache file if you give it
4127 # the --recheck option to rerun configure.
4129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4135 # The following way of writing the cache mishandles newlines in values,
4136 # but we know of no workaround that is simple, portable, and efficient.
4137 # So, don't put newlines in cache variables' values.
4138 # Ultrix sh set writes to stderr and can't be redirected directly,
4139 # and sets the high bit in the cache file unless we assign to the vars.
4142 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4144 # `set' does not quote correctly, so add quotes (double-quote
4145 # substitution turns \\\\ into \\, and sed turns \\ into \).
4148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4151 # `set' quotes correctly as required by POSIX, so do not add quotes.
4153 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4160 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4162 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4164 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4165 if test -w $cache_file; then
4166 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4167 cat confcache
>$cache_file
4169 echo "not updating unwritable cache $cache_file"
4174 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4175 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4176 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4177 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4178 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4179 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4180 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4181 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4182 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4183 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4184 echo "$as_me: error: libtool configure failed" >&2;}
4185 { (exit 1); exit 1; }; }
4187 # Reload cache, that may have been modified by ltconfig
4188 if test -r "$cache_file"; then
4189 # Some versions of bash will fail to source /dev/null (special
4190 # files actually), so we avoid doing that.
4191 if test -f "$cache_file"; then
4192 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4193 echo "$as_me: loading cache $cache_file" >&6;}
4195 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4196 *) . .
/$cache_file;;
4200 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4201 echo "$as_me: creating cache $cache_file" >&6;}
4206 # This can be used to rebuild libtool when needed
4207 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4209 # Always use our own libtool.
4210 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4212 # Redirect the config.log output again, so that the ltconfig log is not
4213 # clobbered by the next message.
4214 exec 5>>.
/config.log
4222 # Check whether --enable-targets or --disable-targets was given.
4223 if test "${enable_targets+set}" = set; then
4224 enableval
="$enable_targets"
4225 case "${enableval}" in
4226 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4227 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4228 { (exit 1); exit 1; }; }
4230 no
) enable_targets
= ;;
4231 *) enable_targets
=$enableval ;;
4233 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4234 if test "${enable_commonbfdlib+set}" = set; then
4235 enableval
="$enable_commonbfdlib"
4236 case "${enableval}" in
4237 yes) commonbfdlib
=true
;;
4238 no
) commonbfdlib
=false
;;
4239 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
4240 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
4241 { (exit 1); exit 1; }; } ;;
4244 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4245 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4246 if test "${enable_build_warnings+set}" = set; then
4247 enableval
="$enable_build_warnings"
4248 case "${enableval}" in
4250 no
) build_warnings
="-w";;
4251 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4252 build_warnings
="${build_warnings} ${t}";;
4253 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4254 build_warnings
="${t} ${build_warnings}";;
4255 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4257 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
4258 echo "Setting warning flags = $build_warnings" 6>&1
4261 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
; then
4262 WARN_CFLAGS
="${build_warnings}"
4266 ac_config_headers
="$ac_config_headers config.h:config.in"
4269 if test -z "$target" ; then
4270 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4271 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4272 { (exit 1); exit 1; }; }
4275 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4276 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4277 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4278 if test "${enable_maintainer_mode+set}" = set; then
4279 enableval
="$enable_maintainer_mode"
4280 USE_MAINTAINER_MODE
=$enableval
4282 USE_MAINTAINER_MODE
=no
4284 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4285 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4288 if test $USE_MAINTAINER_MODE = yes; then
4289 MAINTAINER_MODE_TRUE
=
4290 MAINTAINER_MODE_FALSE
='#'
4292 MAINTAINER_MODE_TRUE
='#'
4293 MAINTAINER_MODE_FALSE
=
4296 MAINT
=$MAINTAINER_MODE_TRUE
4299 case ${build_alias} in
4300 "") build_noncanonical
=${build} ;;
4301 *) build_noncanonical
=${build_alias} ;;
4304 case ${host_alias} in
4305 "") host_noncanonical
=${build_noncanonical} ;;
4306 *) host_noncanonical
=${host_alias} ;;
4309 case ${target_alias} in
4310 "") target_noncanonical
=${host_noncanonical} ;;
4311 *) target_noncanonical
=${target_alias} ;;
4314 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4315 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4316 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4317 if test "${enable_install_libbfd+set}" = set; then
4318 enableval
="$enable_install_libbfd"
4319 install_libbfd_p
=$enableval
4321 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4322 install_libbfd_p
=yes
4327 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4328 echo "${ECHO_T}$install_libbfd_p" >&6
4331 if test $install_libbfd_p = yes; then
4332 INSTALL_LIBBFD_TRUE
=
4333 INSTALL_LIBBFD_FALSE
='#'
4335 INSTALL_LIBBFD_TRUE
='#'
4336 INSTALL_LIBBFD_FALSE
=
4339 # Need _noncanonical variables for this.
4344 # libbfd.a is a host library containing target dependent code
4345 bfdlibdir
='$(libdir)'
4346 bfdincludedir
='$(includedir)'
4347 if test "${host}" != "${target}"; then
4348 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4349 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4357 # host-specific stuff:
4360 ac_cpp
='$CPP $CPPFLAGS'
4361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4364 if test -n "$ac_tool_prefix"; then
4365 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4366 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4367 echo "$as_me:$LINENO: checking for $ac_word" >&5
4368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4369 if test "${ac_cv_prog_CC+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 if test -n "$CC"; then
4373 ac_cv_prog_CC
="$CC" # Let the user override the test.
4375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir
=.
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 if test -n "$CC"; then
4393 echo "$as_me:$LINENO: result: $CC" >&5
4394 echo "${ECHO_T}$CC" >&6
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4401 if test -z "$ac_cv_prog_CC"; then
4403 # Extract the first word of "gcc", so it can be a program name with args.
4404 set dummy gcc
; ac_word
=$2
4405 echo "$as_me:$LINENO: checking for $ac_word" >&5
4406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 if test -n "$ac_ct_CC"; then
4411 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir
=.
4418 for ac_exec_ext
in '' $ac_executable_extensions; do
4419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_ac_ct_CC
="gcc"
4421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4430 if test -n "$ac_ct_CC"; then
4431 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4432 echo "${ECHO_T}$ac_ct_CC" >&6
4434 echo "$as_me:$LINENO: result: no" >&5
4435 echo "${ECHO_T}no" >&6
4443 if test -z "$CC"; then
4444 if test -n "$ac_tool_prefix"; then
4445 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4446 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4447 echo "$as_me:$LINENO: checking for $ac_word" >&5
4448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4449 if test "${ac_cv_prog_CC+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 if test -n "$CC"; then
4453 ac_cv_prog_CC
="$CC" # Let the user override the test.
4455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir
=.
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4462 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 if test -n "$CC"; then
4473 echo "$as_me:$LINENO: result: $CC" >&5
4474 echo "${ECHO_T}$CC" >&6
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4481 if test -z "$ac_cv_prog_CC"; then
4483 # Extract the first word of "cc", so it can be a program name with args.
4484 set dummy cc
; ac_word
=$2
4485 echo "$as_me:$LINENO: checking for $ac_word" >&5
4486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4487 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 if test -n "$ac_ct_CC"; then
4491 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_prog_ac_ct_CC
="cc"
4501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4510 if test -n "$ac_ct_CC"; then
4511 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4512 echo "${ECHO_T}$ac_ct_CC" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4524 if test -z "$CC"; then
4525 # Extract the first word of "cc", so it can be a program name with args.
4526 set dummy cc
; ac_word
=$2
4527 echo "$as_me:$LINENO: checking for $ac_word" >&5
4528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4529 if test "${ac_cv_prog_CC+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test -n "$CC"; then
4533 ac_cv_prog_CC
="$CC" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4544 ac_prog_rejected
=yes
4548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test $ac_prog_rejected = yes; then
4555 # We found a bogon in the path, so make sure we never use it.
4556 set dummy
$ac_cv_prog_CC
4558 if test $# != 0; then
4559 # We chose a different compiler from the bogus one.
4560 # However, it has the same basename, so the bogon will be chosen
4561 # first if we set CC to just the basename; use the full file name.
4563 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4569 if test -n "$CC"; then
4570 echo "$as_me:$LINENO: result: $CC" >&5
4571 echo "${ECHO_T}$CC" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4578 if test -z "$CC"; then
4579 if test -n "$ac_tool_prefix"; then
4582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4583 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4584 echo "$as_me:$LINENO: checking for $ac_word" >&5
4585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4586 if test "${ac_cv_prog_CC+set}" = set; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 if test -n "$CC"; then
4590 ac_cv_prog_CC
="$CC" # Let the user override the test.
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 if test -n "$CC"; then
4610 echo "$as_me:$LINENO: result: $CC" >&5
4611 echo "${ECHO_T}$CC" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4617 test -n "$CC" && break
4620 if test -z "$CC"; then
4624 # Extract the first word of "$ac_prog", so it can be a program name with args.
4625 set dummy
$ac_prog; ac_word
=$2
4626 echo "$as_me:$LINENO: checking for $ac_word" >&5
4627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 if test -n "$ac_ct_CC"; then
4632 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_ac_ct_CC
="$ac_prog"
4642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4651 if test -n "$ac_ct_CC"; then
4652 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4653 echo "${ECHO_T}$ac_ct_CC" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4659 test -n "$ac_ct_CC" && break
4668 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4669 See \`config.log' for more details." >&5
4670 echo "$as_me: error: no acceptable C compiler found in \$PATH
4671 See \`config.log' for more details." >&2;}
4672 { (exit 1); exit 1; }; }
4674 # Provide some information about the compiler.
4675 echo "$as_me:$LINENO:" \
4676 "checking for C compiler version" >&5
4677 ac_compiler
=`set X $ac_compile; echo $2`
4678 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4679 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }
4683 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4684 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }
4688 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4689 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }
4694 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4695 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4696 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 cat >conftest.
$ac_ext <<_ACEOF
4702 cat confdefs.h
>>conftest.
$ac_ext
4703 cat >>conftest.
$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4717 rm -f conftest.
$ac_objext
4718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4719 (eval $ac_compile) 2>conftest.er1
4721 grep -v '^ *+' conftest.er1
>conftest.err
4723 cat conftest.err
>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try
='test -z "$ac_c_werror_flag"
4727 || test ! -s conftest.err'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try
='test -s conftest.$ac_objext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.
$ac_ext >&5
4746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4750 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4751 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4752 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4753 ac_test_CFLAGS
=${CFLAGS+set}
4754 ac_save_CFLAGS
=$CFLAGS
4756 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4757 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4758 if test "${ac_cv_prog_cc_g+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 cat >conftest.
$ac_ext <<_ACEOF
4764 cat confdefs.h
>>conftest.
$ac_ext
4765 cat >>conftest.
$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4776 rm -f conftest.
$ac_objext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4778 (eval $ac_compile) 2>conftest.er1
4780 grep -v '^ *+' conftest.er1
>conftest.err
4782 cat conftest.err
>&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } &&
4785 { ac_try
='test -z "$ac_c_werror_flag"
4786 || test ! -s conftest.err'
4787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; } &&
4792 { ac_try
='test -s conftest.$ac_objext'
4793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; }; then
4800 echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.
$ac_ext >&5
4805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4807 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4808 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4809 if test "$ac_test_CFLAGS" = set; then
4810 CFLAGS
=$ac_save_CFLAGS
4811 elif test $ac_cv_prog_cc_g = yes; then
4812 if test "$GCC" = yes; then
4818 if test "$GCC" = yes; then
4824 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4825 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4826 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 ac_cv_prog_cc_stdc
=no
4831 cat >conftest.
$ac_ext <<_ACEOF
4834 cat confdefs.h
>>conftest.
$ac_ext
4835 cat >>conftest.
$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4839 #include <sys/types.h>
4840 #include <sys/stat.h>
4841 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4842 struct buf { int x; };
4843 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4844 static char *e (p, i)
4850 static char *f (char * (*g) (char **, int), char **p, ...)
4855 s = g (p, va_arg (v,int));
4860 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4861 function prototypes and stuff, but not '\xHH' hex character constants.
4862 These don't provoke an error unfortunately, instead are silently treated
4863 as 'x'. The following induces an error, until -std1 is added to get
4864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4865 array size at least. It's necessary to write '\x00'==0 to get something
4866 that's true only with -std1. */
4867 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4869 int test (int i, double x);
4870 struct s1 {int (*f) (int a);};
4871 struct s2 {int (*f) (double a);};
4872 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4878 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4883 # Don't try gcc -ansi; that turns off useful extensions and
4884 # breaks some systems' header files.
4885 # AIX -qlanglvl=ansi
4886 # Ultrix and OSF/1 -std1
4887 # HP-UX 10.20 and later -Ae
4888 # HP-UX older versions -Aa -D_HPUX_SOURCE
4889 # SVR4 -Xc -D__EXTENSIONS__
4890 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4892 CC
="$ac_save_CC $ac_arg"
4893 rm -f conftest.
$ac_objext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>conftest.er1
4897 grep -v '^ *+' conftest.er1
>conftest.err
4899 cat conftest.err
>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try
='test -z "$ac_c_werror_flag"
4903 || test ! -s conftest.err'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; } &&
4909 { ac_try
='test -s conftest.$ac_objext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_cv_prog_cc_stdc
=$ac_arg
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4922 rm -f conftest.err conftest.
$ac_objext
4924 rm -f conftest.
$ac_ext conftest.
$ac_objext
4929 case "x$ac_cv_prog_cc_stdc" in
4931 echo "$as_me:$LINENO: result: none needed" >&5
4932 echo "${ECHO_T}none needed" >&6 ;;
4934 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4935 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4936 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4939 # Some people use a C++ compiler to compile C. Since we use `exit',
4940 # in C++ we need to declare it. In case someone uses the same compiler
4941 # for both compiling C and C++ we need to have the C++ compiler decide
4942 # the declaration of exit, since it's the most demanding environment.
4943 cat >conftest.
$ac_ext <<_ACEOF
4948 rm -f conftest.
$ac_objext
4949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4950 (eval $ac_compile) 2>conftest.er1
4952 grep -v '^ *+' conftest.er1
>conftest.err
4954 cat conftest.err
>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try
='test -z "$ac_c_werror_flag"
4958 || test ! -s conftest.err'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; } &&
4964 { ac_try
='test -s conftest.$ac_objext'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; }; then
4970 for ac_declaration
in \
4972 'extern "C" void std::exit (int) throw (); using std::exit;' \
4973 'extern "C" void std::exit (int); using std::exit;' \
4974 'extern "C" void exit (int) throw ();' \
4975 'extern "C" void exit (int);' \
4978 cat >conftest.
$ac_ext <<_ACEOF
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4994 rm -f conftest.
$ac_objext
4995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4996 (eval $ac_compile) 2>conftest.er1
4998 grep -v '^ *+' conftest.er1
>conftest.err
5000 cat conftest.err
>&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } &&
5003 { ac_try
='test -z "$ac_c_werror_flag"
5004 || test ! -s conftest.err'
5005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); }; } &&
5010 { ac_try
='test -s conftest.$ac_objext'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 cat >conftest.
$ac_ext <<_ACEOF
5027 cat confdefs.h
>>conftest.
$ac_ext
5028 cat >>conftest.
$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5039 rm -f conftest.
$ac_objext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>conftest.er1
5043 grep -v '^ *+' conftest.er1
>conftest.err
5045 cat conftest.err
>&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try
='test -z "$ac_c_werror_flag"
5049 || test ! -s conftest.err'
5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; } &&
5055 { ac_try
='test -s conftest.$ac_objext'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.
$ac_ext >&5
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5070 if test -n "$ac_declaration"; then
5071 echo '#ifdef __cplusplus' >>confdefs.h
5072 echo $ac_declaration >>confdefs.h
5073 echo '#endif' >>confdefs.h
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5083 ac_cpp
='$CPP $CPPFLAGS'
5084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5089 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl"
5090 if test -n "$ac_tool_prefix"; then
5091 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5092 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5093 echo "$as_me:$LINENO: checking for $ac_word" >&5
5094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5095 if test "${ac_cv_prog_RANLIB+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 if test -n "$RANLIB"; then
5099 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 RANLIB
=$ac_cv_prog_RANLIB
5118 if test -n "$RANLIB"; then
5119 echo "$as_me:$LINENO: result: $RANLIB" >&5
5120 echo "${ECHO_T}$RANLIB" >&6
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5127 if test -z "$ac_cv_prog_RANLIB"; then
5128 ac_ct_RANLIB
=$RANLIB
5129 # Extract the first word of "ranlib", so it can be a program name with args.
5130 set dummy ranlib
; ac_word
=$2
5131 echo "$as_me:$LINENO: checking for $ac_word" >&5
5132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5133 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5134 echo $ECHO_N "(cached) $ECHO_C" >&6
5136 if test -n "$ac_ct_RANLIB"; then
5137 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5156 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5157 if test -n "$ac_ct_RANLIB"; then
5158 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5159 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5165 RANLIB
=$ac_ct_RANLIB
5167 RANLIB
="$ac_cv_prog_RANLIB"
5171 ac_cpp
='$CPP $CPPFLAGS'
5172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5175 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5176 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5177 # On Suns, sometimes $CPP names a directory.
5178 if test -n "$CPP" && test -d "$CPP"; then
5181 if test -z "$CPP"; then
5182 if test "${ac_cv_prog_CPP+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 # Double quotes because CPP needs to be expanded
5186 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5189 for ac_c_preproc_warn_flag
in '' yes
5191 # Use a header file that comes with gcc, so configuring glibc
5192 # with a fresh cross-compiler works.
5193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5194 # <limits.h> exists even on freestanding compilers.
5195 # On the NeXT, cc -E runs the code through the compiler's parser,
5196 # not just through cpp. "Syntax error" is here to catch this case.
5197 cat >conftest.
$ac_ext <<_ACEOF
5200 cat confdefs.h
>>conftest.
$ac_ext
5201 cat >>conftest.
$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5204 # include <limits.h>
5206 # include <assert.h>
5210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5213 grep -v '^ *+' conftest.er1
>conftest.err
5215 cat conftest.err
>&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); } >/dev
/null
; then
5218 if test -s conftest.err
; then
5219 ac_cpp_err
=$ac_c_preproc_warn_flag
5220 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5227 if test -z "$ac_cpp_err"; then
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 # Broken: fails on valid input.
5236 rm -f conftest.err conftest.
$ac_ext
5238 # OK, works on sane cases. Now check whether non-existent headers
5239 # can be detected and how.
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5246 #include <ac_nonexistent.h>
5248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5251 grep -v '^ *+' conftest.er1
>conftest.err
5253 cat conftest.err
>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } >/dev
/null
; then
5256 if test -s conftest.err
; then
5257 ac_cpp_err
=$ac_c_preproc_warn_flag
5258 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5265 if test -z "$ac_cpp_err"; then
5266 # Broken: success on invalid input.
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.
$ac_ext >&5
5272 # Passes both tests.
5276 rm -f conftest.err conftest.
$ac_ext
5279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5280 rm -f conftest.err conftest.
$ac_ext
5281 if $ac_preproc_ok; then
5293 echo "$as_me:$LINENO: result: $CPP" >&5
5294 echo "${ECHO_T}$CPP" >&6
5296 for ac_c_preproc_warn_flag
in '' yes
5298 # Use a header file that comes with gcc, so configuring glibc
5299 # with a fresh cross-compiler works.
5300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5301 # <limits.h> exists even on freestanding compilers.
5302 # On the NeXT, cc -E runs the code through the compiler's parser,
5303 # not just through cpp. "Syntax error" is here to catch this case.
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5311 # include <limits.h>
5313 # include <assert.h>
5317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } >/dev
/null
; then
5325 if test -s conftest.err
; then
5326 ac_cpp_err
=$ac_c_preproc_warn_flag
5327 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5334 if test -z "$ac_cpp_err"; then
5337 echo "$as_me: failed program was:" >&5
5338 sed 's/^/| /' conftest.
$ac_ext >&5
5340 # Broken: fails on valid input.
5343 rm -f conftest.err conftest.
$ac_ext
5345 # OK, works on sane cases. Now check whether non-existent headers
5346 # can be detected and how.
5347 cat >conftest.
$ac_ext <<_ACEOF
5350 cat confdefs.h
>>conftest.
$ac_ext
5351 cat >>conftest.
$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5353 #include <ac_nonexistent.h>
5355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5358 grep -v '^ *+' conftest.er1
>conftest.err
5360 cat conftest.err
>&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } >/dev
/null
; then
5363 if test -s conftest.err
; then
5364 ac_cpp_err
=$ac_c_preproc_warn_flag
5365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5372 if test -z "$ac_cpp_err"; then
5373 # Broken: success on invalid input.
5376 echo "$as_me: failed program was:" >&5
5377 sed 's/^/| /' conftest.
$ac_ext >&5
5379 # Passes both tests.
5383 rm -f conftest.err conftest.
$ac_ext
5386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5387 rm -f conftest.err conftest.
$ac_ext
5388 if $ac_preproc_ok; then
5391 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5392 See \`config.log' for more details." >&5
5393 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5394 See \`config.log' for more details." >&2;}
5395 { (exit 1); exit 1; }; }
5399 ac_cpp
='$CPP $CPPFLAGS'
5400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5405 echo "$as_me:$LINENO: checking for egrep" >&5
5406 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5407 if test "${ac_cv_prog_egrep+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5411 then ac_cv_prog_egrep
='grep -E'
5412 else ac_cv_prog_egrep
='egrep'
5415 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5416 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5417 EGREP
=$ac_cv_prog_egrep
5420 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5421 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5422 if test "${ac_cv_header_stdc+set}" = set; then
5423 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5444 rm -f conftest.
$ac_objext
5445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5446 (eval $ac_compile) 2>conftest.er1
5448 grep -v '^ *+' conftest.er1
>conftest.err
5450 cat conftest.err
>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } &&
5453 { ac_try
='test -z "$ac_c_werror_flag"
5454 || test ! -s conftest.err'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; } &&
5460 { ac_try
='test -s conftest.$ac_objext'
5461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); }; }; then
5466 ac_cv_header_stdc
=yes
5468 echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.
$ac_ext >&5
5471 ac_cv_header_stdc
=no
5473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5475 if test $ac_cv_header_stdc = yes; then
5476 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5477 cat >conftest.
$ac_ext <<_ACEOF
5480 cat confdefs.h
>>conftest.
$ac_ext
5481 cat >>conftest.
$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5487 $EGREP "memchr" >/dev
/null
2>&1; then
5490 ac_cv_header_stdc
=no
5496 if test $ac_cv_header_stdc = yes; then
5497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5498 cat >conftest.
$ac_ext <<_ACEOF
5501 cat confdefs.h
>>conftest.
$ac_ext
5502 cat >>conftest.
$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 $EGREP "free" >/dev
/null
2>&1; then
5511 ac_cv_header_stdc
=no
5517 if test $ac_cv_header_stdc = yes; then
5518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5519 if test "$cross_compiling" = yes; then
5522 cat >conftest.
$ac_ext <<_ACEOF
5525 cat confdefs.h
>>conftest.
$ac_ext
5526 cat >>conftest.
$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5529 #if ((' ' & 0x0FF) == 0x020)
5530 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5531 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5533 # define ISLOWER(c) \
5534 (('a' <= (c) && (c) <= 'i') \
5535 || ('j' <= (c) && (c) <= 'r') \
5536 || ('s' <= (c) && (c) <= 'z'))
5537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5545 for (i = 0; i < 256; i++)
5546 if (XOR (islower (i), ISLOWER (i))
5547 || toupper (i) != TOUPPER (i))
5552 rm -f conftest
$ac_exeext
5553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5554 (eval $ac_link) 2>&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; }; then
5565 echo "$as_me: program exited with status $ac_status" >&5
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.
$ac_ext >&5
5570 ac_cv_header_stdc
=no
5572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5576 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5577 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5578 if test $ac_cv_header_stdc = yes; then
5580 cat >>confdefs.h
<<\_ACEOF
5581 #define STDC_HEADERS 1
5586 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5587 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5588 if test "${ac_cv_c_const+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 cat >conftest.
$ac_ext <<_ACEOF
5594 cat confdefs.h
>>conftest.
$ac_ext
5595 cat >>conftest.
$ac_ext <<_ACEOF
5596 /* end confdefs.h. */
5601 /* FIXME: Include the comments suggested by Paul. */
5603 /* Ultrix mips cc rejects this. */
5604 typedef int charset[2];
5606 /* SunOS 4.1.1 cc rejects this. */
5607 char const *const *ccp;
5609 /* NEC SVR4.0.2 mips cc rejects this. */
5610 struct point {int x, y;};
5611 static struct point const zero = {0,0};
5612 /* AIX XL C 1.02.0.0 rejects this.
5613 It does not let you subtract one const X* pointer from another in
5614 an arm of an if-expression whose if-part is not a constant
5616 const char *g = "string";
5617 ccp = &g + (g ? g-g : 0);
5618 /* HPUX 7.0 cc rejects these. */
5621 ccp = (char const *const *) p;
5622 { /* SCO 3.2v4 cc rejects this. */
5624 char const *s = 0 ? (char *) 0 : (char const *) 0;
5628 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5630 const int *foo = &x[0];
5633 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5634 typedef const int *iptr;
5638 { /* AIX XL C 1.02.0.0 rejects this saying
5639 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5640 struct s { int j; const int *ap[3]; };
5641 struct s *b; b->j = 5;
5643 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5652 rm -f conftest.
$ac_objext
5653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5654 (eval $ac_compile) 2>conftest.er1
5656 grep -v '^ *+' conftest.er1
>conftest.err
5658 cat conftest.err
>&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } &&
5661 { ac_try
='test -z "$ac_c_werror_flag"
5662 || test ! -s conftest.err'
5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; } &&
5668 { ac_try
='test -s conftest.$ac_objext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5676 echo "$as_me: failed program was:" >&5
5677 sed 's/^/| /' conftest.
$ac_ext >&5
5681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5683 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5684 echo "${ECHO_T}$ac_cv_c_const" >&6
5685 if test $ac_cv_c_const = no
; then
5687 cat >>confdefs.h
<<\_ACEOF
5693 echo "$as_me:$LINENO: checking for inline" >&5
5694 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5695 if test "${ac_cv_c_inline+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 for ac_kw
in inline __inline__ __inline
; do
5700 cat >conftest.
$ac_ext <<_ACEOF
5703 cat confdefs.h
>>conftest.
$ac_ext
5704 cat >>conftest.
$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5708 static $ac_kw foo_t static_foo () {return 0; }
5709 $ac_kw foo_t foo () {return 0; }
5713 rm -f conftest.
$ac_objext
5714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5715 (eval $ac_compile) 2>conftest.er1
5717 grep -v '^ *+' conftest.er1
>conftest.err
5719 cat conftest.err
>&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } &&
5722 { ac_try
='test -z "$ac_c_werror_flag"
5723 || test ! -s conftest.err'
5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); }; } &&
5729 { ac_try
='test -s conftest.$ac_objext'
5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; }; then
5735 ac_cv_c_inline
=$ac_kw; break
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.
$ac_ext >&5
5741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5745 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5746 echo "${ECHO_T}$ac_cv_c_inline" >&6
5749 case $ac_cv_c_inline in
5752 case $ac_cv_c_inline in
5754 *) ac_val
=$ac_cv_c_inline;;
5756 cat >>confdefs.h
<<_ACEOF
5758 #define inline $ac_val
5764 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5774 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5775 inttypes.h stdint.h unistd.h
5777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5778 echo "$as_me:$LINENO: checking for $ac_header" >&5
5779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 cat >conftest.
$ac_ext <<_ACEOF
5786 cat confdefs.h
>>conftest.
$ac_ext
5787 cat >>conftest.
$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5789 $ac_includes_default
5791 #include <$ac_header>
5793 rm -f conftest.
$ac_objext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5795 (eval $ac_compile) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try
='test -z "$ac_c_werror_flag"
5803 || test ! -s conftest.err'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; } &&
5809 { ac_try
='test -s conftest.$ac_objext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 eval "$as_ac_Header=yes"
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.
$ac_ext >&5
5820 eval "$as_ac_Header=no"
5822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5827 cat >>confdefs.h
<<_ACEOF
5828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5836 echo "$as_me:$LINENO: checking for off_t" >&5
5837 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5838 if test "${ac_cv_type_off_t+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 cat >conftest.
$ac_ext <<_ACEOF
5844 cat confdefs.h
>>conftest.
$ac_ext
5845 cat >>conftest.
$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 $ac_includes_default
5859 rm -f conftest.
$ac_objext
5860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5861 (eval $ac_compile) 2>conftest.er1
5863 grep -v '^ *+' conftest.er1
>conftest.err
5865 cat conftest.err
>&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); } &&
5868 { ac_try
='test -z "$ac_c_werror_flag"
5869 || test ! -s conftest.err'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; } &&
5875 { ac_try
='test -s conftest.$ac_objext'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; }; then
5881 ac_cv_type_off_t
=yes
5883 echo "$as_me: failed program was:" >&5
5884 sed 's/^/| /' conftest.
$ac_ext >&5
5888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5890 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5891 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5892 if test $ac_cv_type_off_t = yes; then
5896 cat >>confdefs.h
<<_ACEOF
5902 echo "$as_me:$LINENO: checking for size_t" >&5
5903 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5904 if test "${ac_cv_type_size_t+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 cat >conftest.
$ac_ext <<_ACEOF
5910 cat confdefs.h
>>conftest.
$ac_ext
5911 cat >>conftest.
$ac_ext <<_ACEOF
5912 /* end confdefs.h. */
5913 $ac_includes_default
5919 if (sizeof (size_t))
5925 rm -f conftest.
$ac_objext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5927 (eval $ac_compile) 2>conftest.er1
5929 grep -v '^ *+' conftest.er1
>conftest.err
5931 cat conftest.err
>&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } &&
5934 { ac_try
='test -z "$ac_c_werror_flag"
5935 || test ! -s conftest.err'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; } &&
5941 { ac_try
='test -s conftest.$ac_objext'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; }; then
5947 ac_cv_type_size_t
=yes
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.
$ac_ext >&5
5952 ac_cv_type_size_t
=no
5954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5956 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5957 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5958 if test $ac_cv_type_size_t = yes; then
5962 cat >>confdefs.h
<<_ACEOF
5963 #define size_t unsigned
5968 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5969 # for constant arguments. Useless!
5970 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5971 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5972 if test "${ac_cv_working_alloca_h+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 cat >conftest.
$ac_ext <<_ACEOF
5978 cat confdefs.h
>>conftest.
$ac_ext
5979 cat >>conftest.
$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5985 char *p = (char *) alloca (2 * sizeof (int));
5990 rm -f conftest.
$ac_objext conftest
$ac_exeext
5991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5992 (eval $ac_link) 2>conftest.er1
5994 grep -v '^ *+' conftest.er1
>conftest.err
5996 cat conftest.err
>&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } &&
5999 { ac_try
='test -z "$ac_c_werror_flag"
6000 || test ! -s conftest.err'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; } &&
6006 { ac_try
='test -s conftest$ac_exeext'
6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 ac_cv_working_alloca_h
=yes
6014 echo "$as_me: failed program was:" >&5
6015 sed 's/^/| /' conftest.
$ac_ext >&5
6017 ac_cv_working_alloca_h
=no
6019 rm -f conftest.err conftest.
$ac_objext \
6020 conftest
$ac_exeext conftest.
$ac_ext
6022 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6023 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6024 if test $ac_cv_working_alloca_h = yes; then
6026 cat >>confdefs.h
<<\_ACEOF
6027 #define HAVE_ALLOCA_H 1
6032 echo "$as_me:$LINENO: checking for alloca" >&5
6033 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6034 if test "${ac_cv_func_alloca_works+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 cat >conftest.
$ac_ext <<_ACEOF
6040 cat confdefs.h
>>conftest.
$ac_ext
6041 cat >>conftest.
$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6044 # define alloca __builtin_alloca
6047 # include <malloc.h>
6048 # define alloca _alloca
6051 # include <alloca.h>
6056 # ifndef alloca /* predefined by HP cc +Olibcalls */
6067 char *p = (char *) alloca (1);
6072 rm -f conftest.
$ac_objext conftest
$ac_exeext
6073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6074 (eval $ac_link) 2>conftest.er1
6076 grep -v '^ *+' conftest.er1
>conftest.err
6078 cat conftest.err
>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } &&
6081 { ac_try
='test -z "$ac_c_werror_flag"
6082 || test ! -s conftest.err'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; } &&
6088 { ac_try
='test -s conftest$ac_exeext'
6089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); }; }; then
6094 ac_cv_func_alloca_works
=yes
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.
$ac_ext >&5
6099 ac_cv_func_alloca_works
=no
6101 rm -f conftest.err conftest.
$ac_objext \
6102 conftest
$ac_exeext conftest.
$ac_ext
6104 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6105 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6107 if test $ac_cv_func_alloca_works = yes; then
6109 cat >>confdefs.h
<<\_ACEOF
6110 #define HAVE_ALLOCA 1
6114 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6115 # that cause trouble. Some versions do not even contain alloca or
6116 # contain a buggy version. If you still want to use their alloca,
6117 # use ar to extract alloca.o from them instead of compiling alloca.c.
6119 ALLOCA
=alloca.
$ac_objext
6121 cat >>confdefs.h
<<\_ACEOF
6126 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6127 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6128 if test "${ac_cv_os_cray+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 cat >conftest.
$ac_ext <<_ACEOF
6134 cat confdefs.h
>>conftest.
$ac_ext
6135 cat >>conftest.
$ac_ext <<_ACEOF
6136 /* end confdefs.h. */
6137 #if defined(CRAY) && ! defined(CRAY2)
6144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6145 $EGREP "webecray" >/dev
/null
2>&1; then
6153 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6154 echo "${ECHO_T}$ac_cv_os_cray" >&6
6155 if test $ac_cv_os_cray = yes; then
6156 for ac_func
in _getb67 GETB67 getb67
; do
6157 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6158 echo "$as_me:$LINENO: checking for $ac_func" >&5
6159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6160 if eval "test \"\${$as_ac_var+set}\" = set"; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 cat >conftest.
$ac_ext <<_ACEOF
6166 cat confdefs.h
>>conftest.
$ac_ext
6167 cat >>conftest.
$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6171 #define $ac_func innocuous_$ac_func
6173 /* System header to define __stub macros and hopefully few prototypes,
6174 which can conflict with char $ac_func (); below.
6175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6176 <limits.h> exists even on freestanding compilers. */
6179 # include <limits.h>
6181 # include <assert.h>
6186 /* Override any gcc2 internal prototype to avoid an error. */
6191 /* We use char because int might match the return type of a gcc2
6192 builtin and then its argument prototype would still apply. */
6194 /* The GNU C library defines this for functions which it implements
6195 to always fail with ENOSYS. Some functions are actually named
6196 something starting with __ and the normal name is an alias. */
6197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6200 char (*f) () = $ac_func;
6209 return f != $ac_func;
6214 rm -f conftest.
$ac_objext conftest
$ac_exeext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6216 (eval $ac_link) 2>conftest.er1
6218 grep -v '^ *+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try
='test -z "$ac_c_werror_flag"
6224 || test ! -s conftest.err'
6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); }; } &&
6230 { ac_try
='test -s conftest$ac_exeext'
6231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); }; }; then
6236 eval "$as_ac_var=yes"
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.
$ac_ext >&5
6241 eval "$as_ac_var=no"
6243 rm -f conftest.err conftest.
$ac_objext \
6244 conftest
$ac_exeext conftest.
$ac_ext
6246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6248 if test `eval echo '${'$as_ac_var'}'` = yes; then
6250 cat >>confdefs.h
<<_ACEOF
6251 #define CRAY_STACKSEG_END $ac_func
6260 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6261 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6262 if test "${ac_cv_c_stack_direction+set}" = set; then
6263 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 if test "$cross_compiling" = yes; then
6266 ac_cv_c_stack_direction
=0
6268 cat >conftest.
$ac_ext <<_ACEOF
6271 cat confdefs.h
>>conftest.
$ac_ext
6272 cat >>conftest.
$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6275 find_stack_direction ()
6277 static char *addr = 0;
6282 return find_stack_direction ();
6285 return (&dummy > addr) ? 1 : -1;
6291 exit (find_stack_direction () < 0);
6294 rm -f conftest
$ac_exeext
6295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6296 (eval $ac_link) 2>&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }; }; then
6305 ac_cv_c_stack_direction
=1
6307 echo "$as_me: program exited with status $ac_status" >&5
6308 echo "$as_me: failed program was:" >&5
6309 sed 's/^/| /' conftest.
$ac_ext >&5
6312 ac_cv_c_stack_direction
=-1
6314 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6317 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6318 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6320 cat >>confdefs.h
<<_ACEOF
6321 #define STACK_DIRECTION $ac_cv_c_stack_direction
6329 for ac_header
in stdlib.h unistd.h
6331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6333 echo "$as_me:$LINENO: checking for $ac_header" >&5
6334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6341 # Is the header compilable?
6342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6344 cat >conftest.
$ac_ext <<_ACEOF
6347 cat confdefs.h
>>conftest.
$ac_ext
6348 cat >>conftest.
$ac_ext <<_ACEOF
6349 /* end confdefs.h. */
6350 $ac_includes_default
6351 #include <$ac_header>
6353 rm -f conftest.
$ac_objext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>conftest.er1
6357 grep -v '^ *+' conftest.er1
>conftest.err
6359 cat conftest.err
>&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } &&
6362 { ac_try
='test -z "$ac_c_werror_flag"
6363 || test ! -s conftest.err'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; } &&
6369 { ac_try
='test -s conftest.$ac_objext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_header_compiler
=yes
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.
$ac_ext >&5
6380 ac_header_compiler
=no
6382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6384 echo "${ECHO_T}$ac_header_compiler" >&6
6386 # Is the header present?
6387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6389 cat >conftest.
$ac_ext <<_ACEOF
6392 cat confdefs.h
>>conftest.
$ac_ext
6393 cat >>conftest.
$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6395 #include <$ac_header>
6397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6400 grep -v '^ *+' conftest.er1
>conftest.err
6402 cat conftest.err
>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } >/dev
/null
; then
6405 if test -s conftest.err
; then
6406 ac_cpp_err
=$ac_c_preproc_warn_flag
6407 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6414 if test -z "$ac_cpp_err"; then
6415 ac_header_preproc
=yes
6417 echo "$as_me: failed program was:" >&5
6418 sed 's/^/| /' conftest.
$ac_ext >&5
6420 ac_header_preproc
=no
6422 rm -f conftest.err conftest.
$ac_ext
6423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6424 echo "${ECHO_T}$ac_header_preproc" >&6
6426 # So? What about this header?
6427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6433 ac_header_preproc
=yes
6436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6450 ## ------------------------------------------ ##
6451 ## Report this to the AC_PACKAGE_NAME lists. ##
6452 ## ------------------------------------------ ##
6455 sed "s/^/$as_me: WARNING: /" >&2
6458 echo "$as_me:$LINENO: checking for $ac_header" >&5
6459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 eval "$as_ac_Header=\$ac_header_preproc"
6465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6470 cat >>confdefs.h
<<_ACEOF
6471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6479 for ac_func
in getpagesize
6481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6482 echo "$as_me:$LINENO: checking for $ac_func" >&5
6483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6484 if eval "test \"\${$as_ac_var+set}\" = set"; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 cat >conftest.
$ac_ext <<_ACEOF
6490 cat confdefs.h
>>conftest.
$ac_ext
6491 cat >>conftest.
$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6495 #define $ac_func innocuous_$ac_func
6497 /* System header to define __stub macros and hopefully few prototypes,
6498 which can conflict with char $ac_func (); below.
6499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 <limits.h> exists even on freestanding compilers. */
6503 # include <limits.h>
6505 # include <assert.h>
6510 /* Override any gcc2 internal prototype to avoid an error. */
6515 /* We use char because int might match the return type of a gcc2
6516 builtin and then its argument prototype would still apply. */
6518 /* The GNU C library defines this for functions which it implements
6519 to always fail with ENOSYS. Some functions are actually named
6520 something starting with __ and the normal name is an alias. */
6521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6524 char (*f) () = $ac_func;
6533 return f != $ac_func;
6538 rm -f conftest.
$ac_objext conftest
$ac_exeext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6540 (eval $ac_link) 2>conftest.er1
6542 grep -v '^ *+' conftest.er1
>conftest.err
6544 cat conftest.err
>&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); } &&
6547 { ac_try
='test -z "$ac_c_werror_flag"
6548 || test ! -s conftest.err'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; } &&
6554 { ac_try
='test -s conftest$ac_exeext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6560 eval "$as_ac_var=yes"
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.
$ac_ext >&5
6565 eval "$as_ac_var=no"
6567 rm -f conftest.err conftest.
$ac_objext \
6568 conftest
$ac_exeext conftest.
$ac_ext
6570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6572 if test `eval echo '${'$as_ac_var'}'` = yes; then
6573 cat >>confdefs.h
<<_ACEOF
6574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6580 echo "$as_me:$LINENO: checking for working mmap" >&5
6581 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6582 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 if test "$cross_compiling" = yes; then
6586 ac_cv_func_mmap_fixed_mapped
=no
6588 cat >conftest.
$ac_ext <<_ACEOF
6591 cat confdefs.h
>>conftest.
$ac_ext
6592 cat >>conftest.
$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6594 $ac_includes_default
6595 /* malloc might have been renamed as rpl_malloc. */
6598 /* Thanks to Mike Haertel and Jim Avera for this test.
6599 Here is a matrix of mmap possibilities:
6600 mmap private not fixed
6601 mmap private fixed at somewhere currently unmapped
6602 mmap private fixed at somewhere already mapped
6603 mmap shared not fixed
6604 mmap shared fixed at somewhere currently unmapped
6605 mmap shared fixed at somewhere already mapped
6606 For private mappings, we should verify that changes cannot be read()
6607 back from the file, nor mmap's back from the file at a different
6608 address. (There have been systems where private was not correctly
6609 implemented like the infamous i386 svr4.0, and systems where the
6610 VM page cache was not coherent with the file system buffer cache
6611 like early versions of FreeBSD and possibly contemporary NetBSD.)
6612 For shared mappings, we should conversely verify that changes get
6613 propagated back to all the places they're supposed to be.
6615 Grep wants private fixed already mapped.
6616 The main things grep needs to know about mmap are:
6617 * does it exist and is it safe to write into the mmap'd area
6618 * how to use it (BSD variants) */
6621 #include <sys/mman.h>
6623 #if !STDC_HEADERS && !HAVE_STDLIB_H
6627 /* This mess was copied from the GNU getpagesize.h. */
6628 #if !HAVE_GETPAGESIZE
6629 /* Assume that all systems that can run configure have sys/param.h. */
6630 # if !HAVE_SYS_PARAM_H
6631 # define HAVE_SYS_PARAM_H 1
6634 # ifdef _SC_PAGESIZE
6635 # define getpagesize() sysconf(_SC_PAGESIZE)
6636 # else /* no _SC_PAGESIZE */
6637 # if HAVE_SYS_PARAM_H
6638 # include <sys/param.h>
6639 # ifdef EXEC_PAGESIZE
6640 # define getpagesize() EXEC_PAGESIZE
6641 # else /* no EXEC_PAGESIZE */
6643 # define getpagesize() NBPG * CLSIZE
6646 # endif /* no CLSIZE */
6647 # else /* no NBPG */
6649 # define getpagesize() NBPC
6650 # else /* no NBPC */
6652 # define getpagesize() PAGESIZE
6653 # endif /* PAGESIZE */
6654 # endif /* no NBPC */
6655 # endif /* no NBPG */
6656 # endif /* no EXEC_PAGESIZE */
6657 # else /* no HAVE_SYS_PARAM_H */
6658 # define getpagesize() 8192 /* punt totally */
6659 # endif /* no HAVE_SYS_PARAM_H */
6660 # endif /* no _SC_PAGESIZE */
6662 #endif /* no HAVE_GETPAGESIZE */
6667 char *data, *data2, *data3;
6671 pagesize = getpagesize ();
6673 /* First, make a file with some known garbage in it. */
6674 data = (char *) malloc (pagesize);
6677 for (i = 0; i < pagesize; ++i)
6678 *(data + i) = rand ();
6680 fd = creat ("conftest.mmap", 0600);
6683 if (write (fd, data, pagesize) != pagesize)
6687 /* Next, try to mmap the file at a fixed address which already has
6688 something else allocated at it. If we can, also make sure that
6689 we see the same garbage. */
6690 fd = open ("conftest.mmap", O_RDWR);
6693 data2 = (char *) malloc (2 * pagesize);
6696 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6697 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6698 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6700 for (i = 0; i < pagesize; ++i)
6701 if (*(data + i) != *(data2 + i))
6704 /* Finally, make sure that changes to the mapped area do not
6705 percolate back to the file as seen by read(). (This is a bug on
6706 some variants of i386 svr4.0.) */
6707 for (i = 0; i < pagesize; ++i)
6708 *(data2 + i) = *(data2 + i) + 1;
6709 data3 = (char *) malloc (pagesize);
6712 if (read (fd, data3, pagesize) != pagesize)
6714 for (i = 0; i < pagesize; ++i)
6715 if (*(data + i) != *(data3 + i))
6721 rm -f conftest
$ac_exeext
6722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6723 (eval $ac_link) 2>&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); }; }; then
6732 ac_cv_func_mmap_fixed_mapped
=yes
6734 echo "$as_me: program exited with status $ac_status" >&5
6735 echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.
$ac_ext >&5
6739 ac_cv_func_mmap_fixed_mapped
=no
6741 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6744 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6745 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6746 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6748 cat >>confdefs.h
<<\_ACEOF
6765 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6766 unistd.h values.h sys
/param.h
6768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6770 echo "$as_me:$LINENO: checking for $ac_header" >&5
6771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6773 echo $ECHO_N "(cached) $ECHO_C" >&6
6775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6778 # Is the header compilable?
6779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 $ac_includes_default
6788 #include <$ac_header>
6790 rm -f conftest.
$ac_objext
6791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6792 (eval $ac_compile) 2>conftest.er1
6794 grep -v '^ *+' conftest.er1
>conftest.err
6796 cat conftest.err
>&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } &&
6799 { ac_try
='test -z "$ac_c_werror_flag"
6800 || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; } &&
6806 { ac_try
='test -s conftest.$ac_objext'
6807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; }; then
6812 ac_header_compiler
=yes
6814 echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.
$ac_ext >&5
6817 ac_header_compiler
=no
6819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6821 echo "${ECHO_T}$ac_header_compiler" >&6
6823 # Is the header present?
6824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6826 cat >conftest.
$ac_ext <<_ACEOF
6829 cat confdefs.h
>>conftest.
$ac_ext
6830 cat >>conftest.
$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6832 #include <$ac_header>
6834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1
>conftest.err
6839 cat conftest.err
>&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } >/dev
/null
; then
6842 if test -s conftest.err
; then
6843 ac_cpp_err
=$ac_c_preproc_warn_flag
6844 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6851 if test -z "$ac_cpp_err"; then
6852 ac_header_preproc
=yes
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.
$ac_ext >&5
6857 ac_header_preproc
=no
6859 rm -f conftest.err conftest.
$ac_ext
6860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6861 echo "${ECHO_T}$ac_header_preproc" >&6
6863 # So? What about this header?
6864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6870 ac_header_preproc
=yes
6873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6887 ## ------------------------------------------ ##
6888 ## Report this to the AC_PACKAGE_NAME lists. ##
6889 ## ------------------------------------------ ##
6892 sed "s/^/$as_me: WARNING: /" >&2
6895 echo "$as_me:$LINENO: checking for $ac_header" >&5
6896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6900 eval "$as_ac_Header=\$ac_header_preproc"
6902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6907 cat >>confdefs.h
<<_ACEOF
6908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6925 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6926 __argz_count __argz_stringify __argz_next
6928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6929 echo "$as_me:$LINENO: checking for $ac_func" >&5
6930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6931 if eval "test \"\${$as_ac_var+set}\" = set"; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6942 #define $ac_func innocuous_$ac_func
6944 /* System header to define __stub macros and hopefully few prototypes,
6945 which can conflict with char $ac_func (); below.
6946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6947 <limits.h> exists even on freestanding compilers. */
6950 # include <limits.h>
6952 # include <assert.h>
6957 /* Override any gcc2 internal prototype to avoid an error. */
6962 /* We use char because int might match the return type of a gcc2
6963 builtin and then its argument prototype would still apply. */
6965 /* The GNU C library defines this for functions which it implements
6966 to always fail with ENOSYS. Some functions are actually named
6967 something starting with __ and the normal name is an alias. */
6968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6971 char (*f) () = $ac_func;
6980 return f != $ac_func;
6985 rm -f conftest.
$ac_objext conftest
$ac_exeext
6986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6987 (eval $ac_link) 2>conftest.er1
6989 grep -v '^ *+' conftest.er1
>conftest.err
6991 cat conftest.err
>&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } &&
6994 { ac_try
='test -z "$ac_c_werror_flag"
6995 || test ! -s conftest.err'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; } &&
7001 { ac_try
='test -s conftest$ac_exeext'
7002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); }; }; then
7007 eval "$as_ac_var=yes"
7009 echo "$as_me: failed program was:" >&5
7010 sed 's/^/| /' conftest.
$ac_ext >&5
7012 eval "$as_ac_var=no"
7014 rm -f conftest.err conftest.
$ac_objext \
7015 conftest
$ac_exeext conftest.
$ac_ext
7017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7019 if test `eval echo '${'$as_ac_var'}'` = yes; then
7020 cat >>confdefs.h
<<_ACEOF
7021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7028 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7030 for ac_func
in stpcpy
7032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7033 echo "$as_me:$LINENO: checking for $ac_func" >&5
7034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7035 if eval "test \"\${$as_ac_var+set}\" = set"; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 cat >conftest.
$ac_ext <<_ACEOF
7041 cat confdefs.h
>>conftest.
$ac_ext
7042 cat >>conftest.
$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7046 #define $ac_func innocuous_$ac_func
7048 /* System header to define __stub macros and hopefully few prototypes,
7049 which can conflict with char $ac_func (); below.
7050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7051 <limits.h> exists even on freestanding compilers. */
7054 # include <limits.h>
7056 # include <assert.h>
7061 /* Override any gcc2 internal prototype to avoid an error. */
7066 /* We use char because int might match the return type of a gcc2
7067 builtin and then its argument prototype would still apply. */
7069 /* The GNU C library defines this for functions which it implements
7070 to always fail with ENOSYS. Some functions are actually named
7071 something starting with __ and the normal name is an alias. */
7072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7075 char (*f) () = $ac_func;
7084 return f != $ac_func;
7089 rm -f conftest.
$ac_objext conftest
$ac_exeext
7090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7091 (eval $ac_link) 2>conftest.er1
7093 grep -v '^ *+' conftest.er1
>conftest.err
7095 cat conftest.err
>&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); } &&
7098 { ac_try
='test -z "$ac_c_werror_flag"
7099 || test ! -s conftest.err'
7100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); }; } &&
7105 { ac_try
='test -s conftest$ac_exeext'
7106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); }; }; then
7111 eval "$as_ac_var=yes"
7113 echo "$as_me: failed program was:" >&5
7114 sed 's/^/| /' conftest.
$ac_ext >&5
7116 eval "$as_ac_var=no"
7118 rm -f conftest.err conftest.
$ac_objext \
7119 conftest
$ac_exeext conftest.
$ac_ext
7121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7123 if test `eval echo '${'$as_ac_var'}'` = yes; then
7124 cat >>confdefs.h
<<_ACEOF
7125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7132 if test "${ac_cv_func_stpcpy}" = "yes"; then
7134 cat >>confdefs.h
<<\_ACEOF
7135 #define HAVE_STPCPY 1
7140 if test $ac_cv_header_locale_h = yes; then
7141 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7142 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7143 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7144 echo $ECHO_N "(cached) $ECHO_C" >&6
7146 cat >conftest.
$ac_ext <<_ACEOF
7149 cat confdefs.h
>>conftest.
$ac_ext
7150 cat >>conftest.
$ac_ext <<_ACEOF
7151 /* end confdefs.h. */
7161 rm -f conftest.
$ac_objext conftest
$ac_exeext
7162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7163 (eval $ac_link) 2>conftest.er1
7165 grep -v '^ *+' conftest.er1
>conftest.err
7167 cat conftest.err
>&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); } &&
7170 { ac_try
='test -z "$ac_c_werror_flag"
7171 || test ! -s conftest.err'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try
='test -s conftest$ac_exeext'
7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 am_cv_val_LC_MESSAGES
=yes
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.
$ac_ext >&5
7188 am_cv_val_LC_MESSAGES
=no
7190 rm -f conftest.err conftest.
$ac_objext \
7191 conftest
$ac_exeext conftest.
$ac_ext
7193 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7194 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7195 if test $am_cv_val_LC_MESSAGES = yes; then
7197 cat >>confdefs.h
<<\_ACEOF
7198 #define HAVE_LC_MESSAGES 1
7203 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7204 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7205 # Check whether --enable-nls or --disable-nls was given.
7206 if test "${enable_nls+set}" = set; then
7207 enableval
="$enable_nls"
7212 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7213 echo "${ECHO_T}$USE_NLS" >&6
7216 USE_INCLUDED_LIBINTL
=no
7218 if test "$USE_NLS" = "yes"; then
7220 cat >>confdefs.h
<<\_ACEOF
7221 #define ENABLE_NLS 1
7224 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7225 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7227 # Check whether --with-included-gettext or --without-included-gettext was given.
7228 if test "${with_included_gettext+set}" = set; then
7229 withval
="$with_included_gettext"
7230 nls_cv_force_use_gnu_gettext
=$withval
7232 nls_cv_force_use_gnu_gettext
=no
7234 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7235 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7237 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7238 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7240 nls_cv_header_libgt
=
7243 if test "${ac_cv_header_libintl_h+set}" = set; then
7244 echo "$as_me:$LINENO: checking for libintl.h" >&5
7245 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7246 if test "${ac_cv_header_libintl_h+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7250 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7252 # Is the header compilable?
7253 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7254 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7255 cat >conftest.
$ac_ext <<_ACEOF
7258 cat confdefs.h
>>conftest.
$ac_ext
7259 cat >>conftest.
$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7261 $ac_includes_default
7262 #include <libintl.h>
7264 rm -f conftest.
$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7268 grep -v '^ *+' conftest.er1
>conftest.err
7270 cat conftest.err
>&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try
='test -z "$ac_c_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try
='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7286 ac_header_compiler
=yes
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.
$ac_ext >&5
7291 ac_header_compiler
=no
7293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7295 echo "${ECHO_T}$ac_header_compiler" >&6
7297 # Is the header present?
7298 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7299 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7300 cat >conftest.
$ac_ext <<_ACEOF
7303 cat confdefs.h
>>conftest.
$ac_ext
7304 cat >>conftest.
$ac_ext <<_ACEOF
7305 /* end confdefs.h. */
7306 #include <libintl.h>
7308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7311 grep -v '^ *+' conftest.er1
>conftest.err
7313 cat conftest.err
>&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } >/dev
/null
; then
7316 if test -s conftest.err
; then
7317 ac_cpp_err
=$ac_c_preproc_warn_flag
7318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7325 if test -z "$ac_cpp_err"; then
7326 ac_header_preproc
=yes
7328 echo "$as_me: failed program was:" >&5
7329 sed 's/^/| /' conftest.
$ac_ext >&5
7331 ac_header_preproc
=no
7333 rm -f conftest.err conftest.
$ac_ext
7334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7335 echo "${ECHO_T}$ac_header_preproc" >&6
7337 # So? What about this header?
7338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7340 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7341 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7342 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7343 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7344 ac_header_preproc
=yes
7347 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7348 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7349 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7350 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7351 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7352 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7353 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7354 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7355 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7356 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7358 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7361 ## ------------------------------------------ ##
7362 ## Report this to the AC_PACKAGE_NAME lists. ##
7363 ## ------------------------------------------ ##
7366 sed "s/^/$as_me: WARNING: /" >&2
7369 echo "$as_me:$LINENO: checking for libintl.h" >&5
7370 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7371 if test "${ac_cv_header_libintl_h+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 ac_cv_header_libintl_h
=$ac_header_preproc
7376 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7377 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7380 if test $ac_cv_header_libintl_h = yes; then
7381 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7382 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7383 if test "${gt_cv_func_gettext_libc+set}" = set; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 cat >conftest.
$ac_ext <<_ACEOF
7389 cat confdefs.h
>>conftest.
$ac_ext
7390 cat >>conftest.
$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7392 #include <libintl.h>
7396 return (int) gettext ("")
7401 rm -f conftest.
$ac_objext conftest
$ac_exeext
7402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7403 (eval $ac_link) 2>conftest.er1
7405 grep -v '^ *+' conftest.er1
>conftest.err
7407 cat conftest.err
>&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try
='test -z "$ac_c_werror_flag"
7411 || test ! -s conftest.err'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; } &&
7417 { ac_try
='test -s conftest$ac_exeext'
7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; }; then
7423 gt_cv_func_gettext_libc
=yes
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.
$ac_ext >&5
7428 gt_cv_func_gettext_libc
=no
7430 rm -f conftest.err conftest.
$ac_objext \
7431 conftest
$ac_exeext conftest.
$ac_ext
7433 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7434 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7436 if test "$gt_cv_func_gettext_libc" != "yes"; then
7437 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7438 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7439 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7442 ac_check_lib_save_LIBS
=$LIBS
7444 cat >conftest.
$ac_ext <<_ACEOF
7447 cat confdefs.h
>>conftest.
$ac_ext
7448 cat >>conftest.
$ac_ext <<_ACEOF
7449 /* end confdefs.h. */
7451 /* Override any gcc2 internal prototype to avoid an error. */
7455 /* We use char because int might match the return type of a gcc2
7456 builtin and then its argument prototype would still apply. */
7457 char bindtextdomain ();
7466 rm -f conftest.
$ac_objext conftest
$ac_exeext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7468 (eval $ac_link) 2>conftest.er1
7470 grep -v '^ *+' conftest.er1
>conftest.err
7472 cat conftest.err
>&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } &&
7475 { ac_try
='test -z "$ac_c_werror_flag"
7476 || test ! -s conftest.err'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; } &&
7482 { ac_try
='test -s conftest$ac_exeext'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; }; then
7488 ac_cv_lib_intl_bindtextdomain
=yes
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.
$ac_ext >&5
7493 ac_cv_lib_intl_bindtextdomain
=no
7495 rm -f conftest.err conftest.
$ac_objext \
7496 conftest
$ac_exeext conftest.
$ac_ext
7497 LIBS
=$ac_check_lib_save_LIBS
7499 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7500 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7501 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7502 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7503 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7504 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 cat >conftest.
$ac_ext <<_ACEOF
7510 cat confdefs.h
>>conftest.
$ac_ext
7511 cat >>conftest.
$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7517 return (int) gettext ("")
7522 rm -f conftest.
$ac_objext conftest
$ac_exeext
7523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7524 (eval $ac_link) 2>conftest.er1
7526 grep -v '^ *+' conftest.er1
>conftest.err
7528 cat conftest.err
>&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } &&
7531 { ac_try
='test -z "$ac_c_werror_flag"
7532 || test ! -s conftest.err'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; } &&
7538 { ac_try
='test -s conftest$ac_exeext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544 gt_cv_func_gettext_libintl
=yes
7546 echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.
$ac_ext >&5
7549 gt_cv_func_gettext_libintl
=no
7551 rm -f conftest.err conftest.
$ac_objext \
7552 conftest
$ac_exeext conftest.
$ac_ext
7554 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7555 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7560 if test "$gt_cv_func_gettext_libc" = "yes" \
7561 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7563 cat >>confdefs.h
<<\_ACEOF
7564 #define HAVE_GETTEXT 1
7567 # Extract the first word of "msgfmt", so it can be a program name with args.
7568 set dummy msgfmt
; ac_word
=$2
7569 echo "$as_me:$LINENO: checking for $ac_word" >&5
7570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7571 if test "${ac_cv_path_MSGFMT+set}" = set; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7579 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7580 for ac_dir
in $PATH; do
7581 test -z "$ac_dir" && ac_dir
=.
7582 if test -f $ac_dir/$ac_word; then
7583 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7584 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7590 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7594 MSGFMT
="$ac_cv_path_MSGFMT"
7595 if test -n "$MSGFMT"; then
7596 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7597 echo "${ECHO_T}$MSGFMT" >&6
7599 echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6
7602 if test "$MSGFMT" != "no"; then
7604 for ac_func
in dcgettext
7606 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7607 echo "$as_me:$LINENO: checking for $ac_func" >&5
7608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7609 if eval "test \"\${$as_ac_var+set}\" = set"; then
7610 echo $ECHO_N "(cached) $ECHO_C" >&6
7612 cat >conftest.
$ac_ext <<_ACEOF
7615 cat confdefs.h
>>conftest.
$ac_ext
7616 cat >>conftest.
$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7620 #define $ac_func innocuous_$ac_func
7622 /* System header to define __stub macros and hopefully few prototypes,
7623 which can conflict with char $ac_func (); below.
7624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7625 <limits.h> exists even on freestanding compilers. */
7628 # include <limits.h>
7630 # include <assert.h>
7635 /* Override any gcc2 internal prototype to avoid an error. */
7640 /* We use char because int might match the return type of a gcc2
7641 builtin and then its argument prototype would still apply. */
7643 /* The GNU C library defines this for functions which it implements
7644 to always fail with ENOSYS. Some functions are actually named
7645 something starting with __ and the normal name is an alias. */
7646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7649 char (*f) () = $ac_func;
7658 return f != $ac_func;
7663 rm -f conftest.
$ac_objext conftest
$ac_exeext
7664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7665 (eval $ac_link) 2>conftest.er1
7667 grep -v '^ *+' conftest.er1
>conftest.err
7669 cat conftest.err
>&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } &&
7672 { ac_try
='test -z "$ac_c_werror_flag"
7673 || test ! -s conftest.err'
7674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); }; } &&
7679 { ac_try
='test -s conftest$ac_exeext'
7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); }; }; then
7685 eval "$as_ac_var=yes"
7687 echo "$as_me: failed program was:" >&5
7688 sed 's/^/| /' conftest.
$ac_ext >&5
7690 eval "$as_ac_var=no"
7692 rm -f conftest.err conftest.
$ac_objext \
7693 conftest
$ac_exeext conftest.
$ac_ext
7695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7697 if test `eval echo '${'$as_ac_var'}'` = yes; then
7698 cat >>confdefs.h
<<_ACEOF
7699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7705 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7706 set dummy gmsgfmt
; ac_word
=$2
7707 echo "$as_me:$LINENO: checking for $ac_word" >&5
7708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7709 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7714 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7721 test -z "$as_dir" && as_dir
=.
7722 for ac_exec_ext
in '' $ac_executable_extensions; do
7723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7724 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7731 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7735 GMSGFMT
=$ac_cv_path_GMSGFMT
7737 if test -n "$GMSGFMT"; then
7738 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7739 echo "${ECHO_T}$GMSGFMT" >&6
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7745 # Extract the first word of "xgettext", so it can be a program name with args.
7746 set dummy xgettext
; ac_word
=$2
7747 echo "$as_me:$LINENO: checking for $ac_word" >&5
7748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7749 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7757 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7758 for ac_dir
in $PATH; do
7759 test -z "$ac_dir" && ac_dir
=.
7760 if test -f $ac_dir/$ac_word; then
7761 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7762 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7768 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7772 XGETTEXT
="$ac_cv_path_XGETTEXT"
7773 if test -n "$XGETTEXT"; then
7774 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7775 echo "${ECHO_T}$XGETTEXT" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7781 cat >conftest.
$ac_ext <<_ACEOF
7784 cat confdefs.h
>>conftest.
$ac_ext
7785 cat >>conftest.
$ac_ext <<_ACEOF
7786 /* end confdefs.h. */
7791 extern int _nl_msg_cat_cntr;
7792 return _nl_msg_cat_cntr
7797 rm -f conftest.
$ac_objext conftest
$ac_exeext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7799 (eval $ac_link) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1
>conftest.err
7803 cat conftest.err
>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try
='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try
='test -s conftest$ac_exeext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7822 echo "$as_me: failed program was:" >&5
7823 sed 's/^/| /' conftest.
$ac_ext >&5
7828 rm -f conftest.err conftest.
$ac_objext \
7829 conftest
$ac_exeext conftest.
$ac_ext
7839 if test "$CATOBJEXT" = "NONE"; then
7840 nls_cv_use_gnu_gettext
=yes
7844 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7845 INTLOBJS
="\$(GETTOBJS)"
7846 # Extract the first word of "msgfmt", so it can be a program name with args.
7847 set dummy msgfmt
; ac_word
=$2
7848 echo "$as_me:$LINENO: checking for $ac_word" >&5
7849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7850 if test "${ac_cv_path_MSGFMT+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7855 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7858 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7859 for ac_dir
in $PATH; do
7860 test -z "$ac_dir" && ac_dir
=.
7861 if test -f $ac_dir/$ac_word; then
7862 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7863 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7869 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7873 MSGFMT
="$ac_cv_path_MSGFMT"
7874 if test -n "$MSGFMT"; then
7875 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7876 echo "${ECHO_T}$MSGFMT" >&6
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7882 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7883 set dummy gmsgfmt
; ac_word
=$2
7884 echo "$as_me:$LINENO: checking for $ac_word" >&5
7885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7886 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7887 echo $ECHO_N "(cached) $ECHO_C" >&6
7891 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7898 test -z "$as_dir" && as_dir
=.
7899 for ac_exec_ext
in '' $ac_executable_extensions; do
7900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7912 GMSGFMT
=$ac_cv_path_GMSGFMT
7914 if test -n "$GMSGFMT"; then
7915 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7916 echo "${ECHO_T}$GMSGFMT" >&6
7918 echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6
7922 # Extract the first word of "xgettext", so it can be a program name with args.
7923 set dummy xgettext
; ac_word
=$2
7924 echo "$as_me:$LINENO: checking for $ac_word" >&5
7925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7926 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7934 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7935 for ac_dir
in $PATH; do
7936 test -z "$ac_dir" && ac_dir
=.
7937 if test -f $ac_dir/$ac_word; then
7938 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7939 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7945 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7949 XGETTEXT
="$ac_cv_path_XGETTEXT"
7950 if test -n "$XGETTEXT"; then
7951 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7952 echo "${ECHO_T}$XGETTEXT" >&6
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7959 USE_INCLUDED_LIBINTL
=yes
7963 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7965 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7966 nls_cv_header_intl
=libintl.h
7967 nls_cv_header_libgt
=libgettext.h
7970 if test "$XGETTEXT" != ":"; then
7971 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7974 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7975 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7980 # We need to process the po/ directory.
7984 nls_cv_header_intl
=libintl.h
7985 nls_cv_header_libgt
=libgettext.h
7988 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7989 # because some of the sources are only built for this goal.
7990 if test "$PACKAGE" = gettext; then
7992 USE_INCLUDED_LIBINTL
=yes
7995 for lang
in $ALL_LINGUAS; do
7996 GMOFILES
="$GMOFILES $lang.gmo"
7997 POFILES
="$POFILES $lang.po"
8013 if test "x$CATOBJEXT" != "x"; then
8014 if test "x$ALL_LINGUAS" = "x"; then
8017 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8018 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8020 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8021 case "$ALL_LINGUAS" in
8022 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8025 LINGUAS
=$NEW_LINGUAS
8026 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8027 echo "${ECHO_T}$LINGUAS" >&6
8030 if test -n "$LINGUAS"; then
8031 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8035 if test $ac_cv_header_locale_h = yes; then
8036 INCLUDE_LOCALE_H
="#include <locale.h>"
8039 /* The system does not provide the header <locale.h>. Take care yourself. */"
8043 if test -f $srcdir/po2tbl.
sed.
in; then
8044 if test "$CATOBJEXT" = ".cat"; then
8045 if test "${ac_cv_header_linux_version_h+set}" = set; then
8046 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8047 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8048 if test "${ac_cv_header_linux_version_h+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8052 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8054 # Is the header compilable?
8055 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8056 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8057 cat >conftest.
$ac_ext <<_ACEOF
8060 cat confdefs.h
>>conftest.
$ac_ext
8061 cat >>conftest.
$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8063 $ac_includes_default
8064 #include <linux/version.h>
8066 rm -f conftest.
$ac_objext
8067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8068 (eval $ac_compile) 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } &&
8075 { ac_try
='test -z "$ac_c_werror_flag"
8076 || test ! -s conftest.err'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; } &&
8082 { ac_try
='test -s conftest.$ac_objext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 ac_header_compiler
=yes
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.
$ac_ext >&5
8093 ac_header_compiler
=no
8095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8097 echo "${ECHO_T}$ac_header_compiler" >&6
8099 # Is the header present?
8100 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8101 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8102 cat >conftest.
$ac_ext <<_ACEOF
8105 cat confdefs.h
>>conftest.
$ac_ext
8106 cat >>conftest.
$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 #include <linux/version.h>
8110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8113 grep -v '^ *+' conftest.er1
>conftest.err
8115 cat conftest.err
>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } >/dev
/null
; then
8118 if test -s conftest.err
; then
8119 ac_cpp_err
=$ac_c_preproc_warn_flag
8120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8127 if test -z "$ac_cpp_err"; then
8128 ac_header_preproc
=yes
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.
$ac_ext >&5
8133 ac_header_preproc
=no
8135 rm -f conftest.err conftest.
$ac_ext
8136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8137 echo "${ECHO_T}$ac_header_preproc" >&6
8139 # So? What about this header?
8140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8142 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8143 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8144 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8145 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8146 ac_header_preproc
=yes
8149 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8150 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8151 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8152 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8153 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8154 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8155 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8156 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8157 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8158 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8159 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8160 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8163 ## ------------------------------------------ ##
8164 ## Report this to the AC_PACKAGE_NAME lists. ##
8165 ## ------------------------------------------ ##
8168 sed "s/^/$as_me: WARNING: /" >&2
8171 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8172 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8173 if test "${ac_cv_header_linux_version_h+set}" = set; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 ac_cv_header_linux_version_h
=$ac_header_preproc
8178 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8179 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8182 if test $ac_cv_header_linux_version_h = yes; then
8190 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8192 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8193 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8196 if test "$PACKAGE" = "gettext"; then
8206 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8212 if test -f $srcdir/po
/POTFILES.
in; then
8213 test -d po || mkdir po
8214 if test "x$srcdir" != "x."; then
8215 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8216 posrcprefix
="$srcdir/"
8218 posrcprefix
="../$srcdir/"
8224 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8225 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8229 .
${srcdir}/..
/bfd
/configure.
host
8231 # Put a plausible default for CC_FOR_BUILD in Makefile.
8232 if test -z "$CC_FOR_BUILD"; then
8233 if test "x$cross_compiling" = "xno"; then
8234 CC_FOR_BUILD
='$(CC)'
8240 # Also set EXEEXT_FOR_BUILD.
8241 if test "x$cross_compiling" = "xno"; then
8242 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8244 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8245 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8246 if test "${bfd_cv_build_exeext+set}" = set; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 echo 'int main () { return 0; }' > conftest.c
8251 bfd_cv_build_exeext
=
8252 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8253 for file in conftest.
*; do
8255 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8256 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8260 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8262 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8263 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8265 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8270 # Find a good install program. We prefer a C program (faster),
8271 # so one script is as good as another. But avoid the broken or
8272 # incompatible versions:
8273 # SysV /etc/install, /usr/sbin/install
8274 # SunOS /usr/etc/install
8275 # IRIX /sbin/install
8277 # AmigaOS /C/install, which installs bootblocks on floppy discs
8278 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8281 # OS/2's system install, which has a completely different semantic
8282 # ./install, which can be erroneously created by make from ./install.sh.
8283 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8284 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8285 if test -z "$INSTALL"; then
8286 if test "${ac_cv_path_install+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8293 test -z "$as_dir" && as_dir
=.
8294 # Account for people who put trailing slashes in PATH elements.
8296 .
/ | .
// |
/cC
/* | \
8297 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8298 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8301 # OSF1 and SCO ODT 3.0 have their own names for install.
8302 # Don't use installbsd from OSF since it installs stuff as root
8304 for ac_prog
in ginstall scoinst
install; do
8305 for ac_exec_ext
in '' $ac_executable_extensions; do
8306 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8307 if test $ac_prog = install &&
8308 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8309 # AIX install. It has an incompatible calling convention.
8311 elif test $ac_prog = install &&
8312 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8313 # program-specific install script used by HP pwplus--don't use.
8316 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8328 if test "${ac_cv_path_install+set}" = set; then
8329 INSTALL
=$ac_cv_path_install
8331 # As a last resort, use the slow shell script. We don't cache a
8332 # path for INSTALL within a source directory, because that will
8333 # break other packages using the cache if that directory is
8334 # removed, or if the path is relative.
8335 INSTALL
=$ac_install_sh
8338 echo "$as_me:$LINENO: result: $INSTALL" >&5
8339 echo "${ECHO_T}$INSTALL" >&6
8341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8342 # It thinks the first close brace ends the variable substitution.
8343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8347 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8353 for ac_header
in string.h
strings.h stdlib.h
8355 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8357 echo "$as_me:$LINENO: checking for $ac_header" >&5
8358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8365 # Is the header compilable?
8366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8368 cat >conftest.
$ac_ext <<_ACEOF
8371 cat confdefs.h
>>conftest.
$ac_ext
8372 cat >>conftest.
$ac_ext <<_ACEOF
8373 /* end confdefs.h. */
8374 $ac_includes_default
8375 #include <$ac_header>
8377 rm -f conftest.
$ac_objext
8378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8379 (eval $ac_compile) 2>conftest.er1
8381 grep -v '^ *+' conftest.er1
>conftest.err
8383 cat conftest.err
>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); } &&
8386 { ac_try
='test -z "$ac_c_werror_flag"
8387 || test ! -s conftest.err'
8388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); }; } &&
8393 { ac_try
='test -s conftest.$ac_objext'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 ac_header_compiler
=yes
8401 echo "$as_me: failed program was:" >&5
8402 sed 's/^/| /' conftest.
$ac_ext >&5
8404 ac_header_compiler
=no
8406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8408 echo "${ECHO_T}$ac_header_compiler" >&6
8410 # Is the header present?
8411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8413 cat >conftest.
$ac_ext <<_ACEOF
8416 cat confdefs.h
>>conftest.
$ac_ext
8417 cat >>conftest.
$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8419 #include <$ac_header>
8421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8422 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8424 grep -v '^ *+' conftest.er1
>conftest.err
8426 cat conftest.err
>&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } >/dev
/null
; then
8429 if test -s conftest.err
; then
8430 ac_cpp_err
=$ac_c_preproc_warn_flag
8431 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8438 if test -z "$ac_cpp_err"; then
8439 ac_header_preproc
=yes
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.
$ac_ext >&5
8444 ac_header_preproc
=no
8446 rm -f conftest.err conftest.
$ac_ext
8447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8448 echo "${ECHO_T}$ac_header_preproc" >&6
8450 # So? What about this header?
8451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8457 ac_header_preproc
=yes
8460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8474 ## ------------------------------------------ ##
8475 ## Report this to the AC_PACKAGE_NAME lists. ##
8476 ## ------------------------------------------ ##
8479 sed "s/^/$as_me: WARNING: /" >&2
8482 echo "$as_me:$LINENO: checking for $ac_header" >&5
8483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8485 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 eval "$as_ac_Header=\$ac_header_preproc"
8489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8494 cat >>confdefs.h
<<_ACEOF
8495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8504 cgendir
='$(srcdir)/../cgen'
8506 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
8507 if test "${enable_cgen_maint+set}" = set; then
8508 enableval
="$enable_cgen_maint"
8509 case "${enableval}" in
8510 yes) cgen_maint
=yes ;;
8511 no
) cgen_maint
=no
;;
8513 # argument is cgen install directory (not implemented yet).
8514 # Having a `share' directory might be more appropriate for the .scm,
8517 cgendir
=${cgen_maint}/lib
/cgen
8522 if test x
${cgen_maint} = xyes
; then
8524 CGEN_MAINT_FALSE
='#'
8534 # Horrible hacks to build DLLs on Windows.
8539 if test "$enable_shared" = "yes"; then
8540 WIN32LDFLAGS
="-no-undefined"
8541 WIN32LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
8548 # target-specific stuff:
8550 # Canonicalize the secondary target names.
8551 if test -n "$enable_targets" ; then
8552 for targ
in `echo $enable_targets | sed 's/,/ /g'`
8554 result
=`$ac_config_sub $targ 2>/dev/null`
8555 if test -n "$result" ; then
8556 canon_targets
="$canon_targets $result"
8558 # Allow targets that config.sub doesn't recognize, like "all".
8559 canon_targets
="$canon_targets $targ"
8566 for targ
in $target $canon_targets
8568 if test "x$targ" = "xall" ; then
8571 .
$srcdir/..
/bfd
/config.bfd
8572 selarchs
="$selarchs $targ_archs"
8576 # Utility var, documents generic cgen support files.
8578 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo"
8580 # We don't do any links based on the target system, just makefile config.
8582 if test x
${all_targets} = xfalse
; then
8584 # Target architecture .o files.
8587 for arch
in $selarchs
8589 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
8590 archdefs
="$archdefs -DARCH_$ad"
8592 bfd_a29k_arch
) ta
="$ta a29k-dis.lo" ;;
8593 bfd_alliant_arch
) ;;
8594 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
8595 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
8596 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
8597 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
8599 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo" ;;
8600 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
8601 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
8602 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
8603 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
8604 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
8605 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
8606 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
8607 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
8608 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
8609 bfd_i386_arch
) ta
="$ta i386-dis.lo" ;;
8610 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
8611 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
8612 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
8613 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
8614 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
8615 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 ;;
8616 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
8617 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
8618 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
8619 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
8620 bfd_maxq_arch
) ta
="$ta maxq-dis.lo" ;;
8621 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
8622 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
8623 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
8624 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
8625 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
8626 bfd_msp430_arch
) ta
="$ta msp430-dis.lo" ;;
8627 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
8628 bfd_openrisc_arch
) ta
="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen
=yes ;;
8629 bfd_or32_arch
) ta
="$ta or32-dis.lo or32-opc.lo" using_cgen
=yes ;;
8630 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
8631 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
8632 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8633 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8634 bfd_pyramid_arch
) ;;
8636 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
8637 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
8639 # We can't decide what we want just from the CPU family.
8640 # We want SH5 support unless a specific version of sh is
8641 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
8642 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
8643 for t
in $target $canon_targets; do
8645 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
8646 sh-
*-linux* | shl-
*-linux*)
8647 ta
="$ta sh64-dis.lo sh64-opc.lo"
8648 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
8652 ta
="$ta sh-dis.lo" ;;
8653 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
8655 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
8656 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
8657 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
8658 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
8659 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8660 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8661 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
8662 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
8663 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
8665 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
8666 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
8667 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
8668 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
8671 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
8672 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
8673 { (exit 1); exit 1; }; } ;;
8677 if test $using_cgen = yes ; then
8678 ta
="$ta $cgen_files"
8681 # Weed out duplicate .o files.
8691 # And duplicate -D flags.
8693 for i
in $archdefs ; do
8703 else # all_targets is true
8705 BFD_MACHINES
='$(ALL_MACHINES)'
8711 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8713 ac_config_commands
="$ac_config_commands default"
8715 cat >confcache
<<\_ACEOF
8716 # This file is a shell script that caches the results of configure
8717 # tests run on this system so they can be shared between configure
8718 # scripts and configure runs, see configure's option --config-cache.
8719 # It is not useful on other systems. If it contains results you don't
8720 # want to keep, you may remove or edit it.
8722 # config.status only pays attention to the cache file if you give it
8723 # the --recheck option to rerun configure.
8725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8731 # The following way of writing the cache mishandles newlines in values,
8732 # but we know of no workaround that is simple, portable, and efficient.
8733 # So, don't put newlines in cache variables' values.
8734 # Ultrix sh set writes to stderr and can't be redirected directly,
8735 # and sets the high bit in the cache file unless we assign to the vars.
8738 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8740 # `set' does not quote correctly, so add quotes (double-quote
8741 # substitution turns \\\\ into \\, and sed turns \\ into \).
8744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8747 # `set' quotes correctly as required by POSIX, so do not add quotes.
8749 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8758 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8760 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8761 if test -w $cache_file; then
8762 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8763 cat confcache
>$cache_file
8765 echo "not updating unwritable cache $cache_file"
8770 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8771 # Let make expand exec_prefix.
8772 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8774 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8775 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8776 # trailing colons and then remove the whole line if VPATH becomes empty
8777 # (actually we leave an empty line to preserve line numbers).
8778 if test "x$srcdir" = x.
; then
8779 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8780 s/:*\$(srcdir):*/:/;
8781 s/:*\${srcdir}:*/:/;
8783 s/^\([^=]*=[ ]*\):*/\1/;
8789 DEFS
=-DHAVE_CONFIG_H
8793 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8794 # 1. Remove the extension, and $U if already installed.
8795 ac_i
=`echo "$ac_i" |
8796 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8798 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8799 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8803 LTLIBOBJS
=$ac_ltlibobjs
8806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8807 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8808 Usually this means the macro was only invoked conditionally." >&5
8809 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8810 Usually this means the macro was only invoked conditionally." >&2;}
8811 { (exit 1); exit 1; }; }
8813 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8814 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8815 Usually this means the macro was only invoked conditionally." >&5
8816 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8817 Usually this means the macro was only invoked conditionally." >&2;}
8818 { (exit 1); exit 1; }; }
8820 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8821 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8822 Usually this means the macro was only invoked conditionally." >&5
8823 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8824 Usually this means the macro was only invoked conditionally." >&2;}
8825 { (exit 1); exit 1; }; }
8827 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
8828 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
8829 Usually this means the macro was only invoked conditionally." >&5
8830 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
8831 Usually this means the macro was only invoked conditionally." >&2;}
8832 { (exit 1); exit 1; }; }
8834 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
8835 { { echo "$as_me:$LINENO: error: conditional \"CGEN_MAINT\" was never defined.
8836 Usually this means the macro was only invoked conditionally." >&5
8837 echo "$as_me: error: conditional \"CGEN_MAINT\" was never defined.
8838 Usually this means the macro was only invoked conditionally." >&2;}
8839 { (exit 1); exit 1; }; }
8842 : ${CONFIG_STATUS=./config.status}
8843 ac_clean_files_save
=$ac_clean_files
8844 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8845 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8846 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8847 cat >$CONFIG_STATUS <<_ACEOF
8849 # Generated by $as_me.
8850 # Run this file to recreate the current configuration.
8851 # Compiler output produced by configure, useful for debugging
8852 # configure, is in config.log if it exists.
8857 SHELL=\${CONFIG_SHELL-$SHELL}
8860 cat >>$CONFIG_STATUS <<\_ACEOF
8861 ## --------------------- ##
8862 ## M4sh Initialization. ##
8863 ## --------------------- ##
8865 # Be Bourne compatible
8866 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8869 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8870 # is contrary to our usage. Disable this feature.
8871 alias -g '${1+"$@"}'='"$@"'
8872 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8875 DUALCASE
=1; export DUALCASE
# for MKS sh
8877 # Support unset when possible.
8878 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8885 # Work around bugs in pre-3.0 UWIN ksh.
8886 $as_unset ENV MAIL MAILPATH
8893 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8894 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8895 LC_TELEPHONE LC_TIME
8897 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8898 eval $as_var=C
; export $as_var
8904 # Required to use basename.
8905 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8911 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8912 as_basename
=basename
8918 # Name of the executable.
8919 as_me
=`$as_basename "$0" ||
8920 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8921 X"$0" : 'X\(//\)$' \| \
8922 X"$0" : 'X\(/\)$' \| \
8923 . : '\(.\)' 2>/dev/null ||
8925 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8926 /^X\/\(\/\/\)$/{ s//\1/; q; }
8927 /^X\/\(\/\).*/{ s//\1/; q; }
8931 # PATH needs CR, and LINENO needs CR and PATH.
8932 # Avoid depending upon Character Ranges.
8933 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8934 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8935 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8936 as_cr_digits
='0123456789'
8937 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8939 # The user is always right.
8940 if test "${PATH_SEPARATOR+set}" != set; then
8941 echo "#! /bin/sh" >conf$$.sh
8942 echo "exit 0" >>conf$$.sh
8944 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8955 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8956 test "x$as_lineno_1" != "x$as_lineno_2" &&
8957 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8958 # Find who we are. Look in the path if we contain no path at all
8961 *[\\/]* ) as_myself
=$0 ;;
8962 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8966 test -z "$as_dir" && as_dir
=.
8967 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8972 # We did not find ourselves, most probably we were run as `sh COMMAND'
8973 # in which case we are not to be found in the path.
8974 if test "x$as_myself" = x
; then
8977 if test ! -f "$as_myself"; then
8978 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8979 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8980 { (exit 1); exit 1; }; }
8982 case $CONFIG_SHELL in
8984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8985 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8988 test -z "$as_dir" && as_dir
=.
8989 for as_base
in sh bash ksh sh5
; do
8992 if ("$as_dir/$as_base" -c '
8995 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8996 test "x$as_lineno_1" != "x$as_lineno_2" &&
8997 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8998 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8999 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9000 CONFIG_SHELL
=$as_dir/$as_base
9002 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9010 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9011 # uniformly replaced by the line number. The first 'sed' inserts a
9012 # line-number line before each line; the second 'sed' does the real
9013 # work. The second script uses 'N' to pair each line-number line
9014 # with the numbered line, and appends trailing '-' during
9015 # substitution so that $LINENO is not a special case at line end.
9016 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9017 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9018 sed '=' <$as_myself |
9023 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9026 s,^['$as_cr_digits']*\n,,
9028 chmod +x
$as_me.lineno ||
9029 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9030 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9031 { (exit 1); exit 1; }; }
9033 # Don't try to exec as it changes $[0], causing all sort of problems
9034 # (the dirname of $[0] is not the place where we might find the
9035 # original and so on. Autoconf is especially sensible to this).
9037 # Exit status is that of the last command.
9042 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9043 *c
*,-n*) ECHO_N
= ECHO_C
='
9045 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9046 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9049 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9055 rm -f conf$$ conf$$.exe conf$$.
file
9057 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9058 # We could just check for DJGPP; but this test a) works b) is more generic
9059 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9060 if test -f conf$$.exe
; then
9061 # Don't use ln at all; we don't have any links
9066 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9071 rm -f conf$$ conf$$.exe conf$$.
file
9073 if mkdir
-p .
2>/dev
/null
; then
9076 test -d .
/-p && rmdir .
/-p
9080 as_executable_p
="test -f"
9082 # Sed expression to map a string onto a valid CPP name.
9083 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9085 # Sed expression to map a string onto a valid variable name.
9086 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9090 # We need space, tab and new line, in precisely that order.
9100 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9101 # report actual input values of CONFIG_FILES etc. instead of their
9102 # values after options handling. Logging --version etc. is OK.
9106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9107 ## Running $as_me. ##
9112 This file was extended by $as_me, which was
9113 generated by GNU Autoconf 2.59. Invocation command line was
9115 CONFIG_FILES = $CONFIG_FILES
9116 CONFIG_HEADERS = $CONFIG_HEADERS
9117 CONFIG_LINKS = $CONFIG_LINKS
9118 CONFIG_COMMANDS = $CONFIG_COMMANDS
9122 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9126 # Files that config.status was made for.
9127 if test -n "$ac_config_files"; then
9128 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9131 if test -n "$ac_config_headers"; then
9132 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9135 if test -n "$ac_config_links"; then
9136 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9139 if test -n "$ac_config_commands"; then
9140 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9143 cat >>$CONFIG_STATUS <<\_ACEOF
9146 \`$as_me' instantiates files from templates according to the
9147 current configuration.
9149 Usage: $0 [OPTIONS] [FILE]...
9151 -h, --help print this help, then exit
9152 -V, --version print version number, then exit
9153 -q, --quiet do not print progress messages
9154 -d, --debug don't remove temporary files
9155 --recheck update $as_me by reconfiguring in the same conditions
9156 --file=FILE[:TEMPLATE]
9157 instantiate the configuration file FILE
9158 --header=FILE[:TEMPLATE]
9159 instantiate the configuration header FILE
9161 Configuration files:
9164 Configuration headers:
9167 Configuration commands:
9170 Report bugs to <bug-autoconf@gnu.org>."
9173 cat >>$CONFIG_STATUS <<_ACEOF
9176 configured by $0, generated by GNU Autoconf 2.59,
9177 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9179 Copyright (C) 2003 Free Software Foundation, Inc.
9180 This config.status script is free software; the Free Software Foundation
9181 gives unlimited permission to copy, distribute and modify it."
9186 cat >>$CONFIG_STATUS <<\_ACEOF
9187 # If no file are specified by the user, then we need to provide default
9188 # value. By we need to know if files were specified by the user.
9194 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9195 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9203 *) # This is not an option, so the user has probably given explicit
9206 ac_need_defaults
=false
;;
9210 # Handling of the options.
9212 cat >>$CONFIG_STATUS <<\_ACEOF
9213 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9215 --version |
--vers* |
-V )
9216 echo "$ac_cs_version"; exit 0 ;;
9218 # Conflict between --help and --header
9219 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9220 Try \`$0 --help' for more information." >&5
9221 echo "$as_me: error: ambiguous option: $1
9222 Try \`$0 --help' for more information." >&2;}
9223 { (exit 1); exit 1; }; };;
9224 --help |
--hel |
-h )
9225 echo "$ac_cs_usage"; exit 0 ;;
9226 --debug |
--d* |
-d )
9228 --file |
--fil |
--fi |
--f )
9230 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9231 ac_need_defaults
=false
;;
9232 --header |
--heade |
--head |
--hea )
9234 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9235 ac_need_defaults
=false
;;
9236 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9237 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9241 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9242 Try \`$0 --help' for more information." >&5
9243 echo "$as_me: error: unrecognized option: $1
9244 Try \`$0 --help' for more information." >&2;}
9245 { (exit 1); exit 1; }; } ;;
9247 *) ac_config_targets
="$ac_config_targets $1" ;;
9253 ac_configure_extra_args
=
9255 if $ac_cs_silent; then
9257 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9261 cat >>$CONFIG_STATUS <<_ACEOF
9262 if \$ac_cs_recheck; then
9263 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9264 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9269 cat >>$CONFIG_STATUS <<_ACEOF
9271 # INIT-COMMANDS section.
9274 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9281 cat >>$CONFIG_STATUS <<\_ACEOF
9282 for ac_config_target
in $ac_config_targets
9284 case "$ac_config_target" in
9285 # Handling of arguments.
9286 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9287 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
9288 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9289 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9290 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9291 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9292 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9293 { (exit 1); exit 1; }; };;
9297 # If the user did not use the arguments to specify the items to instantiate,
9298 # then the envvar interface is used. Set only those that are not.
9299 # We use the long form for the default assignment because of an extremely
9300 # bizarre bug on SunOS 4.1.3.
9301 if $ac_need_defaults; then
9302 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9303 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9304 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9307 # Have a temporary directory for convenience. Make it in the build tree
9308 # simply because there is no reason to put it here, and in addition,
9309 # creating and moving files from /tmp can sometimes cause problems.
9310 # Create a temporary directory, and hook for its removal unless debugging.
9313 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9314 trap '{ (exit 1); exit 1; }' 1 2 13 15
9317 # Create a (secure) tmp directory for tmp files.
9320 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9321 test -n "$tmp" && test -d "$tmp"
9324 tmp
=.
/confstat$$
-$RANDOM
9325 (umask 077 && mkdir
$tmp)
9328 echo "$me: cannot create a temporary directory in ." >&2
9329 { (exit 1); exit 1; }
9334 cat >>$CONFIG_STATUS <<_ACEOF
9337 # CONFIG_FILES section.
9340 # No need to generate the scripts if there are no CONFIG_FILES.
9341 # This happens for instance when ./config.status config.h
9342 if test -n "\$CONFIG_FILES"; then
9343 # Protect against being on the right side of a sed subst in config.status.
9344 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9345 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9346 s,@SHELL@,$SHELL,;t t
9347 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9348 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9349 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9350 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9351 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9352 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9353 s,@exec_prefix@,$exec_prefix,;t t
9354 s,@prefix@,$prefix,;t t
9355 s,@program_transform_name@,$program_transform_name,;t t
9356 s,@bindir@,$bindir,;t t
9357 s,@sbindir@,$sbindir,;t t
9358 s,@libexecdir@,$libexecdir,;t t
9359 s,@datadir@,$datadir,;t t
9360 s,@sysconfdir@,$sysconfdir,;t t
9361 s,@sharedstatedir@,$sharedstatedir,;t t
9362 s,@localstatedir@,$localstatedir,;t t
9363 s,@libdir@,$libdir,;t t
9364 s,@includedir@,$includedir,;t t
9365 s,@oldincludedir@,$oldincludedir,;t t
9366 s,@infodir@,$infodir,;t t
9367 s,@mandir@,$mandir,;t t
9368 s,@build_alias@,$build_alias,;t t
9369 s,@host_alias@,$host_alias,;t t
9370 s,@target_alias@,$target_alias,;t t
9372 s,@ECHO_C@,$ECHO_C,;t t
9373 s,@ECHO_N@,$ECHO_N,;t t
9374 s,@ECHO_T@,$ECHO_T,;t t
9376 s,@build@,$build,;t t
9377 s,@build_cpu@,$build_cpu,;t t
9378 s,@build_vendor@,$build_vendor,;t t
9379 s,@build_os@,$build_os,;t t
9381 s,@host_cpu@,$host_cpu,;t t
9382 s,@host_vendor@,$host_vendor,;t t
9383 s,@host_os@,$host_os,;t t
9384 s,@target@,$target,;t t
9385 s,@target_cpu@,$target_cpu,;t t
9386 s,@target_vendor@,$target_vendor,;t t
9387 s,@target_os@,$target_os,;t t
9389 s,@CFLAGS@,$CFLAGS,;t t
9390 s,@LDFLAGS@,$LDFLAGS,;t t
9391 s,@CPPFLAGS@,$CPPFLAGS,;t t
9392 s,@ac_ct_CC@,$ac_ct_CC,;t t
9393 s,@EXEEXT@,$EXEEXT,;t t
9394 s,@OBJEXT@,$OBJEXT,;t t
9395 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9396 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9397 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9398 s,@CYGPATH_W@,$CYGPATH_W,;t t
9399 s,@PACKAGE@,$PACKAGE,;t t
9400 s,@VERSION@,$VERSION,;t t
9401 s,@ACLOCAL@,$ACLOCAL,;t t
9402 s,@AUTOCONF@,$AUTOCONF,;t t
9403 s,@AUTOMAKE@,$AUTOMAKE,;t t
9404 s,@AUTOHEADER@,$AUTOHEADER,;t t
9405 s,@MAKEINFO@,$MAKEINFO,;t t
9406 s,@install_sh@,$install_sh,;t t
9407 s,@STRIP@,$STRIP,;t t
9408 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9409 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9410 s,@mkdir_p@,$mkdir_p,;t t
9412 s,@SET_MAKE@,$SET_MAKE,;t t
9413 s,@am__leading_dot@,$am__leading_dot,;t t
9414 s,@AMTAR@,$AMTAR,;t t
9415 s,@am__tar@,$am__tar,;t t
9416 s,@am__untar@,$am__untar,;t t
9417 s,@DEPDIR@,$DEPDIR,;t t
9418 s,@am__include@,$am__include,;t t
9419 s,@am__quote@,$am__quote,;t t
9420 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9421 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9422 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9423 s,@CCDEPMODE@,$CCDEPMODE,;t t
9424 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9425 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9427 s,@ac_ct_AR@,$ac_ct_AR,;t t
9428 s,@RANLIB@,$RANLIB,;t t
9429 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9431 s,@LIBTOOL@,$LIBTOOL,;t t
9432 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9433 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9434 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9435 s,@MAINT@,$MAINT,;t t
9436 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
9437 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
9438 s,@host_noncanonical@,$host_noncanonical,;t t
9439 s,@target_noncanonical@,$target_noncanonical,;t t
9440 s,@bfdlibdir@,$bfdlibdir,;t t
9441 s,@bfdincludedir@,$bfdincludedir,;t t
9443 s,@EGREP@,$EGREP,;t t
9444 s,@ALLOCA@,$ALLOCA,;t t
9445 s,@USE_NLS@,$USE_NLS,;t t
9446 s,@MSGFMT@,$MSGFMT,;t t
9447 s,@GMSGFMT@,$GMSGFMT,;t t
9448 s,@XGETTEXT@,$XGETTEXT,;t t
9449 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9450 s,@CATALOGS@,$CATALOGS,;t t
9451 s,@CATOBJEXT@,$CATOBJEXT,;t t
9452 s,@DATADIRNAME@,$DATADIRNAME,;t t
9453 s,@GMOFILES@,$GMOFILES,;t t
9454 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9455 s,@INTLDEPS@,$INTLDEPS,;t t
9456 s,@INTLLIBS@,$INTLLIBS,;t t
9457 s,@INTLOBJS@,$INTLOBJS,;t t
9458 s,@POFILES@,$POFILES,;t t
9459 s,@POSUB@,$POSUB,;t t
9460 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9461 s,@GT_NO@,$GT_NO,;t t
9462 s,@GT_YES@,$GT_YES,;t t
9463 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9465 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9466 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
9467 s,@HDEFINES@,$HDEFINES,;t t
9468 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
9469 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
9470 s,@cgendir@,$cgendir,;t t
9471 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
9472 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
9473 s,@archdefs@,$archdefs,;t t
9474 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
9475 s,@LIBOBJS@,$LIBOBJS,;t t
9476 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9481 cat >>$CONFIG_STATUS <<\_ACEOF
9482 # Split the substitutions into bite-sized pieces for seds with
9483 # small command number limits, like on Digital OSF/1 and HP-UX.
9485 ac_sed_frag
=1 # Number of current file.
9486 ac_beg
=1 # First line for current file.
9487 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9490 while $ac_more_lines; do
9491 if test $ac_beg -gt 1; then
9492 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9494 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9496 if test ! -s $tmp/subs.frag
; then
9499 # The purpose of the label and of the branching condition is to
9500 # speed up the sed processing (if there are no `@' at all, there
9501 # is no need to browse any of the substitutions).
9502 # These are the two extra sed commands mentioned above.
9504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9505 if test -z "$ac_sed_cmds"; then
9506 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9508 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9510 ac_sed_frag
=`expr $ac_sed_frag + 1`
9512 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9515 if test -z "$ac_sed_cmds"; then
9518 fi # test -n "$CONFIG_FILES"
9521 cat >>$CONFIG_STATUS <<\_ACEOF
9522 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9523 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9525 - |
*:- |
*:-:* ) # input from stdin
9527 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9528 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9529 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9530 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9531 * ) ac_file_in
=$ac_file.
in ;;
9534 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9535 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9537 X"$ac_file" : 'X\(//\)[^/]' \| \
9538 X"$ac_file" : 'X\(//\)$' \| \
9539 X"$ac_file" : 'X\(/\)' \| \
9540 . : '\(.\)' 2>/dev/null ||
9542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9544 /^X\(\/\/\)$/{ s//\1/; q; }
9545 /^X\(\/\).*/{ s//\1/; q; }
9547 { if $as_mkdir_p; then
9552 while test ! -d "$as_dir"; do
9553 as_dirs
="$as_dir $as_dirs"
9554 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9556 X"$as_dir" : 'X\(//\)[^/]' \| \
9557 X"$as_dir" : 'X\(//\)$' \| \
9558 X"$as_dir" : 'X\(/\)' \| \
9559 . : '\(.\)' 2>/dev/null ||
9561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9562 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9563 /^X\(\/\/\)$/{ s//\1/; q; }
9564 /^X\(\/\).*/{ s//\1/; q; }
9567 test ! -n "$as_dirs" || mkdir
$as_dirs
9568 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9569 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9570 { (exit 1); exit 1; }; }; }
9574 if test "$ac_dir" != .
; then
9575 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9576 # A "../" for each directory in $ac_dir_suffix.
9577 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9579 ac_dir_suffix
= ac_top_builddir
=
9583 .
) # No --srcdir option. We are building in place.
9585 if test -z "$ac_top_builddir"; then
9588 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9590 [\\/]* | ?
:[\\/]* ) # Absolute path.
9591 ac_srcdir
=$srcdir$ac_dir_suffix;
9592 ac_top_srcdir
=$srcdir ;;
9594 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9595 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9598 # Do not use `cd foo && pwd` to compute absolute paths, because
9599 # the directories may not exist.
9601 .
) ac_abs_builddir
="$ac_dir";;
9604 .
) ac_abs_builddir
=`pwd`;;
9605 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9606 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9609 case $ac_abs_builddir in
9610 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9612 case ${ac_top_builddir}.
in
9613 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9614 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9615 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9618 case $ac_abs_builddir in
9619 .
) ac_abs_srcdir
=$ac_srcdir;;
9622 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9623 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9624 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9627 case $ac_abs_builddir in
9628 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9630 case $ac_top_srcdir in
9631 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9632 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9633 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9639 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9640 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9643 if test x
"$ac_file" != x-
; then
9644 { echo "$as_me:$LINENO: creating $ac_file" >&5
9645 echo "$as_me: creating $ac_file" >&6;}
9648 # Let's still pretend it is `configure' which instantiates (i.e., don't
9649 # use $as_me), people would be surprised to read:
9650 # /* config.h. Generated by config.status. */
9651 if test x
"$ac_file" = x-
; then
9654 configure_input
="$ac_file. "
9656 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9657 sed 's,.*/,,'` by configure."
9659 # First look for the input files in the build tree, otherwise in the
9661 ac_file_inputs
=`IFS=:
9662 for f in $ac_file_in; do
9664 -) echo $tmp/stdin ;;
9666 # Absolute (can't be DOS-style, as IFS=:)
9667 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9668 echo "$as_me: error: cannot find input file: $f" >&2;}
9669 { (exit 1); exit 1; }; }
9672 if test -f "$f"; then
9675 elif test -f "$srcdir/$f"; then
9680 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9681 echo "$as_me: error: cannot find input file: $f" >&2;}
9682 { (exit 1); exit 1; }; }
9685 done` ||
{ (exit 1); exit 1; }
9687 cat >>$CONFIG_STATUS <<_ACEOF
9691 cat >>$CONFIG_STATUS <<\_ACEOF
9693 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9694 s
,@configure_input@
,$configure_input,;t t
9695 s
,@srcdir@
,$ac_srcdir,;t t
9696 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9697 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9698 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9699 s
,@builddir@
,$ac_builddir,;t t
9700 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9701 s
,@top_builddir@
,$ac_top_builddir,;t t
9702 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9703 s
,@INSTALL@
,$ac_INSTALL,;t t
9704 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9706 if test x"$ac_file" != x-; then
9707 mv $tmp/out $ac_file
9715 cat >>$CONFIG_STATUS <<\_ACEOF
9718 # CONFIG_HEADER section.
9721 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9722 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9724 # ac_d sets the value in "#define NAME VALUE" lines.
9725 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9726 ac_dB
='[ ].*$,\1#\2'
9729 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9730 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9731 ac_uB
='$,\1#\2define\3'
9735 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9736 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9738 - |
*:- |
*:-:* ) # input from stdin
9740 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9742 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9743 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9744 * ) ac_file_in
=$ac_file.
in ;;
9747 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9748 echo "$as_me: creating $ac_file" >&6;}
9750 # First look for the input files in the build tree, otherwise in the
9752 ac_file_inputs
=`IFS=:
9753 for f in $ac_file_in; do
9755 -) echo $tmp/stdin ;;
9757 # Absolute (can't be DOS-style, as IFS=:)
9758 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9759 echo "$as_me: error: cannot find input file: $f" >&2;}
9760 { (exit 1); exit 1; }; }
9761 # Do quote $f, to prevent DOS paths from being IFS'd.
9764 if test -f "$f"; then
9767 elif test -f "$srcdir/$f"; then
9772 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9773 echo "$as_me: error: cannot find input file: $f" >&2;}
9774 { (exit 1); exit 1; }; }
9777 done` ||
{ (exit 1); exit 1; }
9778 # Remove the trailing spaces.
9779 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9783 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9784 # `conftest.undefs', that substitutes the proper values into
9785 # config.h.in to produce config.h. The first handles `#define'
9786 # templates, and the second `#undef' templates.
9787 # And first: Protect against being on the right side of a sed subst in
9788 # config.status. Protect against being in an unquoted here document
9790 rm -f conftest.defines conftest.undefs
9791 # Using a here document instead of a string reduces the quoting nightmare.
9792 # Putting comments in sed scripts is not portable.
9794 # `end' is used to avoid that the second main sed command (meant for
9795 # 0-ary CPP macros) applies to n-ary macro definitions.
9796 # See the Autoconf documentation for `clear'.
9797 cat >confdef2sed.
sed <<\_ACEOF
9802 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9804 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9807 # If some macros were called several times there might be several times
9808 # the same #defines, which is useless. Nevertheless, we may not want to
9809 # sort them, since we want the *last* AC-DEFINE to be honored.
9810 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9811 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9812 rm -f confdef2sed.sed
9814 # This sed command replaces #undef with comments. This is necessary, for
9815 # example, in the case of _POSIX_SOURCE, which is predefined and required
9816 # on some systems where configure will not decide to define it.
9817 cat >>conftest.undefs <<\_ACEOF
9818 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9821 # Break up conftest.defines because some shells have a limit on the size
9822 # of here documents, and old seds have small limits too (100 cmds).
9823 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9824 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9825 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9826 echo ' :' >>$CONFIG_STATUS
9828 while grep . conftest.defines >/dev/null
9830 # Write a limited-size here document to $tmp/defines.sed.
9831 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9832 # Speed up: don't consider the non `#define' lines.
9833 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9834 # Work around the forget-to-reset-the-flag bug.
9835 echo 't clr' >>$CONFIG_STATUS
9836 echo ': clr' >>$CONFIG_STATUS
9837 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9839 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9843 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9844 rm -f conftest.defines
9845 mv conftest.
tail conftest.defines
9847 rm -f conftest.defines
9848 echo ' fi # grep' >>$CONFIG_STATUS
9849 echo >>$CONFIG_STATUS
9851 # Break up conftest.undefs because some shells have a limit on the size
9852 # of here documents, and old seds have small limits too (100 cmds).
9853 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9855 while grep . conftest.undefs
>/dev
/null
9857 # Write a limited-size here document to $tmp/undefs.sed.
9858 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9859 # Speed up: don't consider the non
`#undef'
9860 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9861 # Work around the forget-to-reset-the-flag bug.
9862 echo 't clr' >>$CONFIG_STATUS
9863 echo ': clr' >>$CONFIG_STATUS
9864 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9866 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9870 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9871 rm -f conftest.undefs
9872 mv conftest.tail conftest.undefs
9874 rm -f conftest.undefs
9876 cat >>$CONFIG_STATUS <<\_ACEOF
9877 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9878 # use $as_me), people would be surprised to read:
9879 # /* config.h. Generated by config.status. */
9880 if test x
"$ac_file" = x-
; then
9881 echo "/* Generated by configure. */" >$tmp/config.h
9883 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9885 cat $tmp/in >>$tmp/config.h
9887 if test x
"$ac_file" != x-
; then
9888 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9889 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9890 echo "$as_me: $ac_file is unchanged" >&6;}
9892 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9894 X"$ac_file" : 'X\(//\)[^/]' \| \
9895 X"$ac_file" : 'X\(//\)$' \| \
9896 X"$ac_file" : 'X\(/\)' \| \
9897 . : '\(.\)' 2>/dev/null ||
9899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9901 /^X\(\/\/\)$/{ s//\1/; q; }
9902 /^X\(\/\).*/{ s//\1/; q; }
9904 { if $as_mkdir_p; then
9909 while test ! -d "$as_dir"; do
9910 as_dirs
="$as_dir $as_dirs"
9911 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9913 X"$as_dir" : 'X\(//\)[^/]' \| \
9914 X"$as_dir" : 'X\(//\)$' \| \
9915 X"$as_dir" : 'X\(/\)' \| \
9916 . : '\(.\)' 2>/dev/null ||
9918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9919 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9920 /^X\(\/\/\)$/{ s//\1/; q; }
9921 /^X\(\/\).*/{ s//\1/; q; }
9924 test ! -n "$as_dirs" || mkdir
$as_dirs
9925 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9926 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9927 { (exit 1); exit 1; }; }; }
9930 mv $tmp/config.h
$ac_file
9936 # Compute $ac_file's index in $config_headers.
9938 for _am_header
in $config_headers :; do
9940 $ac_file |
$ac_file:* )
9943 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9946 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9947 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9948 X$ac_file : 'X\(//\)[^/]' \| \
9949 X$ac_file : 'X\(//\)$' \| \
9950 X$ac_file : 'X\(/\)' \| \
9951 . : '\(.\)' 2>/dev/null ||
9953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9955 /^X\(\/\/\)$/{ s//\1/; q; }
9956 /^X\(\/\).*/{ s//\1/; q; }
9957 s/.*/./; q'`/stamp-h
$_am_stamp_count
9960 cat >>$CONFIG_STATUS <<\_ACEOF
9963 # CONFIG_COMMANDS section.
9965 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9966 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9967 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9968 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9969 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9970 X"$ac_dest" : 'X\(//\)[^/]' \| \
9971 X"$ac_dest" : 'X\(//\)$' \| \
9972 X"$ac_dest" : 'X\(/\)' \| \
9973 . : '\(.\)' 2>/dev/null ||
9975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9977 /^X\(\/\/\)$/{ s//\1/; q; }
9978 /^X\(\/\).*/{ s//\1/; q; }
9980 { if $as_mkdir_p; then
9985 while test ! -d "$as_dir"; do
9986 as_dirs
="$as_dir $as_dirs"
9987 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9989 X"$as_dir" : 'X\(//\)[^/]' \| \
9990 X"$as_dir" : 'X\(//\)$' \| \
9991 X"$as_dir" : 'X\(/\)' \| \
9992 . : '\(.\)' 2>/dev/null ||
9994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9996 /^X\(\/\/\)$/{ s//\1/; q; }
9997 /^X\(\/\).*/{ s//\1/; q; }
10000 test ! -n "$as_dirs" || mkdir
$as_dirs
10001 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10002 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10003 { (exit 1); exit 1; }; }; }
10007 if test "$ac_dir" != .
; then
10008 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10009 # A "../" for each directory in $ac_dir_suffix.
10010 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10012 ac_dir_suffix
= ac_top_builddir
=
10016 .
) # No --srcdir option. We are building in place.
10018 if test -z "$ac_top_builddir"; then
10021 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10023 [\\/]* | ?
:[\\/]* ) # Absolute path.
10024 ac_srcdir
=$srcdir$ac_dir_suffix;
10025 ac_top_srcdir
=$srcdir ;;
10026 *) # Relative path.
10027 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10028 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10031 # Do not use `cd foo && pwd` to compute absolute paths, because
10032 # the directories may not exist.
10034 .
) ac_abs_builddir
="$ac_dir";;
10037 .
) ac_abs_builddir
=`pwd`;;
10038 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10039 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10042 case $ac_abs_builddir in
10043 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10045 case ${ac_top_builddir}.
in
10046 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10047 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10048 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10051 case $ac_abs_builddir in
10052 .
) ac_abs_srcdir
=$ac_srcdir;;
10055 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10056 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10057 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10060 case $ac_abs_builddir in
10061 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10063 case $ac_top_srcdir in
10064 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10065 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10066 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10071 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10072 echo "$as_me: executing $ac_dest commands" >&6;}
10074 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10075 # Strip MF so we end up with the name of the file.
10076 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10077 # Check whether this is an Automake generated Makefile or not.
10078 # We used to match only the files named `Makefile.in', but
10079 # some people rename them; so instead we look at the file content.
10080 # Grep'ing the first line is not enough: some people post-process
10081 # each Makefile.in and add a new line on top of each file to say so.
10082 # So let's grep whole file.
10083 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10084 dirpart
=`(dirname "$mf") 2>/dev/null ||
10085 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10086 X"$mf" : 'X\(//\)[^/]' \| \
10087 X"$mf" : 'X\(//\)$' \| \
10088 X"$mf" : 'X\(/\)' \| \
10089 . : '\(.\)' 2>/dev/null ||
10091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10092 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10093 /^X\(\/\/\)$/{ s//\1/; q; }
10094 /^X\(\/\).*/{ s//\1/; q; }
10099 # Extract the definition of DEPDIR, am__include, and am__quote
10100 # from the Makefile without running `make'.
10101 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10102 test -z "$DEPDIR" && continue
10103 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10104 test -z "am__include" && continue
10105 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10106 # When using ansi2knr, U may be empty or an underscore; expand it
10107 U
=`sed -n 's/^U = //p' < "$mf"`
10108 # Find all dependency output files, they are included files with
10109 # $(DEPDIR) in their names. We invoke sed twice because it is the
10110 # simplest approach to changing $(DEPDIR) to its actual value in the
10112 for file in `sed -n "
10113 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10114 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10115 # Make sure the directory exists.
10116 test -f "$dirpart/$file" && continue
10117 fdir
=`(dirname "$file") 2>/dev/null ||
10118 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10119 X"$file" : 'X\(//\)[^/]' \| \
10120 X"$file" : 'X\(//\)$' \| \
10121 X"$file" : 'X\(/\)' \| \
10122 . : '\(.\)' 2>/dev/null ||
10124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10126 /^X\(\/\/\)$/{ s//\1/; q; }
10127 /^X\(\/\).*/{ s//\1/; q; }
10129 { if $as_mkdir_p; then
10130 mkdir
-p $dirpart/$fdir
10132 as_dir
=$dirpart/$fdir
10134 while test ! -d "$as_dir"; do
10135 as_dirs
="$as_dir $as_dirs"
10136 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10138 X"$as_dir" : 'X\(//\)[^/]' \| \
10139 X"$as_dir" : 'X\(//\)$' \| \
10140 X"$as_dir" : 'X\(/\)' \| \
10141 . : '\(.\)' 2>/dev/null ||
10143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10144 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10145 /^X\(\/\/\)$/{ s//\1/; q; }
10146 /^X\(\/\).*/{ s//\1/; q; }
10149 test ! -n "$as_dirs" || mkdir
$as_dirs
10150 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10151 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10152 { (exit 1); exit 1; }; }; }
10154 # echo "creating $dirpart/$file"
10155 echo '# dummy' > "$dirpart/$file"
10159 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
10164 cat >>$CONFIG_STATUS <<\_ACEOF
10166 { (exit 0); exit 0; }
10168 chmod +x
$CONFIG_STATUS
10169 ac_clean_files
=$ac_clean_files_save
10172 # configure is writing to config.log, and then calls config.status.
10173 # config.status does its own redirection, appending to config.log.
10174 # Unfortunately, on DOS this fails, as config.log is still kept open
10175 # by configure, so config.status won't be able to write to it; its
10176 # output is simply discarded. So we exec the FD to /dev/null,
10177 # effectively closing config.log, so it can be properly (re)opened and
10178 # appended to by config.status. When coming back to configure, we
10179 # need to make the FD available again.
10180 if test "$no_create" != yes; then
10182 ac_config_status_args
=
10183 test "$silent" = yes &&
10184 ac_config_status_args
="$ac_config_status_args --quiet"
10186 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10188 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10189 # would make configure fail if this is the last instruction.
10190 $ac_cs_success ||
{ (exit 1); exit 1; }