2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="as.h"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL WARN_CFLAGS GDBINIT cgen_cpu_prefix extra_objects target_cpu_type obj_format te_file install_tooldir atof BFDLIB OPCODES_LIB BFDVER_H ALL_OBJ_DEPS YACC LEX LEXLIB LEX_OUTPUT_ROOT 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBM LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CC_set
=${CC+set}
754 ac_cv_env_CC_set
=${CC+set}
755 ac_cv_env_CC_value
=$CC
756 ac_env_CFLAGS_set
=${CFLAGS+set}
757 ac_env_CFLAGS_value
=$CFLAGS
758 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value
=$CFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CPP_set
=${CPP+set}
769 ac_env_CPP_value
=$CPP
770 ac_cv_env_CPP_set
=${CPP+set}
771 ac_cv_env_CPP_value
=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --disable-dependency-tracking Speeds up one-time builds
853 --enable-dependency-tracking Do not reject slow dependency extractors
854 --enable-shared=PKGS build shared libraries default
=yes
855 --enable-static=PKGS build static libraries default
=yes
856 --enable-fast-install=PKGS optimize
for fast installation default
=yes
857 --disable-libtool-lock avoid locking
(might
break parallel builds
)
858 --enable-bfd-assembler use BFD back end
for writing object files
859 targets alternative target configurations besides the primary
860 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
861 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
862 --disable-nls do not use Native Language Support
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-gnu-ld assume the C compiler uses GNU ld default
=no
870 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 --with-included-gettext use the GNU
gettext library included here
873 Some influential environment variables
:
874 CC C compiler
command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
877 nonstandard directory
<lib dir
>
878 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
879 headers
in a nonstandard directory
<include dir
>
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
920 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
921 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
922 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
923 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
926 # Check for guested configure; otherwise get Cygnus style configure.
927 if test -f $ac_srcdir/configure.gnu; then
929 $SHELL $ac_srcdir/configure.gnu --help=recursive
930 elif test -f $ac_srcdir/configure; then
932 $SHELL $ac_srcdir/configure --help=recursive
933 elif test -f $ac_srcdir/configure.ac ||
934 test -f $ac_srcdir/configure.in; then
938 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
944 test -n "$ac_init_help" && exit 0
945 if $ac_init_version; then
948 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
949 Free Software Foundation, Inc.
950 This configure script is free software; the Free Software Foundation
951 gives unlimited permission to copy, distribute and modify it.
957 This file contains any messages produced by compilers while
958 running configure, to aid debugging if configure makes a mistake.
960 It was created by $as_me, which was
961 generated by GNU Autoconf 2.57. Invocation command line was
972 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
973 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
974 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
975 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
976 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
978 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
979 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
981 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
982 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
983 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
984 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
985 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
986 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
987 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
995 test -z "$as_dir" && as_dir=.
1011 # Keep a trace of the command line.
1012 # Strip out --no-create and --no-recursion so they do not pile up.
1013 # Strip out --silent because we don't want to record it for future runs.
1014 # Also quote any args containing shell meta-characters.
1015 # Make two passes to allow for proper duplicate-argument suppression.
1020 ac_must_keep_next=false
1026 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1030 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1031 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1034 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1036 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1037 if test $ac_must_keep_next = true; then
1038 ac_must_keep_next=false # Got value, back to normal.
1041 *=* | --config-cache | -C | -disable-* | --disable-* \
1042 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1043 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1044 | -with-* | --with-* | -without-* | --without-* | --x)
1045 case "$ac_configure_args0 " in
1046 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1049 -* ) ac_must_keep_next=true ;;
1052 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1053 # Get rid of the leading space.
1059 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1060 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1062 # When interrupted or exit'd, cleanup temporary files, and complete
1063 # config.log. We remove comments because anyway the quotes in there
1064 # would cause problems or look ugly.
1065 # WARNING: Be sure not to use single quotes in there, as some shells,
1066 # such as our DU 5.0 friend, will then `close
' the trap.
1067 trap 'exit_status
=$?
1068 # Save into config.log some information that might help in debugging.
1073 ## ---------------- ##
1074 ## Cache variables. ##
1075 ## ---------------- ##
1078 # The following way of writing the cache mishandles newlines in values,
1081 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1084 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1096 ## ----------------- ##
1097 ## Output variables. ##
1098 ## ----------------- ##
1101 for ac_var
in $ac_subst_vars
1103 eval ac_val
=$
`echo $ac_var`
1104 echo "$ac_var='"'"'$ac_val'"'"'"
1108 if test -n "$ac_subst_files"; then
1115 for ac_var
in $ac_subst_files
1117 eval ac_val
=$
`echo $ac_var`
1118 echo "$ac_var='"'"'$ac_val'"'"'"
1123 if test -s confdefs.h
; then
1130 sed "/^$/d" confdefs.h |
sort
1133 test "$ac_signal" != 0 &&
1134 echo "$as_me: caught signal $ac_signal"
1135 echo "$as_me: exit $exit_status"
1137 rm -f core core.
* *.core
&&
1138 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1141 for ac_signal in 1 2 13 15; do
1142 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1147 rm -rf conftest* confdefs.h
1148 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1151 # Predefined preprocessor variables.
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_NAME "$PACKAGE_NAME"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_STRING "$PACKAGE_STRING"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1178 # Let the site file select an alternate cache file if it wants to.
1179 # Prefer explicitly selected file to automatically selected ones.
1180 if test -z "$CONFIG_SITE"; then
1181 if test "x$prefix" != xNONE; then
1182 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1184 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1187 for ac_site_file in $CONFIG_SITE; do
1188 if test -r "$ac_site_file"; then
1189 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1190 echo "$as_me: loading site script $ac_site_file" >&6;}
1191 sed 's
/^
/|
/' "$ac_site_file" >&5
1196 if test -r "$cache_file"; then
1197 # Some versions of bash will fail to source /dev/null (special
1198 # files actually), so we avoid doing that.
1199 if test -f "$cache_file"; then
1200 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1201 echo "$as_me: loading cache $cache_file" >&6;}
1203 [\\/]* | ?:[\\/]* ) . $cache_file;;
1204 *) . ./$cache_file;;
1208 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1209 echo "$as_me: creating cache $cache_file" >&6;}
1213 # Check that the precious variables saved in the cache have kept the same
1215 ac_cache_corrupted=false
1216 for ac_var in `(set) 2>&1 |
1217 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1219 eval ac_new_set=\$ac_env_${ac_var}_set
1220 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1221 eval ac_new_val="\$ac_env_${ac_var}_value"
1222 case $ac_old_set,$ac_new_set in
1224 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1225 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1226 ac_cache_corrupted=: ;;
1228 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1229 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1230 ac_cache_corrupted=: ;;
1233 if test "x$ac_old_val" != "x$ac_new_val"; then
1234 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1235 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1236 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1237 echo "$as_me: former value: $ac_old_val" >&2;}
1238 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1239 echo "$as_me: current value: $ac_new_val" >&2;}
1240 ac_cache_corrupted=:
1243 # Pass precious variables to config.status.
1244 if test "$ac_new_set" = set; then
1246 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1248 *) ac_arg=$ac_var=$ac_new_val ;;
1250 case " $ac_configure_args " in
1251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1252 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1256 if $ac_cache_corrupted; then
1257 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1258 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1259 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1260 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1261 { (exit 1); exit 1; }; }
1265 ac_cpp='$CPP $CPPFLAGS'
1266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1267 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290 for ac_dir in .. $srcdir/..; do
1291 if test -f $ac_dir/install-sh; then
1293 ac_install_sh="$ac_aux_dir/install-sh -c"
1295 elif test -f $ac_dir/install.sh; then
1297 ac_install_sh="$ac_aux_dir/install.sh -c"
1299 elif test -f $ac_dir/shtool; then
1301 ac_install_sh="$ac_aux_dir/shtool install -c"
1305 if test -z "$ac_aux_dir"; then
1306 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1307 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1308 { (exit 1); exit 1; }; }
1310 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1311 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1312 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1314 # Make sure we can run config.sub.
1315 $ac_config_sub sun4 >/dev/null 2>&1 ||
1316 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1317 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1318 { (exit 1); exit 1; }; }
1320 echo "$as_me:$LINENO: checking build system type" >&5
1321 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1322 if test "${ac_cv_build+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1325 ac_cv_build_alias=$build_alias
1326 test -z "$ac_cv_build_alias" &&
1327 ac_cv_build_alias=`$ac_config_guess`
1328 test -z "$ac_cv_build_alias" &&
1329 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1330 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1331 { (exit 1); exit 1; }; }
1332 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1333 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1334 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1335 { (exit 1); exit 1; }; }
1338 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1339 echo "${ECHO_T}$ac_cv_build" >&6
1341 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1342 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1343 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1346 echo "$as_me:$LINENO: checking host system type" >&5
1347 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1348 if test "${ac_cv_host+set}" = set; then
1349 echo $ECHO_N "(cached) $ECHO_C" >&6
1351 ac_cv_host_alias=$host_alias
1352 test -z "$ac_cv_host_alias" &&
1353 ac_cv_host_alias=$ac_cv_build_alias
1354 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1355 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1356 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1357 { (exit 1); exit 1; }; }
1360 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1361 echo "${ECHO_T}$ac_cv_host" >&6
1363 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1364 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1365 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1368 echo "$as_me:$LINENO: checking target system type" >&5
1369 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1370 if test "${ac_cv_target+set}" = set; then
1371 echo $ECHO_N "(cached) $ECHO_C" >&6
1373 ac_cv_target_alias=$target_alias
1374 test "x$ac_cv_target_alias" = "x" &&
1375 ac_cv_target_alias=$ac_cv_host_alias
1376 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1377 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1378 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1379 { (exit 1); exit 1; }; }
1382 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1383 echo "${ECHO_T}$ac_cv_target" >&6
1384 target=$ac_cv_target
1385 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1386 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1387 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1390 # The aliases save the names the user supplied, while $host etc.
1391 # will get canonicalized.
1392 test -n "$target_alias" &&
1393 test "$program_prefix$program_suffix$program_transform_name" = \
1395 program_prefix=${target_alias}-
1397 ac_cpp='$CPP $CPPFLAGS'
1398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1399 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1401 if test -n "$ac_tool_prefix"; then
1402 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1403 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1404 echo "$as_me:$LINENO: checking for $ac_word" >&5
1405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406 if test "${ac_cv_prog_CC+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 if test -n "$CC"; then
1410 ac_cv_prog_CC="$CC" # Let the user override the test.
1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 test -z "$as_dir" && as_dir=.
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1419 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1429 if test -n "$CC"; then
1430 echo "$as_me:$LINENO: result: $CC" >&5
1431 echo "${ECHO_T}$CC" >&6
1433 echo "$as_me:$LINENO: result: no" >&5
1434 echo "${ECHO_T}no" >&6
1438 if test -z "$ac_cv_prog_CC"; then
1440 # Extract the first word of "gcc", so it can be a program name with args.
1441 set dummy gcc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$ac_ct_CC"; then
1448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_ac_ct_CC="gcc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1467 if test -n "$ac_ct_CC"; then
1468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1469 echo "${ECHO_T}$ac_ct_CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1480 if test -z "$CC"; then
1481 if test -n "$ac_tool_prefix"; then
1482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1483 set dummy ${ac_tool_prefix}cc; ac_word=$2
1484 echo "$as_me:$LINENO: checking for $ac_word" >&5
1485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1486 if test "${ac_cv_prog_CC+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 if test -n "$CC"; then
1490 ac_cv_prog_CC="$CC" # Let the user override the test.
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir=.
1497 for ac_exec_ext in '' $ac_executable_extensions; do
1498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1499 ac_cv_prog_CC="${ac_tool_prefix}cc"
1500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1509 if test -n "$CC"; then
1510 echo "$as_me:$LINENO: result: $CC" >&5
1511 echo "${ECHO_T}$CC" >&6
1513 echo "$as_me:$LINENO: result: no" >&5
1514 echo "${ECHO_T}no" >&6
1518 if test -z "$ac_cv_prog_CC"; then
1520 # Extract the first word of "cc", so it can be a program name with args.
1521 set dummy cc; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$ac_ct_CC"; then
1528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_ac_ct_CC="cc"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1547 if test -n "$ac_ct_CC"; then
1548 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1549 echo "${ECHO_T}$ac_ct_CC" >&6
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1561 if test -z "$CC"; then
1562 # Extract the first word of "cc", so it can be a program name with args.
1563 set dummy cc; ac_word=$2
1564 echo "$as_me:$LINENO: checking for $ac_word" >&5
1565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1566 if test "${ac_cv_prog_CC+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 if test -n "$CC"; then
1570 ac_cv_prog_CC="$CC" # Let the user override the test.
1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1577 test -z "$as_dir" && as_dir=.
1578 for ac_exec_ext in '' $ac_executable_extensions; do
1579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1580 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1581 ac_prog_rejected=yes
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591 if test $ac_prog_rejected = yes; then
1592 # We found a bogon in the path, so make sure we never use it.
1593 set dummy $ac_cv_prog_CC
1595 if test $# != 0; then
1596 # We chose a different compiler from the bogus one.
1597 # However, it has the same basename, so the bogon will be chosen
1598 # first if we set CC to just the basename; use the full file name.
1600 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1606 if test -n "$CC"; then
1607 echo "$as_me:$LINENO: result: $CC" >&5
1608 echo "${ECHO_T}$CC" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1615 if test -z "$CC"; then
1616 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$CC"; then
1627 ac_cv_prog_CC="$CC" # Let the user override the test.
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1654 test -n "$CC" && break
1657 if test -z "$CC"; then
1661 # Extract the first word of "$ac_prog", so it can be a program name with args.
1662 set dummy $ac_prog; ac_word=$2
1663 echo "$as_me:$LINENO: checking for $ac_word" >&5
1664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 if test -n "$ac_ct_CC"; then
1669 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 test -z "$as_dir" && as_dir=.
1676 for ac_exec_ext in '' $ac_executable_extensions; do
1677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678 ac_cv_prog_ac_ct_CC="$ac_prog"
1679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1688 if test -n "$ac_ct_CC"; then
1689 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1690 echo "${ECHO_T}$ac_ct_CC" >&6
1692 echo "$as_me:$LINENO: result: no" >&5
1693 echo "${ECHO_T}no" >&6
1696 test -n "$ac_ct_CC" && break
1705 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1706 See \`config.log' for more details.
" >&5
1707 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1708 See \
`config.log' for more details." >&2;}
1709 { (exit 1); exit 1; }; }
1711 # Provide some information about the compiler.
1712 echo "$as_me:$LINENO:" \
1713 "checking for C compiler version" >&5
1714 ac_compiler=`set X
$ac_compile; echo $2`
1715 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1716 (eval $ac_compiler --version </dev/null >&5) 2>&5
1718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1719 (exit $ac_status); }
1720 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1721 (eval $ac_compiler -v </dev/null >&5) 2>&5
1723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1724 (exit $ac_status); }
1725 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1726 (eval $ac_compiler -V </dev/null >&5) 2>&5
1728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 (exit $ac_status); }
1731 cat >conftest.$ac_ext <<_ACEOF
1732 #line $LINENO "configure"
1735 cat confdefs.h >>conftest.$ac_ext
1736 cat >>conftest.$ac_ext <<_ACEOF
1737 /* end confdefs.h. */
1747 ac_clean_files_save=$ac_clean_files
1748 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1749 # Try to create an executable without -o first, disregard a.out.
1750 # It will help us diagnose broken compilers, and finding out an intuition
1752 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1753 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1754 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1755 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1756 (eval $ac_link_default) 2>&5
1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 (exit $ac_status); }; then
1760 # Find the output, starting from the most likely. This scheme is
1761 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1764 # Be careful to initialize this variable, since it used to be cached.
1765 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1767 # b.out is created by i960 compilers.
1768 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1770 test -f "$ac_file" || continue
1772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1775 # This is the source file.
1778 # We found the default executable, but exeext='' is most
1782 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1783 # FIXME: I believe we export ac_cv_exeext for Libtool,
1784 # but it would be cool to find out if it's true. Does anybody
1785 # maintain Libtool? --akim.
1793 echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1796 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1797 See \`config.log
' for more details." >&5
1798 echo "$as_me: error: C compiler cannot create executables
1799 See \`config.log' for more details.
" >&2;}
1800 { (exit 77); exit 77; }; }
1803 ac_exeext=$ac_cv_exeext
1804 echo "$as_me:$LINENO: result
: $ac_file" >&5
1805 echo "${ECHO_T}$ac_file" >&6
1807 # Check the compiler produces executables we can run. If not, either
1808 # the compiler is broken, or we cross compile.
1809 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1810 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1811 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1812 # If not cross compiling, check that we can run a simple program.
1813 if test "$cross_compiling" != yes; then
1814 if { ac_try='./$ac_file'
1815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1819 (exit $ac_status); }; }; then
1822 if test "$cross_compiling" = maybe; then
1825 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1826 If you meant to cross compile
, use \
`--host'.
1827 See \`config.log
' for more details." >&5
1828 echo "$as_me: error: cannot run C compiled programs.
1829 If you meant to cross compile, use \`--host'.
1830 See \
`config.log' for more details." >&2;}
1831 { (exit 1); exit 1; }; }
1835 echo "$as_me:$LINENO: result: yes" >&5
1836 echo "${ECHO_T}yes" >&6
1838 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1839 ac_clean_files=$ac_clean_files_save
1840 # Check the compiler produces executables we can run. If not, either
1841 # the compiler is broken, or we cross compile.
1842 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1843 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1844 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1845 echo "${ECHO_T}$cross_compiling" >&6
1847 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1848 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1850 (eval $ac_link) 2>&5
1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 (exit $ac_status); }; then
1854 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1855 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1856 # work properly (i.e., refer to `conftest.exe'), while it won't with
1858 for ac_file
in conftest.exe conftest conftest.
*; do
1859 test -f "$ac_file" ||
continue
1861 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1862 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1869 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1870 See \`config.log' for more details." >&5
1871 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1872 See \`config.log' for more details." >&2;}
1873 { (exit 1); exit 1; }; }
1876 rm -f conftest
$ac_cv_exeext
1877 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1878 echo "${ECHO_T}$ac_cv_exeext" >&6
1880 rm -f conftest.
$ac_ext
1881 EXEEXT
=$ac_cv_exeext
1883 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1884 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1885 if test "${ac_cv_objext+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 cat >conftest.
$ac_ext <<_ACEOF
1889 #line $LINENO "configure"
1892 cat confdefs.h
>>conftest.
$ac_ext
1893 cat >>conftest.
$ac_ext <<_ACEOF
1894 /* end confdefs.h. */
1904 rm -f conftest.o conftest.obj
1905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1906 (eval $ac_compile) 2>&5
1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909 (exit $ac_status); }; then
1910 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1912 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1913 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1918 echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.
$ac_ext >&5
1921 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1922 See \`config.log' for more details." >&5
1923 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1924 See \`config.log' for more details." >&2;}
1925 { (exit 1); exit 1; }; }
1928 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1930 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1931 echo "${ECHO_T}$ac_cv_objext" >&6
1932 OBJEXT
=$ac_cv_objext
1934 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1935 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1936 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 cat >conftest.
$ac_ext <<_ACEOF
1940 #line $LINENO "configure"
1943 cat confdefs.h
>>conftest.
$ac_ext
1944 cat >>conftest.
$ac_ext <<_ACEOF
1945 /* end confdefs.h. */
1958 rm -f conftest.
$ac_objext
1959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); } &&
1964 { ac_try
='test -s conftest.$ac_objext'
1965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; }; then
1972 echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.
$ac_ext >&5
1977 rm -f conftest.
$ac_objext conftest.
$ac_ext
1978 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1981 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1982 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1983 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1984 ac_test_CFLAGS
=${CFLAGS+set}
1985 ac_save_CFLAGS
=$CFLAGS
1987 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1988 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1989 if test "${ac_cv_prog_cc_g+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 cat >conftest.
$ac_ext <<_ACEOF
1993 #line $LINENO "configure"
1996 cat confdefs.h
>>conftest.
$ac_ext
1997 cat >>conftest.
$ac_ext <<_ACEOF
1998 /* end confdefs.h. */
2008 rm -f conftest.
$ac_objext
2009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2010 (eval $ac_compile) 2>&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); } &&
2014 { ac_try
='test -s conftest.$ac_objext'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }; }; then
2022 echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.
$ac_ext >&5
2027 rm -f conftest.
$ac_objext conftest.
$ac_ext
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2031 if test "$ac_test_CFLAGS" = set; then
2032 CFLAGS
=$ac_save_CFLAGS
2033 elif test $ac_cv_prog_cc_g = yes; then
2034 if test "$GCC" = yes; then
2040 if test "$GCC" = yes; then
2046 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2047 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2048 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 ac_cv_prog_cc_stdc
=no
2053 cat >conftest.
$ac_ext <<_ACEOF
2054 #line $LINENO "configure"
2057 cat confdefs.h
>>conftest.
$ac_ext
2058 cat >>conftest.
$ac_ext <<_ACEOF
2059 /* end confdefs.h. */
2062 #include <sys/types.h>
2063 #include <sys/stat.h>
2064 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2065 struct buf { int x; };
2066 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2067 static char *e (p, i)
2073 static char *f (char * (*g) (char **, int), char **p, ...)
2078 s = g (p, va_arg (v,int));
2082 int test (int i, double x);
2083 struct s1 {int (*f) (int a);};
2084 struct s2 {int (*f) (double a);};
2085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2096 # Don't try gcc -ansi; that turns off useful extensions and
2097 # breaks some systems' header files.
2098 # AIX -qlanglvl=ansi
2099 # Ultrix and OSF/1 -std1
2100 # HP-UX 10.20 and later -Ae
2101 # HP-UX older versions -Aa -D_HPUX_SOURCE
2102 # SVR4 -Xc -D__EXTENSIONS__
2103 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2105 CC
="$ac_save_CC $ac_arg"
2106 rm -f conftest.
$ac_objext
2107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2108 (eval $ac_compile) 2>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try
='test -s conftest.$ac_objext'
2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; }; then
2118 ac_cv_prog_cc_stdc
=$ac_arg
2121 echo "$as_me: failed program was:" >&5
2122 sed 's/^/| /' conftest.
$ac_ext >&5
2125 rm -f conftest.
$ac_objext
2127 rm -f conftest.
$ac_ext conftest.
$ac_objext
2132 case "x$ac_cv_prog_cc_stdc" in
2134 echo "$as_me:$LINENO: result: none needed" >&5
2135 echo "${ECHO_T}none needed" >&6 ;;
2137 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2138 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2139 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2142 # Some people use a C++ compiler to compile C. Since we use `exit',
2143 # in C++ we need to declare it. In case someone uses the same compiler
2144 # for both compiling C and C++ we need to have the C++ compiler decide
2145 # the declaration of exit, since it's the most demanding environment.
2146 cat >conftest.
$ac_ext <<_ACEOF
2151 rm -f conftest.
$ac_objext
2152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2153 (eval $ac_compile) 2>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); } &&
2157 { ac_try
='test -s conftest.$ac_objext'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; }; then
2163 for ac_declaration
in \
2165 '#include <stdlib.h>' \
2166 'extern "C" void std::exit (int) throw (); using std::exit;' \
2167 'extern "C" void std::exit (int); using std::exit;' \
2168 'extern "C" void exit (int) throw ();' \
2169 'extern "C" void exit (int);' \
2172 cat >conftest.
$ac_ext <<_ACEOF
2173 #line $LINENO "configure"
2176 cat confdefs.h
>>conftest.
$ac_ext
2177 cat >>conftest.
$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2189 rm -f conftest.
$ac_objext
2190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2191 (eval $ac_compile) 2>&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); } &&
2195 { ac_try
='test -s conftest.$ac_objext'
2196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }; }; then
2203 echo "$as_me: failed program was:" >&5
2204 sed 's/^/| /' conftest.
$ac_ext >&5
2208 rm -f conftest.
$ac_objext conftest.
$ac_ext
2209 cat >conftest.
$ac_ext <<_ACEOF
2210 #line $LINENO "configure"
2213 cat confdefs.h
>>conftest.
$ac_ext
2214 cat >>conftest.
$ac_ext <<_ACEOF
2215 /* end confdefs.h. */
2225 rm -f conftest.
$ac_objext
2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227 (eval $ac_compile) 2>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -s conftest.$ac_objext'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2239 echo "$as_me: failed program was:" >&5
2240 sed 's/^/| /' conftest.
$ac_ext >&5
2243 rm -f conftest.
$ac_objext conftest.
$ac_ext
2246 if test -n "$ac_declaration"; then
2247 echo '#ifdef __cplusplus' >>confdefs.h
2248 echo $ac_declaration >>confdefs.h
2249 echo '#endif' >>confdefs.h
2253 echo "$as_me: failed program was:" >&5
2254 sed 's/^/| /' conftest.
$ac_ext >&5
2257 rm -f conftest.
$ac_objext conftest.
$ac_ext
2259 ac_cpp
='$CPP $CPPFLAGS'
2260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2266 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2267 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2268 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 ac_check_lib_save_LIBS
=$LIBS
2272 LIBS
="-lcposix $LIBS"
2273 cat >conftest.
$ac_ext <<_ACEOF
2274 #line $LINENO "configure"
2277 cat confdefs.h
>>conftest.
$ac_ext
2278 cat >>conftest.
$ac_ext <<_ACEOF
2279 /* end confdefs.h. */
2281 /* Override any gcc2 internal prototype to avoid an error. */
2285 /* We use char because int might match the return type of a gcc2
2286 builtin and then its argument prototype would still apply. */
2296 rm -f conftest.
$ac_objext conftest
$ac_exeext
2297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2298 (eval $ac_link) 2>&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); } &&
2302 { ac_try
='test -s conftest$ac_exeext'
2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); }; }; then
2308 ac_cv_lib_cposix_strerror
=yes
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.
$ac_ext >&5
2313 ac_cv_lib_cposix_strerror
=no
2315 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2316 LIBS
=$ac_check_lib_save_LIBS
2318 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2319 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2320 if test $ac_cv_lib_cposix_strerror = yes; then
2321 LIBS
="$LIBS -lcposix"
2327 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2328 am__api_version
="1.7"
2329 # Find a good install program. We prefer a C program (faster),
2330 # so one script is as good as another. But avoid the broken or
2331 # incompatible versions:
2332 # SysV /etc/install, /usr/sbin/install
2333 # SunOS /usr/etc/install
2334 # IRIX /sbin/install
2336 # AmigaOS /C/install, which installs bootblocks on floppy discs
2337 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2338 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2339 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2340 # ./install, which can be erroneously created by make from ./install.sh.
2341 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2342 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2343 if test -z "$INSTALL"; then
2344 if test "${ac_cv_path_install+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 # Account for people who put trailing slashes in PATH elements.
2354 .
/ | .
// |
/cC
/* | \
2355 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2358 # OSF1 and SCO ODT 3.0 have their own names for install.
2359 # Don't use installbsd from OSF since it installs stuff as root
2361 for ac_prog
in ginstall scoinst
install; do
2362 for ac_exec_ext
in '' $ac_executable_extensions; do
2363 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2364 if test $ac_prog = install &&
2365 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2366 # AIX install. It has an incompatible calling convention.
2368 elif test $ac_prog = install &&
2369 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2370 # program-specific install script used by HP pwplus--don't use.
2373 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2385 if test "${ac_cv_path_install+set}" = set; then
2386 INSTALL
=$ac_cv_path_install
2388 # As a last resort, use the slow shell script. We don't cache a
2389 # path for INSTALL within a source directory, because that will
2390 # break other packages using the cache if that directory is
2391 # removed, or if the path is relative.
2392 INSTALL
=$ac_install_sh
2395 echo "$as_me:$LINENO: result: $INSTALL" >&5
2396 echo "${ECHO_T}$INSTALL" >&6
2398 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2399 # It thinks the first close brace ends the variable substitution.
2400 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2402 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2404 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2406 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2407 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2410 echo timestamp
> conftest.
file
2411 # Do `set' in a subshell so we don't clobber the current shell's
2412 # arguments. Must try -L first in case configure is actually a
2413 # symlink; some systems play weird games with the mod time of symlinks
2414 # (eg FreeBSD returns the mod time of the symlink's containing
2417 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2418 if test "$*" = "X"; then
2420 set X
`ls -t $srcdir/configure conftest.file`
2423 if test "$*" != "X $srcdir/configure conftest.file" \
2424 && test "$*" != "X conftest.file $srcdir/configure"; then
2426 # If neither matched, then we have a broken ls. This can happen
2427 # if, for instance, CONFIG_SHELL is bash and it inherits a
2428 # broken ls alias from the environment. This has actually
2429 # happened. Such a system could not be considered "sane".
2430 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2431 alias in your environment" >&5
2432 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2433 alias in your environment" >&2;}
2434 { (exit 1); exit 1; }; }
2437 test "$2" = conftest.
file
2443 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2444 Check your system clock" >&5
2445 echo "$as_me: error: newly created file is older than distributed files!
2446 Check your system clock" >&2;}
2447 { (exit 1); exit 1; }; }
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2451 test "$program_prefix" != NONE
&&
2452 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE
&&
2455 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2456 # Double any \ or $. echo might interpret backslashes.
2457 # By default was `s,x,x', remove it if useless.
2458 cat <<\_ACEOF
>conftest.
sed
2459 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2461 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2465 # expand $ac_aux_dir to an absolute path
2466 am_aux_dir
=`cd $ac_aux_dir && pwd`
2468 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2469 # Use eval to expand $SHELL
2470 if eval "$MISSING --run true"; then
2471 am_missing_run
="$MISSING --run "
2474 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2475 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2478 for ac_prog
in gawk mawk nawk
awk
2480 # Extract the first word of "$ac_prog", so it can be a program name with args.
2481 set dummy
$ac_prog; ac_word
=$2
2482 echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2484 if test "${ac_cv_prog_AWK+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test -n "$AWK"; then
2488 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497 ac_cv_prog_AWK
="$ac_prog"
2498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 if test -n "$AWK"; then
2508 echo "$as_me:$LINENO: result: $AWK" >&5
2509 echo "${ECHO_T}$AWK" >&6
2511 echo "$as_me:$LINENO: result: no" >&5
2512 echo "${ECHO_T}no" >&6
2515 test -n "$AWK" && break
2518 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2519 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2520 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
2521 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 cat >conftest.
make <<\_ACEOF
2526 @
echo 'ac_maketemp="$(MAKE)"'
2528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2529 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2530 if test -n "$ac_maketemp"; then
2531 eval ac_cv_prog_make_
${ac_make}_set
=yes
2533 eval ac_cv_prog_make_
${ac_make}_set
=no
2537 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2538 echo "$as_me:$LINENO: result: yes" >&5
2539 echo "${ECHO_T}yes" >&6
2542 echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6
2544 SET_MAKE
="MAKE=${MAKE-make}"
2547 rm -rf .tst
2>/dev
/null
2548 mkdir .tst
2>/dev
/null
2549 if test -d .tst
; then
2554 rmdir .tst
2>/dev
/null
2556 DEPDIR
="${am__leading_dot}deps"
2558 ac_config_commands
="$ac_config_commands depfiles"
2561 am_make
=${MAKE-make}
2562 cat > confinc
<< 'END'
2567 # If we don't find an include directive, just comment out the code.
2568 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2569 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2573 # First try GNU make style include.
2574 echo "include confinc" > confmf
2575 # We grep out `Entering directory' and `Leaving directory'
2576 # messages which can occur if `w' ends up in MAKEFLAGS.
2577 # In particular we don't look at `^make:' because GNU make might
2578 # be invoked under some other name (usually "gmake"), in which
2579 # case it prints its new name instead of `make'.
2580 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2585 # Now try BSD make style include.
2586 if test "$am__include" = "#"; then
2587 echo '.include "confinc"' > confmf
2588 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2589 am__include
=.include
2596 echo "$as_me:$LINENO: result: $_am_result" >&5
2597 echo "${ECHO_T}$_am_result" >&6
2598 rm -f confinc confmf
2600 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2601 if test "${enable_dependency_tracking+set}" = set; then
2602 enableval
="$enable_dependency_tracking"
2605 if test "x$enable_dependency_tracking" != xno
; then
2606 am_depcomp
="$ac_aux_dir/depcomp"
2611 if test "x$enable_dependency_tracking" != xno; then
2621 # test to see if srcdir already configured
2622 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2623 test -f $srcdir/config.status
; then
2624 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2625 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2626 { (exit 1); exit 1; }; }
2629 # test whether we have cygpath
2630 if test -z "$CYGPATH_W"; then
2631 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2632 CYGPATH_W
='cygpath -w'
2639 # Define the identity of the package.
2641 VERSION
=${BFD_VERSION}
2644 cat >>confdefs.h
<<_ACEOF
2645 #define PACKAGE "$PACKAGE"
2649 cat >>confdefs.h
<<_ACEOF
2650 #define VERSION "$VERSION"
2653 # Some tools Automake needs.
2655 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2658 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2661 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2664 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2667 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2670 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2672 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2674 # Installed binaries are usually stripped using `strip' when the user
2675 # run `make install-strip'. However `strip' might not be the right
2676 # tool to use in cross-compilation environments, therefore Automake
2677 # will honor the `STRIP' environment variable to overrule this program.
2678 if test "$cross_compiling" != no
; then
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2681 set dummy
${ac_tool_prefix}strip
; 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_STRIP+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$STRIP"; then
2688 ac_cv_prog_STRIP
="$STRIP" # 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_STRIP
="${ac_tool_prefix}strip"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 STRIP
=$ac_cv_prog_STRIP
2707 if test -n "$STRIP"; then
2708 echo "$as_me:$LINENO: result: $STRIP" >&5
2709 echo "${ECHO_T}$STRIP" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2716 if test -z "$ac_cv_prog_STRIP"; then
2718 # Extract the first word of "strip", so it can be a program name with args.
2719 set dummy strip
; ac_word
=$2
2720 echo "$as_me:$LINENO: checking for $ac_word" >&5
2721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 if test -n "$ac_ct_STRIP"; then
2726 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2735 ac_cv_prog_ac_ct_STRIP
="strip"
2736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2745 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2746 if test -n "$ac_ct_STRIP"; then
2747 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2748 echo "${ECHO_T}$ac_ct_STRIP" >&6
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2756 STRIP
="$ac_cv_prog_STRIP"
2760 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2762 # We need awk for the "check" target. The system "awk" is bad on
2766 depcc
="$CC" am_compiler_list
=
2768 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2769 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2770 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2774 # We make a subdir and do the tests there. Otherwise we can end up
2775 # making bogus files that we don't know about and never remove. For
2776 # instance it was reported that on HP-UX the gcc test will end up
2777 # making a dummy file named `D' -- because `-MD' means `put the output
2780 # Copy depcomp to subdir because otherwise we won't find it if we're
2781 # using a relative directory.
2782 cp "$am_depcomp" conftest.dir
2784 # We will build objects and dependencies in a subdirectory because
2785 # it helps to detect inapplicable dependency modes. For instance
2786 # both Tru64's cc and ICC support -MD to output dependencies as a
2787 # side effect of compilation, but ICC will put the dependencies in
2788 # the current directory while Tru64 will put them in the object
2792 am_cv_CC_dependencies_compiler_type
=none
2793 if test "$am_compiler_list" = ""; then
2794 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2796 for depmode
in $am_compiler_list; do
2797 # Setup a source with many dependencies, because some compilers
2798 # like to wrap large dependency lists on column 80 (with \), and
2799 # we should not choose a depcomp mode which is confused by this.
2801 # We need to recreate these files for each test, as the compiler may
2802 # overwrite some of them when testing with obscure command lines.
2803 # This happens at least with the AIX C compiler.
2805 for i
in 1 2 3 4 5 6; do
2806 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2813 # after this tag, mechanisms are not by side-effect, so they'll
2814 # only be used when explicitly requested
2815 if test "x$enable_dependency_tracking" = xyes
; then
2823 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2824 # mode. It turns out that the SunPro C++ compiler does not properly
2825 # handle `-M -o', and we need to detect this.
2826 if depmode
=$depmode \
2827 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2828 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2829 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2830 >/dev
/null
2>conftest.err
&&
2831 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2832 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2833 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2834 # icc doesn't choke on unknown options, it will just issue warnings
2835 # (even with -Werror). So we grep stderr for any message
2836 # that says an option was ignored.
2837 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2838 am_cv_CC_dependencies_compiler_type
=$depmode
2847 am_cv_CC_dependencies_compiler_type
=none
2851 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2852 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2853 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2858 test "x$enable_dependency_tracking" != xno \
2859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2861 am__fastdepCC_FALSE
='#'
2863 am__fastdepCC_TRUE
='#'
2864 am__fastdepCC_FALSE
=
2870 # Check whether --enable-shared or --disable-shared was given.
2871 if test "${enable_shared+set}" = set; then
2872 enableval
="$enable_shared"
2873 p
=${PACKAGE-default}
2875 yes) enable_shared
=yes ;;
2876 no
) enable_shared
=no
;;
2879 # Look at the argument we got. We use all the common list separators.
2880 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2881 for pkg
in $enableval; do
2882 if test "X$pkg" = "X$p"; then
2892 # Check whether --enable-static or --disable-static was given.
2893 if test "${enable_static+set}" = set; then
2894 enableval
="$enable_static"
2895 p
=${PACKAGE-default}
2897 yes) enable_static
=yes ;;
2898 no
) enable_static
=no
;;
2901 # Look at the argument we got. We use all the common list separators.
2902 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2903 for pkg
in $enableval; do
2904 if test "X$pkg" = "X$p"; then
2914 # Check whether --enable-fast-install or --disable-fast-install was given.
2915 if test "${enable_fast_install+set}" = set; then
2916 enableval
="$enable_fast_install"
2917 p
=${PACKAGE-default}
2919 yes) enable_fast_install
=yes ;;
2920 no
) enable_fast_install
=no
;;
2922 enable_fast_install
=no
2923 # Look at the argument we got. We use all the common list separators.
2924 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2925 for pkg
in $enableval; do
2926 if test "X$pkg" = "X$p"; then
2927 enable_fast_install
=yes
2934 enable_fast_install
=yes
2937 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2938 if test "${with_gnu_ld+set}" = set; then
2939 withval
="$with_gnu_ld"
2940 test "$withval" = no || with_gnu_ld
=yes
2945 if test "$GCC" = yes; then
2946 # Check if gcc -print-prog-name=ld gives a path.
2947 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2948 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2951 # gcc leaves a trailing carriage return which upsets mingw
2952 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2954 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2957 # Accept absolute paths.
2958 [\\/]* |
[A-Za-z
]:[\\/]*)
2959 re_direlt
='/[^/][^/]*/\.\./'
2960 # Canonicalize the path of ld
2961 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2962 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2963 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2965 test -z "$LD" && LD
="$ac_prog"
2968 # If it fails, then pretend we aren't using GCC.
2972 # If it is relative, then search for the first ld in PATH.
2976 elif test "$with_gnu_ld" = yes; then
2977 echo "$as_me:$LINENO: checking for GNU ld" >&5
2978 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2980 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2981 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2983 if test "${lt_cv_path_LD+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -z "$LD"; then
2987 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2988 for ac_dir
in $PATH; do
2989 test -z "$ac_dir" && ac_dir
=.
2990 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
2991 lt_cv_path_LD
="$ac_dir/$ac_prog"
2992 # Check to see if the program is GNU ld. I'd rather use --version,
2993 # but apparently some GNU ld's only accept -v.
2994 # Break only if it was the GNU/non-GNU ld that we prefer.
2995 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
2996 test "$with_gnu_ld" != no
&& break
2998 test "$with_gnu_ld" != yes && break
3004 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3009 if test -n "$LD"; then
3010 echo "$as_me:$LINENO: result: $LD" >&5
3011 echo "${ECHO_T}$LD" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3016 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3017 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3018 { (exit 1); exit 1; }; }
3019 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3020 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3021 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3025 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3026 lt_cv_prog_gnu_ld
=yes
3028 lt_cv_prog_gnu_ld
=no
3031 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3032 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3033 with_gnu_ld
=$lt_cv_prog_gnu_ld
3036 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3037 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3038 if test "${lt_cv_ld_reload_flag+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 lt_cv_ld_reload_flag
='-r'
3043 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3044 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3045 reload_flag
=$lt_cv_ld_reload_flag
3046 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3048 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3049 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3050 if test "${lt_cv_path_NM+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 if test -n "$NM"; then
3054 # Let the user override the test.
3057 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3058 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3059 test -z "$ac_dir" && ac_dir
=.
3060 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3061 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3062 # Check to see if the nm accepts a BSD-compat flag.
3063 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3064 # nm: unknown option "B" ignored
3065 # Tru64's nm complains that /dev/null is an invalid object file
3066 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3067 lt_cv_path_NM
="$tmp_nm -B"
3069 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3070 lt_cv_path_NM
="$tmp_nm -p"
3073 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3074 continue # so that we can try to find one that supports BSD flags
3079 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3084 echo "$as_me:$LINENO: result: $NM" >&5
3085 echo "${ECHO_T}$NM" >&6
3087 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3088 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3090 if test "$LN_S" = "ln -s"; then
3091 echo "$as_me:$LINENO: result: yes" >&5
3092 echo "${ECHO_T}yes" >&6
3094 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3095 echo "${ECHO_T}no, using $LN_S" >&6
3098 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3099 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3100 if test "${lt_cv_deplibs_check_method+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3104 lt_cv_file_magic_test_file
=
3105 lt_cv_deplibs_check_method
='unknown'
3106 # Need to set the preceding variable on all platforms that support
3107 # interlibrary dependencies.
3108 # 'none' -- dependencies not supported.
3109 # `unknown' -- same as none, but documents that we really don't know.
3110 # 'pass_all' -- all dependencies passed with no checks.
3111 # 'test_compile' -- check by making test program.
3112 # 'file_magic [regex]' -- check by looking for files in library path
3113 # which responds to the $file_magic_cmd with a given egrep regex.
3114 # If you have `file' or equivalent on your system and you're not sure
3115 # whether `pass_all' will *always* work, you probably want this one.
3119 lt_cv_deplibs_check_method
=pass_all
3123 lt_cv_deplibs_check_method
=pass_all
3127 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3128 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3129 lt_cv_file_magic_test_file
=/shlib
/libc.so
3132 cygwin
* | mingw
* |pw32
*)
3133 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3134 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3137 darwin
* | rhapsody
*)
3138 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3139 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3141 rhapsody
* | darwin1.012
)
3142 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3145 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3151 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3154 # Not sure whether the presence of OpenBSD here was a mistake.
3155 # Let's accept both of them until this is cleared up.
3156 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3157 lt_cv_file_magic_cmd
=/usr
/bin
/file
3158 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3162 lt_cv_deplibs_check_method
=pass_all
3167 lt_cv_deplibs_check_method
=pass_all
3173 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3174 lt_cv_file_magic_cmd
=/usr
/bin
/file
3175 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3178 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3179 lt_cv_file_magic_cmd
=/usr
/bin
/file
3180 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3188 # this will be overridden with pass_all, but let us keep it just in case
3189 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3193 *-32|
*"-32 ") libmagic
=32-bit;;
3194 *-n32|
*"-n32 ") libmagic
=N32
;;
3195 *-64|
*"-64 ") libmagic
=64-bit;;
3196 *) libmagic
=never-match
;;
3198 # this will be overridden with pass_all, but let us keep it just in case
3199 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3202 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3203 lt_cv_deplibs_check_method
=pass_all
3206 # This must be Linux ELF.
3209 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3210 lt_cv_deplibs_check_method
=pass_all
;;
3212 # glibc up to 2.1.1 does not perform some relocations on ARM
3213 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3215 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3219 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3220 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3222 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3227 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3228 lt_cv_file_magic_cmd
=/usr
/bin
/file
3229 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3232 osf3
* | osf4
* | osf5
*)
3233 # this will be overridden with pass_all, but let us keep it just in case
3234 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3235 lt_cv_file_magic_test_file
=/shlib
/libc.so
3236 lt_cv_deplibs_check_method
=pass_all
3240 lt_cv_deplibs_check_method
=pass_all
3244 lt_cv_deplibs_check_method
=pass_all
3245 lt_cv_file_magic_test_file
=/lib
/libc.so
3248 sysv5uw
[78]* | sysv4
*uw2
*)
3249 lt_cv_deplibs_check_method
=pass_all
3252 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3253 case $host_vendor in
3255 lt_cv_deplibs_check_method
=pass_all
3258 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]'
3259 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3266 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3267 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3268 file_magic_cmd
=$lt_cv_file_magic_cmd
3269 deplibs_check_method
=$lt_cv_deplibs_check_method
3274 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3276 # Only perform the check for file, if the check method requires it
3277 case $deplibs_check_method in
3279 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3280 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3281 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3282 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3290 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3293 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3294 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3295 ac_dummy
="/usr/bin:$PATH"
3296 for ac_dir
in $ac_dummy; do
3297 test -z "$ac_dir" && ac_dir
=.
3298 if test -f $ac_dir/${ac_tool_prefix}file; then
3299 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3300 if test -n "$file_magic_test_file"; then
3301 case $deplibs_check_method in
3303 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3304 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3305 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3306 egrep "$file_magic_regex" > /dev
/null
; then
3311 *** Warning: the command libtool uses to detect shared libraries,
3312 *** $file_magic_cmd, produces output that libtool cannot recognize.
3313 *** The result is that libtool may fail to recognize shared libraries
3314 *** as such. This will affect the creation of libtool libraries that
3315 *** depend on shared libraries, but programs linked with such libtool
3316 *** libraries will work regardless of this problem. Nevertheless, you
3317 *** may want to report the problem to your system manager and/or to
3318 *** bug-libtool@gnu.org
3328 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3333 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3334 if test -n "$MAGIC_CMD"; then
3335 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3336 echo "${ECHO_T}$MAGIC_CMD" >&6
3338 echo "$as_me:$LINENO: result: no" >&5
3339 echo "${ECHO_T}no" >&6
3342 if test -z "$lt_cv_path_MAGIC_CMD"; then
3343 if test -n "$ac_tool_prefix"; then
3344 echo "$as_me:$LINENO: checking for file" >&5
3345 echo $ECHO_N "checking for file... $ECHO_C" >&6
3346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3354 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3357 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3358 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3359 ac_dummy
="/usr/bin:$PATH"
3360 for ac_dir
in $ac_dummy; do
3361 test -z "$ac_dir" && ac_dir
=.
3362 if test -f $ac_dir/file; then
3363 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3364 if test -n "$file_magic_test_file"; then
3365 case $deplibs_check_method in
3367 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3368 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3369 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3370 egrep "$file_magic_regex" > /dev
/null
; then
3375 *** Warning: the command libtool uses to detect shared libraries,
3376 *** $file_magic_cmd, produces output that libtool cannot recognize.
3377 *** The result is that libtool may fail to recognize shared libraries
3378 *** as such. This will affect the creation of libtool libraries that
3379 *** depend on shared libraries, but programs linked with such libtool
3380 *** libraries will work regardless of this problem. Nevertheless, you
3381 *** may want to report the problem to your system manager and/or to
3382 *** bug-libtool@gnu.org
3392 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3397 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3398 if test -n "$MAGIC_CMD"; then
3399 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3400 echo "${ECHO_T}$MAGIC_CMD" >&6
3402 echo "$as_me:$LINENO: result: no" >&5
3403 echo "${ECHO_T}no" >&6
3415 if test -n "$ac_tool_prefix"; then
3416 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3417 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3418 echo "$as_me:$LINENO: checking for $ac_word" >&5
3419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420 if test "${ac_cv_prog_RANLIB+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 if test -n "$RANLIB"; then
3424 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir
=.
3431 for ac_exec_ext
in '' $ac_executable_extensions; do
3432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 RANLIB
=$ac_cv_prog_RANLIB
3443 if test -n "$RANLIB"; then
3444 echo "$as_me:$LINENO: result: $RANLIB" >&5
3445 echo "${ECHO_T}$RANLIB" >&6
3447 echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6
3452 if test -z "$ac_cv_prog_RANLIB"; then
3453 ac_ct_RANLIB
=$RANLIB
3454 # Extract the first word of "ranlib", so it can be a program name with args.
3455 set dummy ranlib
; ac_word
=$2
3456 echo "$as_me:$LINENO: checking for $ac_word" >&5
3457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 if test -n "$ac_ct_RANLIB"; then
3462 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir
=.
3469 for ac_exec_ext
in '' $ac_executable_extensions; do
3470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3481 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3482 if test -n "$ac_ct_RANLIB"; then
3483 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3484 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3490 RANLIB
=$ac_ct_RANLIB
3492 RANLIB
="$ac_cv_prog_RANLIB"
3495 if test -n "$ac_tool_prefix"; then
3496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3497 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_STRIP+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 if test -n "$STRIP"; then
3504 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir
=.
3511 for ac_exec_ext
in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 STRIP
=$ac_cv_prog_STRIP
3523 if test -n "$STRIP"; then
3524 echo "$as_me:$LINENO: result: $STRIP" >&5
3525 echo "${ECHO_T}$STRIP" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3532 if test -z "$ac_cv_prog_STRIP"; then
3534 # Extract the first word of "strip", so it can be a program name with args.
3535 set dummy strip
; ac_word
=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 if test -n "$ac_ct_STRIP"; then
3542 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_ac_ct_STRIP
="strip"
3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3561 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3562 if test -n "$ac_ct_STRIP"; then
3563 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3564 echo "${ECHO_T}$ac_ct_STRIP" >&6
3566 echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6
3572 STRIP
="$ac_cv_prog_STRIP"
3576 # Check for any special flags to pass to ltconfig.
3577 libtool_flags
="--cache-file=$cache_file"
3578 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3579 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3580 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3581 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3582 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3585 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3586 if test "${enable_libtool_lock+set}" = set; then
3587 enableval
="$enable_libtool_lock"
3590 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3591 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3594 # Check whether --with-pic or --without-pic was given.
3595 if test "${with_pic+set}" = set; then
3601 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3602 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3604 # Some flags need to be propagated to the compiler or linker for good
3608 # Find out which ABI we are using.
3609 echo '#line 3609 "configure"' > conftest.
$ac_ext
3610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3611 (eval $ac_compile) 2>&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; then
3615 if test "$lt_cv_prog_gnu_ld" = yes; then
3616 case `/usr/bin/file conftest.$ac_objext` in
3618 LD
="${LD-ld} -melf32bsmip"
3621 LD
="${LD-ld} -melf32bmipn32"
3624 LD
="${LD-ld} -melf64bmip"
3628 case `/usr/bin/file conftest.$ac_objext` in
3645 # Find out which ABI we are using.
3646 echo 'int i;' > conftest.
$ac_ext
3647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3648 (eval $ac_compile) 2>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }; then
3652 case "`/usr/bin/file conftest.o`" in
3665 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3666 SAVE_CFLAGS
="$CFLAGS"
3667 CFLAGS
="$CFLAGS -belf"
3668 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3669 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3670 if test "${lt_cv_cc_needs_belf+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 ac_cpp
='$CPP $CPPFLAGS'
3677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3681 cat >conftest.
$ac_ext <<_ACEOF
3682 #line $LINENO "configure"
3685 cat confdefs.h
>>conftest.
$ac_ext
3686 cat >>conftest.
$ac_ext <<_ACEOF
3687 /* end confdefs.h. */
3697 rm -f conftest.
$ac_objext conftest
$ac_exeext
3698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3699 (eval $ac_link) 2>&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); } &&
3703 { ac_try
='test -s conftest$ac_exeext'
3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; }; then
3709 lt_cv_cc_needs_belf
=yes
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 lt_cv_cc_needs_belf
=no
3716 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3718 ac_cpp
='$CPP $CPPFLAGS'
3719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3724 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3725 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3726 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3727 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3728 CFLAGS
="$SAVE_CFLAGS"
3736 # Save cache, so that ltconfig can load it
3737 cat >confcache
<<\_ACEOF
3738 # This file is a shell script that caches the results of configure
3739 # tests run on this system so they can be shared between configure
3740 # scripts and configure runs, see configure's option --config-cache.
3741 # It is not useful on other systems. If it contains results you don't
3742 # want to keep, you may remove or edit it.
3744 # config.status only pays attention to the cache file if you give it
3745 # the --recheck option to rerun configure.
3747 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3748 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3753 # The following way of writing the cache mishandles newlines in values,
3754 # but we know of no workaround that is simple, portable, and efficient.
3755 # So, don't put newlines in cache variables' values.
3756 # Ultrix sh set writes to stderr and can't be redirected directly,
3757 # and sets the high bit in the cache file unless we assign to the vars.
3760 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3762 # `set' does not quote correctly, so add quotes (double-quote
3763 # substitution turns \\\\ into \\, and sed turns \\ into \).
3766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3769 # `set' quotes correctly as required by POSIX, so do not add quotes.
3771 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3780 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3782 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3783 if test -w $cache_file; then
3784 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3785 cat confcache
>$cache_file
3787 echo "not updating unwritable cache $cache_file"
3792 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3793 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3794 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3795 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3796 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3797 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3798 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3799 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3800 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3801 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3802 echo "$as_me: error: libtool configure failed" >&2;}
3803 { (exit 1); exit 1; }; }
3805 # Reload cache, that may have been modified by ltconfig
3806 if test -r "$cache_file"; then
3807 # Some versions of bash will fail to source /dev/null (special
3808 # files actually), so we avoid doing that.
3809 if test -f "$cache_file"; then
3810 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3811 echo "$as_me: loading cache $cache_file" >&6;}
3813 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
3814 *) . .
/$cache_file;;
3818 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3819 echo "$as_me: creating cache $cache_file" >&6;}
3824 # This can be used to rebuild libtool when needed
3825 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3827 # Always use our own libtool.
3828 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3830 # Redirect the config.log output again, so that the ltconfig log is not
3831 # clobbered by the next message.
3832 exec 5>>.
/config.log
3841 # Check whether --enable-bfd-assembler or --disable-bfd-assembler was given.
3842 if test "${enable_bfd_assembler+set}" = set; then
3843 enableval
="$enable_bfd_assembler"
3844 case "${enableval}" in
3845 yes) need_bfd
=yes user_bfd_gas
=yes ;;
3846 no
) user_bfd_gas
=no
;;
3847 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for bfd-assembler option" >&5
3848 echo "$as_me: error: bad value ${enableval} given for bfd-assembler option" >&2;}
3849 { (exit 1); exit 1; }; } ;;
3851 fi; # Check whether --enable-targets or --disable-targets was given.
3852 if test "${enable_targets+set}" = set; then
3853 enableval
="$enable_targets"
3854 case "${enableval}" in
3855 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
3856 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
3857 { (exit 1); exit 1; }; }
3859 no
) enable_targets
= ;;
3860 *) enable_targets
=$enableval ;;
3862 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
3863 if test "${enable_commonbfdlib+set}" = set; then
3864 enableval
="$enable_commonbfdlib"
3865 case "${enableval}" in
3866 yes) commonbfdlib
=true
;;
3867 no
) commonbfdlib
=false
;;
3868 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
3869 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
3870 { (exit 1); exit 1; }; } ;;
3875 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3876 # Check whether --enable-build-warnings or --disable-build-warnings was given.
3877 if test "${enable_build_warnings+set}" = set; then
3878 enableval
="$enable_build_warnings"
3879 case "${enableval}" in
3881 no
) build_warnings
="-w";;
3882 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3883 build_warnings
="${build_warnings} ${t}";;
3884 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3885 build_warnings
="${t} ${build_warnings}";;
3886 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3888 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
3889 echo "Setting warning flags = $build_warnings" 6>&1
3892 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
; then
3893 WARN_CFLAGS
="${build_warnings}"
3897 # Generate a header file
3898 ac_config_headers
="$ac_config_headers config.h:config.in"
3901 # If we are on a DOS filesystem, we must use gdb.ini rather than
3904 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
3906 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
3911 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
3919 # Makefile target for installing gas in $(tooldir)/bin.
3920 install_tooldir
=install-exec-tooldir
3924 if test -n "$enable_targets" ; then
3925 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
3926 if test $t = "all"; then
3930 result
=`$ac_config_sub $t 2>/dev/null`
3931 if test -n "$result" ; then
3932 canon_targets
="$canon_targets $result"
3934 # # Permit "all", etc. We don't support it yet though.
3935 # canon_targets="$canon_targets $t"
3938 _gas_uniq_list
="$canon_targets"
3939 _gas_uniq_newlist
=""
3940 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
3941 case $_gas_uniq_i in
3943 *) case " $_gas_uniq_newlist " in
3944 *" $_gas_uniq_i "*) ;;
3945 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
3949 canon_targets
=$_gas_uniq_newlist
3955 for this_target
in $target $canon_targets ; do
3957 eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
3959 # check for architecture variants
3963 am33_2.0
) cpu_type
=mn10300 endian
=little
;;
3964 alpha
*) cpu_type
=alpha
;;
3965 arm
*b|xscale
*b|strongarm
*b
) cpu_type
=arm endian
=big
;;
3966 arm
*|xscale
*|strongarm
*) cpu_type
=arm endian
=little
;;
3967 c4x
*) cpu_type
=tic4x
;;
3968 hppa
*) cpu_type
=hppa
;;
3969 i
[3-7]86) cpu_type
=i386 arch
=i386
;;
3970 x86_64
) cpu_type
=i386 arch
=x86_64
;;
3971 ia64
) cpu_type
=ia64
;;
3972 ip2k
) cpu_type
=ip2k endian
=big
;;
3973 iq2000
) cpu_type
=iq2000 endian
=big
;;
3974 m6811|m6812|m68hc12
) cpu_type
=m68hc11
;;
3975 m680
[012346]0) cpu_type
=m68k
;;
3976 m68008
) cpu_type
=m68k
;;
3977 m683??
) cpu_type
=m68k
;;
3978 m5200
) cpu_type
=m68k
;;
3979 m8
*) cpu_type
=m88k
;;
3980 mips
*el
) cpu_type
=mips endian
=little
;;
3981 mips
*) cpu_type
=mips endian
=big
;;
3982 or32
*) cpu_type
=or32 endian
=big
;;
3983 pjl
*) cpu_type
=pj endian
=little
;;
3984 pj
*) cpu_type
=pj endian
=big
;;
3985 powerpc
*le
*) cpu_type
=ppc endian
=little
;;
3986 powerpc
*) cpu_type
=ppc endian
=big
;;
3987 rs6000
*) cpu_type
=ppc
;;
3988 s390x
*) cpu_type
=s390 arch
=s390x
;;
3989 s390
*) cpu_type
=s390 arch
=s390
;;
3990 sh5
*) cpu_type
=sh64 endian
=big
;;
3991 sh5le
*) cpu_type
=sh64 endian
=little
;;
3992 sh64
*) cpu_type
=sh64 endian
=big
;;
3993 sh64le
*) cpu_type
=sh64 endian
=little
;;
3994 sh
*le
) cpu_type
=sh endian
=little
;;
3995 sh
*) cpu_type
=sh endian
=big
;;
3996 sparclite
*) cpu_type
=sparc arch
=sparclite
;;
3997 sparclet
*) cpu_type
=sparc arch
=sparclet
;;
3998 sparc64
*) cpu_type
=sparc arch
=v9-64
;;
3999 sparc86x
*) cpu_type
=sparc arch
=sparc86x
;;
4000 sparc
*) cpu_type
=sparc arch
=sparclite
;; # ??? See tc-sparc.c.
4001 v850
*) cpu_type
=v850
;;
4002 xtensa
*) cpu_type
=xtensa arch
=xtensa
;;
4003 *) cpu_type
=${cpu} ;;
4006 if test ${this_target} = $target ; then
4007 target_cpu_type
=${cpu_type}
4008 elif test ${target_cpu_type} != ${cpu_type} ; then
4012 generic_target
=${cpu_type}-$vendor-$os
4017 # assign object format
4018 case ${generic_target} in
4019 a29k-
*-coff) fmt=coff
;;
4020 a29k-amd-udi
) fmt=coff
;;
4021 a29k-amd-ebmon
) fmt=coff
;;
4022 a29k-nyu-sym1
) fmt=coff
;;
4023 a29k-
*-rtems*) fmt=coff
;;
4024 a29k-
*-vxworks*) fmt=coff
;;
4026 alpha
*-*-*vms
*) fmt=evax
;;
4027 alpha
*-*-netware*) fmt=ecoff
;;
4028 alpha
*-*-osf*) fmt=ecoff
;;
4029 alpha
*-*-linuxecoff*) fmt=ecoff
;;
4030 alpha
*-*-linux-gnu*) fmt=elf em
=linux
;;
4031 alpha
*-*-netbsd*) fmt=elf em
=nbsd
;;
4032 alpha
*-*-openbsd*) fmt=elf em
=obsd
;;
4034 # cpu_type for am33_2.0 is set to mn10300
4035 mn10300-
*-linux*) fmt=elf bfd_gas
=yes em
=linux
;;
4037 arc-
*-elf*) fmt=elf
;;
4039 arm-
*-aout) fmt=aout
;;
4040 arm-
*-coff | thumb-
*-coff) fmt=coff
;;
4041 arm-
*-rtems* | thumb-
*-rtems*) fmt=elf
;;
4042 arm-
*-elf | thumb-
*-elf) fmt=elf
;;
4043 arm-
*-kaos*) fmt=elf
;;
4044 arm
*-*-conix*) fmt=elf
;;
4045 arm-
*-linux*aout
*) fmt=aout em
=linux
;;
4046 arm
*-*-linux-gnu*) fmt=elf em
=linux
;;
4047 arm
*-*-uclinux*) fmt=elf em
=linux
;;
4048 arm-
*-netbsdelf*) fmt=elf em
=nbsd
;;
4049 arm-
*-*n
*bsd
*) fmt=aout em
=nbsd
;;
4050 arm-
**-nto*) fmt=elf
;;
4051 arm-
*-oabi | thumb-
*-oabi) fmt=elf
;;
4052 arm-epoc-pe | thumb-epoc-pe
) fmt=coff em
=epoc-pe
;;
4053 arm-wince-pe | arm-
*-wince) fmt=coff em
=wince-pe
;;
4054 arm-
*-pe | thumb-
*-pe) fmt=coff em
=pe
;;
4055 arm-
*-riscix*) fmt=aout em
=riscix
;;
4059 cris-
*-linux-gnu*) fmt=multi bfd_gas
=yes em
=linux
;;
4060 cris-
*-*) fmt=multi bfd_gas
=yes ;;
4062 d10v-
*-*) fmt=elf
;;
4063 d30v-
*-*) fmt=elf
;;
4066 fr30-
*-*) fmt=elf
;;
4069 hppa-
*-linux*) case ${cpu} in
4070 hppa
*64*) fmt=elf em
=hppalinux64
;;
4071 hppa
*) fmt=elf em
=linux
;;
4073 hppa-
*-*elf
*) fmt=elf em
=hppa
;;
4074 hppa-
*-lites*) fmt=elf em
=hppa
;;
4075 hppa-
*-netbsd*) fmt=elf em
=nbsd
;;
4076 hppa-
*-openbsd*) fmt=elf em
=hppa
;;
4077 hppa-
*-osf*) fmt=som em
=hppa
;;
4078 hppa-
*-rtems*) fmt=elf em
=hppa
;;
4079 hppa-
*-hpux11*) case ${cpu} in
4080 hppa
*64*) fmt=elf em
=hppa64
;;
4081 hppa
*) fmt=som em
=hppa
;;
4083 hppa-
*-hpux*) fmt=som em
=hppa
;;
4084 hppa-
*-mpeix*) fmt=som em
=hppa
;;
4085 hppa-
*-bsd*) fmt=som em
=hppa
;;
4086 hppa-
*-hiux*) fmt=som em
=hppa
;;
4088 h8300-
*-rtems*) fmt=coff
;;
4089 h8300-
*-coff) fmt=coff
;;
4090 h8300-
*-elf) fmt=elf
;;
4091 h8500-
*-rtems*) fmt=coff
;;
4092 h8500-
*-coff) fmt=coff
;;
4094 i370-
*-elf* | i370-
*-linux*) fmt=elf
;;
4095 i386-ibm-aix
*) fmt=coff em
=i386aix
;;
4096 i386-sequent-bsd
*) fmt=aout em
=dynix
;;
4097 i386-
*-beospe*) fmt=coff em
=pe
;;
4098 i386-
*-beos*) fmt=elf
;;
4099 i386-
*-coff) fmt=coff
;;
4100 i386-
*-elf) fmt=elf
;;
4101 i386-
*-kaos*) fmt=elf
;;
4102 i386-
*-bsd*) fmt=aout em
=386bsd
;;
4103 i386-
*-netbsd0.8
) fmt=aout em
=386bsd
;;
4104 i386-
*-netbsdpe*) fmt=coff em
=pe
;;
4105 i386-
*-netbsd*-gnu* | \
4106 i386-
*-knetbsd*-gnu | \
4107 i386-
*-netbsdelf*) fmt=elf em
=nbsd
;;
4108 i386-
*-*n
*bsd
*) case ${cpu} in
4109 x86_64
) fmt=elf em
=nbsd
;;
4110 *) fmt=aout em
=nbsd
;;
4112 i386-
*-linux*aout
*) fmt=aout em
=linux
;;
4113 i386-
*-linux*oldld
) fmt=aout em
=linux
;;
4114 i386-
*-linux*coff
*) fmt=coff em
=linux
;;
4115 i386-
*-linux-gnu*) fmt=elf em
=linux
;;
4116 x86_64-
*-linux-gnu*) fmt=elf em
=linux
;;
4117 i386-
*-lynxos*) fmt=coff em
=lynx
;;
4118 i386-
*-sysv[45]*) fmt=elf
;;
4119 i386-
*-solaris*) fmt=elf
;;
4120 i386-
*-freebsdaout*) fmt=aout em
=386bsd
;;
4121 i386-
*-freebsd[12].
*) fmt=aout em
=386bsd
;;
4122 i386-
*-freebsd[12]) fmt=aout em
=386bsd
;;
4123 i386-
*-freebsd* | i386-
*-kfreebsd*-gnu)
4124 fmt=elf em
=freebsd
;;
4125 i386-
*-sysv*) fmt=coff
;;
4126 i386-
*-sco3.2v5
*coff
) fmt=coff
;;
4127 i386-
*-isc*) fmt=coff
;;
4128 i386-
*-sco3.2v5
*) fmt=elf
4129 if test ${this_target} = $target; then
4131 cat >>confdefs.h
<<\_ACEOF
4136 i386-
*-sco3.2
*) fmt=coff
;;
4137 i386-
*-vsta) fmt=aout
;;
4138 i386-
*-msdosdjgpp* \
4140 | i386-go32-rtems
*) fmt=coff em
=go32
4142 cat >>confdefs.h
<<\_ACEOF
4143 #define STRICTCOFF 1
4146 i386-
*-rtemself*) fmt=elf
;;
4147 i386-
*-rtemscoff*) fmt=coff
;;
4148 i386-
*-rtems*) fmt=elf
;;
4149 i386-
*-gnu*) fmt=elf
;;
4150 i386-
*-mach*) fmt=aout em
=mach
;;
4151 i386-
*-msdos*) fmt=aout
;;
4152 i386-
*-moss*) fmt=elf
;;
4153 i386-
*-pe) fmt=coff em
=pe
;;
4154 i386-
*-cygwin*) fmt=coff em
=pe
;;
4155 i386-
*-interix*) fmt=coff em
=interix
;;
4156 i386-
*-mingw32*) fmt=coff em
=pe
;;
4157 i386-
*-nto-qnx*) fmt=elf
;;
4158 i386-
*-*nt
*) fmt=coff em
=pe
;;
4159 i386-
*-chaos) fmt=elf
;;
4161 i860-
*-*) fmt=elf endian
=little
4162 { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
4163 echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;} ;;
4164 i960-
*-bout) fmt=bout
;;
4165 i960-
*-coff) fmt=coff em
=ic960
;;
4166 i960-
*-rtems*) fmt=coff em
=ic960
;;
4167 i960-
*-nindy*) fmt=bout
;;
4168 i960-
*-vxworks5.0
) fmt=bout
;;
4169 i960-
*-vxworks5.
*) fmt=coff em
=ic960
;;
4170 i960-
*-vxworks*) fmt=bout
;;
4171 i960-
*-elf*) fmt=elf
;;
4173 ia64-
*-elf*) fmt=elf
;;
4174 ia64-
*-aix*) fmt=elf em
=ia64aix
;;
4175 ia64-
*-linux-gnu*) fmt=elf em
=linux
;;
4176 ia64-
*-hpux*) fmt=elf em
=hpux
;;
4177 ia64-
*-netbsd*) fmt=elf em
=nbsd
;;
4179 ip2k-
*-*) fmt=elf
;;
4181 iq2000-
*-elf) fmt=elf bfd_gas
=yes ;;
4183 m32r-
*-*) fmt=elf
;;
4185 m68hc11-
*-* | m6811-
*-*) fmt=elf
;;
4186 m68hc12-
*-* | m6812-
*-*) fmt=elf
;;
4188 m68k-
*-vxworks*) fmt=aout em
=sun3
;;
4189 m68k-ericsson-ose
) fmt=aout em
=sun3
;;
4190 m68k-
*-sunos*) fmt=aout em
=sun3
;;
4191 m68k-motorola-sysv
*) fmt=coff em
=delta
;;
4192 m68k-bull-sysv3
*) fmt=coff em
=dpx2
;;
4193 m68k-apollo-
*) fmt=coff em
=apollo
;;
4194 m68k-
*-elf*) fmt=elf
;;
4195 m68k-
*-sysv4*) fmt=elf em
=svr4
;;
4196 m68k-
*-sysv*) fmt=coff
;;
4197 m68k-
*-coff | m68k-
*-rtemscoff*) fmt=coff
;;
4198 m68k-
*-rtems*) fmt=elf
;;
4199 m68k-
*-hpux*) fmt=hp300 em
=hp300
;;
4200 m68k-
*-linux*aout
*) fmt=aout em
=linux
;;
4201 m68k-
*-linux-gnu*) fmt=elf em
=linux
;;
4202 m68k-
*-gnu*) fmt=elf
;;
4203 m68k-
*-lynxos*) fmt=coff em
=lynx
;;
4204 m68k-
*-netbsdelf*) fmt=elf em
=nbsd
;;
4205 m68k-
*-netbsd*) fmt=aout em
=nbsd bfd_gas
=yes ;;
4206 m68k-
*-openbsd*) fmt=aout em
=nbsd bfd_gas
=yes ;;
4207 m68k-apple-aux
*) fmt=coff em
=aux
;;
4208 m68k-
*-psos*) fmt=elf em
=psos
;;
4210 m88k-motorola-sysv3
*) fmt=coff em
=delt88
;;
4211 m88k-
*-coff*) fmt=coff
;;
4213 mcore-
*-elf) fmt=elf
;;
4214 mcore-
*-pe) fmt=coff em
=pe bfd_gas
=yes ;;
4216 # don't change em like *-*-bsd does
4217 mips-dec-openbsd
*) fmt=elf endian
=little
;;
4218 mips-dec-bsd
*) fmt=aout endian
=little
;;
4219 mips-sony-bsd
*) fmt=ecoff
;;
4221 { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
4222 echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
4223 { (exit 1); exit 1; }; } ;;
4224 mips-
*-ultrix*) fmt=ecoff endian
=little
;;
4225 mips-
*-osf*) fmt=ecoff endian
=little
;;
4226 mips-
*-ecoff*) fmt=ecoff
;;
4227 mips-
*-pe*) fmt=coff endian
=little em
=pe
;;
4228 mips-
*-irix6*) fmt=elf em
=irix
;;
4229 mips-
*-irix5*) fmt=elf em
=irix
;;
4230 mips-
*-irix*) fmt=ecoff em
=irix
;;
4231 mips-
*-lnews*) fmt=ecoff em
=lnews
;;
4232 mips-
*-riscos*) fmt=ecoff
;;
4233 mips
*-*-linux*) fmt=elf em
=tmips
;;
4234 mips-
*-sysv4*MP
* | mips-
*-gnu*) fmt=elf em
=tmips
;;
4235 mips-
*-sysv*) fmt=ecoff
;;
4236 mips-
*-elf* | mips-
*-rtems*) fmt=elf
;;
4237 mips-
*-netbsd*) fmt=elf
;;
4238 mips-
*-openbsd*) fmt=elf
;;
4240 mmix-
*-*) fmt=elf
;;
4241 mn10200-
*-*) fmt=elf
;;
4242 mn10300-
*-*) fmt=elf
;;
4243 msp430-
*-*) fmt=elf
;;
4244 openrisc-
*-*) fmt=elf
;;
4245 or32-
*-rtems*) fmt=coff
;;
4246 or32-
*-coff) fmt=coff
;;
4247 or32-
*-elf) fmt=elf
;;
4250 ppc-
*-pe | ppc-
*-cygwin*) fmt=coff em
=pe
;;
4251 ppc-
*-winnt*) fmt=coff em
=pe
;;
4252 ppc-
*-aix5.
[01]) fmt=coff em
=aix5
;;
4253 ppc-
*-aix5.
*) fmt=coff em
=aix5
4255 cat >>confdefs.h
<<\_ACEOF
4256 #define AIX_WEAK_SUPPORT 1
4260 ppc-
*-aix*) fmt=coff
;;
4261 ppc-
*-beos*) fmt=coff
;;
4262 ppc-
*-*n
*bsd
* | ppc-
*-elf*) fmt=elf
;;
4263 ppc-
*-eabi* | ppc-
*-sysv4*) fmt=elf
;;
4264 ppc-
*-linux-gnu*) fmt=elf em
=linux
4267 *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
4268 echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
4269 { (exit 1); exit 1; }; } ;;
4271 ppc-
*-solaris*) fmt=elf
4272 if test ${this_target} = $target; then
4274 cat >>confdefs.h
<<\_ACEOF
4275 #define TARGET_SOLARIS_COMMENT 1
4279 if test x
${endian} = xbig
; then
4280 { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
4281 echo "$as_me: error: Solaris must be configured little endian" >&2;}
4282 { (exit 1); exit 1; }; }
4284 ppc-
*-rtems*) fmt=elf
;;
4285 ppc-
*-macos* | ppc-
*-mpw*) fmt=coff em
=macos
;;
4286 ppc-
*-netware*) fmt=elf em
=ppcnw
;;
4287 ppc-
**-nto*) fmt=elf
;;
4288 ppc-
*-kaos*) fmt=elf
;;
4290 s390x-
*-linux-gnu*) fmt=elf em
=linux
;;
4291 s390-
*-linux-gnu*) fmt=elf em
=linux
;;
4293 sh
*-*-linux*) fmt=elf em
=linux
4295 sh
*eb
) endian
=big
;;
4298 sh5
*-*-netbsd*) fmt=elf em
=nbsd
;;
4299 sh64
*-*-netbsd*) fmt=elf em
=nbsd
;;
4300 sh
*-*-netbsdelf*) fmt=elf em
=nbsd
;;
4301 sh-
*-elf*) fmt=elf
;;
4302 sh-
*-coff*) fmt=coff
;;
4303 sh-
*-nto*) fmt=elf
;;
4304 sh-
*-pe*) fmt=coff em
=pe bfd_gas
=yes endian
=little
;;
4305 sh-
*-rtemself*) fmt=elf
;;
4306 sh-
*-rtems*) fmt=coff
;;
4307 sh-
*-kaos*) fmt=elf
;;
4308 shle
*-*-kaos*) fmt=elf
;;
4309 sh64-
*-elf*) fmt=elf
;;
4311 ns32k-pc532-mach
*) fmt=aout em
=pc532mach
;;
4312 ns32k-pc532-ux
*) fmt=aout em
=pc532mach
;;
4313 ns32k-pc532-lites
*) fmt=aout em
=nbsd532
;;
4314 ns32k-
*-*n
*bsd
*) fmt=aout em
=nbsd532
;;
4316 sparc-
*-rtemsaout*) fmt=aout
;;
4317 sparc-
*-rtemself*) fmt=elf
;;
4318 sparc-
*-rtems*) fmt=elf
;;
4319 sparc-
*-sunos4*) fmt=aout em
=sun3
;;
4320 sparc-
*-aout | sparc
*-*-vxworks*) fmt=aout em
=sparcaout
;;
4321 sparc-
*-coff) fmt=coff
;;
4322 sparc-
*-linux*aout
*) fmt=aout em
=linux
;;
4323 sparc-
*-linux-gnu*) fmt=elf em
=linux
;;
4324 sparc-
*-lynxos*) fmt=coff em
=lynx
;;
4325 sparc-fujitsu-none
) fmt=aout
;;
4326 sparc-
*-elf) fmt=elf
;;
4327 sparc-
*-sysv4*) fmt=elf
;;
4328 sparc-
*-solaris*) fmt=elf
;;
4329 sparc-
*-netbsdelf*) fmt=elf em
=nbsd
;;
4330 sparc-
*-*n
*bsd
*) case ${cpu} in
4331 sparc64
) fmt=elf em
=nbsd
;;
4332 *) fmt=aout em
=nbsd
;;
4334 strongarm-
*-coff) fmt=coff
;;
4335 strongarm-
*-elf) fmt=elf
;;
4336 strongarm-
*-kaos*) fmt=elf
;;
4337 xscale-
*-coff) fmt=coff
;;
4338 xscale-
*-elf) fmt=elf
;;
4340 tic30-
*-*aout
*) fmt=aout bfd_gas
=yes ;;
4341 tic30-
*-*coff
*) fmt=coff bfd_gas
=yes ;;
4342 tic4x-
*-* | c4x-
*-*) fmt=coff bfd_gas
=yes ;;
4343 tic54x-
*-* | c54x
*-*-*) fmt=coff bfd_gas
=yes need_libm
=yes;;
4344 tic80-
*-*) fmt=coff
;;
4346 v850-
*-*) fmt=elf
;;
4347 v850e-
*-*) fmt=elf
;;
4348 v850ea-
*-*) fmt=elf
;;
4350 vax-
*-netbsdelf*) fmt=elf em
=nbsd
;;
4351 vax-
*-netbsd*) fmt=aout em
=nbsd
;;
4352 vax-
*-bsd* | vax-
*-ultrix*) fmt=aout
;;
4353 vax-
*-linux-gnu*) fmt=elf em
=linux bfd_gas
=yes ;;
4354 vax-
*-vms) fmt=vms
;;
4356 w65-
*-*) fmt=coff
;;
4358 xstormy16-
*-*) fmt=elf
;;
4360 xtensa-
*-*) fmt=elf
;;
4362 z8k-
*-coff | z8k-
*-sim) fmt=coff
;;
4364 *-*-aout |
*-*-scout) fmt=aout
;;
4365 *-*-freebsd* |
*-*-kfreebsd*-gnu) fmt=elf em
=freebsd
;;
4366 *-*-nindy*) fmt=bout
;;
4367 *-*-bsd*) fmt=aout em
=sun3
;;
4368 *-*-generic) fmt=generic
;;
4369 *-*-xray |
*-*-hms) fmt=coff
;;
4370 *-*-sim) fmt=coff
;;
4371 *-*-elf |
*-*-sysv4* |
*-*-solaris*) fmt=elf dev
=yes ;;
4372 *-*-aros*) fmt=elf em
=linux bfd_gas
=yes ;;
4373 *-*-vxworks |
*-*-windiss) fmt=elf
;;
4374 *-*-netware) fmt=elf
;;
4377 if test ${this_target} = $target ; then
4379 if test x
${endian} = xbig
; then
4381 elif test x
${endian} = xlittle
; then
4384 if test x
${endian_def} != x
; then
4386 cat >>confdefs.h
<<_ACEOF
4387 #define TARGET_BYTES_BIG_ENDIAN $endian_def
4393 case ${cpu_type}-${fmt} in
4394 alpha
*-* | arm-
* | i386-
* | ia64
*-* | mips-
* | ns32k-
* \
4395 | pdp11-
* | ppc-
* | sparc-
* | strongarm-
* | xscale-
* \
4396 |
*-elf |
*-ecoff |
*-som)
4400 # Other random stuff.
4404 # Set mips_cpu to the name of the default CPU.
4405 case ${target_cpu} in
4406 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
4409 mipsisa32 | mipsisa32el
)
4412 mipsisa32r2 | mipsisa32r2el
)
4415 mipsisa64 | mipsisa64el
)
4418 mipsisa64r2 | mipsisa64r2el
)
4421 mipstx39 | mipstx39el
)
4424 mips64vr | mips64vrel
)
4427 mipsisa32r2
* | mipsisa64r2
*)
4428 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
4430 mips64
* | mipsisa64
* | mipsisa32
*)
4431 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
4434 { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
4435 echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
4436 { (exit 1); exit 1; }; }
4439 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
4440 # binaries. It's a GNU extension that some OSes don't understand.
4441 # The value only matters on ELF targets.
4444 use_e_mips_abi_o32
=0
4447 use_e_mips_abi_o32
=1
4450 # Decide whether to generate 32-bit or 64-bit code by default.
4451 # Used to resolve -march=from-abi when an embedded ABI is selected.
4453 mips64
*-*-* | mipsisa64
*-*-*)
4454 mips_default_64bit
=1
4457 mips_default_64bit
=0
4460 # Decide which ABI to target by default.
4462 mips64
*-linux* | mips-sgi-irix6
*)
4463 mips_default_abi
=N32_ABI
4466 mips_default_abi
=O32_ABI
4469 mips_default_abi
=NO_ABI
4473 cat >>confdefs.h
<<_ACEOF
4474 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
4478 cat >>confdefs.h
<<_ACEOF
4479 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
4483 cat >>confdefs.h
<<_ACEOF
4484 #define MIPS_DEFAULT_64BIT $mips_default_64bit
4488 cat >>confdefs.h
<<_ACEOF
4489 #define MIPS_DEFAULT_ABI $mips_default_abi
4495 # Do we need the opcodes library?
4503 case "${enable_shared}" in
4504 yes) shared_opcodes
=true
;;
4505 *opcodes
*) shared_opcodes
=true
;;
4506 *) shared_opcodes
=false
;;
4508 if test "${shared_opcodes}" = "true"; then
4509 # A shared libopcodes must be linked against libbfd.
4515 # Any other special object files needed ?
4517 fr30 | ip2k | iq2000 | m32r | openrisc
)
4525 case ${extra_objects} in
4527 *) extra_objects
="$extra_objects m68k-parse.o" ;;
4532 echo ${extra_objects} |
grep -s "itbl-parse.o"
4533 if test $?
-ne 0 ; then
4534 extra_objects
="$extra_objects itbl-parse.o"
4537 echo ${extra_objects} |
grep -s "itbl-lex.o"
4538 if test $?
-ne 0 ; then
4539 extra_objects
="$extra_objects itbl-lex.o"
4542 echo ${extra_objects} |
grep -s "itbl-ops.o"
4543 if test $?
-ne 0 ; then
4544 extra_objects
="$extra_objects itbl-ops.o"
4548 i386 | s390 | sparc
)
4549 if test $this_target = $target ; then
4551 cat >>confdefs.h
<<_ACEOF
4552 #define DEFAULT_ARCH "${arch}"
4563 echo ${extra_objects} |
grep -s "xtensa-relax.o"
4564 if test $?
-ne 0 ; then
4565 extra_objects
="$extra_objects xtensa-relax.o"
4573 if test $using_cgen = yes ; then
4574 case "x${extra_objects}" in
4576 *) extra_objects
="$extra_objects cgen.o" ;;
4580 # See if we really can support this configuration with the emulation code.
4582 if test $this_target = $target ; then
4583 primary_bfd_gas
=$bfd_gas
4587 if test $bfd_gas = no
; then
4588 # Can't support other configurations this way.
4591 elif test $bfd_gas = no
; then
4592 # Can't support this configuration.
4596 # From target name and format, produce a list of supported emulations.
4598 case ${generic_target}-${fmt} in
4599 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
4600 mips
*-*-linux*-*) case "$endian" in
4601 big
) emulation
="mipsbelf mipslelf mipself" ;;
4602 *) emulation
="mipslelf mipsbelf mipself" ;;
4604 mips-
*-lnews*-ecoff) ;;
4605 mips-
*-*-ecoff) case "$endian" in
4606 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
4607 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
4609 mips-
*-*-elf) case "$endian" in
4610 big
) emulation
="mipsbelf mipslelf mipself" ;;
4611 *) emulation
="mipslelf mipsbelf mipself" ;;
4613 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
4614 # i386-pc-pe-coff != i386-pc-coff.
4616 # Uncommenting the next line will turn on support for i386 AOUT
4617 # for the default linux configuration
4618 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
4620 i386-
*-aout) emulation
="i386aout" ;;
4621 i386-
*-coff) emulation
="i386coff" ;;
4622 i386-
*-elf) emulation
="i386elf" ;;
4624 # Always all formats. The first stated emulation becomes the default.
4625 cris-
*-*aout
*) emulation
="crisaout criself" ;;
4626 cris-
*-*) emulation
="criself crisaout" ;;
4629 emulations
="$emulations $emulation"
4633 # Turn on all targets if possible
4634 if test ${all_targets} = "yes"; then
4635 case ${target_cpu_type} in
4637 case ${obj_format} in
4639 emulations
="$emulations i386coff i386elf"
4642 emulations
="$emulations i386aout i386elf"
4645 emulations
="$emulations i386aout i386coff"
4652 # Assign floating point type. Most processors with FP support
4653 # IEEE FP. On those that don't support FP at all, usually IEEE
4655 case ${target_cpu} in
4656 vax | tahoe
) atof
=${target_cpu} ;;
4661 case "${obj_format}" in
4662 "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
4663 echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
4664 { (exit 1); exit 1; }; } ;;
4667 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
4669 if test $using_cgen = yes ; then
4670 case ${target_cpu} in
4671 *) cgen_cpu_prefix
=${target_cpu} ;;
4675 cat >>confdefs.h
<<\_ACEOF
4676 #define USING_CGEN 1
4682 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
4683 { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
4684 echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
4685 { (exit 1); exit 1; }; }
4688 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
4689 { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
4690 echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
4691 { (exit 1); exit 1; }; }
4694 case ${user_bfd_gas}-${primary_bfd_gas} in
4696 # We didn't override user's choice.
4699 { echo "$as_me:$LINENO: WARNING: Use of BFD is required for ${target}; overriding config options." >&5
4700 echo "$as_me: WARNING: Use of BFD is required for ${target}; overriding config options." >&2;}
4712 # User specified nothing.
4716 # Some COFF configurations want these random other flags set.
4717 case ${obj_format} in
4719 case ${target_cpu_type} in
4721 cat >>confdefs.h
<<\_ACEOF
4726 cat >>confdefs.h
<<\_ACEOF
4731 cat >>confdefs.h
<<\_ACEOF
4739 # Getting this done right is going to be a bitch. Each configuration specified
4740 # with --enable-targets=... should be checked for environment, format, cpu, and
4743 # For each configuration, the necessary object file support code must be linked
4744 # in. This might be only one, it might be up to four. The necessary emulation
4745 # code needs to be provided, too.
4747 # And then there's "--enable-targets=all"....
4749 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
4751 formats
="${obj_format}"
4754 _gas_uniq_list
="$emulations"
4755 _gas_uniq_newlist
=""
4756 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4757 case $_gas_uniq_i in
4759 *) case " $_gas_uniq_newlist " in
4760 *" $_gas_uniq_i "*) ;;
4761 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4765 emulations
=$_gas_uniq_newlist
4767 for em
in .
$emulations ; do
4770 mipsbelf | mipslelf | mipself
)
4771 fmt=elf
file=mipself
;;
4772 mipsbecoff | mipslecoff | mipsecoff
)
4773 fmt=ecoff
file=mipsecoff
;;
4775 fmt=coff
file=$em ;;
4777 fmt=aout
file=$em ;;
4781 formats
="$formats $fmt"
4782 emfiles
="$emfiles e-$file.o"
4783 EMULATIONS
="$EMULATIONS &$em,"
4785 _gas_uniq_list
="$formats"
4786 _gas_uniq_newlist
=""
4787 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4788 case $_gas_uniq_i in
4790 *) case " $_gas_uniq_newlist " in
4791 *" $_gas_uniq_i "*) ;;
4792 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4796 formats
=$_gas_uniq_newlist
4798 _gas_uniq_list
="$emfiles"
4799 _gas_uniq_newlist
=""
4800 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4801 case $_gas_uniq_i in
4803 *) case " $_gas_uniq_newlist " in
4804 *" $_gas_uniq_i "*) ;;
4805 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4809 emfiles
=$_gas_uniq_newlist
4811 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
4812 for fmt in $formats ; do
4815 cat >>confdefs.h
<<\_ACEOF
4816 #define OBJ_MAYBE_AOUT 1
4820 cat >>confdefs.h
<<\_ACEOF
4821 #define OBJ_MAYBE_BOUT 1
4825 cat >>confdefs.h
<<\_ACEOF
4826 #define OBJ_MAYBE_COFF 1
4830 cat >>confdefs.h
<<\_ACEOF
4831 #define OBJ_MAYBE_ECOFF 1
4835 cat >>confdefs.h
<<\_ACEOF
4836 #define OBJ_MAYBE_ELF 1
4840 cat >>confdefs.h
<<\_ACEOF
4841 #define OBJ_MAYBE_GENERIC 1
4845 cat >>confdefs.h
<<\_ACEOF
4846 #define OBJ_MAYBE_HP300 1
4850 cat >>confdefs.h
<<\_ACEOF
4851 #define OBJ_MAYBE_IEEE 1
4855 cat >>confdefs.h
<<\_ACEOF
4856 #define OBJ_MAYBE_SOM 1
4860 cat >>confdefs.h
<<\_ACEOF
4861 #define OBJ_MAYBE_VMS 1
4865 extra_objects
="$extra_objects obj-$fmt.o"
4869 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
4870 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
4871 # e-mips* has more than one emulation per file, e-i386* has just one at the
4872 # moment. If only one emulation is specified, then don't define
4873 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
4874 case "${obj_format}${emfiles}" in
4876 extra_objects
="$extra_objects $emfiles"
4878 cat >>confdefs.h
<<\_ACEOF
4879 #define USE_EMULATIONS 1
4886 cat >>confdefs.h
<<_ACEOF
4887 #define EMULATIONS $EMULATIONS
4891 cat >>confdefs.h
<<_ACEOF
4892 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
4896 case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in
4897 yes-
*-coff) need_bfd
=yes ;;
4898 no-
*-coff) need_bfd
=yes
4900 cat >>confdefs.h
<<\_ACEOF
4901 #define MANY_SEGMENTS 1
4906 reject_dev_configs
=yes
4908 case ${reject_dev_configs}-${dev} in
4910 { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
4911 echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
4912 { (exit 1); exit 1; }; }
4922 case "${primary_bfd_gas}" in
4924 cat >>confdefs.h
<<\_ACEOF
4925 #define BFD_ASSEMBLER 1
4931 # do we need the opcodes library?
4932 case "${need_opcodes}" in
4934 OPCODES_LIB
=..
/opcodes
/libopcodes.la
4938 case "${need_bfd}" in
4940 BFDLIB
=..
/bfd
/libbfd.la
4941 BFDVER_H
=..
/bfd
/bfdver.h
4942 ALL_OBJ_DEPS
="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
4953 cat >>confdefs.h
<<_ACEOF
4954 #define TARGET_ALIAS "${target_alias}"
4958 cat >>confdefs.h
<<_ACEOF
4959 #define TARGET_CANONICAL "${target}"
4963 cat >>confdefs.h
<<_ACEOF
4964 #define TARGET_CPU "${target_cpu}"
4968 cat >>confdefs.h
<<_ACEOF
4969 #define TARGET_VENDOR "${target_vendor}"
4973 cat >>confdefs.h
<<_ACEOF
4974 #define TARGET_OS "${target_os}"
4979 ac_cpp
='$CPP $CPPFLAGS'
4980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4985 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4986 echo "$as_me:$LINENO: checking for $ac_word" >&5
4987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4988 if test "${ac_cv_prog_CC+set}" = set; then
4989 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 if test -n "$CC"; then
4992 ac_cv_prog_CC
="$CC" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 if test -n "$CC"; then
5012 echo "$as_me:$LINENO: result: $CC" >&5
5013 echo "${ECHO_T}$CC" >&6
5015 echo "$as_me:$LINENO: result: no" >&5
5016 echo "${ECHO_T}no" >&6
5020 if test -z "$ac_cv_prog_CC"; then
5022 # Extract the first word of "gcc", so it can be a program name with args.
5023 set dummy gcc
; ac_word
=$2
5024 echo "$as_me:$LINENO: checking for $ac_word" >&5
5025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5026 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 if test -n "$ac_ct_CC"; then
5030 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_CC
="gcc"
5040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5049 if test -n "$ac_ct_CC"; then
5050 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5051 echo "${ECHO_T}$ac_ct_CC" >&6
5053 echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5062 if test -z "$CC"; then
5063 if test -n "$ac_tool_prefix"; then
5064 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5065 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5066 echo "$as_me:$LINENO: checking for $ac_word" >&5
5067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5068 if test "${ac_cv_prog_CC+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 if test -n "$CC"; then
5072 ac_cv_prog_CC
="$CC" # Let the user override the test.
5074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir
=.
5079 for ac_exec_ext
in '' $ac_executable_extensions; do
5080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 if test -n "$CC"; then
5092 echo "$as_me:$LINENO: result: $CC" >&5
5093 echo "${ECHO_T}$CC" >&6
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5100 if test -z "$ac_cv_prog_CC"; then
5102 # Extract the first word of "cc", so it can be a program name with args.
5103 set dummy cc
; ac_word
=$2
5104 echo "$as_me:$LINENO: checking for $ac_word" >&5
5105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5106 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 if test -n "$ac_ct_CC"; then
5110 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir
=.
5117 for ac_exec_ext
in '' $ac_executable_extensions; do
5118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119 ac_cv_prog_ac_ct_CC
="cc"
5120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5129 if test -n "$ac_ct_CC"; then
5130 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5131 echo "${ECHO_T}$ac_ct_CC" >&6
5133 echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6
5143 if test -z "$CC"; then
5144 # Extract the first word of "cc", so it can be a program name with args.
5145 set dummy cc
; ac_word
=$2
5146 echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5148 if test "${ac_cv_prog_CC+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 if test -n "$CC"; then
5152 ac_cv_prog_CC
="$CC" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5163 ac_prog_rejected
=yes
5167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 if test $ac_prog_rejected = yes; then
5174 # We found a bogon in the path, so make sure we never use it.
5175 set dummy
$ac_cv_prog_CC
5177 if test $# != 0; then
5178 # We chose a different compiler from the bogus one.
5179 # However, it has the same basename, so the bogon will be chosen
5180 # first if we set CC to just the basename; use the full file name.
5182 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5188 if test -n "$CC"; then
5189 echo "$as_me:$LINENO: result: $CC" >&5
5190 echo "${ECHO_T}$CC" >&6
5192 echo "$as_me:$LINENO: result: no" >&5
5193 echo "${ECHO_T}no" >&6
5197 if test -z "$CC"; then
5198 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5202 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5203 echo "$as_me:$LINENO: checking for $ac_word" >&5
5204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5205 if test "${ac_cv_prog_CC+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 if test -n "$CC"; then
5209 ac_cv_prog_CC
="$CC" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5218 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 if test -n "$CC"; then
5229 echo "$as_me:$LINENO: result: $CC" >&5
5230 echo "${ECHO_T}$CC" >&6
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5236 test -n "$CC" && break
5239 if test -z "$CC"; then
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy
$ac_prog; ac_word
=$2
5245 echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 if test -n "$ac_ct_CC"; then
5251 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_ac_ct_CC
="$ac_prog"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5270 if test -n "$ac_ct_CC"; then
5271 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5272 echo "${ECHO_T}$ac_ct_CC" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5278 test -n "$ac_ct_CC" && break
5287 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5288 See \`config.log' for more details." >&5
5289 echo "$as_me: error: no acceptable C compiler found in \$PATH
5290 See \`config.log' for more details." >&2;}
5291 { (exit 1); exit 1; }; }
5293 # Provide some information about the compiler.
5294 echo "$as_me:$LINENO:" \
5295 "checking for C compiler version" >&5
5296 ac_compiler
=`set X $ac_compile; echo $2`
5297 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5298 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }
5302 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5303 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }
5307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5308 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }
5313 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5314 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5315 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 cat >conftest.
$ac_ext <<_ACEOF
5319 #line $LINENO "configure"
5322 cat confdefs.h
>>conftest.
$ac_ext
5323 cat >>conftest.
$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5337 rm -f conftest.
$ac_objext
5338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5339 (eval $ac_compile) 2>&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } &&
5343 { ac_try
='test -s conftest.$ac_objext'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; }; then
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.
$ac_ext >&5
5356 rm -f conftest.
$ac_objext conftest.
$ac_ext
5357 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5360 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5361 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5362 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5363 ac_test_CFLAGS
=${CFLAGS+set}
5364 ac_save_CFLAGS
=$CFLAGS
5366 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5367 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5368 if test "${ac_cv_prog_cc_g+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 cat >conftest.
$ac_ext <<_ACEOF
5372 #line $LINENO "configure"
5375 cat confdefs.h
>>conftest.
$ac_ext
5376 cat >>conftest.
$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5387 rm -f conftest.
$ac_objext
5388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5389 (eval $ac_compile) 2>&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } &&
5393 { ac_try
='test -s conftest.$ac_objext'
5394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.
$ac_ext >&5
5406 rm -f conftest.
$ac_objext conftest.
$ac_ext
5408 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5410 if test "$ac_test_CFLAGS" = set; then
5411 CFLAGS
=$ac_save_CFLAGS
5412 elif test $ac_cv_prog_cc_g = yes; then
5413 if test "$GCC" = yes; then
5419 if test "$GCC" = yes; then
5425 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5426 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5427 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_prog_cc_stdc
=no
5432 cat >conftest.
$ac_ext <<_ACEOF
5433 #line $LINENO "configure"
5436 cat confdefs.h
>>conftest.
$ac_ext
5437 cat >>conftest.
$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5441 #include <sys/types.h>
5442 #include <sys/stat.h>
5443 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5444 struct buf { int x; };
5445 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5446 static char *e (p, i)
5452 static char *f (char * (*g) (char **, int), char **p, ...)
5457 s = g (p, va_arg (v,int));
5461 int test (int i, double x);
5462 struct s1 {int (*f) (int a);};
5463 struct s2 {int (*f) (double a);};
5464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5475 # Don't try gcc -ansi; that turns off useful extensions and
5476 # breaks some systems' header files.
5477 # AIX -qlanglvl=ansi
5478 # Ultrix and OSF/1 -std1
5479 # HP-UX 10.20 and later -Ae
5480 # HP-UX older versions -Aa -D_HPUX_SOURCE
5481 # SVR4 -Xc -D__EXTENSIONS__
5482 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5484 CC
="$ac_save_CC $ac_arg"
5485 rm -f conftest.
$ac_objext
5486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487 (eval $ac_compile) 2>&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } &&
5491 { ac_try
='test -s conftest.$ac_objext'
5492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; }; then
5497 ac_cv_prog_cc_stdc
=$ac_arg
5500 echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.
$ac_ext >&5
5504 rm -f conftest.
$ac_objext
5506 rm -f conftest.
$ac_ext conftest.
$ac_objext
5511 case "x$ac_cv_prog_cc_stdc" in
5513 echo "$as_me:$LINENO: result: none needed" >&5
5514 echo "${ECHO_T}none needed" >&6 ;;
5516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5518 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5521 # Some people use a C++ compiler to compile C. Since we use `exit',
5522 # in C++ we need to declare it. In case someone uses the same compiler
5523 # for both compiling C and C++ we need to have the C++ compiler decide
5524 # the declaration of exit, since it's the most demanding environment.
5525 cat >conftest.
$ac_ext <<_ACEOF
5530 rm -f conftest.
$ac_objext
5531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5532 (eval $ac_compile) 2>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } &&
5536 { ac_try
='test -s conftest.$ac_objext'
5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; }; then
5542 for ac_declaration
in \
5544 '#include <stdlib.h>' \
5545 'extern "C" void std::exit (int) throw (); using std::exit;' \
5546 'extern "C" void std::exit (int); using std::exit;' \
5547 'extern "C" void exit (int) throw ();' \
5548 'extern "C" void exit (int);' \
5551 cat >conftest.
$ac_ext <<_ACEOF
5552 #line $LINENO "configure"
5555 cat confdefs.h
>>conftest.
$ac_ext
5556 cat >>conftest.
$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5568 rm -f conftest.
$ac_objext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5570 (eval $ac_compile) 2>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } &&
5574 { ac_try
='test -s conftest.$ac_objext'
5575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); }; }; then
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.
$ac_ext >&5
5587 rm -f conftest.
$ac_objext conftest.
$ac_ext
5588 cat >conftest.
$ac_ext <<_ACEOF
5589 #line $LINENO "configure"
5592 cat confdefs.h
>>conftest.
$ac_ext
5593 cat >>conftest.
$ac_ext <<_ACEOF
5594 /* end confdefs.h. */
5604 rm -f conftest.
$ac_objext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5606 (eval $ac_compile) 2>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } &&
5610 { ac_try
='test -s conftest.$ac_objext'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; }; then
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.
$ac_ext >&5
5622 rm -f conftest.
$ac_objext conftest.
$ac_ext
5625 if test -n "$ac_declaration"; then
5626 echo '#ifdef __cplusplus' >>confdefs.h
5627 echo $ac_declaration >>confdefs.h
5628 echo '#endif' >>confdefs.h
5632 echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.
$ac_ext >&5
5636 rm -f conftest.
$ac_objext conftest.
$ac_ext
5638 ac_cpp
='$CPP $CPPFLAGS'
5639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5644 for ac_prog
in 'bison -y' byacc
5646 # Extract the first word of "$ac_prog", so it can be a program name with args.
5647 set dummy
$ac_prog; ac_word
=$2
5648 echo "$as_me:$LINENO: checking for $ac_word" >&5
5649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5650 if test "${ac_cv_prog_YACC+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 if test -n "$YACC"; then
5654 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir
=.
5661 for ac_exec_ext
in '' $ac_executable_extensions; do
5662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_YACC
="$ac_prog"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 YACC
=$ac_cv_prog_YACC
5673 if test -n "$YACC"; then
5674 echo "$as_me:$LINENO: result: $YACC" >&5
5675 echo "${ECHO_T}$YACC" >&6
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5681 test -n "$YACC" && break
5683 test -n "$YACC" || YACC
="yacc"
5685 for ac_prog
in flex
lex
5687 # Extract the first word of "$ac_prog", so it can be a program name with args.
5688 set dummy
$ac_prog; ac_word
=$2
5689 echo "$as_me:$LINENO: checking for $ac_word" >&5
5690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5691 if test "${ac_cv_prog_LEX+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 if test -n "$LEX"; then
5695 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_exec_ext
in '' $ac_executable_extensions; do
5703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_LEX
="$ac_prog"
5705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 if test -n "$LEX"; then
5715 echo "$as_me:$LINENO: result: $LEX" >&5
5716 echo "${ECHO_T}$LEX" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5722 test -n "$LEX" && break
5724 test -n "$LEX" || LEX
=":"
5726 if test -z "$LEXLIB"
5728 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5729 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5730 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 ac_check_lib_save_LIBS
=$LIBS
5735 cat >conftest.
$ac_ext <<_ACEOF
5736 #line $LINENO "configure"
5739 cat confdefs.h
>>conftest.
$ac_ext
5740 cat >>conftest.
$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5743 /* Override any gcc2 internal prototype to avoid an error. */
5747 /* We use char because int might match the return type of a gcc2
5748 builtin and then its argument prototype would still apply. */
5758 rm -f conftest.
$ac_objext conftest
$ac_exeext
5759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5760 (eval $ac_link) 2>&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); } &&
5764 { ac_try
='test -s conftest$ac_exeext'
5765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); }; }; then
5770 ac_cv_lib_fl_yywrap
=yes
5772 echo "$as_me: failed program was:" >&5
5773 sed 's/^/| /' conftest.
$ac_ext >&5
5775 ac_cv_lib_fl_yywrap
=no
5777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5778 LIBS
=$ac_check_lib_save_LIBS
5780 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5781 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5782 if test $ac_cv_lib_fl_yywrap = yes; then
5785 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5786 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
5787 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 ac_check_lib_save_LIBS
=$LIBS
5792 cat >conftest.
$ac_ext <<_ACEOF
5793 #line $LINENO "configure"
5796 cat confdefs.h
>>conftest.
$ac_ext
5797 cat >>conftest.
$ac_ext <<_ACEOF
5798 /* end confdefs.h. */
5800 /* Override any gcc2 internal prototype to avoid an error. */
5804 /* We use char because int might match the return type of a gcc2
5805 builtin and then its argument prototype would still apply. */
5815 rm -f conftest.
$ac_objext conftest
$ac_exeext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5817 (eval $ac_link) 2>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -s conftest$ac_exeext'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; }; then
5827 ac_cv_lib_l_yywrap
=yes
5829 echo "$as_me: failed program was:" >&5
5830 sed 's/^/| /' conftest.
$ac_ext >&5
5832 ac_cv_lib_l_yywrap
=no
5834 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5835 LIBS
=$ac_check_lib_save_LIBS
5837 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5838 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
5839 if test $ac_cv_lib_l_yywrap = yes; then
5847 if test "x$LEX" != "x:"; then
5848 echo "$as_me:$LINENO: checking lex output file root" >&5
5849 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
5850 if test "${ac_cv_prog_lex_root+set}" = set; then
5851 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 # The minimal lex program is just a single line: %%. But some broken lexes
5854 # (Solaris, I think it was) want two %% lines, so accommodate them.
5855 cat >conftest.l
<<_ACEOF
5859 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5860 (eval $LEX conftest.l
) 2>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }
5864 if test -f lex.yy.c
; then
5865 ac_cv_prog_lex_root
=lex.yy
5866 elif test -f lexyy.c
; then
5867 ac_cv_prog_lex_root
=lexyy
5869 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5870 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5871 { (exit 1); exit 1; }; }
5874 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5875 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
5877 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5879 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5880 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
5881 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 # POSIX says lex can declare yytext either as a pointer or an array; the
5885 # default is implementation-dependent. Figure out which it is, since
5886 # not all implementations provide the %pointer and %array declarations.
5887 ac_cv_prog_lex_yytext_pointer
=no
5888 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5890 LIBS
="$LIBS $LEXLIB"
5891 cat >conftest.
$ac_ext <<_ACEOF
5892 `cat $LEX_OUTPUT_ROOT.c`
5894 rm -f conftest.
$ac_objext conftest
$ac_exeext
5895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5896 (eval $ac_link) 2>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } &&
5900 { ac_try
='test -s conftest$ac_exeext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 ac_cv_prog_lex_yytext_pointer
=yes
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5914 rm -f "${LEX_OUTPUT_ROOT}.c"
5917 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5918 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
5919 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5921 cat >>confdefs.h
<<\_ACEOF
5922 #define YYTEXT_POINTER 1
5928 if test "$LEX" = :; then
5929 LEX
=${am_missing_run}flex
5932 ALL_LINGUAS
="fr tr es"
5933 if test -n "$ac_tool_prefix"; then
5934 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5935 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5936 echo "$as_me:$LINENO: checking for $ac_word" >&5
5937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5938 if test "${ac_cv_prog_RANLIB+set}" = set; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 if test -n "$RANLIB"; then
5942 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir
=.
5949 for ac_exec_ext
in '' $ac_executable_extensions; do
5950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 RANLIB
=$ac_cv_prog_RANLIB
5961 if test -n "$RANLIB"; then
5962 echo "$as_me:$LINENO: result: $RANLIB" >&5
5963 echo "${ECHO_T}$RANLIB" >&6
5965 echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6
5970 if test -z "$ac_cv_prog_RANLIB"; then
5971 ac_ct_RANLIB
=$RANLIB
5972 # Extract the first word of "ranlib", so it can be a program name with args.
5973 set dummy ranlib
; ac_word
=$2
5974 echo "$as_me:$LINENO: checking for $ac_word" >&5
5975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5976 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 if test -n "$ac_ct_RANLIB"; then
5980 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir
=.
5987 for ac_exec_ext
in '' $ac_executable_extensions; do
5988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5999 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6000 if test -n "$ac_ct_RANLIB"; then
6001 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6002 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6008 RANLIB
=$ac_ct_RANLIB
6010 RANLIB
="$ac_cv_prog_RANLIB"
6014 ac_cpp
='$CPP $CPPFLAGS'
6015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6018 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6019 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6020 # On Suns, sometimes $CPP names a directory.
6021 if test -n "$CPP" && test -d "$CPP"; then
6024 if test -z "$CPP"; then
6025 if test "${ac_cv_prog_CPP+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 # Double quotes because CPP needs to be expanded
6029 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6032 for ac_c_preproc_warn_flag
in '' yes
6034 # Use a header file that comes with gcc, so configuring glibc
6035 # with a fresh cross-compiler works.
6036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6037 # <limits.h> exists even on freestanding compilers.
6038 # On the NeXT, cc -E runs the code through the compiler's parser,
6039 # not just through cpp. "Syntax error" is here to catch this case.
6040 cat >conftest.
$ac_ext <<_ACEOF
6041 #line $LINENO "configure"
6044 cat confdefs.h
>>conftest.
$ac_ext
6045 cat >>conftest.
$ac_ext <<_ACEOF
6046 /* end confdefs.h. */
6048 # include <limits.h>
6050 # include <assert.h>
6054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6057 grep -v '^ *+' conftest.er1
>conftest.err
6059 cat conftest.err
>&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } >/dev
/null
; then
6062 if test -s conftest.err
; then
6063 ac_cpp_err
=$ac_c_preproc_warn_flag
6070 if test -z "$ac_cpp_err"; then
6073 echo "$as_me: failed program was:" >&5
6074 sed 's/^/| /' conftest.
$ac_ext >&5
6076 # Broken: fails on valid input.
6079 rm -f conftest.err conftest.
$ac_ext
6081 # OK, works on sane cases. Now check whether non-existent headers
6082 # can be detected and how.
6083 cat >conftest.
$ac_ext <<_ACEOF
6084 #line $LINENO "configure"
6087 cat confdefs.h
>>conftest.
$ac_ext
6088 cat >>conftest.
$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6090 #include <ac_nonexistent.h>
6092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6095 grep -v '^ *+' conftest.er1
>conftest.err
6097 cat conftest.err
>&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } >/dev
/null
; then
6100 if test -s conftest.err
; then
6101 ac_cpp_err
=$ac_c_preproc_warn_flag
6108 if test -z "$ac_cpp_err"; then
6109 # Broken: success on invalid input.
6112 echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.
$ac_ext >&5
6115 # Passes both tests.
6119 rm -f conftest.err conftest.
$ac_ext
6122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6123 rm -f conftest.err conftest.
$ac_ext
6124 if $ac_preproc_ok; then
6136 echo "$as_me:$LINENO: result: $CPP" >&5
6137 echo "${ECHO_T}$CPP" >&6
6139 for ac_c_preproc_warn_flag
in '' yes
6141 # Use a header file that comes with gcc, so configuring glibc
6142 # with a fresh cross-compiler works.
6143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6144 # <limits.h> exists even on freestanding compilers.
6145 # On the NeXT, cc -E runs the code through the compiler's parser,
6146 # not just through cpp. "Syntax error" is here to catch this case.
6147 cat >conftest.
$ac_ext <<_ACEOF
6148 #line $LINENO "configure"
6151 cat confdefs.h
>>conftest.
$ac_ext
6152 cat >>conftest.
$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6155 # include <limits.h>
6157 # include <assert.h>
6161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6164 grep -v '^ *+' conftest.er1
>conftest.err
6166 cat conftest.err
>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } >/dev
/null
; then
6169 if test -s conftest.err
; then
6170 ac_cpp_err
=$ac_c_preproc_warn_flag
6177 if test -z "$ac_cpp_err"; then
6180 echo "$as_me: failed program was:" >&5
6181 sed 's/^/| /' conftest.
$ac_ext >&5
6183 # Broken: fails on valid input.
6186 rm -f conftest.err conftest.
$ac_ext
6188 # OK, works on sane cases. Now check whether non-existent headers
6189 # can be detected and how.
6190 cat >conftest.
$ac_ext <<_ACEOF
6191 #line $LINENO "configure"
6194 cat confdefs.h
>>conftest.
$ac_ext
6195 cat >>conftest.
$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 #include <ac_nonexistent.h>
6199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6202 grep -v '^ *+' conftest.er1
>conftest.err
6204 cat conftest.err
>&5
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); } >/dev
/null
; then
6207 if test -s conftest.err
; then
6208 ac_cpp_err
=$ac_c_preproc_warn_flag
6215 if test -z "$ac_cpp_err"; then
6216 # Broken: success on invalid input.
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.
$ac_ext >&5
6222 # Passes both tests.
6226 rm -f conftest.err conftest.
$ac_ext
6229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6230 rm -f conftest.err conftest.
$ac_ext
6231 if $ac_preproc_ok; then
6234 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6235 See \`config.log' for more details." >&5
6236 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6237 See \`config.log' for more details." >&2;}
6238 { (exit 1); exit 1; }; }
6242 ac_cpp
='$CPP $CPPFLAGS'
6243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6248 echo "$as_me:$LINENO: checking for egrep" >&5
6249 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6250 if test "${ac_cv_prog_egrep+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6254 then ac_cv_prog_egrep
='grep -E'
6255 else ac_cv_prog_egrep
='egrep'
6258 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6259 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6260 EGREP
=$ac_cv_prog_egrep
6263 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6264 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6265 if test "${ac_cv_header_stdc+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6268 cat >conftest.
$ac_ext <<_ACEOF
6269 #line $LINENO "configure"
6272 cat confdefs.h
>>conftest.
$ac_ext
6273 cat >>conftest.
$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6288 rm -f conftest.
$ac_objext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6290 (eval $ac_compile) 2>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } &&
6294 { ac_try
='test -s conftest.$ac_objext'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_header_stdc
=yes
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.
$ac_ext >&5
6305 ac_cv_header_stdc
=no
6307 rm -f conftest.
$ac_objext conftest.
$ac_ext
6309 if test $ac_cv_header_stdc = yes; then
6310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6311 cat >conftest.
$ac_ext <<_ACEOF
6312 #line $LINENO "configure"
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6322 $EGREP "memchr" >/dev
/null
2>&1; then
6325 ac_cv_header_stdc
=no
6331 if test $ac_cv_header_stdc = yes; then
6332 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6333 cat >conftest.
$ac_ext <<_ACEOF
6334 #line $LINENO "configure"
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6344 $EGREP "free" >/dev
/null
2>&1; then
6347 ac_cv_header_stdc
=no
6353 if test $ac_cv_header_stdc = yes; then
6354 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6355 if test "$cross_compiling" = yes; then
6358 cat >conftest.
$ac_ext <<_ACEOF
6359 #line $LINENO "configure"
6362 cat confdefs.h
>>conftest.
$ac_ext
6363 cat >>conftest.
$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6366 #if ((' ' & 0x0FF) == 0x020)
6367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6370 # define ISLOWER(c) \
6371 (('a' <= (c) && (c) <= 'i') \
6372 || ('j' <= (c) && (c) <= 'r') \
6373 || ('s' <= (c) && (c) <= 'z'))
6374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6382 for (i = 0; i < 256; i++)
6383 if (XOR (islower (i), ISLOWER (i))
6384 || toupper (i) != TOUPPER (i))
6389 rm -f conftest
$ac_exeext
6390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6391 (eval $ac_link) 2>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }; then
6402 echo "$as_me: program exited with status $ac_status" >&5
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.
$ac_ext >&5
6407 ac_cv_header_stdc
=no
6409 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6413 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6414 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6415 if test $ac_cv_header_stdc = yes; then
6417 cat >>confdefs.h
<<\_ACEOF
6418 #define STDC_HEADERS 1
6423 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6424 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6425 if test "${ac_cv_c_const+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 cat >conftest.
$ac_ext <<_ACEOF
6429 #line $LINENO "configure"
6432 cat confdefs.h
>>conftest.
$ac_ext
6433 cat >>conftest.
$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6439 /* FIXME: Include the comments suggested by Paul. */
6441 /* Ultrix mips cc rejects this. */
6442 typedef int charset[2];
6444 /* SunOS 4.1.1 cc rejects this. */
6445 char const *const *ccp;
6447 /* NEC SVR4.0.2 mips cc rejects this. */
6448 struct point {int x, y;};
6449 static struct point const zero = {0,0};
6450 /* AIX XL C 1.02.0.0 rejects this.
6451 It does not let you subtract one const X* pointer from another in
6452 an arm of an if-expression whose if-part is not a constant
6454 const char *g = "string";
6455 ccp = &g + (g ? g-g : 0);
6456 /* HPUX 7.0 cc rejects these. */
6459 ccp = (char const *const *) p;
6460 { /* SCO 3.2v4 cc rejects this. */
6462 char const *s = 0 ? (char *) 0 : (char const *) 0;
6466 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6468 const int *foo = &x[0];
6471 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6472 typedef const int *iptr;
6476 { /* AIX XL C 1.02.0.0 rejects this saying
6477 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6478 struct s { int j; const int *ap[3]; };
6479 struct s *b; b->j = 5;
6481 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6490 rm -f conftest.
$ac_objext
6491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6492 (eval $ac_compile) 2>&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } &&
6496 { ac_try
='test -s conftest.$ac_objext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.
$ac_ext >&5
6509 rm -f conftest.
$ac_objext conftest.
$ac_ext
6511 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6512 echo "${ECHO_T}$ac_cv_c_const" >&6
6513 if test $ac_cv_c_const = no
; then
6515 cat >>confdefs.h
<<\_ACEOF
6521 echo "$as_me:$LINENO: checking for inline" >&5
6522 echo $ECHO_N "checking for inline... $ECHO_C" >&6
6523 if test "${ac_cv_c_inline+set}" = set; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 for ac_kw
in inline __inline__ __inline
; do
6528 cat >conftest.
$ac_ext <<_ACEOF
6529 #line $LINENO "configure"
6532 cat confdefs.h
>>conftest.
$ac_ext
6533 cat >>conftest.
$ac_ext <<_ACEOF
6534 /* end confdefs.h. */
6537 static $ac_kw foo_t static_foo () {return 0; }
6538 $ac_kw foo_t foo () {return 0; }
6542 rm -f conftest.
$ac_objext
6543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6544 (eval $ac_compile) 2>&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); } &&
6548 { ac_try
='test -s conftest.$ac_objext'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }; then
6554 ac_cv_c_inline
=$ac_kw; break
6556 echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.
$ac_ext >&5
6560 rm -f conftest.
$ac_objext conftest.
$ac_ext
6564 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6565 echo "${ECHO_T}$ac_cv_c_inline" >&6
6566 case $ac_cv_c_inline in
6569 cat >>confdefs.h
<<\_ACEOF
6573 *) cat >>confdefs.h
<<_ACEOF
6574 #define inline $ac_cv_c_inline
6579 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6589 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6590 inttypes.h stdint.h unistd.h
6592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6593 echo "$as_me:$LINENO: checking for $ac_header" >&5
6594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6598 cat >conftest.
$ac_ext <<_ACEOF
6599 #line $LINENO "configure"
6602 cat confdefs.h
>>conftest.
$ac_ext
6603 cat >>conftest.
$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6605 $ac_includes_default
6607 #include <$ac_header>
6609 rm -f conftest.
$ac_objext
6610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6611 (eval $ac_compile) 2>&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); } &&
6615 { ac_try
='test -s conftest.$ac_objext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6621 eval "$as_ac_Header=yes"
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.
$ac_ext >&5
6626 eval "$as_ac_Header=no"
6628 rm -f conftest.
$ac_objext conftest.
$ac_ext
6630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6633 cat >>confdefs.h
<<_ACEOF
6634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6642 echo "$as_me:$LINENO: checking for off_t" >&5
6643 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6644 if test "${ac_cv_type_off_t+set}" = set; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6647 cat >conftest.
$ac_ext <<_ACEOF
6648 #line $LINENO "configure"
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 $ac_includes_default
6666 rm -f conftest.
$ac_objext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6668 (eval $ac_compile) 2>&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } &&
6672 { ac_try
='test -s conftest.$ac_objext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 ac_cv_type_off_t
=yes
6680 echo "$as_me: failed program was:" >&5
6681 sed 's/^/| /' conftest.
$ac_ext >&5
6685 rm -f conftest.
$ac_objext conftest.
$ac_ext
6687 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6688 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6689 if test $ac_cv_type_off_t = yes; then
6693 cat >>confdefs.h
<<_ACEOF
6699 echo "$as_me:$LINENO: checking for size_t" >&5
6700 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6701 if test "${ac_cv_type_size_t+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 cat >conftest.
$ac_ext <<_ACEOF
6705 #line $LINENO "configure"
6708 cat confdefs.h
>>conftest.
$ac_ext
6709 cat >>conftest.
$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 $ac_includes_default
6717 if (sizeof (size_t))
6723 rm -f conftest.
$ac_objext
6724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6725 (eval $ac_compile) 2>&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } &&
6729 { ac_try
='test -s conftest.$ac_objext'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; }; then
6735 ac_cv_type_size_t
=yes
6737 echo "$as_me: failed program was:" >&5
6738 sed 's/^/| /' conftest.
$ac_ext >&5
6740 ac_cv_type_size_t
=no
6742 rm -f conftest.
$ac_objext conftest.
$ac_ext
6744 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6745 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6746 if test $ac_cv_type_size_t = yes; then
6750 cat >>confdefs.h
<<_ACEOF
6751 #define size_t unsigned
6756 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6757 # for constant arguments. Useless!
6758 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6759 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6760 if test "${ac_cv_working_alloca_h+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 cat >conftest.
$ac_ext <<_ACEOF
6764 #line $LINENO "configure"
6767 cat confdefs.h
>>conftest.
$ac_ext
6768 cat >>conftest.
$ac_ext <<_ACEOF
6769 /* end confdefs.h. */
6774 char *p = (char *) alloca (2 * sizeof (int));
6779 rm -f conftest.
$ac_objext conftest
$ac_exeext
6780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6781 (eval $ac_link) 2>&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } &&
6785 { ac_try
='test -s conftest$ac_exeext'
6786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; }; then
6791 ac_cv_working_alloca_h
=yes
6793 echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.
$ac_ext >&5
6796 ac_cv_working_alloca_h
=no
6798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6800 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6801 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6802 if test $ac_cv_working_alloca_h = yes; then
6804 cat >>confdefs.h
<<\_ACEOF
6805 #define HAVE_ALLOCA_H 1
6810 echo "$as_me:$LINENO: checking for alloca" >&5
6811 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6812 if test "${ac_cv_func_alloca_works+set}" = set; then
6813 echo $ECHO_N "(cached) $ECHO_C" >&6
6815 cat >conftest.
$ac_ext <<_ACEOF
6816 #line $LINENO "configure"
6819 cat confdefs.h
>>conftest.
$ac_ext
6820 cat >>conftest.
$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6823 # define alloca __builtin_alloca
6826 # include <malloc.h>
6827 # define alloca _alloca
6830 # include <alloca.h>
6835 # ifndef alloca /* predefined by HP cc +Olibcalls */
6846 char *p = (char *) alloca (1);
6851 rm -f conftest.
$ac_objext conftest
$ac_exeext
6852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6853 (eval $ac_link) 2>&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); } &&
6857 { ac_try
='test -s conftest$ac_exeext'
6858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6862 (exit $ac_status); }; }; then
6863 ac_cv_func_alloca_works
=yes
6865 echo "$as_me: failed program was:" >&5
6866 sed 's/^/| /' conftest.
$ac_ext >&5
6868 ac_cv_func_alloca_works
=no
6870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6872 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6873 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6875 if test $ac_cv_func_alloca_works = yes; then
6877 cat >>confdefs.h
<<\_ACEOF
6878 #define HAVE_ALLOCA 1
6882 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6883 # that cause trouble. Some versions do not even contain alloca or
6884 # contain a buggy version. If you still want to use their alloca,
6885 # use ar to extract alloca.o from them instead of compiling alloca.c.
6887 ALLOCA
=alloca.
$ac_objext
6889 cat >>confdefs.h
<<\_ACEOF
6894 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6895 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6896 if test "${ac_cv_os_cray+set}" = set; then
6897 echo $ECHO_N "(cached) $ECHO_C" >&6
6899 cat >conftest.
$ac_ext <<_ACEOF
6900 #line $LINENO "configure"
6903 cat confdefs.h
>>conftest.
$ac_ext
6904 cat >>conftest.
$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 #if defined(CRAY) && ! defined(CRAY2)
6913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6914 $EGREP "webecray" >/dev
/null
2>&1; then
6922 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6923 echo "${ECHO_T}$ac_cv_os_cray" >&6
6924 if test $ac_cv_os_cray = yes; then
6925 for ac_func
in _getb67 GETB67 getb67
; do
6926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6927 echo "$as_me:$LINENO: checking for $ac_func" >&5
6928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6929 if eval "test \"\${$as_ac_var+set}\" = set"; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 cat >conftest.
$ac_ext <<_ACEOF
6933 #line $LINENO "configure"
6936 cat confdefs.h
>>conftest.
$ac_ext
6937 cat >>conftest.
$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6939 /* System header to define __stub macros and hopefully few prototypes,
6940 which can conflict with char $ac_func (); below.
6941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6942 <limits.h> exists even on freestanding compilers. */
6944 # include <limits.h>
6946 # include <assert.h>
6948 /* Override any gcc2 internal prototype to avoid an error. */
6953 /* We use char because int might match the return type of a gcc2
6954 builtin and then its argument prototype would still apply. */
6956 /* The GNU C library defines this for functions which it implements
6957 to always fail with ENOSYS. Some functions are actually named
6958 something starting with __ and the normal name is an alias. */
6959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6962 char (*f) () = $ac_func;
6971 return f != $ac_func;
6976 rm -f conftest.
$ac_objext conftest
$ac_exeext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6978 (eval $ac_link) 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } &&
6982 { ac_try
='test -s conftest$ac_exeext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); }; }; then
6988 eval "$as_ac_var=yes"
6990 echo "$as_me: failed program was:" >&5
6991 sed 's/^/| /' conftest.
$ac_ext >&5
6993 eval "$as_ac_var=no"
6995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6999 if test `eval echo '${'$as_ac_var'}'` = yes; then
7001 cat >>confdefs.h
<<_ACEOF
7002 #define CRAY_STACKSEG_END $ac_func
7011 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7012 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7013 if test "${ac_cv_c_stack_direction+set}" = set; then
7014 echo $ECHO_N "(cached) $ECHO_C" >&6
7016 if test "$cross_compiling" = yes; then
7017 ac_cv_c_stack_direction
=0
7019 cat >conftest.
$ac_ext <<_ACEOF
7020 #line $LINENO "configure"
7023 cat confdefs.h
>>conftest.
$ac_ext
7024 cat >>conftest.
$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7027 find_stack_direction ()
7029 static char *addr = 0;
7034 return find_stack_direction ();
7037 return (&dummy > addr) ? 1 : -1;
7043 exit (find_stack_direction () < 0);
7046 rm -f conftest
$ac_exeext
7047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7048 (eval $ac_link) 2>&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7057 ac_cv_c_stack_direction
=1
7059 echo "$as_me: program exited with status $ac_status" >&5
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7064 ac_cv_c_stack_direction
=-1
7066 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7069 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7070 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7072 cat >>confdefs.h
<<_ACEOF
7073 #define STACK_DIRECTION $ac_cv_c_stack_direction
7081 for ac_header
in stdlib.h unistd.h
7083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7085 echo "$as_me:$LINENO: checking for $ac_header" >&5
7086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7093 # Is the header compilable?
7094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7096 cat >conftest.
$ac_ext <<_ACEOF
7097 #line $LINENO "configure"
7100 cat confdefs.h
>>conftest.
$ac_ext
7101 cat >>conftest.
$ac_ext <<_ACEOF
7102 /* end confdefs.h. */
7103 $ac_includes_default
7104 #include <$ac_header>
7106 rm -f conftest.
$ac_objext
7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7108 (eval $ac_compile) 2>&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); } &&
7112 { ac_try
='test -s conftest.$ac_objext'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; }; then
7118 ac_header_compiler
=yes
7120 echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.
$ac_ext >&5
7123 ac_header_compiler
=no
7125 rm -f conftest.
$ac_objext conftest.
$ac_ext
7126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7127 echo "${ECHO_T}$ac_header_compiler" >&6
7129 # Is the header present?
7130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7132 cat >conftest.
$ac_ext <<_ACEOF
7133 #line $LINENO "configure"
7136 cat confdefs.h
>>conftest.
$ac_ext
7137 cat >>conftest.
$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 #include <$ac_header>
7141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7144 grep -v '^ *+' conftest.er1
>conftest.err
7146 cat conftest.err
>&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } >/dev
/null
; then
7149 if test -s conftest.err
; then
7150 ac_cpp_err
=$ac_c_preproc_warn_flag
7157 if test -z "$ac_cpp_err"; then
7158 ac_header_preproc
=yes
7160 echo "$as_me: failed program was:" >&5
7161 sed 's/^/| /' conftest.
$ac_ext >&5
7163 ac_header_preproc
=no
7165 rm -f conftest.err conftest.
$ac_ext
7166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7167 echo "${ECHO_T}$ac_header_preproc" >&6
7169 # So? What about this header?
7170 case $ac_header_compiler:$ac_header_preproc in
7172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7178 ## ------------------------------------ ##
7179 ## Report this to bug-autoconf@gnu.org. ##
7180 ## ------------------------------------ ##
7183 sed "s/^/$as_me: WARNING: /" >&2
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7194 ## ------------------------------------ ##
7195 ## Report this to bug-autoconf@gnu.org. ##
7196 ## ------------------------------------ ##
7199 sed "s/^/$as_me: WARNING: /" >&2
7202 echo "$as_me:$LINENO: checking for $ac_header" >&5
7203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7207 eval "$as_ac_Header=$ac_header_preproc"
7209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7214 cat >>confdefs.h
<<_ACEOF
7215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7223 for ac_func
in getpagesize
7225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7226 echo "$as_me:$LINENO: checking for $ac_func" >&5
7227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7228 if eval "test \"\${$as_ac_var+set}\" = set"; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 cat >conftest.
$ac_ext <<_ACEOF
7232 #line $LINENO "configure"
7235 cat confdefs.h
>>conftest.
$ac_ext
7236 cat >>conftest.
$ac_ext <<_ACEOF
7237 /* end confdefs.h. */
7238 /* System header to define __stub macros and hopefully few prototypes,
7239 which can conflict with char $ac_func (); below.
7240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7241 <limits.h> exists even on freestanding compilers. */
7243 # include <limits.h>
7245 # include <assert.h>
7247 /* Override any gcc2 internal prototype to avoid an error. */
7252 /* We use char because int might match the return type of a gcc2
7253 builtin and then its argument prototype would still apply. */
7255 /* The GNU C library defines this for functions which it implements
7256 to always fail with ENOSYS. Some functions are actually named
7257 something starting with __ and the normal name is an alias. */
7258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7261 char (*f) () = $ac_func;
7270 return f != $ac_func;
7275 rm -f conftest.
$ac_objext conftest
$ac_exeext
7276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7277 (eval $ac_link) 2>&5
7279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 (exit $ac_status); } &&
7281 { ac_try
='test -s conftest$ac_exeext'
7282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); }; }; then
7287 eval "$as_ac_var=yes"
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.
$ac_ext >&5
7292 eval "$as_ac_var=no"
7294 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7298 if test `eval echo '${'$as_ac_var'}'` = yes; then
7299 cat >>confdefs.h
<<_ACEOF
7300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7306 echo "$as_me:$LINENO: checking for working mmap" >&5
7307 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7308 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7309 echo $ECHO_N "(cached) $ECHO_C" >&6
7311 if test "$cross_compiling" = yes; then
7312 ac_cv_func_mmap_fixed_mapped
=no
7314 cat >conftest.
$ac_ext <<_ACEOF
7315 #line $LINENO "configure"
7318 cat confdefs.h
>>conftest.
$ac_ext
7319 cat >>conftest.
$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 $ac_includes_default
7322 /* malloc might have been renamed as rpl_malloc. */
7325 /* Thanks to Mike Haertel and Jim Avera for this test.
7326 Here is a matrix of mmap possibilities:
7327 mmap private not fixed
7328 mmap private fixed at somewhere currently unmapped
7329 mmap private fixed at somewhere already mapped
7330 mmap shared not fixed
7331 mmap shared fixed at somewhere currently unmapped
7332 mmap shared fixed at somewhere already mapped
7333 For private mappings, we should verify that changes cannot be read()
7334 back from the file, nor mmap's back from the file at a different
7335 address. (There have been systems where private was not correctly
7336 implemented like the infamous i386 svr4.0, and systems where the
7337 VM page cache was not coherent with the file system buffer cache
7338 like early versions of FreeBSD and possibly contemporary NetBSD.)
7339 For shared mappings, we should conversely verify that changes get
7340 propagated back to all the places they're supposed to be.
7342 Grep wants private fixed already mapped.
7343 The main things grep needs to know about mmap are:
7344 * does it exist and is it safe to write into the mmap'd area
7345 * how to use it (BSD variants) */
7348 #include <sys/mman.h>
7350 #if !STDC_HEADERS && !HAVE_STDLIB_H
7354 /* This mess was copied from the GNU getpagesize.h. */
7355 #if !HAVE_GETPAGESIZE
7356 /* Assume that all systems that can run configure have sys/param.h. */
7357 # if !HAVE_SYS_PARAM_H
7358 # define HAVE_SYS_PARAM_H 1
7361 # ifdef _SC_PAGESIZE
7362 # define getpagesize() sysconf(_SC_PAGESIZE)
7363 # else /* no _SC_PAGESIZE */
7364 # if HAVE_SYS_PARAM_H
7365 # include <sys/param.h>
7366 # ifdef EXEC_PAGESIZE
7367 # define getpagesize() EXEC_PAGESIZE
7368 # else /* no EXEC_PAGESIZE */
7370 # define getpagesize() NBPG * CLSIZE
7373 # endif /* no CLSIZE */
7374 # else /* no NBPG */
7376 # define getpagesize() NBPC
7377 # else /* no NBPC */
7379 # define getpagesize() PAGESIZE
7380 # endif /* PAGESIZE */
7381 # endif /* no NBPC */
7382 # endif /* no NBPG */
7383 # endif /* no EXEC_PAGESIZE */
7384 # else /* no HAVE_SYS_PARAM_H */
7385 # define getpagesize() 8192 /* punt totally */
7386 # endif /* no HAVE_SYS_PARAM_H */
7387 # endif /* no _SC_PAGESIZE */
7389 #endif /* no HAVE_GETPAGESIZE */
7394 char *data, *data2, *data3;
7398 pagesize = getpagesize ();
7400 /* First, make a file with some known garbage in it. */
7401 data = (char *) malloc (pagesize);
7404 for (i = 0; i < pagesize; ++i)
7405 *(data + i) = rand ();
7407 fd = creat ("conftest.mmap", 0600);
7410 if (write (fd, data, pagesize) != pagesize)
7414 /* Next, try to mmap the file at a fixed address which already has
7415 something else allocated at it. If we can, also make sure that
7416 we see the same garbage. */
7417 fd = open ("conftest.mmap", O_RDWR);
7420 data2 = (char *) malloc (2 * pagesize);
7423 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7424 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7425 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7427 for (i = 0; i < pagesize; ++i)
7428 if (*(data + i) != *(data2 + i))
7431 /* Finally, make sure that changes to the mapped area do not
7432 percolate back to the file as seen by read(). (This is a bug on
7433 some variants of i386 svr4.0.) */
7434 for (i = 0; i < pagesize; ++i)
7435 *(data2 + i) = *(data2 + i) + 1;
7436 data3 = (char *) malloc (pagesize);
7439 if (read (fd, data3, pagesize) != pagesize)
7441 for (i = 0; i < pagesize; ++i)
7442 if (*(data + i) != *(data3 + i))
7448 rm -f conftest
$ac_exeext
7449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7450 (eval $ac_link) 2>&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; }; then
7459 ac_cv_func_mmap_fixed_mapped
=yes
7461 echo "$as_me: program exited with status $ac_status" >&5
7462 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.
$ac_ext >&5
7466 ac_cv_func_mmap_fixed_mapped
=no
7468 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7471 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7472 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7473 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7475 cat >>confdefs.h
<<\_ACEOF
7492 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
7493 unistd.h values.h sys
/param.h
7495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7497 echo "$as_me:$LINENO: checking for $ac_header" >&5
7498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7500 echo $ECHO_N "(cached) $ECHO_C" >&6
7502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7505 # Is the header compilable?
7506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7508 cat >conftest.
$ac_ext <<_ACEOF
7509 #line $LINENO "configure"
7512 cat confdefs.h
>>conftest.
$ac_ext
7513 cat >>conftest.
$ac_ext <<_ACEOF
7514 /* end confdefs.h. */
7515 $ac_includes_default
7516 #include <$ac_header>
7518 rm -f conftest.
$ac_objext
7519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7520 (eval $ac_compile) 2>&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); } &&
7524 { ac_try
='test -s conftest.$ac_objext'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; }; then
7530 ac_header_compiler
=yes
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.
$ac_ext >&5
7535 ac_header_compiler
=no
7537 rm -f conftest.
$ac_objext conftest.
$ac_ext
7538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7539 echo "${ECHO_T}$ac_header_compiler" >&6
7541 # Is the header present?
7542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7544 cat >conftest.
$ac_ext <<_ACEOF
7545 #line $LINENO "configure"
7548 cat confdefs.h
>>conftest.
$ac_ext
7549 cat >>conftest.
$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7551 #include <$ac_header>
7553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7556 grep -v '^ *+' conftest.er1
>conftest.err
7558 cat conftest.err
>&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } >/dev
/null
; then
7561 if test -s conftest.err
; then
7562 ac_cpp_err
=$ac_c_preproc_warn_flag
7569 if test -z "$ac_cpp_err"; then
7570 ac_header_preproc
=yes
7572 echo "$as_me: failed program was:" >&5
7573 sed 's/^/| /' conftest.
$ac_ext >&5
7575 ac_header_preproc
=no
7577 rm -f conftest.err conftest.
$ac_ext
7578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7579 echo "${ECHO_T}$ac_header_preproc" >&6
7581 # So? What about this header?
7582 case $ac_header_compiler:$ac_header_preproc in
7584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7590 ## ------------------------------------ ##
7591 ## Report this to bug-autoconf@gnu.org. ##
7592 ## ------------------------------------ ##
7595 sed "s/^/$as_me: WARNING: /" >&2
7598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7606 ## ------------------------------------ ##
7607 ## Report this to bug-autoconf@gnu.org. ##
7608 ## ------------------------------------ ##
7611 sed "s/^/$as_me: WARNING: /" >&2
7614 echo "$as_me:$LINENO: checking for $ac_header" >&5
7615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 eval "$as_ac_Header=$ac_header_preproc"
7621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7626 cat >>confdefs.h
<<_ACEOF
7627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7644 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7645 __argz_count __argz_stringify __argz_next
7647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7648 echo "$as_me:$LINENO: checking for $ac_func" >&5
7649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7650 if eval "test \"\${$as_ac_var+set}\" = set"; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 cat >conftest.
$ac_ext <<_ACEOF
7654 #line $LINENO "configure"
7657 cat confdefs.h
>>conftest.
$ac_ext
7658 cat >>conftest.
$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 /* System header to define __stub macros and hopefully few prototypes,
7661 which can conflict with char $ac_func (); below.
7662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7663 <limits.h> exists even on freestanding compilers. */
7665 # include <limits.h>
7667 # include <assert.h>
7669 /* Override any gcc2 internal prototype to avoid an error. */
7674 /* We use char because int might match the return type of a gcc2
7675 builtin and then its argument prototype would still apply. */
7677 /* The GNU C library defines this for functions which it implements
7678 to always fail with ENOSYS. Some functions are actually named
7679 something starting with __ and the normal name is an alias. */
7680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7683 char (*f) () = $ac_func;
7692 return f != $ac_func;
7697 rm -f conftest.
$ac_objext conftest
$ac_exeext
7698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7699 (eval $ac_link) 2>&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } &&
7703 { ac_try
='test -s conftest$ac_exeext'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; }; then
7709 eval "$as_ac_var=yes"
7711 echo "$as_me: failed program was:" >&5
7712 sed 's/^/| /' conftest.
$ac_ext >&5
7714 eval "$as_ac_var=no"
7716 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7720 if test `eval echo '${'$as_ac_var'}'` = yes; then
7721 cat >>confdefs.h
<<_ACEOF
7722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7729 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7731 for ac_func
in stpcpy
7733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7734 echo "$as_me:$LINENO: checking for $ac_func" >&5
7735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7736 if eval "test \"\${$as_ac_var+set}\" = set"; then
7737 echo $ECHO_N "(cached) $ECHO_C" >&6
7739 cat >conftest.
$ac_ext <<_ACEOF
7740 #line $LINENO "configure"
7743 cat confdefs.h
>>conftest.
$ac_ext
7744 cat >>conftest.
$ac_ext <<_ACEOF
7745 /* end confdefs.h. */
7746 /* System header to define __stub macros and hopefully few prototypes,
7747 which can conflict with char $ac_func (); below.
7748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749 <limits.h> exists even on freestanding compilers. */
7751 # include <limits.h>
7753 # include <assert.h>
7755 /* Override any gcc2 internal prototype to avoid an error. */
7760 /* We use char because int might match the return type of a gcc2
7761 builtin and then its argument prototype would still apply. */
7763 /* The GNU C library defines this for functions which it implements
7764 to always fail with ENOSYS. Some functions are actually named
7765 something starting with __ and the normal name is an alias. */
7766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7769 char (*f) () = $ac_func;
7778 return f != $ac_func;
7783 rm -f conftest.
$ac_objext conftest
$ac_exeext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7785 (eval $ac_link) 2>&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } &&
7789 { ac_try
='test -s conftest$ac_exeext'
7790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); }; }; then
7795 eval "$as_ac_var=yes"
7797 echo "$as_me: failed program was:" >&5
7798 sed 's/^/| /' conftest.
$ac_ext >&5
7800 eval "$as_ac_var=no"
7802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7806 if test `eval echo '${'$as_ac_var'}'` = yes; then
7807 cat >>confdefs.h
<<_ACEOF
7808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7815 if test "${ac_cv_func_stpcpy}" = "yes"; then
7817 cat >>confdefs.h
<<\_ACEOF
7818 #define HAVE_STPCPY 1
7823 if test $ac_cv_header_locale_h = yes; then
7824 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7825 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7826 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 cat >conftest.
$ac_ext <<_ACEOF
7830 #line $LINENO "configure"
7833 cat confdefs.h
>>conftest.
$ac_ext
7834 cat >>conftest.
$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7845 rm -f conftest.
$ac_objext conftest
$ac_exeext
7846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7847 (eval $ac_link) 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } &&
7851 { ac_try
='test -s conftest$ac_exeext'
7852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); }; }; then
7857 am_cv_val_LC_MESSAGES
=yes
7859 echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.
$ac_ext >&5
7862 am_cv_val_LC_MESSAGES
=no
7864 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7866 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7867 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7868 if test $am_cv_val_LC_MESSAGES = yes; then
7870 cat >>confdefs.h
<<\_ACEOF
7871 #define HAVE_LC_MESSAGES 1
7876 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7877 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7878 # Check whether --enable-nls or --disable-nls was given.
7879 if test "${enable_nls+set}" = set; then
7880 enableval
="$enable_nls"
7885 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7886 echo "${ECHO_T}$USE_NLS" >&6
7889 USE_INCLUDED_LIBINTL
=no
7891 if test "$USE_NLS" = "yes"; then
7893 cat >>confdefs.h
<<\_ACEOF
7894 #define ENABLE_NLS 1
7897 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7898 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7900 # Check whether --with-included-gettext or --without-included-gettext was given.
7901 if test "${with_included_gettext+set}" = set; then
7902 withval
="$with_included_gettext"
7903 nls_cv_force_use_gnu_gettext
=$withval
7905 nls_cv_force_use_gnu_gettext
=no
7907 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7908 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7910 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7911 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7913 nls_cv_header_libgt
=
7916 if test "${ac_cv_header_libintl_h+set}" = set; then
7917 echo "$as_me:$LINENO: checking for libintl.h" >&5
7918 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7919 if test "${ac_cv_header_libintl_h+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7923 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7925 # Is the header compilable?
7926 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7927 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7928 cat >conftest.
$ac_ext <<_ACEOF
7929 #line $LINENO "configure"
7932 cat confdefs.h
>>conftest.
$ac_ext
7933 cat >>conftest.
$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7936 #include <libintl.h>
7938 rm -f conftest.
$ac_objext
7939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7940 (eval $ac_compile) 2>&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); } &&
7944 { ac_try
='test -s conftest.$ac_objext'
7945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); }; }; then
7950 ac_header_compiler
=yes
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7955 ac_header_compiler
=no
7957 rm -f conftest.
$ac_objext conftest.
$ac_ext
7958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7959 echo "${ECHO_T}$ac_header_compiler" >&6
7961 # Is the header present?
7962 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7963 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7964 cat >conftest.
$ac_ext <<_ACEOF
7965 #line $LINENO "configure"
7968 cat confdefs.h
>>conftest.
$ac_ext
7969 cat >>conftest.
$ac_ext <<_ACEOF
7970 /* end confdefs.h. */
7971 #include <libintl.h>
7973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7976 grep -v '^ *+' conftest.er1
>conftest.err
7978 cat conftest.err
>&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); } >/dev
/null
; then
7981 if test -s conftest.err
; then
7982 ac_cpp_err
=$ac_c_preproc_warn_flag
7989 if test -z "$ac_cpp_err"; then
7990 ac_header_preproc
=yes
7992 echo "$as_me: failed program was:" >&5
7993 sed 's/^/| /' conftest.
$ac_ext >&5
7995 ac_header_preproc
=no
7997 rm -f conftest.err conftest.
$ac_ext
7998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7999 echo "${ECHO_T}$ac_header_preproc" >&6
8001 # So? What about this header?
8002 case $ac_header_compiler:$ac_header_preproc in
8004 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8005 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8006 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8007 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8010 ## ------------------------------------ ##
8011 ## Report this to bug-autoconf@gnu.org. ##
8012 ## ------------------------------------ ##
8015 sed "s/^/$as_me: WARNING: /" >&2
8018 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
8019 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
8020 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
8021 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8023 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8026 ## ------------------------------------ ##
8027 ## Report this to bug-autoconf@gnu.org. ##
8028 ## ------------------------------------ ##
8031 sed "s/^/$as_me: WARNING: /" >&2
8034 echo "$as_me:$LINENO: checking for libintl.h" >&5
8035 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8036 if test "${ac_cv_header_libintl_h+set}" = set; then
8037 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 ac_cv_header_libintl_h
=$ac_header_preproc
8041 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8042 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8045 if test $ac_cv_header_libintl_h = yes; then
8046 echo "$as_me:$LINENO: checking for gettext in libc" >&5
8047 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
8048 if test "${gt_cv_func_gettext_libc+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 cat >conftest.
$ac_ext <<_ACEOF
8052 #line $LINENO "configure"
8055 cat confdefs.h
>>conftest.
$ac_ext
8056 cat >>conftest.
$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 #include <libintl.h>
8062 return (int) gettext ("")
8067 rm -f conftest.
$ac_objext conftest
$ac_exeext
8068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8069 (eval $ac_link) 2>&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } &&
8073 { ac_try
='test -s conftest$ac_exeext'
8074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); }; }; then
8079 gt_cv_func_gettext_libc
=yes
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.
$ac_ext >&5
8084 gt_cv_func_gettext_libc
=no
8086 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8088 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8089 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
8091 if test "$gt_cv_func_gettext_libc" != "yes"; then
8092 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8093 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
8094 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_check_lib_save_LIBS
=$LIBS
8099 cat >conftest.
$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8103 cat confdefs.h
>>conftest.
$ac_ext
8104 cat >>conftest.
$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any gcc2 internal prototype to avoid an error. */
8111 /* We use char because int might match the return type of a gcc2
8112 builtin and then its argument prototype would still apply. */
8113 char bindtextdomain ();
8122 rm -f conftest.
$ac_objext conftest
$ac_exeext
8123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8124 (eval $ac_link) 2>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try
='test -s conftest$ac_exeext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_cv_lib_intl_bindtextdomain
=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.
$ac_ext >&5
8139 ac_cv_lib_intl_bindtextdomain
=no
8141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8142 LIBS
=$ac_check_lib_save_LIBS
8144 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8145 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
8146 if test $ac_cv_lib_intl_bindtextdomain = yes; then
8147 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8148 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
8149 if test "${gt_cv_func_gettext_libintl+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8152 cat >conftest.
$ac_ext <<_ACEOF
8153 #line $LINENO "configure"
8156 cat confdefs.h
>>conftest.
$ac_ext
8157 cat >>conftest.
$ac_ext <<_ACEOF
8158 /* end confdefs.h. */
8163 return (int) gettext ("")
8168 rm -f conftest.
$ac_objext conftest
$ac_exeext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8170 (eval $ac_link) 2>&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } &&
8174 { ac_try
='test -s conftest$ac_exeext'
8175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); }; }; then
8180 gt_cv_func_gettext_libintl
=yes
8182 echo "$as_me: failed program was:" >&5
8183 sed 's/^/| /' conftest.
$ac_ext >&5
8185 gt_cv_func_gettext_libintl
=no
8187 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8189 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8190 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
8195 if test "$gt_cv_func_gettext_libc" = "yes" \
8196 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
8198 cat >>confdefs.h
<<\_ACEOF
8199 #define HAVE_GETTEXT 1
8202 # Extract the first word of "msgfmt", so it can be a program name with args.
8203 set dummy msgfmt
; ac_word
=$2
8204 echo "$as_me:$LINENO: checking for $ac_word" >&5
8205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8206 if test "${ac_cv_path_MSGFMT+set}" = set; then
8207 echo $ECHO_N "(cached) $ECHO_C" >&6
8211 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8214 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8215 for ac_dir
in $PATH; do
8216 test -z "$ac_dir" && ac_dir
=.
8217 if test -f $ac_dir/$ac_word; then
8218 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8219 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8225 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
8229 MSGFMT
="$ac_cv_path_MSGFMT"
8230 if test -n "$MSGFMT"; then
8231 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8232 echo "${ECHO_T}$MSGFMT" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8237 if test "$MSGFMT" != "no"; then
8239 for ac_func
in dcgettext
8241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8242 echo "$as_me:$LINENO: checking for $ac_func" >&5
8243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8244 if eval "test \"\${$as_ac_var+set}\" = set"; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 cat >conftest.
$ac_ext <<_ACEOF
8248 #line $LINENO "configure"
8251 cat confdefs.h
>>conftest.
$ac_ext
8252 cat >>conftest.
$ac_ext <<_ACEOF
8253 /* end confdefs.h. */
8254 /* System header to define __stub macros and hopefully few prototypes,
8255 which can conflict with char $ac_func (); below.
8256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8257 <limits.h> exists even on freestanding compilers. */
8259 # include <limits.h>
8261 # include <assert.h>
8263 /* Override any gcc2 internal prototype to avoid an error. */
8268 /* We use char because int might match the return type of a gcc2
8269 builtin and then its argument prototype would still apply. */
8271 /* The GNU C library defines this for functions which it implements
8272 to always fail with ENOSYS. Some functions are actually named
8273 something starting with __ and the normal name is an alias. */
8274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8277 char (*f) () = $ac_func;
8286 return f != $ac_func;
8291 rm -f conftest.
$ac_objext conftest
$ac_exeext
8292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8293 (eval $ac_link) 2>&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); } &&
8297 { ac_try
='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 eval "$as_ac_var=yes"
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 eval "$as_ac_var=no"
8310 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8314 if test `eval echo '${'$as_ac_var'}'` = yes; then
8315 cat >>confdefs.h
<<_ACEOF
8316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8322 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8323 set dummy gmsgfmt
; ac_word
=$2
8324 echo "$as_me:$LINENO: checking for $ac_word" >&5
8325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8326 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8327 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir
=.
8339 for ac_exec_ext
in '' $ac_executable_extensions; do
8340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8348 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8352 GMSGFMT
=$ac_cv_path_GMSGFMT
8354 if test -n "$GMSGFMT"; then
8355 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8356 echo "${ECHO_T}$GMSGFMT" >&6
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8362 # Extract the first word of "xgettext", so it can be a program name with args.
8363 set dummy xgettext
; ac_word
=$2
8364 echo "$as_me:$LINENO: checking for $ac_word" >&5
8365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8366 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8367 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8374 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8375 for ac_dir
in $PATH; do
8376 test -z "$ac_dir" && ac_dir
=.
8377 if test -f $ac_dir/$ac_word; then
8378 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8379 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8385 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8389 XGETTEXT
="$ac_cv_path_XGETTEXT"
8390 if test -n "$XGETTEXT"; then
8391 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8392 echo "${ECHO_T}$XGETTEXT" >&6
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8398 cat >conftest.
$ac_ext <<_ACEOF
8399 #line $LINENO "configure"
8402 cat confdefs.h
>>conftest.
$ac_ext
8403 cat >>conftest.
$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8409 extern int _nl_msg_cat_cntr;
8410 return _nl_msg_cat_cntr
8415 rm -f conftest.
$ac_objext conftest
$ac_exeext
8416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8417 (eval $ac_link) 2>&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); } &&
8421 { ac_try
='test -s conftest$ac_exeext'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8430 echo "$as_me: failed program was:" >&5
8431 sed 's/^/| /' conftest.
$ac_ext >&5
8436 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8446 if test "$CATOBJEXT" = "NONE"; then
8447 nls_cv_use_gnu_gettext
=yes
8451 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8452 INTLOBJS
="\$(GETTOBJS)"
8453 # Extract the first word of "msgfmt", so it can be a program name with args.
8454 set dummy msgfmt
; ac_word
=$2
8455 echo "$as_me:$LINENO: checking for $ac_word" >&5
8456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8457 if test "${ac_cv_path_MSGFMT+set}" = set; then
8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8465 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8466 for ac_dir
in $PATH; do
8467 test -z "$ac_dir" && ac_dir
=.
8468 if test -f $ac_dir/$ac_word; then
8469 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8470 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8476 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8480 MSGFMT
="$ac_cv_path_MSGFMT"
8481 if test -n "$MSGFMT"; then
8482 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8483 echo "${ECHO_T}$MSGFMT" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8489 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8490 set dummy gmsgfmt
; ac_word
=$2
8491 echo "$as_me:$LINENO: checking for $ac_word" >&5
8492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8493 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8505 test -z "$as_dir" && as_dir
=.
8506 for ac_exec_ext
in '' $ac_executable_extensions; do
8507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8508 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8519 GMSGFMT
=$ac_cv_path_GMSGFMT
8521 if test -n "$GMSGFMT"; then
8522 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8523 echo "${ECHO_T}$GMSGFMT" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8529 # Extract the first word of "xgettext", so it can be a program name with args.
8530 set dummy xgettext
; ac_word
=$2
8531 echo "$as_me:$LINENO: checking for $ac_word" >&5
8532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8533 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8534 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8541 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8542 for ac_dir
in $PATH; do
8543 test -z "$ac_dir" && ac_dir
=.
8544 if test -f $ac_dir/$ac_word; then
8545 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8546 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8552 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8556 XGETTEXT
="$ac_cv_path_XGETTEXT"
8557 if test -n "$XGETTEXT"; then
8558 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8559 echo "${ECHO_T}$XGETTEXT" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8566 USE_INCLUDED_LIBINTL
=yes
8570 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8572 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8573 nls_cv_header_intl
=libintl.h
8574 nls_cv_header_libgt
=libgettext.h
8577 if test "$XGETTEXT" != ":"; then
8578 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8581 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8582 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8587 # We need to process the po/ directory.
8591 nls_cv_header_intl
=libintl.h
8592 nls_cv_header_libgt
=libgettext.h
8595 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8596 # because some of the sources are only built for this goal.
8597 if test "$PACKAGE" = gettext; then
8599 USE_INCLUDED_LIBINTL
=yes
8602 for lang
in $ALL_LINGUAS; do
8603 GMOFILES
="$GMOFILES $lang.gmo"
8604 POFILES
="$POFILES $lang.po"
8620 if test "x$CATOBJEXT" != "x"; then
8621 if test "x$ALL_LINGUAS" = "x"; then
8624 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8625 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8627 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8628 case "$ALL_LINGUAS" in
8629 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8632 LINGUAS
=$NEW_LINGUAS
8633 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8634 echo "${ECHO_T}$LINGUAS" >&6
8637 if test -n "$LINGUAS"; then
8638 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8642 if test $ac_cv_header_locale_h = yes; then
8643 INCLUDE_LOCALE_H
="#include <locale.h>"
8646 /* The system does not provide the header <locale.h>. Take care yourself. */"
8650 if test -f $srcdir/po2tbl.
sed.
in; then
8651 if test "$CATOBJEXT" = ".cat"; then
8652 if test "${ac_cv_header_linux_version_h+set}" = set; then
8653 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8654 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8655 if test "${ac_cv_header_linux_version_h+set}" = set; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8658 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8659 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8661 # Is the header compilable?
8662 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8663 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8664 cat >conftest.
$ac_ext <<_ACEOF
8665 #line $LINENO "configure"
8668 cat confdefs.h
>>conftest.
$ac_ext
8669 cat >>conftest.
$ac_ext <<_ACEOF
8670 /* end confdefs.h. */
8671 $ac_includes_default
8672 #include <linux/version.h>
8674 rm -f conftest.
$ac_objext
8675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8676 (eval $ac_compile) 2>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } &&
8680 { ac_try
='test -s conftest.$ac_objext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8686 ac_header_compiler
=yes
8688 echo "$as_me: failed program was:" >&5
8689 sed 's/^/| /' conftest.
$ac_ext >&5
8691 ac_header_compiler
=no
8693 rm -f conftest.
$ac_objext conftest.
$ac_ext
8694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8695 echo "${ECHO_T}$ac_header_compiler" >&6
8697 # Is the header present?
8698 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8699 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8700 cat >conftest.
$ac_ext <<_ACEOF
8701 #line $LINENO "configure"
8704 cat confdefs.h
>>conftest.
$ac_ext
8705 cat >>conftest.
$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8707 #include <linux/version.h>
8709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8712 grep -v '^ *+' conftest.er1
>conftest.err
8714 cat conftest.err
>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } >/dev
/null
; then
8717 if test -s conftest.err
; then
8718 ac_cpp_err
=$ac_c_preproc_warn_flag
8725 if test -z "$ac_cpp_err"; then
8726 ac_header_preproc
=yes
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.
$ac_ext >&5
8731 ac_header_preproc
=no
8733 rm -f conftest.err conftest.
$ac_ext
8734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8735 echo "${ECHO_T}$ac_header_preproc" >&6
8737 # So? What about this header?
8738 case $ac_header_compiler:$ac_header_preproc in
8740 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8741 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8742 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8743 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8746 ## ------------------------------------ ##
8747 ## Report this to bug-autoconf@gnu.org. ##
8748 ## ------------------------------------ ##
8751 sed "s/^/$as_me: WARNING: /" >&2
8754 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8755 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8756 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8757 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8758 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8759 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8762 ## ------------------------------------ ##
8763 ## Report this to bug-autoconf@gnu.org. ##
8764 ## ------------------------------------ ##
8767 sed "s/^/$as_me: WARNING: /" >&2
8770 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8771 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8772 if test "${ac_cv_header_linux_version_h+set}" = set; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 ac_cv_header_linux_version_h
=$ac_header_preproc
8777 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8778 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8781 if test $ac_cv_header_linux_version_h = yes; then
8789 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8791 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8792 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8795 if test "$PACKAGE" = "gettext"; then
8805 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8811 if test -f $srcdir/po
/POTFILES.
in; then
8812 test -d po || mkdir po
8813 if test "x$srcdir" != "x."; then
8814 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8815 posrcprefix
="$srcdir/"
8817 posrcprefix
="../$srcdir/"
8823 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8824 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8828 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8829 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8830 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8831 if test "${enable_maintainer_mode+set}" = set; then
8832 enableval
="$enable_maintainer_mode"
8833 USE_MAINTAINER_MODE
=$enableval
8835 USE_MAINTAINER_MODE
=no
8837 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8838 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8841 if test $USE_MAINTAINER_MODE = yes; then
8842 MAINTAINER_MODE_TRUE
=
8843 MAINTAINER_MODE_FALSE
='#'
8845 MAINTAINER_MODE_TRUE
='#'
8846 MAINTAINER_MODE_FALSE
=
8849 MAINT
=$MAINTAINER_MODE_TRUE
8863 for ac_header
in string.h stdlib.h memory.h
strings.h unistd.h stdarg.h varargs.h errno.h sys
/types.h
8865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8867 echo "$as_me:$LINENO: checking for $ac_header" >&5
8868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8875 # Is the header compilable?
8876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8878 cat >conftest.
$ac_ext <<_ACEOF
8879 #line $LINENO "configure"
8882 cat confdefs.h
>>conftest.
$ac_ext
8883 cat >>conftest.
$ac_ext <<_ACEOF
8884 /* end confdefs.h. */
8885 $ac_includes_default
8886 #include <$ac_header>
8888 rm -f conftest.
$ac_objext
8889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8890 (eval $ac_compile) 2>&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); } &&
8894 { ac_try
='test -s conftest.$ac_objext'
8895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); }; }; then
8900 ac_header_compiler
=yes
8902 echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.
$ac_ext >&5
8905 ac_header_compiler
=no
8907 rm -f conftest.
$ac_objext conftest.
$ac_ext
8908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8909 echo "${ECHO_T}$ac_header_compiler" >&6
8911 # Is the header present?
8912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8914 cat >conftest.
$ac_ext <<_ACEOF
8915 #line $LINENO "configure"
8918 cat confdefs.h
>>conftest.
$ac_ext
8919 cat >>conftest.
$ac_ext <<_ACEOF
8920 /* end confdefs.h. */
8921 #include <$ac_header>
8923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8926 grep -v '^ *+' conftest.er1
>conftest.err
8928 cat conftest.err
>&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); } >/dev
/null
; then
8931 if test -s conftest.err
; then
8932 ac_cpp_err
=$ac_c_preproc_warn_flag
8939 if test -z "$ac_cpp_err"; then
8940 ac_header_preproc
=yes
8942 echo "$as_me: failed program was:" >&5
8943 sed 's/^/| /' conftest.
$ac_ext >&5
8945 ac_header_preproc
=no
8947 rm -f conftest.err conftest.
$ac_ext
8948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8949 echo "${ECHO_T}$ac_header_preproc" >&6
8951 # So? What about this header?
8952 case $ac_header_compiler:$ac_header_preproc in
8954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8960 ## ------------------------------------ ##
8961 ## Report this to bug-autoconf@gnu.org. ##
8962 ## ------------------------------------ ##
8965 sed "s/^/$as_me: WARNING: /" >&2
8968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8976 ## ------------------------------------ ##
8977 ## Report this to bug-autoconf@gnu.org. ##
8978 ## ------------------------------------ ##
8981 sed "s/^/$as_me: WARNING: /" >&2
8984 echo "$as_me:$LINENO: checking for $ac_header" >&5
8985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 eval "$as_ac_Header=$ac_header_preproc"
8991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8996 cat >>confdefs.h
<<_ACEOF
8997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9005 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
9006 # people who are not cross-compiling but are compiling cross-assemblers.
9007 echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
9008 echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
9009 if test "${host}" = "${target}"; then
9014 cat >>confdefs.h
<<\_ACEOF
9015 #define CROSS_COMPILE 1
9019 echo "$as_me:$LINENO: result: $cross_gas" >&5
9020 echo "${ECHO_T}$cross_gas" >&6
9022 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9023 # for constant arguments. Useless!
9024 echo "$as_me:$LINENO: checking for working alloca.h" >&5
9025 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9026 if test "${ac_cv_working_alloca_h+set}" = set; then
9027 echo $ECHO_N "(cached) $ECHO_C" >&6
9029 cat >conftest.
$ac_ext <<_ACEOF
9030 #line $LINENO "configure"
9033 cat confdefs.h
>>conftest.
$ac_ext
9034 cat >>conftest.
$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9040 char *p = (char *) alloca (2 * sizeof (int));
9045 rm -f conftest.
$ac_objext conftest
$ac_exeext
9046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9047 (eval $ac_link) 2>&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); } &&
9051 { ac_try
='test -s conftest$ac_exeext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 ac_cv_working_alloca_h
=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.
$ac_ext >&5
9062 ac_cv_working_alloca_h
=no
9064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9066 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9067 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9068 if test $ac_cv_working_alloca_h = yes; then
9070 cat >>confdefs.h
<<\_ACEOF
9071 #define HAVE_ALLOCA_H 1
9076 echo "$as_me:$LINENO: checking for alloca" >&5
9077 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9078 if test "${ac_cv_func_alloca_works+set}" = set; then
9079 echo $ECHO_N "(cached) $ECHO_C" >&6
9081 cat >conftest.
$ac_ext <<_ACEOF
9082 #line $LINENO "configure"
9085 cat confdefs.h
>>conftest.
$ac_ext
9086 cat >>conftest.
$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9089 # define alloca __builtin_alloca
9092 # include <malloc.h>
9093 # define alloca _alloca
9096 # include <alloca.h>
9101 # ifndef alloca /* predefined by HP cc +Olibcalls */
9112 char *p = (char *) alloca (1);
9117 rm -f conftest.
$ac_objext conftest
$ac_exeext
9118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119 (eval $ac_link) 2>&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } &&
9123 { ac_try
='test -s conftest$ac_exeext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9129 ac_cv_func_alloca_works
=yes
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.
$ac_ext >&5
9134 ac_cv_func_alloca_works
=no
9136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9138 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9139 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9141 if test $ac_cv_func_alloca_works = yes; then
9143 cat >>confdefs.h
<<\_ACEOF
9144 #define HAVE_ALLOCA 1
9148 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9149 # that cause trouble. Some versions do not even contain alloca or
9150 # contain a buggy version. If you still want to use their alloca,
9151 # use ar to extract alloca.o from them instead of compiling alloca.c.
9153 ALLOCA
=alloca.
$ac_objext
9155 cat >>confdefs.h
<<\_ACEOF
9160 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9161 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9162 if test "${ac_cv_os_cray+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 cat >conftest.
$ac_ext <<_ACEOF
9166 #line $LINENO "configure"
9169 cat confdefs.h
>>conftest.
$ac_ext
9170 cat >>conftest.
$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9172 #if defined(CRAY) && ! defined(CRAY2)
9179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9180 $EGREP "webecray" >/dev
/null
2>&1; then
9188 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9189 echo "${ECHO_T}$ac_cv_os_cray" >&6
9190 if test $ac_cv_os_cray = yes; then
9191 for ac_func
in _getb67 GETB67 getb67
; do
9192 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9193 echo "$as_me:$LINENO: checking for $ac_func" >&5
9194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9195 if eval "test \"\${$as_ac_var+set}\" = set"; then
9196 echo $ECHO_N "(cached) $ECHO_C" >&6
9198 cat >conftest.
$ac_ext <<_ACEOF
9199 #line $LINENO "configure"
9202 cat confdefs.h
>>conftest.
$ac_ext
9203 cat >>conftest.
$ac_ext <<_ACEOF
9204 /* end confdefs.h. */
9205 /* System header to define __stub macros and hopefully few prototypes,
9206 which can conflict with char $ac_func (); below.
9207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9208 <limits.h> exists even on freestanding compilers. */
9210 # include <limits.h>
9212 # include <assert.h>
9214 /* Override any gcc2 internal prototype to avoid an error. */
9219 /* We use char because int might match the return type of a gcc2
9220 builtin and then its argument prototype would still apply. */
9222 /* The GNU C library defines this for functions which it implements
9223 to always fail with ENOSYS. Some functions are actually named
9224 something starting with __ and the normal name is an alias. */
9225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9228 char (*f) () = $ac_func;
9237 return f != $ac_func;
9242 rm -f conftest.
$ac_objext conftest
$ac_exeext
9243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9244 (eval $ac_link) 2>&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); } &&
9248 { ac_try
='test -s conftest$ac_exeext'
9249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); }; }; then
9254 eval "$as_ac_var=yes"
9256 echo "$as_me: failed program was:" >&5
9257 sed 's/^/| /' conftest.
$ac_ext >&5
9259 eval "$as_ac_var=no"
9261 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9265 if test `eval echo '${'$as_ac_var'}'` = yes; then
9267 cat >>confdefs.h
<<_ACEOF
9268 #define CRAY_STACKSEG_END $ac_func
9277 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9278 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9279 if test "${ac_cv_c_stack_direction+set}" = set; then
9280 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 if test "$cross_compiling" = yes; then
9283 ac_cv_c_stack_direction
=0
9285 cat >conftest.
$ac_ext <<_ACEOF
9286 #line $LINENO "configure"
9289 cat confdefs.h
>>conftest.
$ac_ext
9290 cat >>conftest.
$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9293 find_stack_direction ()
9295 static char *addr = 0;
9300 return find_stack_direction ();
9303 return (&dummy > addr) ? 1 : -1;
9309 exit (find_stack_direction () < 0);
9312 rm -f conftest
$ac_exeext
9313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9314 (eval $ac_link) 2>&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; }; then
9323 ac_cv_c_stack_direction
=1
9325 echo "$as_me: program exited with status $ac_status" >&5
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.
$ac_ext >&5
9330 ac_cv_c_stack_direction
=-1
9332 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9335 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9336 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9338 cat >>confdefs.h
<<_ACEOF
9339 #define STACK_DIRECTION $ac_cv_c_stack_direction
9345 echo "$as_me:$LINENO: checking for inline" >&5
9346 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9347 if test "${ac_cv_c_inline+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 for ac_kw
in inline __inline__ __inline
; do
9352 cat >conftest.
$ac_ext <<_ACEOF
9353 #line $LINENO "configure"
9356 cat confdefs.h
>>conftest.
$ac_ext
9357 cat >>conftest.
$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9361 static $ac_kw foo_t static_foo () {return 0; }
9362 $ac_kw foo_t foo () {return 0; }
9366 rm -f conftest.
$ac_objext
9367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9368 (eval $ac_compile) 2>&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } &&
9372 { ac_try
='test -s conftest.$ac_objext'
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); }; }; then
9378 ac_cv_c_inline
=$ac_kw; break
9380 echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.
$ac_ext >&5
9384 rm -f conftest.
$ac_objext conftest.
$ac_ext
9388 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
9389 echo "${ECHO_T}$ac_cv_c_inline" >&6
9390 case $ac_cv_c_inline in
9393 cat >>confdefs.h
<<\_ACEOF
9397 *) cat >>confdefs.h
<<_ACEOF
9398 #define inline $ac_cv_c_inline
9404 # VMS doesn't have unlink.
9407 for ac_func
in unlink remove
9409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9410 echo "$as_me:$LINENO: checking for $ac_func" >&5
9411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9412 if eval "test \"\${$as_ac_var+set}\" = set"; then
9413 echo $ECHO_N "(cached) $ECHO_C" >&6
9415 cat >conftest.
$ac_ext <<_ACEOF
9416 #line $LINENO "configure"
9419 cat confdefs.h
>>conftest.
$ac_ext
9420 cat >>conftest.
$ac_ext <<_ACEOF
9421 /* end confdefs.h. */
9422 /* System header to define __stub macros and hopefully few prototypes,
9423 which can conflict with char $ac_func (); below.
9424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9425 <limits.h> exists even on freestanding compilers. */
9427 # include <limits.h>
9429 # include <assert.h>
9431 /* Override any gcc2 internal prototype to avoid an error. */
9436 /* We use char because int might match the return type of a gcc2
9437 builtin and then its argument prototype would still apply. */
9439 /* The GNU C library defines this for functions which it implements
9440 to always fail with ENOSYS. Some functions are actually named
9441 something starting with __ and the normal name is an alias. */
9442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9445 char (*f) () = $ac_func;
9454 return f != $ac_func;
9459 rm -f conftest.
$ac_objext conftest
$ac_exeext
9460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9461 (eval $ac_link) 2>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } &&
9465 { ac_try
='test -s conftest$ac_exeext'
9466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; }; then
9471 eval "$as_ac_var=yes"
9473 echo "$as_me: failed program was:" >&5
9474 sed 's/^/| /' conftest.
$ac_ext >&5
9476 eval "$as_ac_var=no"
9478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9482 if test `eval echo '${'$as_ac_var'}'` = yes; then
9483 cat >>confdefs.h
<<_ACEOF
9484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9491 # Some systems don't have sbrk().
9495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9496 echo "$as_me:$LINENO: checking for $ac_func" >&5
9497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9498 if eval "test \"\${$as_ac_var+set}\" = set"; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 cat >conftest.
$ac_ext <<_ACEOF
9502 #line $LINENO "configure"
9505 cat confdefs.h
>>conftest.
$ac_ext
9506 cat >>conftest.
$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9508 /* System header to define __stub macros and hopefully few prototypes,
9509 which can conflict with char $ac_func (); below.
9510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9511 <limits.h> exists even on freestanding compilers. */
9513 # include <limits.h>
9515 # include <assert.h>
9517 /* Override any gcc2 internal prototype to avoid an error. */
9522 /* We use char because int might match the return type of a gcc2
9523 builtin and then its argument prototype would still apply. */
9525 /* The GNU C library defines this for functions which it implements
9526 to always fail with ENOSYS. Some functions are actually named
9527 something starting with __ and the normal name is an alias. */
9528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9531 char (*f) () = $ac_func;
9540 return f != $ac_func;
9545 rm -f conftest.
$ac_objext conftest
$ac_exeext
9546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9547 (eval $ac_link) 2>&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); } &&
9551 { ac_try
='test -s conftest$ac_exeext'
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; }; then
9557 eval "$as_ac_var=yes"
9559 echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.
$ac_ext >&5
9562 eval "$as_ac_var=no"
9564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9568 if test `eval echo '${'$as_ac_var'}'` = yes; then
9569 cat >>confdefs.h
<<_ACEOF
9570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9577 # do we need the math library?
9578 case "${need_libm}" in
9582 *-*-beos* |
*-*-cygwin* |
*-*-pw32*)
9583 # These system don't have libm
9586 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
9587 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
9588 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 ac_check_lib_save_LIBS
=$LIBS
9593 cat >conftest.
$ac_ext <<_ACEOF
9594 #line $LINENO "configure"
9597 cat confdefs.h
>>conftest.
$ac_ext
9598 cat >>conftest.
$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any gcc2 internal prototype to avoid an error. */
9605 /* We use char because int might match the return type of a gcc2
9606 builtin and then its argument prototype would still apply. */
9607 char _mwvalidcheckl ();
9616 rm -f conftest.
$ac_objext conftest
$ac_exeext
9617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9618 (eval $ac_link) 2>&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); } &&
9622 { ac_try
='test -s conftest$ac_exeext'
9623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); }; }; then
9628 ac_cv_lib_mw__mwvalidcheckl
=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 ac_cv_lib_mw__mwvalidcheckl
=no
9635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9636 LIBS
=$ac_check_lib_save_LIBS
9638 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
9639 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
9640 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
9644 echo "$as_me:$LINENO: checking for main in -lm" >&5
9645 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9646 if test "${ac_cv_lib_m_main+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 ac_check_lib_save_LIBS
=$LIBS
9651 cat >conftest.
$ac_ext <<_ACEOF
9652 #line $LINENO "configure"
9655 cat confdefs.h
>>conftest.
$ac_ext
9656 cat >>conftest.
$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9668 rm -f conftest.
$ac_objext conftest
$ac_exeext
9669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9670 (eval $ac_link) 2>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } &&
9674 { ac_try
='test -s conftest$ac_exeext'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9680 ac_cv_lib_m_main
=yes
9682 echo "$as_me: failed program was:" >&5
9683 sed 's/^/| /' conftest.
$ac_ext >&5
9687 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9688 LIBS
=$ac_check_lib_save_LIBS
9690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9691 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9692 if test $ac_cv_lib_m_main = yes; then
9698 echo "$as_me:$LINENO: checking for main in -lm" >&5
9699 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9700 if test "${ac_cv_lib_m_main+set}" = set; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 ac_check_lib_save_LIBS
=$LIBS
9705 cat >conftest.
$ac_ext <<_ACEOF
9706 #line $LINENO "configure"
9709 cat confdefs.h
>>conftest.
$ac_ext
9710 cat >>conftest.
$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9722 rm -f conftest.
$ac_objext conftest
$ac_exeext
9723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9724 (eval $ac_link) 2>&5
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); } &&
9728 { ac_try
='test -s conftest$ac_exeext'
9729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; }; then
9734 ac_cv_lib_m_main
=yes
9736 echo "$as_me: failed program was:" >&5
9737 sed 's/^/| /' conftest.
$ac_ext >&5
9741 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9742 LIBS
=$ac_check_lib_save_LIBS
9744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9745 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9746 if test $ac_cv_lib_m_main = yes; then
9757 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
9758 # enough, but on some of those systems, the assert macro relies on requoting
9760 echo "$as_me:$LINENO: checking for working assert macro" >&5
9761 echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
9762 if test "${gas_cv_assert_ok+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 cat >conftest.
$ac_ext <<_ACEOF
9766 #line $LINENO "configure"
9769 cat confdefs.h
>>conftest.
$ac_ext
9770 cat >>conftest.
$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9778 /* check for requoting problems */
9779 static int a, b, c, d;
9781 assert (!strcmp(s, "foo bar baz quux"));
9782 /* check for newline handling */
9790 rm -f conftest.
$ac_objext conftest
$ac_exeext
9791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9792 (eval $ac_link) 2>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } &&
9796 { ac_try
='test -s conftest$ac_exeext'
9797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); }; }; then
9802 gas_cv_assert_ok
=yes
9804 echo "$as_me: failed program was:" >&5
9805 sed 's/^/| /' conftest.
$ac_ext >&5
9809 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9811 echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
9812 echo "${ECHO_T}$gas_cv_assert_ok" >&6
9813 test $gas_cv_assert_ok = yes ||
9814 cat >>confdefs.h
<<\_ACEOF
9815 #define BROKEN_ASSERT 1
9820 # On some systems, the system header files may not declare malloc, realloc,
9821 # and free. There are places where gas needs these functions to have been
9822 # declared -- such as when taking their addresses.
9824 #ifdef HAVE_MEMORY_H
9827 #ifdef HAVE_STRING_H
9830 #ifdef HAVE_STRINGS_H
9831 #include <strings.h>
9834 #ifdef HAVE_STDLIB_H
9837 #ifdef HAVE_UNISTD_H
9842 echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
9843 echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
9844 if test "${gas_cv_decl_needed_strstr+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9847 cat >conftest.
$ac_ext <<_ACEOF
9848 #line $LINENO "configure"
9851 cat confdefs.h
>>conftest.
$ac_ext
9852 cat >>conftest.
$ac_ext <<_ACEOF
9853 /* end confdefs.h. */
9859 typedef char *(*f)();
9867 rm -f conftest.
$ac_objext conftest
$ac_exeext
9868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9869 (eval $ac_link) 2>&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try
='test -s conftest$ac_exeext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 gas_cv_decl_needed_strstr
=no
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9884 gas_cv_decl_needed_strstr
=yes
9886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9888 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
9889 echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
9890 if test $gas_cv_decl_needed_strstr = yes; then
9892 cat >>confdefs.h
<<\_ACEOF
9893 #define NEED_DECLARATION_STRSTR 1
9899 echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
9900 echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
9901 if test "${gas_cv_decl_needed_malloc+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 cat >conftest.
$ac_ext <<_ACEOF
9905 #line $LINENO "configure"
9908 cat confdefs.h
>>conftest.
$ac_ext
9909 cat >>conftest.
$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9916 typedef char *(*f)();
9924 rm -f conftest.
$ac_objext conftest
$ac_exeext
9925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9926 (eval $ac_link) 2>&5
9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 (exit $ac_status); } &&
9930 { ac_try
='test -s conftest$ac_exeext'
9931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); }; }; then
9936 gas_cv_decl_needed_malloc
=no
9938 echo "$as_me: failed program was:" >&5
9939 sed 's/^/| /' conftest.
$ac_ext >&5
9941 gas_cv_decl_needed_malloc
=yes
9943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9945 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
9946 echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
9947 if test $gas_cv_decl_needed_malloc = yes; then
9949 cat >>confdefs.h
<<\_ACEOF
9950 #define NEED_DECLARATION_MALLOC 1
9956 echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
9957 echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
9958 if test "${gas_cv_decl_needed_free+set}" = set; then
9959 echo $ECHO_N "(cached) $ECHO_C" >&6
9961 cat >conftest.
$ac_ext <<_ACEOF
9962 #line $LINENO "configure"
9965 cat confdefs.h
>>conftest.
$ac_ext
9966 cat >>conftest.
$ac_ext <<_ACEOF
9967 /* end confdefs.h. */
9973 typedef void (*f)();
9981 rm -f conftest.
$ac_objext conftest
$ac_exeext
9982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9983 (eval $ac_link) 2>&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } &&
9987 { ac_try
='test -s conftest$ac_exeext'
9988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; }; then
9993 gas_cv_decl_needed_free
=no
9995 echo "$as_me: failed program was:" >&5
9996 sed 's/^/| /' conftest.
$ac_ext >&5
9998 gas_cv_decl_needed_free
=yes
10000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10002 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
10003 echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
10004 if test $gas_cv_decl_needed_free = yes; then
10006 cat >>confdefs.h
<<\_ACEOF
10007 #define NEED_DECLARATION_FREE 1
10013 echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
10014 echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
10015 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 cat >conftest.
$ac_ext <<_ACEOF
10019 #line $LINENO "configure"
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10030 typedef char *(*f)();
10038 rm -f conftest.
$ac_objext conftest
$ac_exeext
10039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10040 (eval $ac_link) 2>&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); } &&
10044 { ac_try
='test -s conftest$ac_exeext'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; }; then
10050 gas_cv_decl_needed_sbrk
=no
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.
$ac_ext >&5
10055 gas_cv_decl_needed_sbrk
=yes
10057 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10059 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
10060 echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
10061 if test $gas_cv_decl_needed_sbrk = yes; then
10063 cat >>confdefs.h
<<\_ACEOF
10064 #define NEED_DECLARATION_SBRK 1
10070 echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
10071 echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
10072 if test "${gas_cv_decl_needed_environ+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 cat >conftest.
$ac_ext <<_ACEOF
10076 #line $LINENO "configure"
10079 cat confdefs.h
>>conftest.
$ac_ext
10080 cat >>conftest.
$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10095 rm -f conftest.
$ac_objext conftest
$ac_exeext
10096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097 (eval $ac_link) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } &&
10101 { ac_try
='test -s conftest$ac_exeext'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then
10107 gas_cv_decl_needed_environ
=no
10109 echo "$as_me: failed program was:" >&5
10110 sed 's/^/| /' conftest.
$ac_ext >&5
10112 gas_cv_decl_needed_environ
=yes
10114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10116 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
10117 echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
10118 if test $gas_cv_decl_needed_environ = yes; then
10120 cat >>confdefs.h
<<\_ACEOF
10121 #define NEED_DECLARATION_ENVIRON 1
10127 # Does errno.h declare errno, or do we have to add a separate declaration
10130 echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
10131 echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
10132 if test "${gas_cv_decl_needed_errno+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 cat >conftest.
$ac_ext <<_ACEOF
10136 #line $LINENO "configure"
10139 cat confdefs.h
>>conftest.
$ac_ext
10140 cat >>conftest.
$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10143 #ifdef HAVE_ERRNO_H
10159 rm -f conftest.
$ac_objext conftest
$ac_exeext
10160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10161 (eval $ac_link) 2>&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); } &&
10165 { ac_try
='test -s conftest$ac_exeext'
10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10167 (eval $ac_try) 2>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; }; then
10171 gas_cv_decl_needed_errno
=no
10173 echo "$as_me: failed program was:" >&5
10174 sed 's/^/| /' conftest.
$ac_ext >&5
10176 gas_cv_decl_needed_errno
=yes
10178 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10180 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
10181 echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
10182 if test $gas_cv_decl_needed_errno = yes; then
10184 cat >>confdefs.h
<<\_ACEOF
10185 #define NEED_DECLARATION_ERRNO 1
10193 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
10195 ac_config_commands
="$ac_config_commands default"
10198 cat >confcache
<<\_ACEOF
10199 # This file is a shell script that caches the results of configure
10200 # tests run on this system so they can be shared between configure
10201 # scripts and configure runs, see configure's option --config-cache.
10202 # It is not useful on other systems. If it contains results you don't
10203 # want to keep, you may remove or edit it.
10205 # config.status only pays attention to the cache file if you give it
10206 # the --recheck option to rerun configure.
10208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10210 # following values.
10214 # The following way of writing the cache mishandles newlines in values,
10215 # but we know of no workaround that is simple, portable, and efficient.
10216 # So, don't put newlines in cache variables' values.
10217 # Ultrix sh set writes to stderr and can't be redirected directly,
10218 # and sets the high bit in the cache file unless we assign to the vars.
10221 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10223 # `set' does not quote correctly, so add quotes (double-quote
10224 # substitution turns \\\\ into \\, and sed turns \\ into \).
10227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10230 # `set' quotes correctly as required by POSIX, so do not add quotes.
10232 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10241 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10243 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10244 if test -w $cache_file; then
10245 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10246 cat confcache
>$cache_file
10248 echo "not updating unwritable cache $cache_file"
10253 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10254 # Let make expand exec_prefix.
10255 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10259 # trailing colons and then remove the whole line if VPATH becomes empty
10260 # (actually we leave an empty line to preserve line numbers).
10261 if test "x$srcdir" = x.
; then
10262 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10263 s/:*\$(srcdir):*/:/;
10264 s/:*\${srcdir}:*/:/;
10266 s/^\([^=]*=[ ]*\):*/\1/;
10272 DEFS
=-DHAVE_CONFIG_H
10276 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10277 # 1. Remove the extension, and $U if already installed.
10278 ac_i
=`echo "$ac_i" |
10279 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10281 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10282 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10284 LIBOBJS
=$ac_libobjs
10286 LTLIBOBJS
=$ac_ltlibobjs
10289 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10290 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10291 Usually this means the macro was only invoked conditionally." >&5
10292 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10293 Usually this means the macro was only invoked conditionally." >&2;}
10294 { (exit 1); exit 1; }; }
10296 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10297 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10298 Usually this means the macro was only invoked conditionally." >&5
10299 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10300 Usually this means the macro was only invoked conditionally." >&2;}
10301 { (exit 1); exit 1; }; }
10303 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10304 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10305 Usually this means the macro was only invoked conditionally." >&5
10306 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10307 Usually this means the macro was only invoked conditionally." >&2;}
10308 { (exit 1); exit 1; }; }
10311 : ${CONFIG_STATUS=./config.status}
10312 ac_clean_files_save
=$ac_clean_files
10313 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10314 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10315 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10316 cat >$CONFIG_STATUS <<_ACEOF
10318 # Generated by $as_me.
10319 # Run this file to recreate the current configuration.
10320 # Compiler output produced by configure, useful for debugging
10321 # configure, is in config.log if it exists.
10324 ac_cs_recheck=false
10326 SHELL=\${CONFIG_SHELL-$SHELL}
10329 cat >>$CONFIG_STATUS <<\_ACEOF
10330 ## --------------------- ##
10331 ## M4sh Initialization. ##
10332 ## --------------------- ##
10334 # Be Bourne compatible
10335 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10338 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10339 # is contrary to our usage. Disable this feature.
10340 alias -g '${1+"$@"}'='"$@"'
10341 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10345 # Support unset when possible.
10346 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
10353 # Work around bugs in pre-3.0 UWIN ksh.
10354 $as_unset ENV MAIL MAILPATH
10361 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10362 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10363 LC_TELEPHONE LC_TIME
10365 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
10366 eval $as_var=C
; export $as_var
10372 # Required to use basename.
10373 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10379 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10380 as_basename
=basename
10386 # Name of the executable.
10387 as_me
=`$as_basename "$0" ||
10388 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10389 X"$0" : 'X\(//\)$' \| \
10390 X"$0" : 'X\(/\)$' \| \
10391 . : '\(.\)' 2>/dev/null ||
10393 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10394 /^X\/\(\/\/\)$/{ s//\1/; q; }
10395 /^X\/\(\/\).*/{ s//\1/; q; }
10399 # PATH needs CR, and LINENO needs CR and PATH.
10400 # Avoid depending upon Character Ranges.
10401 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10402 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10403 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10404 as_cr_digits
='0123456789'
10405 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10407 # The user is always right.
10408 if test "${PATH_SEPARATOR+set}" != set; then
10409 echo "#! /bin/sh" >conf$$.sh
10410 echo "exit 0" >>conf$$.sh
10412 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10421 as_lineno_1
=$LINENO
10422 as_lineno_2
=$LINENO
10423 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10424 test "x$as_lineno_1" != "x$as_lineno_2" &&
10425 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10426 # Find who we are. Look in the path if we contain no path at all
10429 *[\\/]* ) as_myself
=$0 ;;
10430 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10431 for as_dir
in $PATH
10434 test -z "$as_dir" && as_dir
=.
10435 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10440 # We did not find ourselves, most probably we were run as `sh COMMAND'
10441 # in which case we are not to be found in the path.
10442 if test "x$as_myself" = x
; then
10445 if test ! -f "$as_myself"; then
10446 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10447 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10448 { (exit 1); exit 1; }; }
10450 case $CONFIG_SHELL in
10452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10453 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10456 test -z "$as_dir" && as_dir
=.
10457 for as_base
in sh bash ksh sh5
; do
10460 if ("$as_dir/$as_base" -c '
10461 as_lineno_1=$LINENO
10462 as_lineno_2=$LINENO
10463 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10464 test "x$as_lineno_1" != "x$as_lineno_2" &&
10465 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10466 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10467 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10468 CONFIG_SHELL
=$as_dir/$as_base
10469 export CONFIG_SHELL
10470 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10478 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10479 # uniformly replaced by the line number. The first 'sed' inserts a
10480 # line-number line before each line; the second 'sed' does the real
10481 # work. The second script uses 'N' to pair each line-number line
10482 # with the numbered line, and appends trailing '-' during
10483 # substitution so that $LINENO is not a special case at line end.
10484 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10485 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10486 sed '=' <$as_myself |
10491 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10494 s,^['$as_cr_digits']*\n,,
10495 ' >$as_me.lineno
&&
10496 chmod +x
$as_me.lineno ||
10497 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10498 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10499 { (exit 1); exit 1; }; }
10501 # Don't try to exec as it changes $[0], causing all sort of problems
10502 # (the dirname of $[0] is not the place where we might find the
10503 # original and so on. Autoconf is especially sensible to this).
10505 # Exit status is that of the last command.
10510 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10511 *c
*,-n*) ECHO_N
= ECHO_C
='
10513 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10514 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10517 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10523 rm -f conf$$ conf$$.exe conf$$.
file
10525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10526 # We could just check for DJGPP; but this test a) works b) is more generic
10527 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10528 if test -f conf$$.exe
; then
10529 # Don't use ln at all; we don't have any links
10534 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10539 rm -f conf$$ conf$$.exe conf$$.
file
10541 if mkdir
-p .
2>/dev
/null
; then
10547 as_executable_p
="test -f"
10549 # Sed expression to map a string onto a valid CPP name.
10550 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
10552 # Sed expression to map a string onto a valid variable name.
10553 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
10557 # We need space, tab and new line, in precisely that order.
10567 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10568 # report actual input values of CONFIG_FILES etc. instead of their
10569 # values after options handling. Logging --version etc. is OK.
10573 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10574 ## Running $as_me. ##
10579 This file was extended by $as_me, which was
10580 generated by GNU Autoconf 2.57. Invocation command line was
10582 CONFIG_FILES = $CONFIG_FILES
10583 CONFIG_HEADERS = $CONFIG_HEADERS
10584 CONFIG_LINKS = $CONFIG_LINKS
10585 CONFIG_COMMANDS = $CONFIG_COMMANDS
10589 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10593 # Files that config.status was made for.
10594 if test -n "$ac_config_files"; then
10595 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10598 if test -n "$ac_config_headers"; then
10599 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10602 if test -n "$ac_config_links"; then
10603 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10606 if test -n "$ac_config_commands"; then
10607 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10610 cat >>$CONFIG_STATUS <<\_ACEOF
10613 \`$as_me' instantiates files from templates according to the
10614 current configuration.
10616 Usage: $0 [OPTIONS] [FILE]...
10618 -h, --help print this help, then exit
10619 -V, --version print version number, then exit
10620 -q, --quiet do not print progress messages
10621 -d, --debug don't remove temporary files
10622 --recheck update $as_me by reconfiguring in the same conditions
10623 --file=FILE[:TEMPLATE]
10624 instantiate the configuration file FILE
10625 --header=FILE[:TEMPLATE]
10626 instantiate the configuration header FILE
10628 Configuration files:
10631 Configuration headers:
10634 Configuration commands:
10637 Report bugs to <bug-autoconf@gnu.org>."
10640 cat >>$CONFIG_STATUS <<_ACEOF
10643 configured by $0, generated by GNU Autoconf 2.57,
10644 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10646 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
10647 Free Software Foundation, Inc.
10648 This config.status script is free software; the Free Software Foundation
10649 gives unlimited permission to copy, distribute and modify it."
10654 cat >>$CONFIG_STATUS <<\_ACEOF
10655 # If no file are specified by the user, then we need to provide default
10656 # value. By we need to know if files were specified by the user.
10662 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10663 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10671 *) # This is not an option, so the user has probably given explicit
10674 ac_need_defaults
=false
;;
10678 # Handling of the options.
10680 cat >>$CONFIG_STATUS <<\_ACEOF
10681 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10683 --version |
--vers* |
-V )
10684 echo "$ac_cs_version"; exit 0 ;;
10686 # Conflict between --help and --header
10687 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10688 Try \`$0 --help' for more information." >&5
10689 echo "$as_me: error: ambiguous option: $1
10690 Try \`$0 --help' for more information." >&2;}
10691 { (exit 1); exit 1; }; };;
10692 --help |
--hel |
-h )
10693 echo "$ac_cs_usage"; exit 0 ;;
10694 --debug |
--d* |
-d )
10696 --file |
--fil |
--fi |
--f )
10698 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10699 ac_need_defaults
=false
;;
10700 --header |
--heade |
--head |
--hea )
10702 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10703 ac_need_defaults
=false
;;
10704 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10705 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10708 # This is an error.
10709 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10710 Try \`$0 --help' for more information." >&5
10711 echo "$as_me: error: unrecognized option: $1
10712 Try \`$0 --help' for more information." >&2;}
10713 { (exit 1); exit 1; }; } ;;
10715 *) ac_config_targets
="$ac_config_targets $1" ;;
10721 ac_configure_extra_args
=
10723 if $ac_cs_silent; then
10725 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10729 cat >>$CONFIG_STATUS <<_ACEOF
10730 if \$ac_cs_recheck; then
10731 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10732 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10737 cat >>$CONFIG_STATUS <<_ACEOF
10739 # INIT-COMMANDS section.
10742 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10743 target_cpu_type=${target_cpu_type}
10744 cgen_cpu_prefix=${cgen_cpu_prefix}
10745 obj_format=${obj_format}
10752 cat >>$CONFIG_STATUS <<\_ACEOF
10753 for ac_config_target
in $ac_config_targets
10755 case "$ac_config_target" in
10756 # Handling of arguments.
10757 "gdb.ini" ) CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
10758 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
10759 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10760 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10761 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
10762 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10763 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
10764 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
10765 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10766 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10767 { (exit 1); exit 1; }; };;
10771 # If the user did not use the arguments to specify the items to instantiate,
10772 # then the envvar interface is used. Set only those that are not.
10773 # We use the long form for the default assignment because of an extremely
10774 # bizarre bug on SunOS 4.1.3.
10775 if $ac_need_defaults; then
10776 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10777 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10778 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10781 # Have a temporary directory for convenience. Make it in the build tree
10782 # simply because there is no reason to put it here, and in addition,
10783 # creating and moving files from /tmp can sometimes cause problems.
10784 # Create a temporary directory, and hook for its removal unless debugging.
10787 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10788 trap '{ (exit 1); exit 1; }' 1 2 13 15
10791 # Create a (secure) tmp directory for tmp files.
10794 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10795 test -n "$tmp" && test -d "$tmp"
10798 tmp
=.
/confstat$$
-$RANDOM
10799 (umask 077 && mkdir
$tmp)
10802 echo "$me: cannot create a temporary directory in ." >&2
10803 { (exit 1); exit 1; }
10808 cat >>$CONFIG_STATUS <<_ACEOF
10811 # CONFIG_FILES section.
10814 # No need to generate the scripts if there are no CONFIG_FILES.
10815 # This happens for instance when ./config.status config.h
10816 if test -n "\$CONFIG_FILES"; then
10817 # Protect against being on the right side of a sed subst in config.status.
10818 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10819 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10820 s,@SHELL@,$SHELL,;t t
10821 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10822 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10823 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10824 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10825 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10826 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10827 s,@exec_prefix@,$exec_prefix,;t t
10828 s,@prefix@,$prefix,;t t
10829 s,@program_transform_name@,$program_transform_name,;t t
10830 s,@bindir@,$bindir,;t t
10831 s,@sbindir@,$sbindir,;t t
10832 s,@libexecdir@,$libexecdir,;t t
10833 s,@datadir@,$datadir,;t t
10834 s,@sysconfdir@,$sysconfdir,;t t
10835 s,@sharedstatedir@,$sharedstatedir,;t t
10836 s,@localstatedir@,$localstatedir,;t t
10837 s,@libdir@,$libdir,;t t
10838 s,@includedir@,$includedir,;t t
10839 s,@oldincludedir@,$oldincludedir,;t t
10840 s,@infodir@,$infodir,;t t
10841 s,@mandir@,$mandir,;t t
10842 s,@build_alias@,$build_alias,;t t
10843 s,@host_alias@,$host_alias,;t t
10844 s,@target_alias@,$target_alias,;t t
10845 s,@DEFS@,$DEFS,;t t
10846 s,@ECHO_C@,$ECHO_C,;t t
10847 s,@ECHO_N@,$ECHO_N,;t t
10848 s,@ECHO_T@,$ECHO_T,;t t
10849 s,@LIBS@,$LIBS,;t t
10850 s,@build@,$build,;t t
10851 s,@build_cpu@,$build_cpu,;t t
10852 s,@build_vendor@,$build_vendor,;t t
10853 s,@build_os@,$build_os,;t t
10854 s,@host@,$host,;t t
10855 s,@host_cpu@,$host_cpu,;t t
10856 s,@host_vendor@,$host_vendor,;t t
10857 s,@host_os@,$host_os,;t t
10858 s,@target@,$target,;t t
10859 s,@target_cpu@,$target_cpu,;t t
10860 s,@target_vendor@,$target_vendor,;t t
10861 s,@target_os@,$target_os,;t t
10863 s,@CFLAGS@,$CFLAGS,;t t
10864 s,@LDFLAGS@,$LDFLAGS,;t t
10865 s,@CPPFLAGS@,$CPPFLAGS,;t t
10866 s,@ac_ct_CC@,$ac_ct_CC,;t t
10867 s,@EXEEXT@,$EXEEXT,;t t
10868 s,@OBJEXT@,$OBJEXT,;t t
10869 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10870 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10871 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10872 s,@CYGPATH_W@,$CYGPATH_W,;t t
10873 s,@PACKAGE@,$PACKAGE,;t t
10874 s,@VERSION@,$VERSION,;t t
10875 s,@ACLOCAL@,$ACLOCAL,;t t
10876 s,@AUTOCONF@,$AUTOCONF,;t t
10877 s,@AUTOMAKE@,$AUTOMAKE,;t t
10878 s,@AUTOHEADER@,$AUTOHEADER,;t t
10879 s,@MAKEINFO@,$MAKEINFO,;t t
10880 s,@AMTAR@,$AMTAR,;t t
10881 s,@install_sh@,$install_sh,;t t
10882 s,@STRIP@,$STRIP,;t t
10883 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10884 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10886 s,@SET_MAKE@,$SET_MAKE,;t t
10887 s,@am__leading_dot@,$am__leading_dot,;t t
10888 s,@DEPDIR@,$DEPDIR,;t t
10889 s,@am__include@,$am__include,;t t
10890 s,@am__quote@,$am__quote,;t t
10891 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10892 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10893 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10894 s,@CCDEPMODE@,$CCDEPMODE,;t t
10895 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10896 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10897 s,@LN_S@,$LN_S,;t t
10898 s,@RANLIB@,$RANLIB,;t t
10899 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10900 s,@LIBTOOL@,$LIBTOOL,;t t
10901 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
10902 s,@GDBINIT@,$GDBINIT,;t t
10903 s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
10904 s,@extra_objects@,$extra_objects,;t t
10905 s,@target_cpu_type@,$target_cpu_type,;t t
10906 s,@obj_format@,$obj_format,;t t
10907 s,@te_file@,$te_file,;t t
10908 s,@install_tooldir@,$install_tooldir,;t t
10909 s,@atof@,$atof,;t t
10910 s,@BFDLIB@,$BFDLIB,;t t
10911 s,@OPCODES_LIB@,$OPCODES_LIB,;t t
10912 s,@BFDVER_H@,$BFDVER_H,;t t
10913 s,@ALL_OBJ_DEPS@,$ALL_OBJ_DEPS,;t t
10914 s,@YACC@,$YACC,;t t
10916 s,@LEXLIB@,$LEXLIB,;t t
10917 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
10919 s,@EGREP@,$EGREP,;t t
10920 s,@ALLOCA@,$ALLOCA,;t t
10921 s,@USE_NLS@,$USE_NLS,;t t
10922 s,@MSGFMT@,$MSGFMT,;t t
10923 s,@GMSGFMT@,$GMSGFMT,;t t
10924 s,@XGETTEXT@,$XGETTEXT,;t t
10925 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
10926 s,@CATALOGS@,$CATALOGS,;t t
10927 s,@CATOBJEXT@,$CATOBJEXT,;t t
10928 s,@DATADIRNAME@,$DATADIRNAME,;t t
10929 s,@GMOFILES@,$GMOFILES,;t t
10930 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
10931 s,@INTLDEPS@,$INTLDEPS,;t t
10932 s,@INTLLIBS@,$INTLLIBS,;t t
10933 s,@INTLOBJS@,$INTLOBJS,;t t
10934 s,@POFILES@,$POFILES,;t t
10935 s,@POSUB@,$POSUB,;t t
10936 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
10937 s,@GT_NO@,$GT_NO,;t t
10938 s,@GT_YES@,$GT_YES,;t t
10939 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10941 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10942 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10943 s,@MAINT@,$MAINT,;t t
10944 s,@LIBM@,$LIBM,;t t
10945 s,@LIBOBJS@,$LIBOBJS,;t t
10946 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10951 cat >>$CONFIG_STATUS <<\_ACEOF
10952 # Split the substitutions into bite-sized pieces for seds with
10953 # small command number limits, like on Digital OSF/1 and HP-UX.
10954 ac_max_sed_lines
=48
10955 ac_sed_frag
=1 # Number of current file.
10956 ac_beg
=1 # First line for current file.
10957 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10960 while $ac_more_lines; do
10961 if test $ac_beg -gt 1; then
10962 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10964 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10966 if test ! -s $tmp/subs.frag
; then
10967 ac_more_lines
=false
10969 # The purpose of the label and of the branching condition is to
10970 # speed up the sed processing (if there are no `@' at all, there
10971 # is no need to browse any of the substitutions).
10972 # These are the two extra sed commands mentioned above.
10974 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10975 if test -z "$ac_sed_cmds"; then
10976 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10978 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10980 ac_sed_frag
=`expr $ac_sed_frag + 1`
10982 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10985 if test -z "$ac_sed_cmds"; then
10988 fi # test -n "$CONFIG_FILES"
10991 cat >>$CONFIG_STATUS <<\_ACEOF
10992 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10993 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10995 - |
*:- |
*:-:* ) # input from stdin
10997 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10998 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10999 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11000 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11001 * ) ac_file_in
=$ac_file.
in ;;
11004 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11005 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11007 X"$ac_file" : 'X\(//\)[^/]' \| \
11008 X"$ac_file" : 'X\(//\)$' \| \
11009 X"$ac_file" : 'X\(/\)' \| \
11010 . : '\(.\)' 2>/dev/null ||
11012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11014 /^X\(\/\/\)$/{ s//\1/; q; }
11015 /^X\(\/\).*/{ s//\1/; q; }
11017 { if $as_mkdir_p; then
11022 while test ! -d "$as_dir"; do
11023 as_dirs
="$as_dir $as_dirs"
11024 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11026 X"$as_dir" : 'X\(//\)[^/]' \| \
11027 X"$as_dir" : 'X\(//\)$' \| \
11028 X"$as_dir" : 'X\(/\)' \| \
11029 . : '\(.\)' 2>/dev/null ||
11031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11033 /^X\(\/\/\)$/{ s//\1/; q; }
11034 /^X\(\/\).*/{ s//\1/; q; }
11037 test ! -n "$as_dirs" || mkdir
$as_dirs
11038 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11040 { (exit 1); exit 1; }; }; }
11044 if test "$ac_dir" != .
; then
11045 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11046 # A "../" for each directory in $ac_dir_suffix.
11047 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11049 ac_dir_suffix
= ac_top_builddir
=
11053 .
) # No --srcdir option. We are building in place.
11055 if test -z "$ac_top_builddir"; then
11058 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11060 [\\/]* | ?
:[\\/]* ) # Absolute path.
11061 ac_srcdir
=$srcdir$ac_dir_suffix;
11062 ac_top_srcdir
=$srcdir ;;
11063 *) # Relative path.
11064 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11065 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11067 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11069 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
11070 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11071 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11072 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11076 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11077 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11080 if test x
"$ac_file" != x-
; then
11081 { echo "$as_me:$LINENO: creating $ac_file" >&5
11082 echo "$as_me: creating $ac_file" >&6;}
11085 # Let's still pretend it is `configure' which instantiates (i.e., don't
11086 # use $as_me), people would be surprised to read:
11087 # /* config.h. Generated by config.status. */
11088 if test x
"$ac_file" = x-
; then
11091 configure_input
="$ac_file. "
11093 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11094 sed 's,.*/,,'` by configure."
11096 # First look for the input files in the build tree, otherwise in the
11098 ac_file_inputs
=`IFS=:
11099 for f in $ac_file_in; do
11101 -) echo $tmp/stdin ;;
11103 # Absolute (can't be DOS-style, as IFS=:)
11104 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11105 echo "$as_me: error: cannot find input file: $f" >&2;}
11106 { (exit 1); exit 1; }; }
11109 if test -f "$f"; then
11112 elif test -f "$srcdir/$f"; then
11117 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11118 echo "$as_me: error: cannot find input file: $f" >&2;}
11119 { (exit 1); exit 1; }; }
11122 done` ||
{ (exit 1); exit 1; }
11124 cat >>$CONFIG_STATUS <<_ACEOF
11128 cat >>$CONFIG_STATUS <<\_ACEOF
11130 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11131 s
,@configure_input@
,$configure_input,;t t
11132 s
,@srcdir@
,$ac_srcdir,;t t
11133 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11134 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11135 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11136 s
,@builddir@
,$ac_builddir,;t t
11137 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11138 s
,@top_builddir@
,$ac_top_builddir,;t t
11139 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11140 s
,@INSTALL@
,$ac_INSTALL,;t t
11141 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11143 if test x"$ac_file" != x-; then
11144 mv $tmp/out $ac_file
11152 cat >>$CONFIG_STATUS <<\_ACEOF
11155 # CONFIG_HEADER section.
11158 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11159 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11161 # ac_d sets the value in "#define NAME VALUE" lines.
11162 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11163 ac_dB
='[ ].*$,\1#\2'
11166 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11167 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11168 ac_uB
='$,\1#\2define\3'
11172 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11173 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11175 - |
*:- |
*:-:* ) # input from stdin
11177 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11178 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11179 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11180 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11181 * ) ac_file_in
=$ac_file.
in ;;
11184 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11185 echo "$as_me: creating $ac_file" >&6;}
11187 # First look for the input files in the build tree, otherwise in the
11189 ac_file_inputs
=`IFS=:
11190 for f in $ac_file_in; do
11192 -) echo $tmp/stdin ;;
11194 # Absolute (can't be DOS-style, as IFS=:)
11195 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11196 echo "$as_me: error: cannot find input file: $f" >&2;}
11197 { (exit 1); exit 1; }; }
11200 if test -f "$f"; then
11203 elif test -f "$srcdir/$f"; then
11208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11209 echo "$as_me: error: cannot find input file: $f" >&2;}
11210 { (exit 1); exit 1; }; }
11213 done` ||
{ (exit 1); exit 1; }
11214 # Remove the trailing spaces.
11215 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11219 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11220 # `conftest.undefs', that substitutes the proper values into
11221 # config.h.in to produce config.h. The first handles `#define'
11222 # templates, and the second `#undef' templates.
11223 # And first: Protect against being on the right side of a sed subst in
11224 # config.status. Protect against being in an unquoted here document
11225 # in config.status.
11226 rm -f conftest.defines conftest.undefs
11227 # Using a here document instead of a string reduces the quoting nightmare.
11228 # Putting comments in sed scripts is not portable.
11230 # `end' is used to avoid that the second main sed command (meant for
11231 # 0-ary CPP macros) applies to n-ary macro definitions.
11232 # See the Autoconf documentation for `clear'.
11233 cat >confdef2sed.
sed <<\_ACEOF
11238 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11240 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11243 # If some macros were called several times there might be several times
11244 # the same #defines, which is useless. Nevertheless, we may not want to
11245 # sort them, since we want the *last* AC-DEFINE to be honored.
11246 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11247 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11248 rm -f confdef2sed.sed
11250 # This sed command replaces #undef with comments. This is necessary, for
11251 # example, in the case of _POSIX_SOURCE, which is predefined and required
11252 # on some systems where configure will not decide to define it.
11253 cat >>conftest.undefs <<\_ACEOF
11254 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11257 # Break up conftest.defines because some shells have a limit on the size
11258 # of here documents, and old seds have small limits too (100 cmds).
11259 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11260 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11261 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11262 echo ' :' >>$CONFIG_STATUS
11263 rm -f conftest.tail
11264 while grep . conftest.defines >/dev/null
11266 # Write a limited-size here document to $tmp/defines.sed.
11267 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11268 # Speed up: don't consider the non `#define' lines.
11269 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11270 # Work around the forget-to-reset-the-flag bug.
11271 echo 't clr' >>$CONFIG_STATUS
11272 echo ': clr' >>$CONFIG_STATUS
11273 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11275 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11277 mv $tmp/out $tmp/in
11279 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11280 rm -f conftest.defines
11281 mv conftest.
tail conftest.defines
11283 rm -f conftest.defines
11284 echo ' fi # grep' >>$CONFIG_STATUS
11285 echo >>$CONFIG_STATUS
11287 # Break up conftest.undefs because some shells have a limit on the size
11288 # of here documents, and old seds have small limits too (100 cmds).
11289 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11290 rm -f conftest.
tail
11291 while grep . conftest.undefs
>/dev
/null
11293 # Write a limited-size here document to $tmp/undefs.sed.
11294 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11295 # Speed up: don't consider the non
`#undef'
11296 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11297 # Work around the forget-to-reset-the-flag bug.
11298 echo 't clr' >>$CONFIG_STATUS
11299 echo ': clr' >>$CONFIG_STATUS
11300 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11302 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11304 mv $tmp/out $tmp/in
11306 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11307 rm -f conftest.undefs
11308 mv conftest.tail conftest.undefs
11310 rm -f conftest.undefs
11312 cat >>$CONFIG_STATUS <<\_ACEOF
11313 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11314 # use $as_me), people would be surprised to read:
11315 # /* config.h. Generated by config.status. */
11316 if test x
"$ac_file" = x-
; then
11317 echo "/* Generated by configure. */" >$tmp/config.h
11319 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11321 cat $tmp/in >>$tmp/config.h
11323 if test x
"$ac_file" != x-
; then
11324 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11326 echo "$as_me: $ac_file is unchanged" >&6;}
11328 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11329 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11330 X"$ac_file" : 'X\(//\)[^/]' \| \
11331 X"$ac_file" : 'X\(//\)$' \| \
11332 X"$ac_file" : 'X\(/\)' \| \
11333 . : '\(.\)' 2>/dev/null ||
11335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11337 /^X\(\/\/\)$/{ s//\1/; q; }
11338 /^X\(\/\).*/{ s//\1/; q; }
11340 { if $as_mkdir_p; then
11345 while test ! -d "$as_dir"; do
11346 as_dirs
="$as_dir $as_dirs"
11347 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11349 X"$as_dir" : 'X\(//\)[^/]' \| \
11350 X"$as_dir" : 'X\(//\)$' \| \
11351 X"$as_dir" : 'X\(/\)' \| \
11352 . : '\(.\)' 2>/dev/null ||
11354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11356 /^X\(\/\/\)$/{ s//\1/; q; }
11357 /^X\(\/\).*/{ s//\1/; q; }
11360 test ! -n "$as_dirs" || mkdir
$as_dirs
11361 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11362 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11363 { (exit 1); exit 1; }; }; }
11366 mv $tmp/config.h
$ac_file
11370 rm -f $tmp/config.h
11372 # Compute $ac_file's index in $config_headers.
11374 for _am_header
in $config_headers :; do
11375 case $_am_header in
11376 $ac_file |
$ac_file:* )
11379 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11382 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11383 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11384 X$ac_file : 'X\(//\)[^/]' \| \
11385 X$ac_file : 'X\(//\)$' \| \
11386 X$ac_file : 'X\(/\)' \| \
11387 . : '\(.\)' 2>/dev/null ||
11389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11391 /^X\(\/\/\)$/{ s//\1/; q; }
11392 /^X\(\/\).*/{ s//\1/; q; }
11393 s/.*/./; q'`/stamp-h
$_am_stamp_count
11396 cat >>$CONFIG_STATUS <<\_ACEOF
11399 # CONFIG_COMMANDS section.
11401 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11402 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11403 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11404 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11405 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11406 X"$ac_dest" : 'X\(//\)[^/]' \| \
11407 X"$ac_dest" : 'X\(//\)$' \| \
11408 X"$ac_dest" : 'X\(/\)' \| \
11409 . : '\(.\)' 2>/dev/null ||
11411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11413 /^X\(\/\/\)$/{ s//\1/; q; }
11414 /^X\(\/\).*/{ s//\1/; q; }
11418 if test "$ac_dir" != .
; then
11419 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11420 # A "../" for each directory in $ac_dir_suffix.
11421 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11423 ac_dir_suffix
= ac_top_builddir
=
11427 .
) # No --srcdir option. We are building in place.
11429 if test -z "$ac_top_builddir"; then
11432 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11434 [\\/]* | ?
:[\\/]* ) # Absolute path.
11435 ac_srcdir
=$srcdir$ac_dir_suffix;
11436 ac_top_srcdir
=$srcdir ;;
11437 *) # Relative path.
11438 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11439 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11441 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11443 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
11444 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11445 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11446 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11449 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11450 echo "$as_me: executing $ac_dest commands" >&6;}
11452 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
11453 # Strip MF so we end up with the name of the file.
11454 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11455 # Check whether this is an Automake generated Makefile or not.
11456 # We used to match only the files named `Makefile.in', but
11457 # some people rename them; so instead we look at the file content.
11458 # Grep'ing the first line is not enough: some people post-process
11459 # each Makefile.in and add a new line on top of each file to say so.
11460 # So let's grep whole file.
11461 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11462 dirpart
=`(dirname "$mf") 2>/dev/null ||
11463 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11464 X"$mf" : 'X\(//\)[^/]' \| \
11465 X"$mf" : 'X\(//\)$' \| \
11466 X"$mf" : 'X\(/\)' \| \
11467 . : '\(.\)' 2>/dev/null ||
11469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11471 /^X\(\/\/\)$/{ s//\1/; q; }
11472 /^X\(\/\).*/{ s//\1/; q; }
11477 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
11478 # Extract the definition of DEP_FILES from the Makefile without
11480 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
11481 test -z "$DEPDIR" && continue
11482 # When using ansi2knr, U may be empty or an underscore; expand it
11483 U
=`sed -n -e '/^U = / s///p' < "$mf"`
11484 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
11485 # We invoke sed twice because it is the simplest approach to
11486 # changing $(DEPDIR) to its actual value in the expansion.
11487 for file in `sed -n -e '
11488 /^DEP_FILES = .*\\\\$/ {
11497 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
11498 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11499 # Make sure the directory exists.
11500 test -f "$dirpart/$file" && continue
11501 fdir
=`(dirname "$file") 2>/dev/null ||
11502 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11503 X"$file" : 'X\(//\)[^/]' \| \
11504 X"$file" : 'X\(//\)$' \| \
11505 X"$file" : 'X\(/\)' \| \
11506 . : '\(.\)' 2>/dev/null ||
11508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11509 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11510 /^X\(\/\/\)$/{ s//\1/; q; }
11511 /^X\(\/\).*/{ s//\1/; q; }
11513 { if $as_mkdir_p; then
11514 mkdir
-p $dirpart/$fdir
11516 as_dir
=$dirpart/$fdir
11518 while test ! -d "$as_dir"; do
11519 as_dirs
="$as_dir $as_dirs"
11520 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11522 X"$as_dir" : 'X\(//\)[^/]' \| \
11523 X"$as_dir" : 'X\(//\)$' \| \
11524 X"$as_dir" : 'X\(/\)' \| \
11525 . : '\(.\)' 2>/dev/null ||
11527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11529 /^X\(\/\/\)$/{ s//\1/; q; }
11530 /^X\(\/\).*/{ s//\1/; q; }
11533 test ! -n "$as_dirs" || mkdir
$as_dirs
11534 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11535 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11536 { (exit 1); exit 1; }; }; }
11538 # echo "creating $dirpart/$file"
11539 echo '# dummy' > "$dirpart/$file"
11543 default
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
11544 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
11545 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
11546 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
11547 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
11548 if test "x$cgen_cpu_prefix" != x
; then
11549 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
11552 sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
11557 cat >>$CONFIG_STATUS <<\_ACEOF
11559 { (exit 0); exit 0; }
11561 chmod +x
$CONFIG_STATUS
11562 ac_clean_files
=$ac_clean_files_save
11565 # configure is writing to config.log, and then calls config.status.
11566 # config.status does its own redirection, appending to config.log.
11567 # Unfortunately, on DOS this fails, as config.log is still kept open
11568 # by configure, so config.status won't be able to write to it; its
11569 # output is simply discarded. So we exec the FD to /dev/null,
11570 # effectively closing config.log, so it can be properly (re)opened and
11571 # appended to by config.status. When coming back to configure, we
11572 # need to make the FD available again.
11573 if test "$no_create" != yes; then
11575 ac_config_status_args
=
11576 test "$silent" = yes &&
11577 ac_config_status_args
="$ac_config_status_args --quiet"
11579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11582 # would make configure fail if this is the last instruction.
11583 $ac_cs_success ||
{ (exit 1); exit 1; }