2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="as.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE 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'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=yes
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --enable-bfd-assembler use BFD back end
for writing object files
860 targets alternative target configurations besides the primary
861 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
862 --enable-werror treat compile warnings as errors
863 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
864 --disable-nls do not use Native Language Support
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing
) to the casual installer
869 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
870 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
871 --with-gnu-ld assume the C compiler uses GNU ld default
=no
872 --with-pic try to use only PIC
/non-PIC objects default
=use both
873 --with-included-gettext use the GNU
gettext library included here
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
884 Use these variables to override the choices made by
`configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
890 if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
897 if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
902 ac_dir_suffix= ac_top_builddir=
906 .) # No --srcdir option. We are building in place.
908 if test -z "$ac_top_builddir"; then
911 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
921 # Do not use `cd foo
&& pwd` to compute absolute paths, because
922 # the directories may not exist.
924 .) ac_abs_builddir="$ac_dir";;
927 .) ac_abs_builddir=`pwd`;;
928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
929 *) ac_abs_builddir=`pwd`/"$ac_dir";;
932 case $ac_abs_builddir in
933 .) ac_abs_top_builddir=${ac_top_builddir}.;;
935 case ${ac_top_builddir}. in
936 .) ac_abs_top_builddir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
941 case $ac_abs_builddir in
942 .) ac_abs_srcdir=$ac_srcdir;;
945 .) ac_abs_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
950 case $ac_abs_builddir in
951 .) ac_abs_top_srcdir=$ac_top_srcdir;;
953 case $ac_top_srcdir in
954 .) ac_abs_top_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu; then
964 $SHELL $ac_srcdir/configure.gnu --help=recursive
965 elif test -f $ac_srcdir/configure; then
967 $SHELL $ac_srcdir/configure --help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.in; then
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
979 test -n "$ac_init_help" && exit 0
980 if $ac_init_version; then
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by $as_me, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 for ac_dir in .. $srcdir/..; do
1325 if test -f $ac_dir/install-sh; then
1327 ac_install_sh="$ac_aux_dir/install-sh -c"
1329 elif test -f $ac_dir/install.sh; then
1331 ac_install_sh="$ac_aux_dir/install.sh -c"
1333 elif test -f $ac_dir/shtool; then
1335 ac_install_sh="$ac_aux_dir/shtool install -c"
1339 if test -z "$ac_aux_dir"; then
1340 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1341 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1342 { (exit 1); exit 1; }; }
1344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # Make sure we can run config.sub.
1349 $ac_config_sub sun4 >/dev/null 2>&1 ||
1350 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1351 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1352 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: checking build system type" >&5
1355 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1356 if test "${ac_cv_build+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 ac_cv_build_alias=$build_alias
1360 test -z "$ac_cv_build_alias" &&
1361 ac_cv_build_alias=`$ac_config_guess`
1362 test -z "$ac_cv_build_alias" &&
1363 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1364 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1365 { (exit 1); exit 1; }; }
1366 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1367 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1368 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1369 { (exit 1); exit 1; }; }
1372 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1373 echo "${ECHO_T}$ac_cv_build" >&6
1375 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1376 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1377 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1380 echo "$as_me:$LINENO: checking host system type" >&5
1381 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1382 if test "${ac_cv_host+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 ac_cv_host_alias=$host_alias
1386 test -z "$ac_cv_host_alias" &&
1387 ac_cv_host_alias=$ac_cv_build_alias
1388 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1389 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1390 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1391 { (exit 1); exit 1; }; }
1394 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1395 echo "${ECHO_T}$ac_cv_host" >&6
1397 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1398 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1399 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1402 echo "$as_me:$LINENO: checking target system type" >&5
1403 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1404 if test "${ac_cv_target+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_target_alias=$target_alias
1408 test "x$ac_cv_target_alias" = "x" &&
1409 ac_cv_target_alias=$ac_cv_host_alias
1410 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1411 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1412 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1413 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1417 echo "${ECHO_T}$ac_cv_target" >&6
1418 target=$ac_cv_target
1419 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1420 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1421 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1424 # The aliases save the names the user supplied, while $host etc.
1425 # will get canonicalized.
1426 test -n "$target_alias" &&
1427 test "$program_prefix$program_suffix$program_transform_name" = \
1429 program_prefix=${target_alias}-
1431 ac_cpp='$CPP $CPPFLAGS'
1432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1433 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1435 if test -n "$ac_tool_prefix"; then
1436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$CC"; then
1444 ac_cv_prog_CC="$CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 if test -n "$CC"; then
1464 echo "$as_me:$LINENO: result: $CC" >&5
1465 echo "${ECHO_T}$CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1472 if test -z "$ac_cv_prog_CC"; then
1474 # Extract the first word of "gcc", so it can be a program name with args.
1475 set dummy gcc; ac_word=$2
1476 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 if test -n "$ac_ct_CC"; then
1482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 for ac_exec_ext in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491 ac_cv_prog_ac_ct_CC="gcc"
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1501 if test -n "$ac_ct_CC"; then
1502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1503 echo "${ECHO_T}$ac_ct_CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1514 if test -z "$CC"; then
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}cc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}cc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "cc", so it can be a program name with args.
1555 set dummy cc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="cc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1595 if test -z "$CC"; then
1596 # Extract the first word of "cc", so it can be a program name with args.
1597 set dummy cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1615 ac_prog_rejected=yes
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 if test $ac_prog_rejected = yes; then
1626 # We found a bogon in the path, so make sure we never use it.
1627 set dummy $ac_cv_prog_CC
1629 if test $# != 0; then
1630 # We chose a different compiler from the bogus one.
1631 # However, it has the same basename, so the bogon will be chosen
1632 # first if we set CC to just the basename; use the full file name.
1634 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1640 if test -n "$CC"; then
1641 echo "$as_me:$LINENO: result: $CC" >&5
1642 echo "${ECHO_T}$CC" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1649 if test -z "$CC"; then
1650 if test -n "$ac_tool_prefix"; then
1653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_CC+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$CC"; then
1661 ac_cv_prog_CC="$CC" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 if test -n "$CC"; then
1681 echo "$as_me:$LINENO: result: $CC" >&5
1682 echo "${ECHO_T}$CC" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1688 test -n "$CC" && break
1691 if test -z "$CC"; then
1695 # Extract the first word of "$ac_prog", so it can be a program name with args.
1696 set dummy $ac_prog; ac_word=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$ac_ct_CC"; then
1703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_ac_ct_CC="$ac_prog"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1722 if test -n "$ac_ct_CC"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1724 echo "${ECHO_T}$ac_ct_CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1730 test -n "$ac_ct_CC" && break
1739 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1740 See \`config.log' for more details.
" >&5
1741 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1742 See \
`config.log' for more details." >&2;}
1743 { (exit 1); exit 1; }; }
1745 # Provide some information about the compiler.
1746 echo "$as_me:$LINENO:" \
1747 "checking for C compiler version" >&5
1748 ac_compiler=`set X
$ac_compile; echo $2`
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1750 (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1755 (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1760 (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1765 cat >conftest.$ac_ext <<_ACEOF
1768 cat confdefs.h >>conftest.$ac_ext
1769 cat >>conftest.$ac_ext <<_ACEOF
1770 /* end confdefs.h. */
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1786 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1788 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1800 # b.out is created by i960 compilers.
1801 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1803 test -f "$ac_file" || continue
1805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1808 # This is the source file.
1811 # We found the default executable, but exeext='' is most
1815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1816 # FIXME: I believe we export ac_cv_exeext for Libtool,
1817 # but it would be cool to find out if it's true. Does anybody
1818 # maintain Libtool? --akim.
1826 echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1830 See \`config.log
' for more details." >&5
1831 echo "$as_me: error: C compiler cannot create executables
1832 See \`config.log' for more details.
" >&2;}
1833 { (exit 77); exit 77; }; }
1836 ac_exeext=$ac_cv_exeext
1837 echo "$as_me:$LINENO: result
: $ac_file" >&5
1838 echo "${ECHO_T}$ac_file" >&6
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 the C compiler works
" >&5
1843 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1844 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1845 # If not cross compiling, check that we can run a simple program.
1846 if test "$cross_compiling" != yes; then
1847 if { ac_try='./$ac_file'
1848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1852 (exit $ac_status); }; }; then
1855 if test "$cross_compiling" = maybe; then
1858 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1859 If you meant to cross compile
, use \
`--host'.
1860 See \`config.log
' for more details." >&5
1861 echo "$as_me: error: cannot run C compiled programs.
1862 If you meant to cross compile, use \`--host'.
1863 See \
`config.log' for more details." >&2;}
1864 { (exit 1); exit 1; }; }
1868 echo "$as_me:$LINENO: result: yes" >&5
1869 echo "${ECHO_T}yes" >&6
1871 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1872 ac_clean_files=$ac_clean_files_save
1873 # Check the compiler produces executables we can run. If not, either
1874 # the compiler is broken, or we cross compile.
1875 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1876 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1877 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1878 echo "${ECHO_T}$cross_compiling" >&6
1880 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1881 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1883 (eval $ac_link) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1888 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1889 # work properly (i.e., refer to `conftest.exe'), while it won't with
1891 for ac_file
in conftest.exe conftest conftest.
*; do
1892 test -f "$ac_file" ||
continue
1894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1895 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1902 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&5
1904 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&2;}
1906 { (exit 1); exit 1; }; }
1909 rm -f conftest
$ac_cv_exeext
1910 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1911 echo "${ECHO_T}$ac_cv_exeext" >&6
1913 rm -f conftest.
$ac_ext
1914 EXEEXT
=$ac_cv_exeext
1916 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1917 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1918 if test "${ac_cv_objext+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1936 rm -f conftest.o conftest.obj
1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1938 (eval $ac_compile) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }; then
1942 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1944 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1945 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1950 echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1953 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1960 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1962 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1963 echo "${ECHO_T}$ac_cv_objext" >&6
1964 OBJEXT
=$ac_cv_objext
1966 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1967 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1968 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1989 rm -f conftest.
$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>conftest.er1
1993 grep -v '^ *+' conftest.er1
>conftest.err
1995 cat conftest.err
>&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); } &&
1998 { ac_try
='test -z "$ac_c_werror_flag"
1999 || test ! -s conftest.err'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; } &&
2005 { ac_try
='test -s conftest.$ac_objext'
2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; }; then
2013 echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.
$ac_ext >&5
2018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2022 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2023 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2024 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2025 ac_test_CFLAGS
=${CFLAGS+set}
2026 ac_save_CFLAGS
=$CFLAGS
2028 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2029 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2030 if test "${ac_cv_prog_cc_g+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 cat >conftest.
$ac_ext <<_ACEOF
2036 cat confdefs.h
>>conftest.
$ac_ext
2037 cat >>conftest.
$ac_ext <<_ACEOF
2038 /* end confdefs.h. */
2048 rm -f conftest.
$ac_objext
2049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2050 (eval $ac_compile) 2>conftest.er1
2052 grep -v '^ *+' conftest.er1
>conftest.err
2054 cat conftest.err
>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); } &&
2057 { ac_try
='test -z "$ac_c_werror_flag"
2058 || test ! -s conftest.err'
2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; } &&
2064 { ac_try
='test -s conftest.$ac_objext'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; }; then
2072 echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.
$ac_ext >&5
2077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2079 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2080 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2081 if test "$ac_test_CFLAGS" = set; then
2082 CFLAGS
=$ac_save_CFLAGS
2083 elif test $ac_cv_prog_cc_g = yes; then
2084 if test "$GCC" = yes; then
2090 if test "$GCC" = yes; then
2096 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2097 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2098 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 ac_cv_prog_cc_stdc
=no
2103 cat >conftest.
$ac_ext <<_ACEOF
2106 cat confdefs.h
>>conftest.
$ac_ext
2107 cat >>conftest.
$ac_ext <<_ACEOF
2108 /* end confdefs.h. */
2111 #include <sys/types.h>
2112 #include <sys/stat.h>
2113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2114 struct buf { int x; };
2115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2116 static char *e (p, i)
2122 static char *f (char * (*g) (char **, int), char **p, ...)
2127 s = g (p, va_arg (v,int));
2132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2133 function prototypes and stuff, but not '\xHH' hex character constants.
2134 These don't provoke an error unfortunately, instead are silently treated
2135 as 'x'. The following induces an error, until -std1 is added to get
2136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2137 array size at least. It's necessary to write '\x00'==0 to get something
2138 that's true only with -std1. */
2139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2141 int test (int i, double x);
2142 struct s1 {int (*f) (int a);};
2143 struct s2 {int (*f) (double a);};
2144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2150 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2155 # Don't try gcc -ansi; that turns off useful extensions and
2156 # breaks some systems' header files.
2157 # AIX -qlanglvl=ansi
2158 # Ultrix and OSF/1 -std1
2159 # HP-UX 10.20 and later -Ae
2160 # HP-UX older versions -Aa -D_HPUX_SOURCE
2161 # SVR4 -Xc -D__EXTENSIONS__
2162 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2164 CC
="$ac_save_CC $ac_arg"
2165 rm -f conftest.
$ac_objext
2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167 (eval $ac_compile) 2>conftest.er1
2169 grep -v '^ *+' conftest.er1
>conftest.err
2171 cat conftest.err
>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); } &&
2174 { ac_try
='test -z "$ac_c_werror_flag"
2175 || test ! -s conftest.err'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 ac_cv_prog_cc_stdc
=$ac_arg
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2194 rm -f conftest.err conftest.
$ac_objext
2196 rm -f conftest.
$ac_ext conftest.
$ac_objext
2201 case "x$ac_cv_prog_cc_stdc" in
2203 echo "$as_me:$LINENO: result: none needed" >&5
2204 echo "${ECHO_T}none needed" >&6 ;;
2206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2207 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2208 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2211 # Some people use a C++ compiler to compile C. Since we use `exit',
2212 # in C++ we need to declare it. In case someone uses the same compiler
2213 # for both compiling C and C++ we need to have the C++ compiler decide
2214 # the declaration of exit, since it's the most demanding environment.
2215 cat >conftest.
$ac_ext <<_ACEOF
2220 rm -f conftest.
$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>conftest.er1
2224 grep -v '^ *+' conftest.er1
>conftest.err
2226 cat conftest.err
>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try
='test -z "$ac_c_werror_flag"
2230 || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try
='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2242 for ac_declaration
in \
2244 'extern "C" void std::exit (int) throw (); using std::exit;' \
2245 'extern "C" void std::exit (int); using std::exit;' \
2246 'extern "C" void exit (int) throw ();' \
2247 'extern "C" void exit (int);' \
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag"
2276 || test ! -s conftest.err'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; } &&
2282 { ac_try
='test -s conftest.$ac_objext'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; }; then
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2296 cat >conftest.
$ac_ext <<_ACEOF
2299 cat confdefs.h
>>conftest.
$ac_ext
2300 cat >>conftest.
$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2311 rm -f conftest.
$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1
>conftest.err
2317 cat conftest.err
>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try
='test -z "$ac_c_werror_flag"
2321 || test ! -s conftest.err'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; } &&
2327 { ac_try
='test -s conftest.$ac_objext'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; }; then
2335 echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.
$ac_ext >&5
2339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2342 if test -n "$ac_declaration"; then
2343 echo '#ifdef __cplusplus' >>confdefs.h
2344 echo $ac_declaration >>confdefs.h
2345 echo '#endif' >>confdefs.h
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2355 ac_cpp
='$CPP $CPPFLAGS'
2356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2361 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2362 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2363 if test "${ac_cv_search_strerror+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 ac_func_search_save_LIBS
=$LIBS
2367 ac_cv_search_strerror
=no
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2375 /* Override any gcc2 internal prototype to avoid an error. */
2379 /* We use char because int might match the return type of a gcc2
2380 builtin and then its argument prototype would still apply. */
2390 rm -f conftest.
$ac_objext conftest
$ac_exeext
2391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2392 (eval $ac_link) 2>conftest.er1
2394 grep -v '^ *+' conftest.er1
>conftest.err
2396 cat conftest.err
>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } &&
2399 { ac_try
='test -z "$ac_c_werror_flag"
2400 || test ! -s conftest.err'
2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; } &&
2406 { ac_try
='test -s conftest$ac_exeext'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; }; then
2412 ac_cv_search_strerror
="none required"
2414 echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.
$ac_ext >&5
2418 rm -f conftest.err conftest.
$ac_objext \
2419 conftest
$ac_exeext conftest.
$ac_ext
2420 if test "$ac_cv_search_strerror" = no
; then
2421 for ac_lib
in cposix
; do
2422 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2423 cat >conftest.
$ac_ext <<_ACEOF
2426 cat confdefs.h
>>conftest.
$ac_ext
2427 cat >>conftest.
$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2430 /* Override any gcc2 internal prototype to avoid an error. */
2434 /* We use char because int might match the return type of a gcc2
2435 builtin and then its argument prototype would still apply. */
2445 rm -f conftest.
$ac_objext conftest
$ac_exeext
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2447 (eval $ac_link) 2>conftest.er1
2449 grep -v '^ *+' conftest.er1
>conftest.err
2451 cat conftest.err
>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try
='test -z "$ac_c_werror_flag"
2455 || test ! -s conftest.err'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; } &&
2461 { ac_try
='test -s conftest$ac_exeext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2467 ac_cv_search_strerror
="-l$ac_lib"
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2474 rm -f conftest.err conftest.
$ac_objext \
2475 conftest
$ac_exeext conftest.
$ac_ext
2478 LIBS
=$ac_func_search_save_LIBS
2480 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2481 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2482 if test "$ac_cv_search_strerror" != no
; then
2483 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2488 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2489 am__api_version
="1.9"
2490 # Find a good install program. We prefer a C program (faster),
2491 # so one script is as good as another. But avoid the broken or
2492 # incompatible versions:
2493 # SysV /etc/install, /usr/sbin/install
2494 # SunOS /usr/etc/install
2495 # IRIX /sbin/install
2497 # AmigaOS /C/install, which installs bootblocks on floppy discs
2498 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2499 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2500 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2501 # OS/2's system install, which has a completely different semantic
2502 # ./install, which can be erroneously created by make from ./install.sh.
2503 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2504 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2505 if test -z "$INSTALL"; then
2506 if test "${ac_cv_path_install+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 # Account for people who put trailing slashes in PATH elements.
2516 .
/ | .
// |
/cC
/* | \
2517 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2518 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2521 # OSF1 and SCO ODT 3.0 have their own names for install.
2522 # Don't use installbsd from OSF since it installs stuff as root
2524 for ac_prog
in ginstall scoinst
install; do
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2527 if test $ac_prog = install &&
2528 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2529 # AIX install. It has an incompatible calling convention.
2531 elif test $ac_prog = install &&
2532 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2533 # program-specific install script used by HP pwplus--don't use.
2536 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2548 if test "${ac_cv_path_install+set}" = set; then
2549 INSTALL
=$ac_cv_path_install
2551 # As a last resort, use the slow shell script. We don't cache a
2552 # path for INSTALL within a source directory, because that will
2553 # break other packages using the cache if that directory is
2554 # removed, or if the path is relative.
2555 INSTALL
=$ac_install_sh
2558 echo "$as_me:$LINENO: result: $INSTALL" >&5
2559 echo "${ECHO_T}$INSTALL" >&6
2561 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2562 # It thinks the first close brace ends the variable substitution.
2563 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2565 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2567 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2569 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2570 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2573 echo timestamp
> conftest.
file
2574 # Do `set' in a subshell so we don't clobber the current shell's
2575 # arguments. Must try -L first in case configure is actually a
2576 # symlink; some systems play weird games with the mod time of symlinks
2577 # (eg FreeBSD returns the mod time of the symlink's containing
2580 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2581 if test "$*" = "X"; then
2583 set X
`ls -t $srcdir/configure conftest.file`
2586 if test "$*" != "X $srcdir/configure conftest.file" \
2587 && test "$*" != "X conftest.file $srcdir/configure"; then
2589 # If neither matched, then we have a broken ls. This can happen
2590 # if, for instance, CONFIG_SHELL is bash and it inherits a
2591 # broken ls alias from the environment. This has actually
2592 # happened. Such a system could not be considered "sane".
2593 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" >&5
2595 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" >&2;}
2597 { (exit 1); exit 1; }; }
2600 test "$2" = conftest.
file
2606 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2607 Check your system clock" >&5
2608 echo "$as_me: error: newly created file is older than distributed files!
2609 Check your system clock" >&2;}
2610 { (exit 1); exit 1; }; }
2612 echo "$as_me:$LINENO: result: yes" >&5
2613 echo "${ECHO_T}yes" >&6
2614 test "$program_prefix" != NONE
&&
2615 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2616 # Use a double $ so make ignores it.
2617 test "$program_suffix" != NONE
&&
2618 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2619 # Double any \ or $. echo might interpret backslashes.
2620 # By default was `s,x,x', remove it if useless.
2621 cat <<\_ACEOF
>conftest.
sed
2622 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2624 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2627 # expand $ac_aux_dir to an absolute path
2628 am_aux_dir
=`cd $ac_aux_dir && pwd`
2630 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2631 # Use eval to expand $SHELL
2632 if eval "$MISSING --run true"; then
2633 am_missing_run
="$MISSING --run "
2636 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2637 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2640 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2641 # We used to keeping the `.' as first argument, in order to
2642 # allow $(mkdir_p) to be used without argument. As in
2643 # $(mkdir_p) $(somedir)
2644 # where $(somedir) is conditionally defined. However this is wrong
2646 # 1. if the package is installed by a user who cannot write `.'
2647 # make install will fail,
2648 # 2. the above comment should most certainly read
2649 # $(mkdir_p) $(DESTDIR)$(somedir)
2650 # so it does not work when $(somedir) is undefined and
2651 # $(DESTDIR) is not.
2652 # To support the latter case, we have to write
2653 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2654 # so the `.' trick is pointless.
2655 mkdir_p
='mkdir -p --'
2657 # On NextStep and OpenStep, the `mkdir' command does not
2658 # recognize any option. It will interpret all options as
2659 # directories to create, and then abort because `.' already
2661 for d
in .
/-p .
/--version;
2663 test -d $d && rmdir $d
2665 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2666 if test -f "$ac_aux_dir/mkinstalldirs"; then
2667 mkdir_p
='$(mkinstalldirs)'
2669 mkdir_p
='$(install_sh) -d'
2673 for ac_prog
in gawk mawk nawk
awk
2675 # Extract the first word of "$ac_prog", so it can be a program name with args.
2676 set dummy
$ac_prog; ac_word
=$2
2677 echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2679 if test "${ac_cv_prog_AWK+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$AWK"; then
2683 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_AWK
="$ac_prog"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test -n "$AWK"; then
2703 echo "$as_me:$LINENO: result: $AWK" >&5
2704 echo "${ECHO_T}$AWK" >&6
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2710 test -n "$AWK" && break
2713 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2714 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2715 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2716 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 cat >conftest.
make <<\_ACEOF
2721 @
echo 'ac_maketemp="$(MAKE)"'
2723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2724 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2725 if test -n "$ac_maketemp"; then
2726 eval ac_cv_prog_make_
${ac_make}_set
=yes
2728 eval ac_cv_prog_make_
${ac_make}_set
=no
2732 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2739 SET_MAKE
="MAKE=${MAKE-make}"
2742 rm -rf .tst
2>/dev
/null
2743 mkdir .tst
2>/dev
/null
2744 if test -d .tst
; then
2749 rmdir .tst
2>/dev
/null
2751 DEPDIR
="${am__leading_dot}deps"
2753 ac_config_commands
="$ac_config_commands depfiles"
2756 am_make
=${MAKE-make}
2757 cat > confinc
<< 'END'
2762 # If we don't find an include directive, just comment out the code.
2763 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2764 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2768 # First try GNU make style include.
2769 echo "include confinc" > confmf
2770 # We grep out `Entering directory' and `Leaving directory'
2771 # messages which can occur if `w' ends up in MAKEFLAGS.
2772 # In particular we don't look at `^make:' because GNU make might
2773 # be invoked under some other name (usually "gmake"), in which
2774 # case it prints its new name instead of `make'.
2775 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2780 # Now try BSD make style include.
2781 if test "$am__include" = "#"; then
2782 echo '.include "confinc"' > confmf
2783 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2784 am__include
=.include
2791 echo "$as_me:$LINENO: result: $_am_result" >&5
2792 echo "${ECHO_T}$_am_result" >&6
2793 rm -f confinc confmf
2795 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2796 if test "${enable_dependency_tracking+set}" = set; then
2797 enableval
="$enable_dependency_tracking"
2800 if test "x$enable_dependency_tracking" != xno
; then
2801 am_depcomp
="$ac_aux_dir/depcomp"
2806 if test "x$enable_dependency_tracking" != xno; then
2816 # test to see if srcdir already configured
2817 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2818 test -f $srcdir/config.status
; then
2819 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2820 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2821 { (exit 1); exit 1; }; }
2824 # test whether we have cygpath
2825 if test -z "$CYGPATH_W"; then
2826 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2827 CYGPATH_W
='cygpath -w'
2834 # Define the identity of the package.
2836 VERSION
=${BFD_VERSION}
2839 cat >>confdefs.h
<<_ACEOF
2840 #define PACKAGE "$PACKAGE"
2844 cat >>confdefs.h
<<_ACEOF
2845 #define VERSION "$VERSION"
2848 # Some tools Automake needs.
2850 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2853 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2856 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2859 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2862 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2864 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2866 # Installed binaries are usually stripped using `strip' when the user
2867 # run `make install-strip'. However `strip' might not be the right
2868 # tool to use in cross-compilation environments, therefore Automake
2869 # will honor the `STRIP' environment variable to overrule this program.
2870 if test "$cross_compiling" != no
; then
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2873 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2874 echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2876 if test "${ac_cv_prog_STRIP+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if test -n "$STRIP"; then
2880 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 STRIP
=$ac_cv_prog_STRIP
2899 if test -n "$STRIP"; then
2900 echo "$as_me:$LINENO: result: $STRIP" >&5
2901 echo "${ECHO_T}$STRIP" >&6
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2908 if test -z "$ac_cv_prog_STRIP"; then
2910 # Extract the first word of "strip", so it can be a program name with args.
2911 set dummy strip
; ac_word
=$2
2912 echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$ac_ct_STRIP"; then
2918 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_ac_ct_STRIP
="strip"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2937 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2938 if test -n "$ac_ct_STRIP"; then
2939 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2940 echo "${ECHO_T}$ac_ct_STRIP" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2948 STRIP
="$ac_cv_prog_STRIP"
2952 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2954 # We need awk for the "check" target. The system "awk" is bad on
2956 # Always define AMTAR for backward compatibility.
2958 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2960 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2965 depcc
="$CC" am_compiler_list
=
2967 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2968 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2969 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2973 # We make a subdir and do the tests there. Otherwise we can end up
2974 # making bogus files that we don't know about and never remove. For
2975 # instance it was reported that on HP-UX the gcc test will end up
2976 # making a dummy file named `D' -- because `-MD' means `put the output
2979 # Copy depcomp to subdir because otherwise we won't find it if we're
2980 # using a relative directory.
2981 cp "$am_depcomp" conftest.dir
2983 # We will build objects and dependencies in a subdirectory because
2984 # it helps to detect inapplicable dependency modes. For instance
2985 # both Tru64's cc and ICC support -MD to output dependencies as a
2986 # side effect of compilation, but ICC will put the dependencies in
2987 # the current directory while Tru64 will put them in the object
2991 am_cv_CC_dependencies_compiler_type
=none
2992 if test "$am_compiler_list" = ""; then
2993 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2995 for depmode
in $am_compiler_list; do
2996 # Setup a source with many dependencies, because some compilers
2997 # like to wrap large dependency lists on column 80 (with \), and
2998 # we should not choose a depcomp mode which is confused by this.
3000 # We need to recreate these files for each test, as the compiler may
3001 # overwrite some of them when testing with obscure command lines.
3002 # This happens at least with the AIX C compiler.
3004 for i
in 1 2 3 4 5 6; do
3005 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3006 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3007 # Solaris 8's {/usr,}/bin/sh.
3008 touch sub
/conftst
$i.h
3010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3014 # after this tag, mechanisms are not by side-effect, so they'll
3015 # only be used when explicitly requested
3016 if test "x$enable_dependency_tracking" = xyes
; then
3024 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3025 # mode. It turns out that the SunPro C++ compiler does not properly
3026 # handle `-M -o', and we need to detect this.
3027 if depmode
=$depmode \
3028 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3029 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3030 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3031 >/dev
/null
2>conftest.err
&&
3032 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3033 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3034 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3035 # icc doesn't choke on unknown options, it will just issue warnings
3036 # or remarks (even with -Werror). So we grep stderr for any message
3037 # that says an option was ignored or not supported.
3038 # When given -MP, icc 7.0 and 7.1 complain thusly:
3039 # icc: Command line warning: ignoring option '-M'; no argument required
3040 # The diagnosis changed in icc 8.0:
3041 # icc: Command line remark: option '-MP' not supported
3042 if (grep 'ignoring option' conftest.err ||
3043 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3044 am_cv_CC_dependencies_compiler_type
=$depmode
3053 am_cv_CC_dependencies_compiler_type
=none
3057 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3058 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3059 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3064 test "x$enable_dependency_tracking" != xno \
3065 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3067 am__fastdepCC_FALSE
='#'
3069 am__fastdepCC_TRUE
='#'
3070 am__fastdepCC_FALSE
=
3076 # Check whether --enable-shared or --disable-shared was given.
3077 if test "${enable_shared+set}" = set; then
3078 enableval
="$enable_shared"
3079 p
=${PACKAGE-default}
3081 yes) enable_shared
=yes ;;
3082 no
) enable_shared
=no
;;
3085 # Look at the argument we got. We use all the common list separators.
3086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3087 for pkg
in $enableval; do
3088 if test "X$pkg" = "X$p"; then
3098 # Check whether --enable-static or --disable-static was given.
3099 if test "${enable_static+set}" = set; then
3100 enableval
="$enable_static"
3101 p
=${PACKAGE-default}
3103 yes) enable_static
=yes ;;
3104 no
) enable_static
=no
;;
3107 # Look at the argument we got. We use all the common list separators.
3108 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3109 for pkg
in $enableval; do
3110 if test "X$pkg" = "X$p"; then
3120 # Check whether --enable-fast-install or --disable-fast-install was given.
3121 if test "${enable_fast_install+set}" = set; then
3122 enableval
="$enable_fast_install"
3123 p
=${PACKAGE-default}
3125 yes) enable_fast_install
=yes ;;
3126 no
) enable_fast_install
=no
;;
3128 enable_fast_install
=no
3129 # Look at the argument we got. We use all the common list separators.
3130 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3131 for pkg
in $enableval; do
3132 if test "X$pkg" = "X$p"; then
3133 enable_fast_install
=yes
3140 enable_fast_install
=yes
3143 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3144 if test "${with_gnu_ld+set}" = set; then
3145 withval
="$with_gnu_ld"
3146 test "$withval" = no || with_gnu_ld
=yes
3151 if test "$GCC" = yes; then
3152 # Check if gcc -print-prog-name=ld gives a path.
3153 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3154 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3157 # gcc leaves a trailing carriage return which upsets mingw
3158 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3160 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3163 # Accept absolute paths.
3164 [\\/]* |
[A-Za-z
]:[\\/]*)
3165 re_direlt
='/[^/][^/]*/\.\./'
3166 # Canonicalize the path of ld
3167 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3168 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3169 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3171 test -z "$LD" && LD
="$ac_prog"
3174 # If it fails, then pretend we aren't using GCC.
3178 # If it is relative, then search for the first ld in PATH.
3182 elif test "$with_gnu_ld" = yes; then
3183 echo "$as_me:$LINENO: checking for GNU ld" >&5
3184 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3186 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3187 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3189 if test "${lt_cv_path_LD+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 if test -z "$LD"; then
3193 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3194 for ac_dir
in $PATH; do
3195 test -z "$ac_dir" && ac_dir
=.
3196 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3197 lt_cv_path_LD
="$ac_dir/$ac_prog"
3198 # Check to see if the program is GNU ld. I'd rather use --version,
3199 # but apparently some GNU ld's only accept -v.
3200 # Break only if it was the GNU/non-GNU ld that we prefer.
3201 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3202 test "$with_gnu_ld" != no
&& break
3204 test "$with_gnu_ld" != yes && break
3210 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3215 if test -n "$LD"; then
3216 echo "$as_me:$LINENO: result: $LD" >&5
3217 echo "${ECHO_T}$LD" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3222 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3223 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3224 { (exit 1); exit 1; }; }
3225 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3226 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3227 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3231 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3232 lt_cv_prog_gnu_ld
=yes
3234 lt_cv_prog_gnu_ld
=no
3237 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3238 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3239 with_gnu_ld
=$lt_cv_prog_gnu_ld
3242 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3243 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3244 if test "${lt_cv_ld_reload_flag+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 lt_cv_ld_reload_flag
='-r'
3249 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3250 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3251 reload_flag
=$lt_cv_ld_reload_flag
3252 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3254 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3255 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3256 if test "${lt_cv_path_NM+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 if test -n "$NM"; then
3260 # Let the user override the test.
3263 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3264 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3265 test -z "$ac_dir" && ac_dir
=.
3266 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3267 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3268 # Check to see if the nm accepts a BSD-compat flag.
3269 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3270 # nm: unknown option "B" ignored
3271 # Tru64's nm complains that /dev/null is an invalid object file
3272 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3273 lt_cv_path_NM
="$tmp_nm -B"
3275 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3276 lt_cv_path_NM
="$tmp_nm -p"
3279 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3280 continue # so that we can try to find one that supports BSD flags
3285 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3290 echo "$as_me:$LINENO: result: $NM" >&5
3291 echo "${ECHO_T}$NM" >&6
3293 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3294 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3296 if test "$LN_S" = "ln -s"; then
3297 echo "$as_me:$LINENO: result: yes" >&5
3298 echo "${ECHO_T}yes" >&6
3300 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3301 echo "${ECHO_T}no, using $LN_S" >&6
3304 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3305 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3306 if test "${lt_cv_deplibs_check_method+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3310 lt_cv_file_magic_test_file
=
3311 lt_cv_deplibs_check_method
='unknown'
3312 # Need to set the preceding variable on all platforms that support
3313 # interlibrary dependencies.
3314 # 'none' -- dependencies not supported.
3315 # `unknown' -- same as none, but documents that we really don't know.
3316 # 'pass_all' -- all dependencies passed with no checks.
3317 # 'test_compile' -- check by making test program.
3318 # 'file_magic [regex]' -- check by looking for files in library path
3319 # which responds to the $file_magic_cmd with a given egrep regex.
3320 # If you have `file' or equivalent on your system and you're not sure
3321 # whether `pass_all' will *always* work, you probably want this one.
3325 lt_cv_deplibs_check_method
=pass_all
3329 lt_cv_deplibs_check_method
=pass_all
3333 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3334 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3335 lt_cv_file_magic_test_file
=/shlib
/libc.so
3338 cygwin
* | mingw
* |pw32
*)
3339 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3340 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3343 darwin
* | rhapsody
*)
3344 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3345 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3347 rhapsody
* | darwin1.012
)
3348 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3351 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3356 freebsd
* | kfreebsd
*-gnu)
3357 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3360 # Not sure whether the presence of OpenBSD here was a mistake.
3361 # Let's accept both of them until this is cleared up.
3362 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3363 lt_cv_file_magic_cmd
=/usr
/bin
/file
3364 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3368 lt_cv_deplibs_check_method
=pass_all
3373 lt_cv_deplibs_check_method
=pass_all
3379 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3380 lt_cv_file_magic_cmd
=/usr
/bin
/file
3381 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3384 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3385 lt_cv_file_magic_cmd
=/usr
/bin
/file
3386 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3394 # this will be overridden with pass_all, but let us keep it just in case
3395 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3399 *-32|
*"-32 ") libmagic
=32-bit;;
3400 *-n32|
*"-n32 ") libmagic
=N32
;;
3401 *-64|
*"-64 ") libmagic
=64-bit;;
3402 *) libmagic
=never-match
;;
3404 # this will be overridden with pass_all, but let us keep it just in case
3405 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3408 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3409 lt_cv_deplibs_check_method
=pass_all
3412 # This must be Linux ELF.
3415 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3416 lt_cv_deplibs_check_method
=pass_all
;;
3418 # glibc up to 2.1.1 does not perform some relocations on ARM
3419 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3421 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3424 netbsd
* | knetbsd
*-gnu)
3425 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3426 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3428 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3433 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3434 lt_cv_file_magic_cmd
=/usr
/bin
/file
3435 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3438 osf3
* | osf4
* | osf5
*)
3439 # this will be overridden with pass_all, but let us keep it just in case
3440 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3441 lt_cv_file_magic_test_file
=/shlib
/libc.so
3442 lt_cv_deplibs_check_method
=pass_all
3446 lt_cv_deplibs_check_method
=pass_all
3450 lt_cv_deplibs_check_method
=pass_all
3451 lt_cv_file_magic_test_file
=/lib
/libc.so
3454 sysv5uw
[78]* | sysv4
*uw2
*)
3455 lt_cv_deplibs_check_method
=pass_all
3458 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3459 case $host_vendor in
3461 lt_cv_deplibs_check_method
=pass_all
3464 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]'
3465 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3472 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3473 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3474 file_magic_cmd
=$lt_cv_file_magic_cmd
3475 deplibs_check_method
=$lt_cv_deplibs_check_method
3480 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3482 # Only perform the check for file, if the check method requires it
3483 case $deplibs_check_method in
3485 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3486 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3487 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3488 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3496 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3499 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3500 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3501 ac_dummy
="/usr/bin:$PATH"
3502 for ac_dir
in $ac_dummy; do
3503 test -z "$ac_dir" && ac_dir
=.
3504 if test -f $ac_dir/${ac_tool_prefix}file; then
3505 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3506 if test -n "$file_magic_test_file"; then
3507 case $deplibs_check_method in
3509 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3510 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3511 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3512 egrep "$file_magic_regex" > /dev
/null
; then
3517 *** Warning: the command libtool uses to detect shared libraries,
3518 *** $file_magic_cmd, produces output that libtool cannot recognize.
3519 *** The result is that libtool may fail to recognize shared libraries
3520 *** as such. This will affect the creation of libtool libraries that
3521 *** depend on shared libraries, but programs linked with such libtool
3522 *** libraries will work regardless of this problem. Nevertheless, you
3523 *** may want to report the problem to your system manager and/or to
3524 *** bug-libtool@gnu.org
3534 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3539 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3540 if test -n "$MAGIC_CMD"; then
3541 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3542 echo "${ECHO_T}$MAGIC_CMD" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3548 if test -z "$lt_cv_path_MAGIC_CMD"; then
3549 if test -n "$ac_tool_prefix"; then
3550 echo "$as_me:$LINENO: checking for file" >&5
3551 echo $ECHO_N "checking for file... $ECHO_C" >&6
3552 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3560 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3563 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3564 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3565 ac_dummy
="/usr/bin:$PATH"
3566 for ac_dir
in $ac_dummy; do
3567 test -z "$ac_dir" && ac_dir
=.
3568 if test -f $ac_dir/file; then
3569 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3570 if test -n "$file_magic_test_file"; then
3571 case $deplibs_check_method in
3573 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3574 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3575 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3576 egrep "$file_magic_regex" > /dev
/null
; then
3581 *** Warning: the command libtool uses to detect shared libraries,
3582 *** $file_magic_cmd, produces output that libtool cannot recognize.
3583 *** The result is that libtool may fail to recognize shared libraries
3584 *** as such. This will affect the creation of libtool libraries that
3585 *** depend on shared libraries, but programs linked with such libtool
3586 *** libraries will work regardless of this problem. Nevertheless, you
3587 *** may want to report the problem to your system manager and/or to
3588 *** bug-libtool@gnu.org
3598 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3603 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3604 if test -n "$MAGIC_CMD"; then
3605 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3606 echo "${ECHO_T}$MAGIC_CMD" >&6
3608 echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3621 if test -n "$ac_tool_prefix"; then
3622 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3623 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_prog_RANLIB+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 if test -n "$RANLIB"; then
3630 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir
=.
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 RANLIB
=$ac_cv_prog_RANLIB
3649 if test -n "$RANLIB"; then
3650 echo "$as_me:$LINENO: result: $RANLIB" >&5
3651 echo "${ECHO_T}$RANLIB" >&6
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3658 if test -z "$ac_cv_prog_RANLIB"; then
3659 ac_ct_RANLIB
=$RANLIB
3660 # Extract the first word of "ranlib", so it can be a program name with args.
3661 set dummy ranlib
; ac_word
=$2
3662 echo "$as_me:$LINENO: checking for $ac_word" >&5
3663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 if test -n "$ac_ct_RANLIB"; then
3668 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir
=.
3675 for ac_exec_ext
in '' $ac_executable_extensions; do
3676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3677 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3687 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3688 if test -n "$ac_ct_RANLIB"; then
3689 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3690 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3692 echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6
3696 RANLIB
=$ac_ct_RANLIB
3698 RANLIB
="$ac_cv_prog_RANLIB"
3701 if test -n "$ac_tool_prefix"; then
3702 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3703 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3704 echo "$as_me:$LINENO: checking for $ac_word" >&5
3705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3706 if test "${ac_cv_prog_STRIP+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 if test -n "$STRIP"; then
3710 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 STRIP
=$ac_cv_prog_STRIP
3729 if test -n "$STRIP"; then
3730 echo "$as_me:$LINENO: result: $STRIP" >&5
3731 echo "${ECHO_T}$STRIP" >&6
3733 echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3738 if test -z "$ac_cv_prog_STRIP"; then
3740 # Extract the first word of "strip", so it can be a program name with args.
3741 set dummy strip
; ac_word
=$2
3742 echo "$as_me:$LINENO: checking for $ac_word" >&5
3743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3744 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 if test -n "$ac_ct_STRIP"; then
3748 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_prog_ac_ct_STRIP
="strip"
3758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3767 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3768 if test -n "$ac_ct_STRIP"; then
3769 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3770 echo "${ECHO_T}$ac_ct_STRIP" >&6
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3778 STRIP
="$ac_cv_prog_STRIP"
3782 # Check for any special flags to pass to ltconfig.
3783 libtool_flags
="--cache-file=$cache_file"
3784 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3785 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3786 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3787 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3788 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3791 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3792 if test "${enable_libtool_lock+set}" = set; then
3793 enableval
="$enable_libtool_lock"
3796 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3797 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3800 # Check whether --with-pic or --without-pic was given.
3801 if test "${with_pic+set}" = set; then
3807 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3808 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3810 # Some flags need to be propagated to the compiler or linker for good
3814 # Find out which ABI we are using.
3815 echo '#line 3815 "configure"' > conftest.
$ac_ext
3816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3817 (eval $ac_compile) 2>&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; then
3821 if test "$lt_cv_prog_gnu_ld" = yes; then
3822 case `/usr/bin/file conftest.$ac_objext` in
3824 LD
="${LD-ld} -melf32bsmip"
3827 LD
="${LD-ld} -melf32bmipn32"
3830 LD
="${LD-ld} -melf64bmip"
3834 case `/usr/bin/file conftest.$ac_objext` in
3851 # Find out which ABI we are using.
3852 echo 'int i;' > conftest.
$ac_ext
3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3854 (eval $ac_compile) 2>&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); }; then
3858 case "`/usr/bin/file conftest.o`" in
3871 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3872 SAVE_CFLAGS
="$CFLAGS"
3873 CFLAGS
="$CFLAGS -belf"
3874 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3875 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3876 if test "${lt_cv_cc_needs_belf+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 ac_cpp
='$CPP $CPPFLAGS'
3883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3887 cat >conftest.
$ac_ext <<_ACEOF
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3902 rm -f conftest.
$ac_objext conftest
$ac_exeext
3903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3904 (eval $ac_link) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1
>conftest.err
3908 cat conftest.err
>&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try
='test -z "$ac_c_werror_flag"
3912 || test ! -s conftest.err'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; } &&
3918 { ac_try
='test -s conftest$ac_exeext'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3924 lt_cv_cc_needs_belf
=yes
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.
$ac_ext >&5
3929 lt_cv_cc_needs_belf
=no
3931 rm -f conftest.err conftest.
$ac_objext \
3932 conftest
$ac_exeext conftest.
$ac_ext
3934 ac_cpp
='$CPP $CPPFLAGS'
3935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3940 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3941 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3942 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3943 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3944 CFLAGS
="$SAVE_CFLAGS"
3952 # Save cache, so that ltconfig can load it
3953 cat >confcache
<<\_ACEOF
3954 # This file is a shell script that caches the results of configure
3955 # tests run on this system so they can be shared between configure
3956 # scripts and configure runs, see configure's option --config-cache.
3957 # It is not useful on other systems. If it contains results you don't
3958 # want to keep, you may remove or edit it.
3960 # config.status only pays attention to the cache file if you give it
3961 # the --recheck option to rerun configure.
3963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3969 # The following way of writing the cache mishandles newlines in values,
3970 # but we know of no workaround that is simple, portable, and efficient.
3971 # So, don't put newlines in cache variables' values.
3972 # Ultrix sh set writes to stderr and can't be redirected directly,
3973 # and sets the high bit in the cache file unless we assign to the vars.
3976 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3978 # `set' does not quote correctly, so add quotes (double-quote
3979 # substitution turns \\\\ into \\, and sed turns \\ into \).
3982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3985 # `set' quotes correctly as required by POSIX, so do not add quotes.
3987 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3996 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3998 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3999 if test -w $cache_file; then
4000 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4001 cat confcache
>$cache_file
4003 echo "not updating unwritable cache $cache_file"
4008 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4009 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4010 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4011 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4012 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4013 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4014 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4015 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4016 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4017 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4018 echo "$as_me: error: libtool configure failed" >&2;}
4019 { (exit 1); exit 1; }; }
4021 # Reload cache, that may have been modified by ltconfig
4022 if test -r "$cache_file"; then
4023 # Some versions of bash will fail to source /dev/null (special
4024 # files actually), so we avoid doing that.
4025 if test -f "$cache_file"; then
4026 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4027 echo "$as_me: loading cache $cache_file" >&6;}
4029 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4030 *) . .
/$cache_file;;
4034 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4035 echo "$as_me: creating cache $cache_file" >&6;}
4040 # This can be used to rebuild libtool when needed
4041 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4043 # Always use our own libtool.
4044 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4046 # Redirect the config.log output again, so that the ltconfig log is not
4047 # clobbered by the next message.
4048 exec 5>>.
/config.log
4057 # Check whether --enable-bfd-assembler or --disable-bfd-assembler was given.
4058 if test "${enable_bfd_assembler+set}" = set; then
4059 enableval
="$enable_bfd_assembler"
4060 case "${enableval}" in
4061 yes) need_bfd
=yes user_bfd_gas
=yes ;;
4062 no
) user_bfd_gas
=no
;;
4063 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for bfd-assembler option" >&5
4064 echo "$as_me: error: bad value ${enableval} given for bfd-assembler option" >&2;}
4065 { (exit 1); exit 1; }; } ;;
4067 fi; # Check whether --enable-targets or --disable-targets was given.
4068 if test "${enable_targets+set}" = set; then
4069 enableval
="$enable_targets"
4070 case "${enableval}" in
4071 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4072 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4073 { (exit 1); exit 1; }; }
4075 no
) enable_targets
= ;;
4076 *) enable_targets
=$enableval ;;
4078 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4079 if test "${enable_commonbfdlib+set}" = set; then
4080 enableval
="$enable_commonbfdlib"
4081 case "${enableval}" in
4082 yes) commonbfdlib
=true
;;
4083 no
) commonbfdlib
=false
;;
4084 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4085 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4086 { (exit 1); exit 1; }; } ;;
4091 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4093 # Check whether --enable-werror or --disable-werror was given.
4094 if test "${enable_werror+set}" = set; then
4095 enableval
="$enable_werror"
4096 case "${enableval}" in
4097 yes | y
) ERROR_ON_WARNING
="yes" ;;
4098 no | n
) ERROR_ON_WARNING
="no" ;;
4099 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4100 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4101 { (exit 1); exit 1; }; } ;;
4105 # Enable -Werror by default, suppressing it only for --disable-werror
4106 # or --disable-build-warnings.
4107 if test "${ERROR_ON_WARNING}" != no
4109 build_warnings
="$build_warnings -Werror"
4112 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4113 if test "${enable_build_warnings+set}" = set; then
4114 enableval
="$enable_build_warnings"
4115 case "${enableval}" in
4117 no
) build_warnings
="-w";;
4118 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4119 build_warnings
="${build_warnings} ${t}";;
4120 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4121 build_warnings
="${t} ${build_warnings}";;
4122 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4124 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
4125 echo "Setting warning flags = $build_warnings" 6>&1
4128 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
; then
4129 WARN_CFLAGS
="${build_warnings}"
4133 # Generate a header file
4134 ac_config_headers
="$ac_config_headers config.h:config.in"
4137 # If we are on a DOS filesystem, we must use gdb.ini rather than
4140 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
4142 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
4147 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
4153 #We need this for the host. BOUT header is in host order.
4154 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4155 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4156 if test "${ac_cv_c_bigendian+set}" = set; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 # See if sys/param.h defines the BYTE_ORDER macro.
4160 cat >conftest.
$ac_ext <<_ACEOF
4163 cat confdefs.h
>>conftest.
$ac_ext
4164 cat >>conftest.
$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4166 #include <sys/types.h>
4167 #include <sys/param.h>
4172 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4180 rm -f conftest.
$ac_objext
4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4182 (eval $ac_compile) 2>conftest.er1
4184 grep -v '^ *+' conftest.er1
>conftest.err
4186 cat conftest.err
>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } &&
4189 { ac_try
='test -z "$ac_c_werror_flag"
4190 || test ! -s conftest.err'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; } &&
4196 { ac_try
='test -s conftest.$ac_objext'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; }; then
4202 # It does; now see whether it defined to BIG_ENDIAN or not.
4203 cat >conftest.
$ac_ext <<_ACEOF
4206 cat confdefs.h
>>conftest.
$ac_ext
4207 cat >>conftest.
$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4209 #include <sys/types.h>
4210 #include <sys/param.h>
4215 #if BYTE_ORDER != BIG_ENDIAN
4223 rm -f conftest.
$ac_objext
4224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4225 (eval $ac_compile) 2>conftest.er1
4227 grep -v '^ *+' conftest.er1
>conftest.err
4229 cat conftest.err
>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } &&
4232 { ac_try
='test -z "$ac_c_werror_flag"
4233 || test ! -s conftest.err'
4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; } &&
4239 { ac_try
='test -s conftest.$ac_objext'
4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; }; then
4245 ac_cv_c_bigendian
=yes
4247 echo "$as_me: failed program was:" >&5
4248 sed 's/^/| /' conftest.
$ac_ext >&5
4250 ac_cv_c_bigendian
=no
4252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.
$ac_ext >&5
4257 # It does not; compile a test program.
4258 if test "$cross_compiling" = yes; then
4259 # try to guess the endianness by grepping values into an object file
4260 ac_cv_c_bigendian
=unknown
4261 cat >conftest.
$ac_ext <<_ACEOF
4264 cat confdefs.h
>>conftest.
$ac_ext
4265 cat >>conftest.
$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4267 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4268 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4269 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4270 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4271 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4272 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4276 _ascii (); _ebcdic ();
4281 rm -f conftest.
$ac_objext
4282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4283 (eval $ac_compile) 2>conftest.er1
4285 grep -v '^ *+' conftest.er1
>conftest.err
4287 cat conftest.err
>&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } &&
4290 { ac_try
='test -z "$ac_c_werror_flag"
4291 || test ! -s conftest.err'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; } &&
4297 { ac_try
='test -s conftest.$ac_objext'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; }; then
4303 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4304 ac_cv_c_bigendian
=yes
4306 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4307 if test "$ac_cv_c_bigendian" = unknown
; then
4308 ac_cv_c_bigendian
=no
4310 # finding both strings is unlikely to happen, but who knows?
4311 ac_cv_c_bigendian
=unknown
4315 echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.
$ac_ext >&5
4319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4321 cat >conftest.
$ac_ext <<_ACEOF
4324 cat confdefs.h
>>conftest.
$ac_ext
4325 cat >>conftest.
$ac_ext <<_ACEOF
4326 /* end confdefs.h. */
4330 /* Are we little or big endian? From Harbison&Steele. */
4334 char c[sizeof (long)];
4337 exit (u.c[sizeof (long) - 1] == 1);
4340 rm -f conftest
$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4351 ac_cv_c_bigendian
=no
4353 echo "$as_me: program exited with status $ac_status" >&5
4354 echo "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.
$ac_ext >&5
4358 ac_cv_c_bigendian
=yes
4360 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4366 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4367 case $ac_cv_c_bigendian in
4370 cat >>confdefs.h
<<\_ACEOF
4371 #define WORDS_BIGENDIAN 1
4377 { { echo "$as_me:$LINENO: error: unknown endianness
4378 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4379 echo "$as_me: error: unknown endianness
4380 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4381 { (exit 1); exit 1; }; } ;;
4387 # Makefile target for installing gas in $(tooldir)/bin.
4388 install_tooldir
=install-exec-tooldir
4392 if test -n "$enable_targets" ; then
4393 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
4394 if test $t = "all"; then
4398 result
=`$ac_config_sub $t 2>/dev/null`
4399 if test -n "$result" ; then
4400 canon_targets
="$canon_targets $result"
4402 # # Permit "all", etc. We don't support it yet though.
4403 # canon_targets="$canon_targets $t"
4406 _gas_uniq_list
="$canon_targets"
4407 _gas_uniq_newlist
=""
4408 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4409 case $_gas_uniq_i in
4411 *) case " $_gas_uniq_newlist " in
4412 *" $_gas_uniq_i "*) ;;
4413 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4417 canon_targets
=$_gas_uniq_newlist
4423 for this_target
in $target $canon_targets ; do
4426 .
${srcdir}/configure.tgt
4428 case ${target_cpu} in
4431 cat >>confdefs.h
<<_ACEOF
4432 #define DEFAULT_CRIS_ARCH $arch
4438 if test ${this_target} = $target ; then
4439 target_cpu_type
=${cpu_type}
4440 elif test ${target_cpu_type} != ${cpu_type} ; then
4444 generic_target
=${cpu_type}-${target_vendor}-${target_os}
4445 case ${generic_target} in
4447 if test ${this_target} = $target; then
4449 cat >>confdefs.h
<<\_ACEOF
4456 i386-
*-msdosdjgpp* \
4460 cat >>confdefs.h
<<\_ACEOF
4461 #define STRICTCOFF 1
4467 { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
4468 echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
4474 { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
4475 echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
4476 { (exit 1); exit 1; }; }
4481 cat >>confdefs.h
<<\_ACEOF
4482 #define AIX_WEAK_SUPPORT 1
4489 *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
4490 echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
4491 { (exit 1); exit 1; }; } ;;
4495 if test ${this_target} = $target; then
4497 cat >>confdefs.h
<<\_ACEOF
4498 #define TARGET_SOLARIS_COMMENT 1
4502 if test x
${endian} = xbig
; then
4503 { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
4504 echo "$as_me: error: Solaris must be configured little endian" >&2;}
4505 { (exit 1); exit 1; }; }
4511 cat >>confdefs.h
<<\_ACEOF
4512 #define TARGET_SYMBIAN 1
4518 if test ${this_target} = $target ; then
4520 if test x
${endian} = xbig
; then
4522 elif test x
${endian} = xlittle
; then
4525 if test x
${endian_def} != x
; then
4527 cat >>confdefs.h
<<_ACEOF
4528 #define TARGET_BYTES_BIG_ENDIAN $endian_def
4534 # Other random stuff.
4538 # Set mips_cpu to the name of the default CPU.
4539 case ${target_cpu} in
4540 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
4543 mipsisa32 | mipsisa32el
)
4546 mipsisa32r2 | mipsisa32r2el
)
4549 mipsisa64 | mipsisa64el
)
4552 mipsisa64r2 | mipsisa64r2el
)
4555 mipstx39 | mipstx39el
)
4558 mips64vr | mips64vrel
)
4561 mipsisa32r2
* | mipsisa64r2
*)
4562 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
4564 mips64
* | mipsisa64
* | mipsisa32
*)
4565 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
4568 { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
4569 echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
4570 { (exit 1); exit 1; }; }
4573 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
4574 # binaries. It's a GNU extension that some OSes don't understand.
4575 # The value only matters on ELF targets.
4578 use_e_mips_abi_o32
=0
4581 use_e_mips_abi_o32
=1
4584 # Decide whether to generate 32-bit or 64-bit code by default.
4585 # Used to resolve -march=from-abi when an embedded ABI is selected.
4587 mips64
*-*-* | mipsisa64
*-*-*)
4588 mips_default_64bit
=1
4591 mips_default_64bit
=0
4594 # Decide which ABI to target by default.
4596 mips64
*-linux* | mips-sgi-irix6
*)
4597 mips_default_abi
=N32_ABI
4600 mips_default_abi
=O32_ABI
4603 mips_default_abi
=NO_ABI
4607 cat >>confdefs.h
<<_ACEOF
4608 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
4612 cat >>confdefs.h
<<_ACEOF
4613 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
4617 cat >>confdefs.h
<<_ACEOF
4618 #define MIPS_DEFAULT_64BIT $mips_default_64bit
4622 cat >>confdefs.h
<<_ACEOF
4623 #define MIPS_DEFAULT_ABI $mips_default_abi
4629 # Do we need the opcodes library?
4637 case "${enable_shared}" in
4638 yes) shared_opcodes
=true
;;
4639 *opcodes
*) shared_opcodes
=true
;;
4640 *) shared_opcodes
=false
;;
4642 if test "${shared_opcodes}" = "true"; then
4643 # A shared libopcodes must be linked against libbfd.
4649 # Any other special object files needed ?
4651 fr30 | ip2k | iq2000 | m32r | openrisc
)
4659 case ${extra_objects} in
4661 *) extra_objects
="$extra_objects m68k-parse.o" ;;
4666 echo ${extra_objects} |
grep -s "itbl-parse.o"
4667 if test $?
-ne 0 ; then
4668 extra_objects
="$extra_objects itbl-parse.o"
4671 echo ${extra_objects} |
grep -s "itbl-lex.o"
4672 if test $?
-ne 0 ; then
4673 extra_objects
="$extra_objects itbl-lex.o"
4676 echo ${extra_objects} |
grep -s "itbl-ops.o"
4677 if test $?
-ne 0 ; then
4678 extra_objects
="$extra_objects itbl-ops.o"
4682 i386 | s390 | sparc
)
4683 if test $this_target = $target ; then
4685 cat >>confdefs.h
<<_ACEOF
4686 #define DEFAULT_ARCH "${arch}"
4697 echo ${extra_objects} |
grep -s "xtensa-relax.o"
4698 if test $?
-ne 0 ; then
4699 extra_objects
="$extra_objects xtensa-relax.o"
4707 if test $using_cgen = yes ; then
4708 case "x${extra_objects}" in
4710 *) extra_objects
="$extra_objects cgen.o" ;;
4714 # See if we really can support this configuration with the emulation code.
4716 if test $this_target = $target ; then
4717 primary_bfd_gas
=$bfd_gas
4721 if test $bfd_gas = no
; then
4722 # Can't support other configurations this way.
4725 elif test $bfd_gas = no
; then
4726 # Can't support this configuration.
4730 # From target name and format, produce a list of supported emulations.
4732 case ${generic_target}-${fmt} in
4733 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
4734 mips
*-*-linux*-*) case "$endian" in
4735 big
) emulation
="mipsbelf mipslelf mipself" ;;
4736 *) emulation
="mipslelf mipsbelf mipself" ;;
4738 mips-
*-lnews*-ecoff) ;;
4739 mips-
*-*-ecoff) case "$endian" in
4740 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
4741 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
4743 mips-
*-*-elf) case "$endian" in
4744 big
) emulation
="mipsbelf mipslelf mipself" ;;
4745 *) emulation
="mipslelf mipsbelf mipself" ;;
4747 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
4748 # i386-pc-pe-coff != i386-pc-coff.
4750 # Uncommenting the next line will turn on support for i386 AOUT
4751 # for the default linux configuration
4752 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
4754 i386-
*-aout) emulation
="i386aout" ;;
4755 i386-
*-coff) emulation
="i386coff" ;;
4756 i386-
*-elf) emulation
="i386elf" ;;
4758 # Always all formats. The first stated emulation becomes the default.
4759 cris-
*-*aout
*) emulation
="crisaout criself" ;;
4760 cris-
*-*) emulation
="criself crisaout" ;;
4763 emulations
="$emulations $emulation"
4767 # Turn on all targets if possible
4768 if test ${all_targets} = "yes"; then
4769 case ${target_cpu_type} in
4771 case ${obj_format} in
4773 emulations
="$emulations i386coff i386elf"
4776 emulations
="$emulations i386aout i386elf"
4779 emulations
="$emulations i386aout i386coff"
4786 # Assign floating point type. Most processors with FP support
4787 # IEEE FP. On those that don't support FP at all, usually IEEE
4789 case ${target_cpu} in
4790 vax | tahoe
) atof
=${target_cpu} ;;
4795 case "${obj_format}" in
4796 "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
4797 echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
4798 { (exit 1); exit 1; }; } ;;
4801 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
4803 if test $using_cgen = yes ; then
4804 case ${target_cpu} in
4805 *) cgen_cpu_prefix
=${target_cpu} ;;
4809 cat >>confdefs.h
<<\_ACEOF
4810 #define USING_CGEN 1
4816 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
4817 { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
4818 echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
4819 { (exit 1); exit 1; }; }
4822 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
4823 { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
4824 echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
4825 { (exit 1); exit 1; }; }
4828 case ${user_bfd_gas}-${primary_bfd_gas} in
4830 # We didn't override user's choice.
4833 { echo "$as_me:$LINENO: WARNING: Use of BFD is required for ${target}; overriding config options." >&5
4834 echo "$as_me: WARNING: Use of BFD is required for ${target}; overriding config options." >&2;}
4846 # User specified nothing.
4850 # Some COFF configurations want these random other flags set.
4851 case ${obj_format} in
4853 case ${target_cpu_type} in
4855 cat >>confdefs.h
<<\_ACEOF
4860 cat >>confdefs.h
<<\_ACEOF
4865 cat >>confdefs.h
<<\_ACEOF
4873 # Getting this done right is going to be a bitch. Each configuration specified
4874 # with --enable-targets=... should be checked for environment, format, cpu, and
4877 # For each configuration, the necessary object file support code must be linked
4878 # in. This might be only one, it might be up to four. The necessary emulation
4879 # code needs to be provided, too.
4881 # And then there's "--enable-targets=all"....
4883 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
4885 formats
="${obj_format}"
4888 _gas_uniq_list
="$emulations"
4889 _gas_uniq_newlist
=""
4890 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4891 case $_gas_uniq_i in
4893 *) case " $_gas_uniq_newlist " in
4894 *" $_gas_uniq_i "*) ;;
4895 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4899 emulations
=$_gas_uniq_newlist
4901 for em
in .
$emulations ; do
4904 mipsbelf | mipslelf | mipself
)
4905 fmt=elf
file=mipself
;;
4906 mipsbecoff | mipslecoff | mipsecoff
)
4907 fmt=ecoff
file=mipsecoff
;;
4909 fmt=coff
file=$em ;;
4911 fmt=aout
file=$em ;;
4915 formats
="$formats $fmt"
4916 emfiles
="$emfiles e-$file.o"
4917 EMULATIONS
="$EMULATIONS &$em,"
4919 _gas_uniq_list
="$formats"
4920 _gas_uniq_newlist
=""
4921 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4922 case $_gas_uniq_i in
4924 *) case " $_gas_uniq_newlist " in
4925 *" $_gas_uniq_i "*) ;;
4926 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4930 formats
=$_gas_uniq_newlist
4932 _gas_uniq_list
="$emfiles"
4933 _gas_uniq_newlist
=""
4934 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4935 case $_gas_uniq_i in
4937 *) case " $_gas_uniq_newlist " in
4938 *" $_gas_uniq_i "*) ;;
4939 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4943 emfiles
=$_gas_uniq_newlist
4945 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
4946 for fmt in $formats ; do
4949 cat >>confdefs.h
<<\_ACEOF
4950 #define OBJ_MAYBE_AOUT 1
4954 cat >>confdefs.h
<<\_ACEOF
4955 #define OBJ_MAYBE_BOUT 1
4959 cat >>confdefs.h
<<\_ACEOF
4960 #define OBJ_MAYBE_COFF 1
4964 cat >>confdefs.h
<<\_ACEOF
4965 #define OBJ_MAYBE_ECOFF 1
4969 cat >>confdefs.h
<<\_ACEOF
4970 #define OBJ_MAYBE_ELF 1
4974 cat >>confdefs.h
<<\_ACEOF
4975 #define OBJ_MAYBE_GENERIC 1
4979 cat >>confdefs.h
<<\_ACEOF
4980 #define OBJ_MAYBE_HP300 1
4984 cat >>confdefs.h
<<\_ACEOF
4985 #define OBJ_MAYBE_IEEE 1
4989 cat >>confdefs.h
<<\_ACEOF
4990 #define OBJ_MAYBE_SOM 1
4994 extra_objects
="$extra_objects obj-$fmt.o"
4998 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
4999 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
5000 # e-mips* has more than one emulation per file, e-i386* has just one at the
5001 # moment. If only one emulation is specified, then don't define
5002 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
5003 case "${obj_format}${emfiles}" in
5005 extra_objects
="$extra_objects $emfiles"
5007 cat >>confdefs.h
<<\_ACEOF
5008 #define USE_EMULATIONS 1
5015 cat >>confdefs.h
<<_ACEOF
5016 #define EMULATIONS $EMULATIONS
5020 cat >>confdefs.h
<<_ACEOF
5021 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
5025 case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in
5026 yes-
*-coff) need_bfd
=yes ;;
5027 no-
*-coff) need_bfd
=yes
5029 cat >>confdefs.h
<<\_ACEOF
5030 #define MANY_SEGMENTS 1
5035 reject_dev_configs
=yes
5037 case ${reject_dev_configs}-${dev} in
5039 { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
5040 echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
5041 { (exit 1); exit 1; }; }
5051 case "${primary_bfd_gas}" in
5053 cat >>confdefs.h
<<\_ACEOF
5054 #define BFD_ASSEMBLER 1
5060 # do we need the opcodes library?
5061 case "${need_opcodes}" in
5063 OPCODES_LIB
=..
/opcodes
/libopcodes.la
5067 case "${need_bfd}" in
5069 BFDLIB
=..
/bfd
/libbfd.la
5070 BFDVER_H
=..
/bfd
/bfdver.h
5071 ALL_OBJ_DEPS
="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
5082 cat >>confdefs.h
<<_ACEOF
5083 #define TARGET_ALIAS "${target_alias}"
5087 cat >>confdefs.h
<<_ACEOF
5088 #define TARGET_CANONICAL "${target}"
5092 cat >>confdefs.h
<<_ACEOF
5093 #define TARGET_CPU "${target_cpu}"
5097 cat >>confdefs.h
<<_ACEOF
5098 #define TARGET_VENDOR "${target_vendor}"
5102 cat >>confdefs.h
<<_ACEOF
5103 #define TARGET_OS "${target_os}"
5108 ac_cpp
='$CPP $CPPFLAGS'
5109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5114 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5115 echo "$as_me:$LINENO: checking for $ac_word" >&5
5116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5117 if test "${ac_cv_prog_CC+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 if test -n "$CC"; then
5121 ac_cv_prog_CC
="$CC" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 if test -n "$CC"; then
5141 echo "$as_me:$LINENO: result: $CC" >&5
5142 echo "${ECHO_T}$CC" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5149 if test -z "$ac_cv_prog_CC"; then
5151 # Extract the first word of "gcc", so it can be a program name with args.
5152 set dummy gcc
; ac_word
=$2
5153 echo "$as_me:$LINENO: checking for $ac_word" >&5
5154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 if test -n "$ac_ct_CC"; then
5159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_ac_ct_CC
="gcc"
5169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5178 if test -n "$ac_ct_CC"; then
5179 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5180 echo "${ECHO_T}$ac_ct_CC" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5191 if test -z "$CC"; then
5192 if test -n "$ac_tool_prefix"; then
5193 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5194 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_prog_CC+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 if test -n "$CC"; then
5201 ac_cv_prog_CC
="$CC" # Let the user override the test.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 if test -n "$CC"; then
5221 echo "$as_me:$LINENO: result: $CC" >&5
5222 echo "${ECHO_T}$CC" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5229 if test -z "$ac_cv_prog_CC"; then
5231 # Extract the first word of "cc", so it can be a program name with args.
5232 set dummy cc
; ac_word
=$2
5233 echo "$as_me:$LINENO: checking for $ac_word" >&5
5234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 if test -n "$ac_ct_CC"; then
5239 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5245 test -z "$as_dir" && as_dir
=.
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_ac_ct_CC
="cc"
5249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5258 if test -n "$ac_ct_CC"; then
5259 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5260 echo "${ECHO_T}$ac_ct_CC" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5272 if test -z "$CC"; then
5273 # Extract the first word of "cc", so it can be a program name with args.
5274 set dummy cc
; ac_word
=$2
5275 echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5277 if test "${ac_cv_prog_CC+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 if test -n "$CC"; then
5281 ac_cv_prog_CC
="$CC" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5292 ac_prog_rejected
=yes
5296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 if test $ac_prog_rejected = yes; then
5303 # We found a bogon in the path, so make sure we never use it.
5304 set dummy
$ac_cv_prog_CC
5306 if test $# != 0; then
5307 # We chose a different compiler from the bogus one.
5308 # However, it has the same basename, so the bogon will be chosen
5309 # first if we set CC to just the basename; use the full file name.
5311 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5317 if test -n "$CC"; then
5318 echo "$as_me:$LINENO: result: $CC" >&5
5319 echo "${ECHO_T}$CC" >&6
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5326 if test -z "$CC"; then
5327 if test -n "$ac_tool_prefix"; then
5330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5331 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5332 echo "$as_me:$LINENO: checking for $ac_word" >&5
5333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5334 if test "${ac_cv_prog_CC+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 if test -n "$CC"; then
5338 ac_cv_prog_CC
="$CC" # Let the user override the test.
5340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5344 test -z "$as_dir" && as_dir
=.
5345 for ac_exec_ext
in '' $ac_executable_extensions; do
5346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5347 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 if test -n "$CC"; then
5358 echo "$as_me:$LINENO: result: $CC" >&5
5359 echo "${ECHO_T}$CC" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5365 test -n "$CC" && break
5368 if test -z "$CC"; then
5372 # Extract the first word of "$ac_prog", so it can be a program name with args.
5373 set dummy
$ac_prog; ac_word
=$2
5374 echo "$as_me:$LINENO: checking for $ac_word" >&5
5375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 if test -n "$ac_ct_CC"; then
5380 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir
=.
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_ac_ct_CC
="$ac_prog"
5390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5399 if test -n "$ac_ct_CC"; then
5400 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5401 echo "${ECHO_T}$ac_ct_CC" >&6
5403 echo "$as_me:$LINENO: result: no" >&5
5404 echo "${ECHO_T}no" >&6
5407 test -n "$ac_ct_CC" && break
5416 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5417 See \`config.log' for more details." >&5
5418 echo "$as_me: error: no acceptable C compiler found in \$PATH
5419 See \`config.log' for more details." >&2;}
5420 { (exit 1); exit 1; }; }
5422 # Provide some information about the compiler.
5423 echo "$as_me:$LINENO:" \
5424 "checking for C compiler version" >&5
5425 ac_compiler
=`set X $ac_compile; echo $2`
5426 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5427 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); }
5431 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5432 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); }
5436 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5437 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }
5442 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5443 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5444 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5465 rm -f conftest.
$ac_objext
5466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5467 (eval $ac_compile) 2>conftest.er1
5469 grep -v '^ *+' conftest.er1
>conftest.err
5471 cat conftest.err
>&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } &&
5474 { ac_try
='test -z "$ac_c_werror_flag"
5475 || test ! -s conftest.err'
5476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); }; } &&
5481 { ac_try
='test -s conftest.$ac_objext'
5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; }; then
5489 echo "$as_me: failed program was:" >&5
5490 sed 's/^/| /' conftest.
$ac_ext >&5
5494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5495 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5498 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5499 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5500 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5501 ac_test_CFLAGS
=${CFLAGS+set}
5502 ac_save_CFLAGS
=$CFLAGS
5504 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5505 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5506 if test "${ac_cv_prog_cc_g+set}" = set; then
5507 echo $ECHO_N "(cached) $ECHO_C" >&6
5509 cat >conftest.
$ac_ext <<_ACEOF
5512 cat confdefs.h
>>conftest.
$ac_ext
5513 cat >>conftest.
$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5524 rm -f conftest.
$ac_objext
5525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5526 (eval $ac_compile) 2>conftest.er1
5528 grep -v '^ *+' conftest.er1
>conftest.err
5530 cat conftest.err
>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } &&
5533 { ac_try
='test -z "$ac_c_werror_flag"
5534 || test ! -s conftest.err'
5535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); }; } &&
5540 { ac_try
='test -s conftest.$ac_objext'
5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; }; then
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5555 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5556 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5557 if test "$ac_test_CFLAGS" = set; then
5558 CFLAGS
=$ac_save_CFLAGS
5559 elif test $ac_cv_prog_cc_g = yes; then
5560 if test "$GCC" = yes; then
5566 if test "$GCC" = yes; then
5572 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5573 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5574 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 ac_cv_prog_cc_stdc
=no
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5587 #include <sys/types.h>
5588 #include <sys/stat.h>
5589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5590 struct buf { int x; };
5591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5592 static char *e (p, i)
5598 static char *f (char * (*g) (char **, int), char **p, ...)
5603 s = g (p, va_arg (v,int));
5608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5609 function prototypes and stuff, but not '\xHH' hex character constants.
5610 These don't provoke an error unfortunately, instead are silently treated
5611 as 'x'. The following induces an error, until -std1 is added to get
5612 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5613 array size at least. It's necessary to write '\x00'==0 to get something
5614 that's true only with -std1. */
5615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5617 int test (int i, double x);
5618 struct s1 {int (*f) (int a);};
5619 struct s2 {int (*f) (double a);};
5620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5631 # Don't try gcc -ansi; that turns off useful extensions and
5632 # breaks some systems' header files.
5633 # AIX -qlanglvl=ansi
5634 # Ultrix and OSF/1 -std1
5635 # HP-UX 10.20 and later -Ae
5636 # HP-UX older versions -Aa -D_HPUX_SOURCE
5637 # SVR4 -Xc -D__EXTENSIONS__
5638 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5640 CC
="$ac_save_CC $ac_arg"
5641 rm -f conftest.
$ac_objext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 (eval $ac_compile) 2>conftest.er1
5645 grep -v '^ *+' conftest.er1
>conftest.err
5647 cat conftest.err
>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } &&
5650 { ac_try
='test -z "$ac_c_werror_flag"
5651 || test ! -s conftest.err'
5652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }; } &&
5657 { ac_try
='test -s conftest.$ac_objext'
5658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then
5663 ac_cv_prog_cc_stdc
=$ac_arg
5666 echo "$as_me: failed program was:" >&5
5667 sed 's/^/| /' conftest.
$ac_ext >&5
5670 rm -f conftest.err conftest.
$ac_objext
5672 rm -f conftest.
$ac_ext conftest.
$ac_objext
5677 case "x$ac_cv_prog_cc_stdc" in
5679 echo "$as_me:$LINENO: result: none needed" >&5
5680 echo "${ECHO_T}none needed" >&6 ;;
5682 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5683 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5684 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5687 # Some people use a C++ compiler to compile C. Since we use `exit',
5688 # in C++ we need to declare it. In case someone uses the same compiler
5689 # for both compiling C and C++ we need to have the C++ compiler decide
5690 # the declaration of exit, since it's the most demanding environment.
5691 cat >conftest.
$ac_ext <<_ACEOF
5696 rm -f conftest.
$ac_objext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>conftest.er1
5700 grep -v '^ *+' conftest.er1
>conftest.err
5702 cat conftest.err
>&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } &&
5705 { ac_try
='test -z "$ac_c_werror_flag"
5706 || test ! -s conftest.err'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; } &&
5712 { ac_try
='test -s conftest.$ac_objext'
5713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); }; }; then
5718 for ac_declaration
in \
5720 'extern "C" void std::exit (int) throw (); using std::exit;' \
5721 'extern "C" void std::exit (int); using std::exit;' \
5722 'extern "C" void exit (int) throw ();' \
5723 'extern "C" void exit (int);' \
5726 cat >conftest.
$ac_ext <<_ACEOF
5729 cat confdefs.h
>>conftest.
$ac_ext
5730 cat >>conftest.
$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5742 rm -f conftest.
$ac_objext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5744 (eval $ac_compile) 2>conftest.er1
5746 grep -v '^ *+' conftest.er1
>conftest.err
5748 cat conftest.err
>&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } &&
5751 { ac_try
='test -z "$ac_c_werror_flag"
5752 || test ! -s conftest.err'
5753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; } &&
5758 { ac_try
='test -s conftest.$ac_objext'
5759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; }; then
5766 echo "$as_me: failed program was:" >&5
5767 sed 's/^/| /' conftest.
$ac_ext >&5
5771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5772 cat >conftest.
$ac_ext <<_ACEOF
5775 cat confdefs.h
>>conftest.
$ac_ext
5776 cat >>conftest.
$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5787 rm -f conftest.
$ac_objext
5788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5789 (eval $ac_compile) 2>conftest.er1
5791 grep -v '^ *+' conftest.er1
>conftest.err
5793 cat conftest.err
>&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } &&
5796 { ac_try
='test -z "$ac_c_werror_flag"
5797 || test ! -s conftest.err'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; } &&
5803 { ac_try
='test -s conftest.$ac_objext'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; }; then
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.
$ac_ext >&5
5815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5818 if test -n "$ac_declaration"; then
5819 echo '#ifdef __cplusplus' >>confdefs.h
5820 echo $ac_declaration >>confdefs.h
5821 echo '#endif' >>confdefs.h
5825 echo "$as_me: failed program was:" >&5
5826 sed 's/^/| /' conftest.
$ac_ext >&5
5829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5831 ac_cpp
='$CPP $CPPFLAGS'
5832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5837 for ac_prog
in 'bison -y' byacc
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy
$ac_prog; ac_word
=$2
5841 echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5843 if test "${ac_cv_prog_YACC+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 if test -n "$YACC"; then
5847 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir
=.
5854 for ac_exec_ext
in '' $ac_executable_extensions; do
5855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_YACC
="$ac_prog"
5857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 YACC
=$ac_cv_prog_YACC
5866 if test -n "$YACC"; then
5867 echo "$as_me:$LINENO: result: $YACC" >&5
5868 echo "${ECHO_T}$YACC" >&6
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5874 test -n "$YACC" && break
5876 test -n "$YACC" || YACC
="yacc"
5878 for ac_prog
in flex
lex
5880 # Extract the first word of "$ac_prog", so it can be a program name with args.
5881 set dummy
$ac_prog; ac_word
=$2
5882 echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5884 if test "${ac_cv_prog_LEX+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 if test -n "$LEX"; then
5888 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir
=.
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_LEX
="$ac_prog"
5898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 if test -n "$LEX"; then
5908 echo "$as_me:$LINENO: result: $LEX" >&5
5909 echo "${ECHO_T}$LEX" >&6
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5915 test -n "$LEX" && break
5917 test -n "$LEX" || LEX
=":"
5919 if test -z "$LEXLIB"
5921 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5922 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5923 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 ac_check_lib_save_LIBS
=$LIBS
5928 cat >conftest.
$ac_ext <<_ACEOF
5931 cat confdefs.h
>>conftest.
$ac_ext
5932 cat >>conftest.
$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5935 /* Override any gcc2 internal prototype to avoid an error. */
5939 /* We use char because int might match the return type of a gcc2
5940 builtin and then its argument prototype would still apply. */
5950 rm -f conftest.
$ac_objext conftest
$ac_exeext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5952 (eval $ac_link) 2>conftest.er1
5954 grep -v '^ *+' conftest.er1
>conftest.err
5956 cat conftest.err
>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } &&
5959 { ac_try
='test -z "$ac_c_werror_flag"
5960 || test ! -s conftest.err'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; } &&
5966 { ac_try
='test -s conftest$ac_exeext'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }; then
5972 ac_cv_lib_fl_yywrap
=yes
5974 echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.
$ac_ext >&5
5977 ac_cv_lib_fl_yywrap
=no
5979 rm -f conftest.err conftest.
$ac_objext \
5980 conftest
$ac_exeext conftest.
$ac_ext
5981 LIBS
=$ac_check_lib_save_LIBS
5983 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5984 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5985 if test $ac_cv_lib_fl_yywrap = yes; then
5988 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5989 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
5990 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 ac_check_lib_save_LIBS
=$LIBS
5995 cat >conftest.
$ac_ext <<_ACEOF
5998 cat confdefs.h
>>conftest.
$ac_ext
5999 cat >>conftest.
$ac_ext <<_ACEOF
6000 /* end confdefs.h. */
6002 /* Override any gcc2 internal prototype to avoid an error. */
6006 /* We use char because int might match the return type of a gcc2
6007 builtin and then its argument prototype would still apply. */
6017 rm -f conftest.
$ac_objext conftest
$ac_exeext
6018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6019 (eval $ac_link) 2>conftest.er1
6021 grep -v '^ *+' conftest.er1
>conftest.err
6023 cat conftest.err
>&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } &&
6026 { ac_try
='test -z "$ac_c_werror_flag"
6027 || test ! -s conftest.err'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; } &&
6033 { ac_try
='test -s conftest$ac_exeext'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; }; then
6039 ac_cv_lib_l_yywrap
=yes
6041 echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.
$ac_ext >&5
6044 ac_cv_lib_l_yywrap
=no
6046 rm -f conftest.err conftest.
$ac_objext \
6047 conftest
$ac_exeext conftest.
$ac_ext
6048 LIBS
=$ac_check_lib_save_LIBS
6050 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6051 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6052 if test $ac_cv_lib_l_yywrap = yes; then
6060 if test "x$LEX" != "x:"; then
6061 echo "$as_me:$LINENO: checking lex output file root" >&5
6062 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
6063 if test "${ac_cv_prog_lex_root+set}" = set; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 # The minimal lex program is just a single line: %%. But some broken lexes
6067 # (Solaris, I think it was) want two %% lines, so accommodate them.
6068 cat >conftest.l
<<_ACEOF
6072 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
6073 (eval $LEX conftest.l
) 2>&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }
6077 if test -f lex.yy.c
; then
6078 ac_cv_prog_lex_root
=lex.yy
6079 elif test -f lexyy.c
; then
6080 ac_cv_prog_lex_root
=lexyy
6082 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6083 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6084 { (exit 1); exit 1; }; }
6087 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6088 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
6090 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
6092 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6093 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
6094 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 # POSIX says lex can declare yytext either as a pointer or an array; the
6098 # default is implementation-dependent. Figure out which it is, since
6099 # not all implementations provide the %pointer and %array declarations.
6100 ac_cv_prog_lex_yytext_pointer
=no
6101 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6103 LIBS
="$LIBS $LEXLIB"
6104 cat >conftest.
$ac_ext <<_ACEOF
6105 `cat $LEX_OUTPUT_ROOT.c`
6107 rm -f conftest.
$ac_objext conftest
$ac_exeext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6109 (eval $ac_link) 2>conftest.er1
6111 grep -v '^ *+' conftest.er1
>conftest.err
6113 cat conftest.err
>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try
='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try
='test -s conftest$ac_exeext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_cv_prog_lex_yytext_pointer
=yes
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6135 rm -f conftest.err conftest.
$ac_objext \
6136 conftest
$ac_exeext conftest.
$ac_ext
6138 rm -f "${LEX_OUTPUT_ROOT}.c"
6141 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6142 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
6143 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6145 cat >>confdefs.h
<<\_ACEOF
6146 #define YYTEXT_POINTER 1
6152 if test "$LEX" = :; then
6153 LEX
=${am_missing_run}flex
6156 ALL_LINGUAS
="fr tr es"
6157 if test -n "$ac_tool_prefix"; then
6158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6159 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6160 echo "$as_me:$LINENO: checking for $ac_word" >&5
6161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6162 if test "${ac_cv_prog_RANLIB+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 if test -n "$RANLIB"; then
6166 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6172 test -z "$as_dir" && as_dir
=.
6173 for ac_exec_ext
in '' $ac_executable_extensions; do
6174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6175 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 RANLIB
=$ac_cv_prog_RANLIB
6185 if test -n "$RANLIB"; then
6186 echo "$as_me:$LINENO: result: $RANLIB" >&5
6187 echo "${ECHO_T}$RANLIB" >&6
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6194 if test -z "$ac_cv_prog_RANLIB"; then
6195 ac_ct_RANLIB
=$RANLIB
6196 # Extract the first word of "ranlib", so it can be a program name with args.
6197 set dummy ranlib
; ac_word
=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 if test -n "$ac_ct_RANLIB"; then
6204 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir
=.
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6223 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6224 if test -n "$ac_ct_RANLIB"; then
6225 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6226 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6232 RANLIB
=$ac_ct_RANLIB
6234 RANLIB
="$ac_cv_prog_RANLIB"
6238 ac_cpp
='$CPP $CPPFLAGS'
6239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6242 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6243 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6244 # On Suns, sometimes $CPP names a directory.
6245 if test -n "$CPP" && test -d "$CPP"; then
6248 if test -z "$CPP"; then
6249 if test "${ac_cv_prog_CPP+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 # Double quotes because CPP needs to be expanded
6253 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6256 for ac_c_preproc_warn_flag
in '' yes
6258 # Use a header file that comes with gcc, so configuring glibc
6259 # with a fresh cross-compiler works.
6260 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6261 # <limits.h> exists even on freestanding compilers.
6262 # On the NeXT, cc -E runs the code through the compiler's parser,
6263 # not just through cpp. "Syntax error" is here to catch this case.
6264 cat >conftest.
$ac_ext <<_ACEOF
6267 cat confdefs.h
>>conftest.
$ac_ext
6268 cat >>conftest.
$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6271 # include <limits.h>
6273 # include <assert.h>
6277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6280 grep -v '^ *+' conftest.er1
>conftest.err
6282 cat conftest.err
>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } >/dev
/null
; then
6285 if test -s conftest.err
; then
6286 ac_cpp_err
=$ac_c_preproc_warn_flag
6287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6294 if test -z "$ac_cpp_err"; then
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.
$ac_ext >&5
6300 # Broken: fails on valid input.
6303 rm -f conftest.err conftest.
$ac_ext
6305 # OK, works on sane cases. Now check whether non-existent headers
6306 # can be detected and how.
6307 cat >conftest.
$ac_ext <<_ACEOF
6310 cat confdefs.h
>>conftest.
$ac_ext
6311 cat >>conftest.
$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6313 #include <ac_nonexistent.h>
6315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6318 grep -v '^ *+' conftest.er1
>conftest.err
6320 cat conftest.err
>&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } >/dev
/null
; then
6323 if test -s conftest.err
; then
6324 ac_cpp_err
=$ac_c_preproc_warn_flag
6325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6332 if test -z "$ac_cpp_err"; then
6333 # Broken: success on invalid input.
6336 echo "$as_me: failed program was:" >&5
6337 sed 's/^/| /' conftest.
$ac_ext >&5
6339 # Passes both tests.
6343 rm -f conftest.err conftest.
$ac_ext
6346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6347 rm -f conftest.err conftest.
$ac_ext
6348 if $ac_preproc_ok; then
6360 echo "$as_me:$LINENO: result: $CPP" >&5
6361 echo "${ECHO_T}$CPP" >&6
6363 for ac_c_preproc_warn_flag
in '' yes
6365 # Use a header file that comes with gcc, so configuring glibc
6366 # with a fresh cross-compiler works.
6367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6368 # <limits.h> exists even on freestanding compilers.
6369 # On the NeXT, cc -E runs the code through the compiler's parser,
6370 # not just through cpp. "Syntax error" is here to catch this case.
6371 cat >conftest.
$ac_ext <<_ACEOF
6374 cat confdefs.h
>>conftest.
$ac_ext
6375 cat >>conftest.
$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6378 # include <limits.h>
6380 # include <assert.h>
6384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6387 grep -v '^ *+' conftest.er1
>conftest.err
6389 cat conftest.err
>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } >/dev
/null
; then
6392 if test -s conftest.err
; then
6393 ac_cpp_err
=$ac_c_preproc_warn_flag
6394 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6401 if test -z "$ac_cpp_err"; then
6404 echo "$as_me: failed program was:" >&5
6405 sed 's/^/| /' conftest.
$ac_ext >&5
6407 # Broken: fails on valid input.
6410 rm -f conftest.err conftest.
$ac_ext
6412 # OK, works on sane cases. Now check whether non-existent headers
6413 # can be detected and how.
6414 cat >conftest.
$ac_ext <<_ACEOF
6417 cat confdefs.h
>>conftest.
$ac_ext
6418 cat >>conftest.
$ac_ext <<_ACEOF
6419 /* end confdefs.h. */
6420 #include <ac_nonexistent.h>
6422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6425 grep -v '^ *+' conftest.er1
>conftest.err
6427 cat conftest.err
>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } >/dev
/null
; then
6430 if test -s conftest.err
; then
6431 ac_cpp_err
=$ac_c_preproc_warn_flag
6432 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6439 if test -z "$ac_cpp_err"; then
6440 # Broken: success on invalid input.
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.
$ac_ext >&5
6446 # Passes both tests.
6450 rm -f conftest.err conftest.
$ac_ext
6453 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6454 rm -f conftest.err conftest.
$ac_ext
6455 if $ac_preproc_ok; then
6458 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6459 See \`config.log' for more details." >&5
6460 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6461 See \`config.log' for more details." >&2;}
6462 { (exit 1); exit 1; }; }
6466 ac_cpp
='$CPP $CPPFLAGS'
6467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6472 echo "$as_me:$LINENO: checking for egrep" >&5
6473 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6474 if test "${ac_cv_prog_egrep+set}" = set; then
6475 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6478 then ac_cv_prog_egrep
='grep -E'
6479 else ac_cv_prog_egrep
='egrep'
6482 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6483 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6484 EGREP
=$ac_cv_prog_egrep
6487 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6488 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6489 if test "${ac_cv_header_stdc+set}" = set; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 cat >conftest.
$ac_ext <<_ACEOF
6495 cat confdefs.h
>>conftest.
$ac_ext
6496 cat >>conftest.
$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6511 rm -f conftest.
$ac_objext
6512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6513 (eval $ac_compile) 2>conftest.er1
6515 grep -v '^ *+' conftest.er1
>conftest.err
6517 cat conftest.err
>&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } &&
6520 { ac_try
='test -z "$ac_c_werror_flag"
6521 || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try
='test -s conftest.$ac_objext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_cv_header_stdc
=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.
$ac_ext >&5
6538 ac_cv_header_stdc
=no
6540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6542 if test $ac_cv_header_stdc = yes; then
6543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544 cat >conftest.
$ac_ext <<_ACEOF
6547 cat confdefs.h
>>conftest.
$ac_ext
6548 cat >>conftest.
$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "memchr" >/dev
/null
2>&1; then
6557 ac_cv_header_stdc
=no
6563 if test $ac_cv_header_stdc = yes; then
6564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565 cat >conftest.
$ac_ext <<_ACEOF
6568 cat confdefs.h
>>conftest.
$ac_ext
6569 cat >>conftest.
$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "free" >/dev
/null
2>&1; then
6578 ac_cv_header_stdc
=no
6584 if test $ac_cv_header_stdc = yes; then
6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586 if test "$cross_compiling" = yes; then
6589 cat >conftest.
$ac_ext <<_ACEOF
6592 cat confdefs.h
>>conftest.
$ac_ext
6593 cat >>conftest.
$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6596 #if ((' ' & 0x0FF) == 0x020)
6597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6600 # define ISLOWER(c) \
6601 (('a' <= (c) && (c) <= 'i') \
6602 || ('j' <= (c) && (c) <= 'r') \
6603 || ('s' <= (c) && (c) <= 'z'))
6604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6612 for (i = 0; i < 256; i++)
6613 if (XOR (islower (i), ISLOWER (i))
6614 || toupper (i) != TOUPPER (i))
6619 rm -f conftest
$ac_exeext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621 (eval $ac_link) 2>&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6632 echo "$as_me: program exited with status $ac_status" >&5
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.
$ac_ext >&5
6637 ac_cv_header_stdc
=no
6639 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6643 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6645 if test $ac_cv_header_stdc = yes; then
6647 cat >>confdefs.h
<<\_ACEOF
6648 #define STDC_HEADERS 1
6653 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6654 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6655 if test "${ac_cv_c_const+set}" = set; then
6656 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 cat >conftest.
$ac_ext <<_ACEOF
6661 cat confdefs.h
>>conftest.
$ac_ext
6662 cat >>conftest.
$ac_ext <<_ACEOF
6663 /* end confdefs.h. */
6668 /* FIXME: Include the comments suggested by Paul. */
6670 /* Ultrix mips cc rejects this. */
6671 typedef int charset[2];
6673 /* SunOS 4.1.1 cc rejects this. */
6674 char const *const *ccp;
6676 /* NEC SVR4.0.2 mips cc rejects this. */
6677 struct point {int x, y;};
6678 static struct point const zero = {0,0};
6679 /* AIX XL C 1.02.0.0 rejects this.
6680 It does not let you subtract one const X* pointer from another in
6681 an arm of an if-expression whose if-part is not a constant
6683 const char *g = "string";
6684 ccp = &g + (g ? g-g : 0);
6685 /* HPUX 7.0 cc rejects these. */
6688 ccp = (char const *const *) p;
6689 { /* SCO 3.2v4 cc rejects this. */
6691 char const *s = 0 ? (char *) 0 : (char const *) 0;
6695 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6697 const int *foo = &x[0];
6700 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6701 typedef const int *iptr;
6705 { /* AIX XL C 1.02.0.0 rejects this saying
6706 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6707 struct s { int j; const int *ap[3]; };
6708 struct s *b; b->j = 5;
6710 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6719 rm -f conftest.
$ac_objext
6720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6721 (eval $ac_compile) 2>conftest.er1
6723 grep -v '^ *+' conftest.er1
>conftest.err
6725 cat conftest.err
>&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); } &&
6728 { ac_try
='test -z "$ac_c_werror_flag"
6729 || test ! -s conftest.err'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; } &&
6735 { ac_try
='test -s conftest.$ac_objext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.
$ac_ext >&5
6748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6750 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6751 echo "${ECHO_T}$ac_cv_c_const" >&6
6752 if test $ac_cv_c_const = no
; then
6754 cat >>confdefs.h
<<\_ACEOF
6760 echo "$as_me:$LINENO: checking for inline" >&5
6761 echo $ECHO_N "checking for inline... $ECHO_C" >&6
6762 if test "${ac_cv_c_inline+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 for ac_kw
in inline __inline__ __inline
; do
6767 cat >conftest.
$ac_ext <<_ACEOF
6770 cat confdefs.h
>>conftest.
$ac_ext
6771 cat >>conftest.
$ac_ext <<_ACEOF
6772 /* end confdefs.h. */
6775 static $ac_kw foo_t static_foo () {return 0; }
6776 $ac_kw foo_t foo () {return 0; }
6780 rm -f conftest.
$ac_objext
6781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6782 (eval $ac_compile) 2>conftest.er1
6784 grep -v '^ *+' conftest.er1
>conftest.err
6786 cat conftest.err
>&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); } &&
6789 { ac_try
='test -z "$ac_c_werror_flag"
6790 || test ! -s conftest.err'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; } &&
6796 { ac_try
='test -s conftest.$ac_objext'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; }; then
6802 ac_cv_c_inline
=$ac_kw; break
6804 echo "$as_me: failed program was:" >&5
6805 sed 's/^/| /' conftest.
$ac_ext >&5
6808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6812 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6813 echo "${ECHO_T}$ac_cv_c_inline" >&6
6816 case $ac_cv_c_inline in
6819 case $ac_cv_c_inline in
6821 *) ac_val
=$ac_cv_c_inline;;
6823 cat >>confdefs.h
<<_ACEOF
6825 #define inline $ac_val
6831 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6841 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6842 inttypes.h stdint.h unistd.h
6844 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6845 echo "$as_me:$LINENO: checking for $ac_header" >&5
6846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6850 cat >conftest.
$ac_ext <<_ACEOF
6853 cat confdefs.h
>>conftest.
$ac_ext
6854 cat >>conftest.
$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6856 $ac_includes_default
6858 #include <$ac_header>
6860 rm -f conftest.
$ac_objext
6861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6862 (eval $ac_compile) 2>conftest.er1
6864 grep -v '^ *+' conftest.er1
>conftest.err
6866 cat conftest.err
>&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } &&
6869 { ac_try
='test -z "$ac_c_werror_flag"
6870 || test ! -s conftest.err'
6871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); }; } &&
6876 { ac_try
='test -s conftest.$ac_objext'
6877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); }; }; then
6882 eval "$as_ac_Header=yes"
6884 echo "$as_me: failed program was:" >&5
6885 sed 's/^/| /' conftest.
$ac_ext >&5
6887 eval "$as_ac_Header=no"
6889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6894 cat >>confdefs.h
<<_ACEOF
6895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6903 echo "$as_me:$LINENO: checking for off_t" >&5
6904 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6905 if test "${ac_cv_type_off_t+set}" = set; then
6906 echo $ECHO_N "(cached) $ECHO_C" >&6
6908 cat >conftest.
$ac_ext <<_ACEOF
6911 cat confdefs.h
>>conftest.
$ac_ext
6912 cat >>conftest.
$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6914 $ac_includes_default
6926 rm -f conftest.
$ac_objext
6927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6928 (eval $ac_compile) 2>conftest.er1
6930 grep -v '^ *+' conftest.er1
>conftest.err
6932 cat conftest.err
>&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } &&
6935 { ac_try
='test -z "$ac_c_werror_flag"
6936 || test ! -s conftest.err'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; } &&
6942 { ac_try
='test -s conftest.$ac_objext'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 ac_cv_type_off_t
=yes
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.
$ac_ext >&5
6955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6957 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6958 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6959 if test $ac_cv_type_off_t = yes; then
6963 cat >>confdefs.h
<<_ACEOF
6969 echo "$as_me:$LINENO: checking for size_t" >&5
6970 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6971 if test "${ac_cv_type_size_t+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 cat >conftest.
$ac_ext <<_ACEOF
6977 cat confdefs.h
>>conftest.
$ac_ext
6978 cat >>conftest.
$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6986 if (sizeof (size_t))
6992 rm -f conftest.
$ac_objext
6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6994 (eval $ac_compile) 2>conftest.er1
6996 grep -v '^ *+' conftest.er1
>conftest.err
6998 cat conftest.err
>&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } &&
7001 { ac_try
='test -z "$ac_c_werror_flag"
7002 || test ! -s conftest.err'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; } &&
7008 { ac_try
='test -s conftest.$ac_objext'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7014 ac_cv_type_size_t
=yes
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.
$ac_ext >&5
7019 ac_cv_type_size_t
=no
7021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7023 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7024 echo "${ECHO_T}$ac_cv_type_size_t" >&6
7025 if test $ac_cv_type_size_t = yes; then
7029 cat >>confdefs.h
<<_ACEOF
7030 #define size_t unsigned
7035 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7036 # for constant arguments. Useless!
7037 echo "$as_me:$LINENO: checking for working alloca.h" >&5
7038 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7039 if test "${ac_cv_working_alloca_h+set}" = set; then
7040 echo $ECHO_N "(cached) $ECHO_C" >&6
7042 cat >conftest.
$ac_ext <<_ACEOF
7045 cat confdefs.h
>>conftest.
$ac_ext
7046 cat >>conftest.
$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7052 char *p = (char *) alloca (2 * sizeof (int));
7057 rm -f conftest.
$ac_objext conftest
$ac_exeext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7059 (eval $ac_link) 2>conftest.er1
7061 grep -v '^ *+' conftest.er1
>conftest.err
7063 cat conftest.err
>&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } &&
7066 { ac_try
='test -z "$ac_c_werror_flag"
7067 || test ! -s conftest.err'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try
='test -s conftest$ac_exeext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7079 ac_cv_working_alloca_h
=yes
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.
$ac_ext >&5
7084 ac_cv_working_alloca_h
=no
7086 rm -f conftest.err conftest.
$ac_objext \
7087 conftest
$ac_exeext conftest.
$ac_ext
7089 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7090 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7091 if test $ac_cv_working_alloca_h = yes; then
7093 cat >>confdefs.h
<<\_ACEOF
7094 #define HAVE_ALLOCA_H 1
7099 echo "$as_me:$LINENO: checking for alloca" >&5
7100 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7101 if test "${ac_cv_func_alloca_works+set}" = set; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 cat >conftest.
$ac_ext <<_ACEOF
7107 cat confdefs.h
>>conftest.
$ac_ext
7108 cat >>conftest.
$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7111 # define alloca __builtin_alloca
7114 # include <malloc.h>
7115 # define alloca _alloca
7118 # include <alloca.h>
7123 # ifndef alloca /* predefined by HP cc +Olibcalls */
7134 char *p = (char *) alloca (1);
7139 rm -f conftest.
$ac_objext conftest
$ac_exeext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7141 (eval $ac_link) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest$ac_exeext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 ac_cv_func_alloca_works
=yes
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.
$ac_ext >&5
7166 ac_cv_func_alloca_works
=no
7168 rm -f conftest.err conftest.
$ac_objext \
7169 conftest
$ac_exeext conftest.
$ac_ext
7171 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7172 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7174 if test $ac_cv_func_alloca_works = yes; then
7176 cat >>confdefs.h
<<\_ACEOF
7177 #define HAVE_ALLOCA 1
7181 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7182 # that cause trouble. Some versions do not even contain alloca or
7183 # contain a buggy version. If you still want to use their alloca,
7184 # use ar to extract alloca.o from them instead of compiling alloca.c.
7186 ALLOCA
=alloca.
$ac_objext
7188 cat >>confdefs.h
<<\_ACEOF
7193 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7194 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7195 if test "${ac_cv_os_cray+set}" = set; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6
7198 cat >conftest.
$ac_ext <<_ACEOF
7201 cat confdefs.h
>>conftest.
$ac_ext
7202 cat >>conftest.
$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7204 #if defined(CRAY) && ! defined(CRAY2)
7211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7212 $EGREP "webecray" >/dev
/null
2>&1; then
7220 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7221 echo "${ECHO_T}$ac_cv_os_cray" >&6
7222 if test $ac_cv_os_cray = yes; then
7223 for ac_func
in _getb67 GETB67 getb67
; do
7224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7225 echo "$as_me:$LINENO: checking for $ac_func" >&5
7226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7227 if eval "test \"\${$as_ac_var+set}\" = set"; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7233 cat confdefs.h
>>conftest.
$ac_ext
7234 cat >>conftest.
$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7238 #define $ac_func innocuous_$ac_func
7240 /* System header to define __stub macros and hopefully few prototypes,
7241 which can conflict with char $ac_func (); below.
7242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7243 <limits.h> exists even on freestanding compilers. */
7246 # include <limits.h>
7248 # include <assert.h>
7253 /* Override any gcc2 internal prototype to avoid an error. */
7258 /* We use char because int might match the return type of a gcc2
7259 builtin and then its argument prototype would still apply. */
7261 /* The GNU C library defines this for functions which it implements
7262 to always fail with ENOSYS. Some functions are actually named
7263 something starting with __ and the normal name is an alias. */
7264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7267 char (*f) () = $ac_func;
7276 return f != $ac_func;
7281 rm -f conftest.
$ac_objext conftest
$ac_exeext
7282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7283 (eval $ac_link) 2>conftest.er1
7285 grep -v '^ *+' conftest.er1
>conftest.err
7287 cat conftest.err
>&5
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); } &&
7290 { ac_try
='test -z "$ac_c_werror_flag"
7291 || test ! -s conftest.err'
7292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296 (exit $ac_status); }; } &&
7297 { ac_try
='test -s conftest$ac_exeext'
7298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); }; }; then
7303 eval "$as_ac_var=yes"
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.
$ac_ext >&5
7308 eval "$as_ac_var=no"
7310 rm -f conftest.err conftest.
$ac_objext \
7311 conftest
$ac_exeext conftest.
$ac_ext
7313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7315 if test `eval echo '${'$as_ac_var'}'` = yes; then
7317 cat >>confdefs.h
<<_ACEOF
7318 #define CRAY_STACKSEG_END $ac_func
7327 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7328 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7329 if test "${ac_cv_c_stack_direction+set}" = set; then
7330 echo $ECHO_N "(cached) $ECHO_C" >&6
7332 if test "$cross_compiling" = yes; then
7333 ac_cv_c_stack_direction
=0
7335 cat >conftest.
$ac_ext <<_ACEOF
7338 cat confdefs.h
>>conftest.
$ac_ext
7339 cat >>conftest.
$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7342 find_stack_direction ()
7344 static char *addr = 0;
7349 return find_stack_direction ();
7352 return (&dummy > addr) ? 1 : -1;
7358 exit (find_stack_direction () < 0);
7361 rm -f conftest
$ac_exeext
7362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7363 (eval $ac_link) 2>&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; }; then
7372 ac_cv_c_stack_direction
=1
7374 echo "$as_me: program exited with status $ac_status" >&5
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.
$ac_ext >&5
7379 ac_cv_c_stack_direction
=-1
7381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7384 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7385 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7387 cat >>confdefs.h
<<_ACEOF
7388 #define STACK_DIRECTION $ac_cv_c_stack_direction
7396 for ac_header
in stdlib.h unistd.h
7398 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7400 echo "$as_me:$LINENO: checking for $ac_header" >&5
7401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7408 # Is the header compilable?
7409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7411 cat >conftest.
$ac_ext <<_ACEOF
7414 cat confdefs.h
>>conftest.
$ac_ext
7415 cat >>conftest.
$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 $ac_includes_default
7418 #include <$ac_header>
7420 rm -f conftest.
$ac_objext
7421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7422 (eval $ac_compile) 2>conftest.er1
7424 grep -v '^ *+' conftest.er1
>conftest.err
7426 cat conftest.err
>&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); } &&
7429 { ac_try
='test -z "$ac_c_werror_flag"
7430 || test ! -s conftest.err'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; } &&
7436 { ac_try
='test -s conftest.$ac_objext'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; }; then
7442 ac_header_compiler
=yes
7444 echo "$as_me: failed program was:" >&5
7445 sed 's/^/| /' conftest.
$ac_ext >&5
7447 ac_header_compiler
=no
7449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7451 echo "${ECHO_T}$ac_header_compiler" >&6
7453 # Is the header present?
7454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7456 cat >conftest.
$ac_ext <<_ACEOF
7459 cat confdefs.h
>>conftest.
$ac_ext
7460 cat >>conftest.
$ac_ext <<_ACEOF
7461 /* end confdefs.h. */
7462 #include <$ac_header>
7464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7467 grep -v '^ *+' conftest.er1
>conftest.err
7469 cat conftest.err
>&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } >/dev
/null
; then
7472 if test -s conftest.err
; then
7473 ac_cpp_err
=$ac_c_preproc_warn_flag
7474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7481 if test -z "$ac_cpp_err"; then
7482 ac_header_preproc
=yes
7484 echo "$as_me: failed program was:" >&5
7485 sed 's/^/| /' conftest.
$ac_ext >&5
7487 ac_header_preproc
=no
7489 rm -f conftest.err conftest.
$ac_ext
7490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7491 echo "${ECHO_T}$ac_header_preproc" >&6
7493 # So? What about this header?
7494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7500 ac_header_preproc
=yes
7503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7517 ## ------------------------------------------ ##
7518 ## Report this to the AC_PACKAGE_NAME lists. ##
7519 ## ------------------------------------------ ##
7522 sed "s/^/$as_me: WARNING: /" >&2
7525 echo "$as_me:$LINENO: checking for $ac_header" >&5
7526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 eval "$as_ac_Header=\$ac_header_preproc"
7532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7537 cat >>confdefs.h
<<_ACEOF
7538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7546 for ac_func
in getpagesize
7548 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7549 echo "$as_me:$LINENO: checking for $ac_func" >&5
7550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7551 if eval "test \"\${$as_ac_var+set}\" = set"; then
7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 cat >conftest.
$ac_ext <<_ACEOF
7557 cat confdefs.h
>>conftest.
$ac_ext
7558 cat >>conftest.
$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7562 #define $ac_func innocuous_$ac_func
7564 /* System header to define __stub macros and hopefully few prototypes,
7565 which can conflict with char $ac_func (); below.
7566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7567 <limits.h> exists even on freestanding compilers. */
7570 # include <limits.h>
7572 # include <assert.h>
7577 /* Override any gcc2 internal prototype to avoid an error. */
7582 /* We use char because int might match the return type of a gcc2
7583 builtin and then its argument prototype would still apply. */
7585 /* The GNU C library defines this for functions which it implements
7586 to always fail with ENOSYS. Some functions are actually named
7587 something starting with __ and the normal name is an alias. */
7588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7591 char (*f) () = $ac_func;
7600 return f != $ac_func;
7605 rm -f conftest.
$ac_objext conftest
$ac_exeext
7606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7607 (eval $ac_link) 2>conftest.er1
7609 grep -v '^ *+' conftest.er1
>conftest.err
7611 cat conftest.err
>&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); } &&
7614 { ac_try
='test -z "$ac_c_werror_flag"
7615 || test ! -s conftest.err'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; } &&
7621 { ac_try
='test -s conftest$ac_exeext'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; }; then
7627 eval "$as_ac_var=yes"
7629 echo "$as_me: failed program was:" >&5
7630 sed 's/^/| /' conftest.
$ac_ext >&5
7632 eval "$as_ac_var=no"
7634 rm -f conftest.err conftest.
$ac_objext \
7635 conftest
$ac_exeext conftest.
$ac_ext
7637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7639 if test `eval echo '${'$as_ac_var'}'` = yes; then
7640 cat >>confdefs.h
<<_ACEOF
7641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7647 echo "$as_me:$LINENO: checking for working mmap" >&5
7648 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7649 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 if test "$cross_compiling" = yes; then
7653 ac_cv_func_mmap_fixed_mapped
=no
7655 cat >conftest.
$ac_ext <<_ACEOF
7658 cat confdefs.h
>>conftest.
$ac_ext
7659 cat >>conftest.
$ac_ext <<_ACEOF
7660 /* end confdefs.h. */
7661 $ac_includes_default
7662 /* malloc might have been renamed as rpl_malloc. */
7665 /* Thanks to Mike Haertel and Jim Avera for this test.
7666 Here is a matrix of mmap possibilities:
7667 mmap private not fixed
7668 mmap private fixed at somewhere currently unmapped
7669 mmap private fixed at somewhere already mapped
7670 mmap shared not fixed
7671 mmap shared fixed at somewhere currently unmapped
7672 mmap shared fixed at somewhere already mapped
7673 For private mappings, we should verify that changes cannot be read()
7674 back from the file, nor mmap's back from the file at a different
7675 address. (There have been systems where private was not correctly
7676 implemented like the infamous i386 svr4.0, and systems where the
7677 VM page cache was not coherent with the file system buffer cache
7678 like early versions of FreeBSD and possibly contemporary NetBSD.)
7679 For shared mappings, we should conversely verify that changes get
7680 propagated back to all the places they're supposed to be.
7682 Grep wants private fixed already mapped.
7683 The main things grep needs to know about mmap are:
7684 * does it exist and is it safe to write into the mmap'd area
7685 * how to use it (BSD variants) */
7688 #include <sys/mman.h>
7690 #if !STDC_HEADERS && !HAVE_STDLIB_H
7694 /* This mess was copied from the GNU getpagesize.h. */
7695 #if !HAVE_GETPAGESIZE
7696 /* Assume that all systems that can run configure have sys/param.h. */
7697 # if !HAVE_SYS_PARAM_H
7698 # define HAVE_SYS_PARAM_H 1
7701 # ifdef _SC_PAGESIZE
7702 # define getpagesize() sysconf(_SC_PAGESIZE)
7703 # else /* no _SC_PAGESIZE */
7704 # if HAVE_SYS_PARAM_H
7705 # include <sys/param.h>
7706 # ifdef EXEC_PAGESIZE
7707 # define getpagesize() EXEC_PAGESIZE
7708 # else /* no EXEC_PAGESIZE */
7710 # define getpagesize() NBPG * CLSIZE
7713 # endif /* no CLSIZE */
7714 # else /* no NBPG */
7716 # define getpagesize() NBPC
7717 # else /* no NBPC */
7719 # define getpagesize() PAGESIZE
7720 # endif /* PAGESIZE */
7721 # endif /* no NBPC */
7722 # endif /* no NBPG */
7723 # endif /* no EXEC_PAGESIZE */
7724 # else /* no HAVE_SYS_PARAM_H */
7725 # define getpagesize() 8192 /* punt totally */
7726 # endif /* no HAVE_SYS_PARAM_H */
7727 # endif /* no _SC_PAGESIZE */
7729 #endif /* no HAVE_GETPAGESIZE */
7734 char *data, *data2, *data3;
7738 pagesize = getpagesize ();
7740 /* First, make a file with some known garbage in it. */
7741 data = (char *) malloc (pagesize);
7744 for (i = 0; i < pagesize; ++i)
7745 *(data + i) = rand ();
7747 fd = creat ("conftest.mmap", 0600);
7750 if (write (fd, data, pagesize) != pagesize)
7754 /* Next, try to mmap the file at a fixed address which already has
7755 something else allocated at it. If we can, also make sure that
7756 we see the same garbage. */
7757 fd = open ("conftest.mmap", O_RDWR);
7760 data2 = (char *) malloc (2 * pagesize);
7763 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
7764 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7765 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7767 for (i = 0; i < pagesize; ++i)
7768 if (*(data + i) != *(data2 + i))
7771 /* Finally, make sure that changes to the mapped area do not
7772 percolate back to the file as seen by read(). (This is a bug on
7773 some variants of i386 svr4.0.) */
7774 for (i = 0; i < pagesize; ++i)
7775 *(data2 + i) = *(data2 + i) + 1;
7776 data3 = (char *) malloc (pagesize);
7779 if (read (fd, data3, pagesize) != pagesize)
7781 for (i = 0; i < pagesize; ++i)
7782 if (*(data + i) != *(data3 + i))
7788 rm -f conftest
$ac_exeext
7789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7790 (eval $ac_link) 2>&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 ac_cv_func_mmap_fixed_mapped
=yes
7801 echo "$as_me: program exited with status $ac_status" >&5
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.
$ac_ext >&5
7806 ac_cv_func_mmap_fixed_mapped
=no
7808 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7811 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7812 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7813 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7815 cat >>confdefs.h
<<\_ACEOF
7832 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
7833 unistd.h values.h sys
/param.h
7835 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7837 echo "$as_me:$LINENO: checking for $ac_header" >&5
7838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6
7842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7845 # Is the header compilable?
7846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7848 cat >conftest.
$ac_ext <<_ACEOF
7851 cat confdefs.h
>>conftest.
$ac_ext
7852 cat >>conftest.
$ac_ext <<_ACEOF
7853 /* end confdefs.h. */
7854 $ac_includes_default
7855 #include <$ac_header>
7857 rm -f conftest.
$ac_objext
7858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7859 (eval $ac_compile) 2>conftest.er1
7861 grep -v '^ *+' conftest.er1
>conftest.err
7863 cat conftest.err
>&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } &&
7866 { ac_try
='test -z "$ac_c_werror_flag"
7867 || test ! -s conftest.err'
7868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); }; } &&
7873 { ac_try
='test -s conftest.$ac_objext'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; }; then
7879 ac_header_compiler
=yes
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.
$ac_ext >&5
7884 ac_header_compiler
=no
7886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7888 echo "${ECHO_T}$ac_header_compiler" >&6
7890 # Is the header present?
7891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7893 cat >conftest.
$ac_ext <<_ACEOF
7896 cat confdefs.h
>>conftest.
$ac_ext
7897 cat >>conftest.
$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 #include <$ac_header>
7901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7902 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7904 grep -v '^ *+' conftest.er1
>conftest.err
7906 cat conftest.err
>&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); } >/dev
/null
; then
7909 if test -s conftest.err
; then
7910 ac_cpp_err
=$ac_c_preproc_warn_flag
7911 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7918 if test -z "$ac_cpp_err"; then
7919 ac_header_preproc
=yes
7921 echo "$as_me: failed program was:" >&5
7922 sed 's/^/| /' conftest.
$ac_ext >&5
7924 ac_header_preproc
=no
7926 rm -f conftest.err conftest.
$ac_ext
7927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7928 echo "${ECHO_T}$ac_header_preproc" >&6
7930 # So? What about this header?
7931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7937 ac_header_preproc
=yes
7940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7954 ## ------------------------------------------ ##
7955 ## Report this to the AC_PACKAGE_NAME lists. ##
7956 ## ------------------------------------------ ##
7959 sed "s/^/$as_me: WARNING: /" >&2
7962 echo "$as_me:$LINENO: checking for $ac_header" >&5
7963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 eval "$as_ac_Header=\$ac_header_preproc"
7969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7974 cat >>confdefs.h
<<_ACEOF
7975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7993 __argz_count __argz_stringify __argz_next
7995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7996 echo "$as_me:$LINENO: checking for $ac_func" >&5
7997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7998 if eval "test \"\${$as_ac_var+set}\" = set"; then
7999 echo $ECHO_N "(cached) $ECHO_C" >&6
8001 cat >conftest.
$ac_ext <<_ACEOF
8004 cat confdefs.h
>>conftest.
$ac_ext
8005 cat >>conftest.
$ac_ext <<_ACEOF
8006 /* end confdefs.h. */
8007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8009 #define $ac_func innocuous_$ac_func
8011 /* System header to define __stub macros and hopefully few prototypes,
8012 which can conflict with char $ac_func (); below.
8013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8014 <limits.h> exists even on freestanding compilers. */
8017 # include <limits.h>
8019 # include <assert.h>
8024 /* Override any gcc2 internal prototype to avoid an error. */
8029 /* We use char because int might match the return type of a gcc2
8030 builtin and then its argument prototype would still apply. */
8032 /* The GNU C library defines this for functions which it implements
8033 to always fail with ENOSYS. Some functions are actually named
8034 something starting with __ and the normal name is an alias. */
8035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8038 char (*f) () = $ac_func;
8047 return f != $ac_func;
8052 rm -f conftest.
$ac_objext conftest
$ac_exeext
8053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>conftest.er1
8056 grep -v '^ *+' conftest.er1
>conftest.err
8058 cat conftest.err
>&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try
='test -z "$ac_c_werror_flag"
8062 || test ! -s conftest.err'
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; } &&
8068 { ac_try
='test -s conftest$ac_exeext'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; }; then
8074 eval "$as_ac_var=yes"
8076 echo "$as_me: failed program was:" >&5
8077 sed 's/^/| /' conftest.
$ac_ext >&5
8079 eval "$as_ac_var=no"
8081 rm -f conftest.err conftest.
$ac_objext \
8082 conftest
$ac_exeext conftest.
$ac_ext
8084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8086 if test `eval echo '${'$as_ac_var'}'` = yes; then
8087 cat >>confdefs.h
<<_ACEOF
8088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8095 if test "${ac_cv_func_stpcpy+set}" != "set"; then
8097 for ac_func
in stpcpy
8099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8100 echo "$as_me:$LINENO: checking for $ac_func" >&5
8101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8102 if eval "test \"\${$as_ac_var+set}\" = set"; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 cat >conftest.
$ac_ext <<_ACEOF
8108 cat confdefs.h
>>conftest.
$ac_ext
8109 cat >>conftest.
$ac_ext <<_ACEOF
8110 /* end confdefs.h. */
8111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8113 #define $ac_func innocuous_$ac_func
8115 /* System header to define __stub macros and hopefully few prototypes,
8116 which can conflict with char $ac_func (); below.
8117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8118 <limits.h> exists even on freestanding compilers. */
8121 # include <limits.h>
8123 # include <assert.h>
8128 /* Override any gcc2 internal prototype to avoid an error. */
8133 /* We use char because int might match the return type of a gcc2
8134 builtin and then its argument prototype would still apply. */
8136 /* The GNU C library defines this for functions which it implements
8137 to always fail with ENOSYS. Some functions are actually named
8138 something starting with __ and the normal name is an alias. */
8139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8142 char (*f) () = $ac_func;
8151 return f != $ac_func;
8156 rm -f conftest.
$ac_objext conftest
$ac_exeext
8157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8158 (eval $ac_link) 2>conftest.er1
8160 grep -v '^ *+' conftest.er1
>conftest.err
8162 cat conftest.err
>&5
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); } &&
8165 { ac_try
='test -z "$ac_c_werror_flag"
8166 || test ! -s conftest.err'
8167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); }; } &&
8172 { ac_try
='test -s conftest$ac_exeext'
8173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; }; then
8178 eval "$as_ac_var=yes"
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.
$ac_ext >&5
8183 eval "$as_ac_var=no"
8185 rm -f conftest.err conftest.
$ac_objext \
8186 conftest
$ac_exeext conftest.
$ac_ext
8188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8190 if test `eval echo '${'$as_ac_var'}'` = yes; then
8191 cat >>confdefs.h
<<_ACEOF
8192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8199 if test "${ac_cv_func_stpcpy}" = "yes"; then
8201 cat >>confdefs.h
<<\_ACEOF
8202 #define HAVE_STPCPY 1
8207 if test $ac_cv_header_locale_h = yes; then
8208 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8209 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8210 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 cat >conftest.
$ac_ext <<_ACEOF
8216 cat confdefs.h
>>conftest.
$ac_ext
8217 cat >>conftest.
$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8228 rm -f conftest.
$ac_objext conftest
$ac_exeext
8229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8230 (eval $ac_link) 2>conftest.er1
8232 grep -v '^ *+' conftest.er1
>conftest.err
8234 cat conftest.err
>&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } &&
8237 { ac_try
='test -z "$ac_c_werror_flag"
8238 || test ! -s conftest.err'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; } &&
8244 { ac_try
='test -s conftest$ac_exeext'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 am_cv_val_LC_MESSAGES
=yes
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.
$ac_ext >&5
8255 am_cv_val_LC_MESSAGES
=no
8257 rm -f conftest.err conftest.
$ac_objext \
8258 conftest
$ac_exeext conftest.
$ac_ext
8260 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8261 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8262 if test $am_cv_val_LC_MESSAGES = yes; then
8264 cat >>confdefs.h
<<\_ACEOF
8265 #define HAVE_LC_MESSAGES 1
8270 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8271 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8272 # Check whether --enable-nls or --disable-nls was given.
8273 if test "${enable_nls+set}" = set; then
8274 enableval
="$enable_nls"
8279 echo "$as_me:$LINENO: result: $USE_NLS" >&5
8280 echo "${ECHO_T}$USE_NLS" >&6
8283 USE_INCLUDED_LIBINTL
=no
8285 if test "$USE_NLS" = "yes"; then
8286 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8287 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8289 # Check whether --with-included-gettext or --without-included-gettext was given.
8290 if test "${with_included_gettext+set}" = set; then
8291 withval
="$with_included_gettext"
8292 nls_cv_force_use_gnu_gettext
=$withval
8294 nls_cv_force_use_gnu_gettext
=no
8296 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8297 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8299 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
8300 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8302 nls_cv_header_libgt
=
8305 if test "${ac_cv_header_libintl_h+set}" = set; then
8306 echo "$as_me:$LINENO: checking for libintl.h" >&5
8307 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8308 if test "${ac_cv_header_libintl_h+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8312 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8314 # Is the header compilable?
8315 echo "$as_me:$LINENO: checking libintl.h usability" >&5
8316 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8317 cat >conftest.
$ac_ext <<_ACEOF
8320 cat confdefs.h
>>conftest.
$ac_ext
8321 cat >>conftest.
$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8323 $ac_includes_default
8324 #include <libintl.h>
8326 rm -f conftest.
$ac_objext
8327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8328 (eval $ac_compile) 2>conftest.er1
8330 grep -v '^ *+' conftest.er1
>conftest.err
8332 cat conftest.err
>&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); } &&
8335 { ac_try
='test -z "$ac_c_werror_flag"
8336 || test ! -s conftest.err'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; } &&
8342 { ac_try
='test -s conftest.$ac_objext'
8343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); }; }; then
8348 ac_header_compiler
=yes
8350 echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.
$ac_ext >&5
8353 ac_header_compiler
=no
8355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8357 echo "${ECHO_T}$ac_header_compiler" >&6
8359 # Is the header present?
8360 echo "$as_me:$LINENO: checking libintl.h presence" >&5
8361 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8362 cat >conftest.
$ac_ext <<_ACEOF
8365 cat confdefs.h
>>conftest.
$ac_ext
8366 cat >>conftest.
$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8368 #include <libintl.h>
8370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8373 grep -v '^ *+' conftest.er1
>conftest.err
8375 cat conftest.err
>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } >/dev
/null
; then
8378 if test -s conftest.err
; then
8379 ac_cpp_err
=$ac_c_preproc_warn_flag
8380 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8387 if test -z "$ac_cpp_err"; then
8388 ac_header_preproc
=yes
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8393 ac_header_preproc
=no
8395 rm -f conftest.err conftest.
$ac_ext
8396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8397 echo "${ECHO_T}$ac_header_preproc" >&6
8399 # So? What about this header?
8400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8402 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8403 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8404 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
8405 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
8406 ac_header_preproc
=yes
8409 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
8410 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
8411 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
8412 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
8413 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
8414 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
8415 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
8416 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
8417 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8418 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8419 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
8420 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
8423 ## ------------------------------------------ ##
8424 ## Report this to the AC_PACKAGE_NAME lists. ##
8425 ## ------------------------------------------ ##
8428 sed "s/^/$as_me: WARNING: /" >&2
8431 echo "$as_me:$LINENO: checking for libintl.h" >&5
8432 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8433 if test "${ac_cv_header_libintl_h+set}" = set; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 ac_cv_header_libintl_h
=$ac_header_preproc
8438 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8439 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8442 if test $ac_cv_header_libintl_h = yes; then
8443 echo "$as_me:$LINENO: checking for gettext in libc" >&5
8444 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
8445 if test "${gt_cv_func_gettext_libc+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 cat >conftest.
$ac_ext <<_ACEOF
8451 cat confdefs.h
>>conftest.
$ac_ext
8452 cat >>conftest.
$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8454 #include <libintl.h>
8458 return (int) gettext ("")
8463 rm -f conftest.
$ac_objext conftest
$ac_exeext
8464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8465 (eval $ac_link) 2>conftest.er1
8467 grep -v '^ *+' conftest.er1
>conftest.err
8469 cat conftest.err
>&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } &&
8472 { ac_try
='test -z "$ac_c_werror_flag"
8473 || test ! -s conftest.err'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; } &&
8479 { ac_try
='test -s conftest$ac_exeext'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; }; then
8485 gt_cv_func_gettext_libc
=yes
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.
$ac_ext >&5
8490 gt_cv_func_gettext_libc
=no
8492 rm -f conftest.err conftest.
$ac_objext \
8493 conftest
$ac_exeext conftest.
$ac_ext
8495 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8496 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
8498 if test "$gt_cv_func_gettext_libc" != "yes"; then
8499 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8500 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
8501 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
8502 echo $ECHO_N "(cached) $ECHO_C" >&6
8504 ac_check_lib_save_LIBS
=$LIBS
8506 cat >conftest.
$ac_ext <<_ACEOF
8509 cat confdefs.h
>>conftest.
$ac_ext
8510 cat >>conftest.
$ac_ext <<_ACEOF
8511 /* end confdefs.h. */
8513 /* Override any gcc2 internal prototype to avoid an error. */
8517 /* We use char because int might match the return type of a gcc2
8518 builtin and then its argument prototype would still apply. */
8519 char bindtextdomain ();
8528 rm -f conftest.
$ac_objext conftest
$ac_exeext
8529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8530 (eval $ac_link) 2>conftest.er1
8532 grep -v '^ *+' conftest.er1
>conftest.err
8534 cat conftest.err
>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } &&
8537 { ac_try
='test -z "$ac_c_werror_flag"
8538 || test ! -s conftest.err'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; } &&
8544 { ac_try
='test -s conftest$ac_exeext'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; }; then
8550 ac_cv_lib_intl_bindtextdomain
=yes
8552 echo "$as_me: failed program was:" >&5
8553 sed 's/^/| /' conftest.
$ac_ext >&5
8555 ac_cv_lib_intl_bindtextdomain
=no
8557 rm -f conftest.err conftest.
$ac_objext \
8558 conftest
$ac_exeext conftest.
$ac_ext
8559 LIBS
=$ac_check_lib_save_LIBS
8561 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8562 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
8563 if test $ac_cv_lib_intl_bindtextdomain = yes; then
8564 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8565 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
8566 if test "${gt_cv_func_gettext_libintl+set}" = set; then
8567 echo $ECHO_N "(cached) $ECHO_C" >&6
8569 cat >conftest.
$ac_ext <<_ACEOF
8572 cat confdefs.h
>>conftest.
$ac_ext
8573 cat >>conftest.
$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8579 return (int) gettext ("")
8584 rm -f conftest.
$ac_objext conftest
$ac_exeext
8585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8586 (eval $ac_link) 2>conftest.er1
8588 grep -v '^ *+' conftest.er1
>conftest.err
8590 cat conftest.err
>&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } &&
8593 { ac_try
='test -z "$ac_c_werror_flag"
8594 || test ! -s conftest.err'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; } &&
8600 { ac_try
='test -s conftest$ac_exeext'
8601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); }; }; then
8606 gt_cv_func_gettext_libintl
=yes
8608 echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.
$ac_ext >&5
8611 gt_cv_func_gettext_libintl
=no
8613 rm -f conftest.err conftest.
$ac_objext \
8614 conftest
$ac_exeext conftest.
$ac_ext
8616 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8617 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
8622 if test "$gt_cv_func_gettext_libc" = "yes" \
8623 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
8625 cat >>confdefs.h
<<\_ACEOF
8626 #define HAVE_GETTEXT 1
8629 # Extract the first word of "msgfmt", so it can be a program name with args.
8630 set dummy msgfmt
; ac_word
=$2
8631 echo "$as_me:$LINENO: checking for $ac_word" >&5
8632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8633 if test "${ac_cv_path_MSGFMT+set}" = set; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8641 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8642 for ac_dir
in $PATH; do
8643 test -z "$ac_dir" && ac_dir
=.
8644 if test -f $ac_dir/$ac_word; then
8645 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8646 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8652 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
8656 MSGFMT
="$ac_cv_path_MSGFMT"
8657 if test -n "$MSGFMT"; then
8658 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8659 echo "${ECHO_T}$MSGFMT" >&6
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8664 if test "$MSGFMT" != "no"; then
8666 for ac_func
in dcgettext
8668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8669 echo "$as_me:$LINENO: checking for $ac_func" >&5
8670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8671 if eval "test \"\${$as_ac_var+set}\" = set"; then
8672 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8682 #define $ac_func innocuous_$ac_func
8684 /* System header to define __stub macros and hopefully few prototypes,
8685 which can conflict with char $ac_func (); below.
8686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8687 <limits.h> exists even on freestanding compilers. */
8690 # include <limits.h>
8692 # include <assert.h>
8697 /* Override any gcc2 internal prototype to avoid an error. */
8702 /* We use char because int might match the return type of a gcc2
8703 builtin and then its argument prototype would still apply. */
8705 /* The GNU C library defines this for functions which it implements
8706 to always fail with ENOSYS. Some functions are actually named
8707 something starting with __ and the normal name is an alias. */
8708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8711 char (*f) () = $ac_func;
8720 return f != $ac_func;
8725 rm -f conftest.
$ac_objext conftest
$ac_exeext
8726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8727 (eval $ac_link) 2>conftest.er1
8729 grep -v '^ *+' conftest.er1
>conftest.err
8731 cat conftest.err
>&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); } &&
8734 { ac_try
='test -z "$ac_c_werror_flag"
8735 || test ! -s conftest.err'
8736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); }; } &&
8741 { ac_try
='test -s conftest$ac_exeext'
8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; }; then
8747 eval "$as_ac_var=yes"
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.
$ac_ext >&5
8752 eval "$as_ac_var=no"
8754 rm -f conftest.err conftest.
$ac_objext \
8755 conftest
$ac_exeext conftest.
$ac_ext
8757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8759 if test `eval echo '${'$as_ac_var'}'` = yes; then
8760 cat >>confdefs.h
<<_ACEOF
8761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8767 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8768 set dummy gmsgfmt
; ac_word
=$2
8769 echo "$as_me:$LINENO: checking for $ac_word" >&5
8770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8771 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8783 test -z "$as_dir" && as_dir
=.
8784 for ac_exec_ext
in '' $ac_executable_extensions; do
8785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8786 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8797 GMSGFMT
=$ac_cv_path_GMSGFMT
8799 if test -n "$GMSGFMT"; then
8800 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8801 echo "${ECHO_T}$GMSGFMT" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8807 # Extract the first word of "xgettext", so it can be a program name with args.
8808 set dummy xgettext
; ac_word
=$2
8809 echo "$as_me:$LINENO: checking for $ac_word" >&5
8810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8811 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8819 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8820 for ac_dir
in $PATH; do
8821 test -z "$ac_dir" && ac_dir
=.
8822 if test -f $ac_dir/$ac_word; then
8823 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8824 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8830 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8834 XGETTEXT
="$ac_cv_path_XGETTEXT"
8835 if test -n "$XGETTEXT"; then
8836 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8837 echo "${ECHO_T}$XGETTEXT" >&6
8839 echo "$as_me:$LINENO: result: no" >&5
8840 echo "${ECHO_T}no" >&6
8843 cat >conftest.
$ac_ext <<_ACEOF
8846 cat confdefs.h
>>conftest.
$ac_ext
8847 cat >>conftest.
$ac_ext <<_ACEOF
8848 /* end confdefs.h. */
8853 extern int _nl_msg_cat_cntr;
8854 return _nl_msg_cat_cntr
8859 rm -f conftest.
$ac_objext conftest
$ac_exeext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8861 (eval $ac_link) 2>conftest.er1
8863 grep -v '^ *+' conftest.er1
>conftest.err
8865 cat conftest.err
>&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } &&
8868 { ac_try
='test -z "$ac_c_werror_flag"
8869 || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try
='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8884 echo "$as_me: failed program was:" >&5
8885 sed 's/^/| /' conftest.
$ac_ext >&5
8890 rm -f conftest.err conftest.
$ac_objext \
8891 conftest
$ac_exeext conftest.
$ac_ext
8901 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
8902 # Neither gettext nor catgets in included in the C library.
8903 # Fall back on GNU gettext library (assuming it is present).
8904 nls_cv_use_gnu_gettext
=yes
8908 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8909 INTLOBJS
="\$(GETTOBJS)"
8910 # Extract the first word of "msgfmt", so it can be a program name with args.
8911 set dummy msgfmt
; ac_word
=$2
8912 echo "$as_me:$LINENO: checking for $ac_word" >&5
8913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8914 if test "${ac_cv_path_MSGFMT+set}" = set; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8919 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8922 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8923 for ac_dir
in $PATH; do
8924 test -z "$ac_dir" && ac_dir
=.
8925 if test -f $ac_dir/$ac_word; then
8926 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8927 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8933 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8937 MSGFMT
="$ac_cv_path_MSGFMT"
8938 if test -n "$MSGFMT"; then
8939 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8940 echo "${ECHO_T}$MSGFMT" >&6
8942 echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6
8946 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8947 set dummy gmsgfmt
; ac_word
=$2
8948 echo "$as_me:$LINENO: checking for $ac_word" >&5
8949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8950 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8962 test -z "$as_dir" && as_dir
=.
8963 for ac_exec_ext
in '' $ac_executable_extensions; do
8964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8965 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8972 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8976 GMSGFMT
=$ac_cv_path_GMSGFMT
8978 if test -n "$GMSGFMT"; then
8979 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8980 echo "${ECHO_T}$GMSGFMT" >&6
8982 echo "$as_me:$LINENO: result: no" >&5
8983 echo "${ECHO_T}no" >&6
8986 # Extract the first word of "xgettext", so it can be a program name with args.
8987 set dummy xgettext
; ac_word
=$2
8988 echo "$as_me:$LINENO: checking for $ac_word" >&5
8989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8990 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8998 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8999 for ac_dir
in $PATH; do
9000 test -z "$ac_dir" && ac_dir
=.
9001 if test -f $ac_dir/$ac_word; then
9002 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
9003 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
9009 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
9013 XGETTEXT
="$ac_cv_path_XGETTEXT"
9014 if test -n "$XGETTEXT"; then
9015 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
9016 echo "${ECHO_T}$XGETTEXT" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9023 USE_INCLUDED_LIBINTL
=yes
9027 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
9029 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
9030 nls_cv_header_intl
=libintl.h
9031 nls_cv_header_libgt
=libgettext.h
9034 if test "$XGETTEXT" != ":"; then
9035 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
9038 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
9039 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
9044 # We need to process the po/ directory.
9048 nls_cv_header_intl
=libintl.h
9049 nls_cv_header_libgt
=libgettext.h
9052 # If this is used in GNU gettext we have to set USE_NLS to `yes'
9053 # because some of the sources are only built for this goal.
9054 if test "$PACKAGE" = gettext; then
9056 USE_INCLUDED_LIBINTL
=yes
9059 for lang
in $ALL_LINGUAS; do
9060 GMOFILES
="$GMOFILES $lang.gmo"
9061 POFILES
="$POFILES $lang.po"
9075 if test "x$CATOBJEXT" != "x"; then
9077 cat >>confdefs.h
<<\_ACEOF
9078 #define ENABLE_NLS 1
9084 if test "x$CATOBJEXT" != "x"; then
9085 if test "x$ALL_LINGUAS" = "x"; then
9088 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
9089 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
9091 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
9092 case "$ALL_LINGUAS" in
9093 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
9096 LINGUAS
=$NEW_LINGUAS
9097 echo "$as_me:$LINENO: result: $LINGUAS" >&5
9098 echo "${ECHO_T}$LINGUAS" >&6
9101 if test -n "$LINGUAS"; then
9102 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
9106 if test $ac_cv_header_locale_h = yes; then
9107 INCLUDE_LOCALE_H
="#include <locale.h>"
9110 /* The system does not provide the header <locale.h>. Take care yourself. */"
9114 if test -f $srcdir/po2tbl.
sed.
in; then
9115 if test "$CATOBJEXT" = ".cat"; then
9116 if test "${ac_cv_header_linux_version_h+set}" = set; then
9117 echo "$as_me:$LINENO: checking for linux/version.h" >&5
9118 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
9119 if test "${ac_cv_header_linux_version_h+set}" = set; then
9120 echo $ECHO_N "(cached) $ECHO_C" >&6
9122 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9123 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
9125 # Is the header compilable?
9126 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
9127 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
9128 cat >conftest.
$ac_ext <<_ACEOF
9131 cat confdefs.h
>>conftest.
$ac_ext
9132 cat >>conftest.
$ac_ext <<_ACEOF
9133 /* end confdefs.h. */
9134 $ac_includes_default
9135 #include <linux/version.h>
9137 rm -f conftest.
$ac_objext
9138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9139 (eval $ac_compile) 2>conftest.er1
9141 grep -v '^ *+' conftest.er1
>conftest.err
9143 cat conftest.err
>&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); } &&
9146 { ac_try
='test -z "$ac_c_werror_flag"
9147 || test ! -s conftest.err'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); }; } &&
9153 { ac_try
='test -s conftest.$ac_objext'
9154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }; }; then
9159 ac_header_compiler
=yes
9161 echo "$as_me: failed program was:" >&5
9162 sed 's/^/| /' conftest.
$ac_ext >&5
9164 ac_header_compiler
=no
9166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9168 echo "${ECHO_T}$ac_header_compiler" >&6
9170 # Is the header present?
9171 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
9172 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
9173 cat >conftest.
$ac_ext <<_ACEOF
9176 cat confdefs.h
>>conftest.
$ac_ext
9177 cat >>conftest.
$ac_ext <<_ACEOF
9178 /* end confdefs.h. */
9179 #include <linux/version.h>
9181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9184 grep -v '^ *+' conftest.er1
>conftest.err
9186 cat conftest.err
>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } >/dev
/null
; then
9189 if test -s conftest.err
; then
9190 ac_cpp_err
=$ac_c_preproc_warn_flag
9191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9198 if test -z "$ac_cpp_err"; then
9199 ac_header_preproc
=yes
9201 echo "$as_me: failed program was:" >&5
9202 sed 's/^/| /' conftest.
$ac_ext >&5
9204 ac_header_preproc
=no
9206 rm -f conftest.err conftest.
$ac_ext
9207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9208 echo "${ECHO_T}$ac_header_preproc" >&6
9210 # So? What about this header?
9211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9213 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
9214 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9215 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
9216 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
9217 ac_header_preproc
=yes
9220 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
9221 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
9222 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
9223 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
9224 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
9225 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
9226 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
9227 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
9228 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
9229 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
9230 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
9231 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
9234 ## ------------------------------------------ ##
9235 ## Report this to the AC_PACKAGE_NAME lists. ##
9236 ## ------------------------------------------ ##
9239 sed "s/^/$as_me: WARNING: /" >&2
9242 echo "$as_me:$LINENO: checking for linux/version.h" >&5
9243 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
9244 if test "${ac_cv_header_linux_version_h+set}" = set; then
9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 ac_cv_header_linux_version_h
=$ac_header_preproc
9249 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9250 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
9253 if test $ac_cv_header_linux_version_h = yes; then
9261 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
9263 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
9264 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
9267 if test "$PACKAGE" = "gettext"; then
9277 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
9283 if test -f $srcdir/po
/POTFILES.
in; then
9284 test -d po || mkdir po
9285 if test "x$srcdir" != "x."; then
9286 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
9287 posrcprefix
="$srcdir/"
9289 posrcprefix
="../$srcdir/"
9295 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
9296 < $srcdir/po
/POTFILES.
in > po
/POTFILES
9300 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
9301 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
9302 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9303 if test "${enable_maintainer_mode+set}" = set; then
9304 enableval
="$enable_maintainer_mode"
9305 USE_MAINTAINER_MODE
=$enableval
9307 USE_MAINTAINER_MODE
=no
9309 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
9310 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
9313 if test $USE_MAINTAINER_MODE = yes; then
9314 MAINTAINER_MODE_TRUE
=
9315 MAINTAINER_MODE_FALSE
='#'
9317 MAINTAINER_MODE_TRUE
='#'
9318 MAINTAINER_MODE_FALSE
=
9321 MAINT
=$MAINTAINER_MODE_TRUE
9335 for ac_header
in string.h stdlib.h memory.h
strings.h unistd.h stdarg.h varargs.h errno.h sys
/types.h
9337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9339 echo "$as_me:$LINENO: checking for $ac_header" >&5
9340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9342 echo $ECHO_N "(cached) $ECHO_C" >&6
9344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9347 # Is the header compilable?
9348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9350 cat >conftest.
$ac_ext <<_ACEOF
9353 cat confdefs.h
>>conftest.
$ac_ext
9354 cat >>conftest.
$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9356 $ac_includes_default
9357 #include <$ac_header>
9359 rm -f conftest.
$ac_objext
9360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9361 (eval $ac_compile) 2>conftest.er1
9363 grep -v '^ *+' conftest.er1
>conftest.err
9365 cat conftest.err
>&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } &&
9368 { ac_try
='test -z "$ac_c_werror_flag"
9369 || test ! -s conftest.err'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; } &&
9375 { ac_try
='test -s conftest.$ac_objext'
9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }; }; then
9381 ac_header_compiler
=yes
9383 echo "$as_me: failed program was:" >&5
9384 sed 's/^/| /' conftest.
$ac_ext >&5
9386 ac_header_compiler
=no
9388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9390 echo "${ECHO_T}$ac_header_compiler" >&6
9392 # Is the header present?
9393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9395 cat >conftest.
$ac_ext <<_ACEOF
9398 cat confdefs.h
>>conftest.
$ac_ext
9399 cat >>conftest.
$ac_ext <<_ACEOF
9400 /* end confdefs.h. */
9401 #include <$ac_header>
9403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9406 grep -v '^ *+' conftest.er1
>conftest.err
9408 cat conftest.err
>&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); } >/dev
/null
; then
9411 if test -s conftest.err
; then
9412 ac_cpp_err
=$ac_c_preproc_warn_flag
9413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9420 if test -z "$ac_cpp_err"; then
9421 ac_header_preproc
=yes
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.
$ac_ext >&5
9426 ac_header_preproc
=no
9428 rm -f conftest.err conftest.
$ac_ext
9429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9430 echo "${ECHO_T}$ac_header_preproc" >&6
9432 # So? What about this header?
9433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9439 ac_header_preproc
=yes
9442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9456 ## ------------------------------------------ ##
9457 ## Report this to the AC_PACKAGE_NAME lists. ##
9458 ## ------------------------------------------ ##
9461 sed "s/^/$as_me: WARNING: /" >&2
9464 echo "$as_me:$LINENO: checking for $ac_header" >&5
9465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9467 echo $ECHO_N "(cached) $ECHO_C" >&6
9469 eval "$as_ac_Header=\$ac_header_preproc"
9471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9476 cat >>confdefs.h
<<_ACEOF
9477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9485 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
9486 # people who are not cross-compiling but are compiling cross-assemblers.
9487 echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
9488 echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
9489 if test "${host}" = "${target}"; then
9494 cat >>confdefs.h
<<\_ACEOF
9495 #define CROSS_COMPILE 1
9499 echo "$as_me:$LINENO: result: $cross_gas" >&5
9500 echo "${ECHO_T}$cross_gas" >&6
9502 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9503 # for constant arguments. Useless!
9504 echo "$as_me:$LINENO: checking for working alloca.h" >&5
9505 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9506 if test "${ac_cv_working_alloca_h+set}" = set; then
9507 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 cat >conftest.
$ac_ext <<_ACEOF
9512 cat confdefs.h
>>conftest.
$ac_ext
9513 cat >>conftest.
$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9519 char *p = (char *) alloca (2 * sizeof (int));
9524 rm -f conftest.
$ac_objext conftest
$ac_exeext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9526 (eval $ac_link) 2>conftest.er1
9528 grep -v '^ *+' conftest.er1
>conftest.err
9530 cat conftest.err
>&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } &&
9533 { ac_try
='test -z "$ac_c_werror_flag"
9534 || test ! -s conftest.err'
9535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; } &&
9540 { ac_try
='test -s conftest$ac_exeext'
9541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; }; then
9546 ac_cv_working_alloca_h
=yes
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.
$ac_ext >&5
9551 ac_cv_working_alloca_h
=no
9553 rm -f conftest.err conftest.
$ac_objext \
9554 conftest
$ac_exeext conftest.
$ac_ext
9556 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9557 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9558 if test $ac_cv_working_alloca_h = yes; then
9560 cat >>confdefs.h
<<\_ACEOF
9561 #define HAVE_ALLOCA_H 1
9566 echo "$as_me:$LINENO: checking for alloca" >&5
9567 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9568 if test "${ac_cv_func_alloca_works+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9571 cat >conftest.
$ac_ext <<_ACEOF
9574 cat confdefs.h
>>conftest.
$ac_ext
9575 cat >>conftest.
$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9578 # define alloca __builtin_alloca
9581 # include <malloc.h>
9582 # define alloca _alloca
9585 # include <alloca.h>
9590 # ifndef alloca /* predefined by HP cc +Olibcalls */
9601 char *p = (char *) alloca (1);
9606 rm -f conftest.
$ac_objext conftest
$ac_exeext
9607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9608 (eval $ac_link) 2>conftest.er1
9610 grep -v '^ *+' conftest.er1
>conftest.err
9612 cat conftest.err
>&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } &&
9615 { ac_try
='test -z "$ac_c_werror_flag"
9616 || test ! -s conftest.err'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_func_alloca_works
=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 ac_cv_func_alloca_works
=no
9635 rm -f conftest.err conftest.
$ac_objext \
9636 conftest
$ac_exeext conftest.
$ac_ext
9638 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9639 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9641 if test $ac_cv_func_alloca_works = yes; then
9643 cat >>confdefs.h
<<\_ACEOF
9644 #define HAVE_ALLOCA 1
9648 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9649 # that cause trouble. Some versions do not even contain alloca or
9650 # contain a buggy version. If you still want to use their alloca,
9651 # use ar to extract alloca.o from them instead of compiling alloca.c.
9653 ALLOCA
=alloca.
$ac_objext
9655 cat >>confdefs.h
<<\_ACEOF
9660 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9661 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9662 if test "${ac_cv_os_cray+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 cat >conftest.
$ac_ext <<_ACEOF
9668 cat confdefs.h
>>conftest.
$ac_ext
9669 cat >>conftest.
$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9671 #if defined(CRAY) && ! defined(CRAY2)
9678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9679 $EGREP "webecray" >/dev
/null
2>&1; then
9687 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9688 echo "${ECHO_T}$ac_cv_os_cray" >&6
9689 if test $ac_cv_os_cray = yes; then
9690 for ac_func
in _getb67 GETB67 getb67
; do
9691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9692 echo "$as_me:$LINENO: checking for $ac_func" >&5
9693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9694 if eval "test \"\${$as_ac_var+set}\" = set"; then
9695 echo $ECHO_N "(cached) $ECHO_C" >&6
9697 cat >conftest.
$ac_ext <<_ACEOF
9700 cat confdefs.h
>>conftest.
$ac_ext
9701 cat >>conftest.
$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9705 #define $ac_func innocuous_$ac_func
9707 /* System header to define __stub macros and hopefully few prototypes,
9708 which can conflict with char $ac_func (); below.
9709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9710 <limits.h> exists even on freestanding compilers. */
9713 # include <limits.h>
9715 # include <assert.h>
9720 /* Override any gcc2 internal prototype to avoid an error. */
9725 /* We use char because int might match the return type of a gcc2
9726 builtin and then its argument prototype would still apply. */
9728 /* The GNU C library defines this for functions which it implements
9729 to always fail with ENOSYS. Some functions are actually named
9730 something starting with __ and the normal name is an alias. */
9731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9734 char (*f) () = $ac_func;
9743 return f != $ac_func;
9748 rm -f conftest.
$ac_objext conftest
$ac_exeext
9749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9750 (eval $ac_link) 2>conftest.er1
9752 grep -v '^ *+' conftest.er1
>conftest.err
9754 cat conftest.err
>&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } &&
9757 { ac_try
='test -z "$ac_c_werror_flag"
9758 || test ! -s conftest.err'
9759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; } &&
9764 { ac_try
='test -s conftest$ac_exeext'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; }; then
9770 eval "$as_ac_var=yes"
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.
$ac_ext >&5
9775 eval "$as_ac_var=no"
9777 rm -f conftest.err conftest.
$ac_objext \
9778 conftest
$ac_exeext conftest.
$ac_ext
9780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9782 if test `eval echo '${'$as_ac_var'}'` = yes; then
9784 cat >>confdefs.h
<<_ACEOF
9785 #define CRAY_STACKSEG_END $ac_func
9794 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9795 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9796 if test "${ac_cv_c_stack_direction+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 if test "$cross_compiling" = yes; then
9800 ac_cv_c_stack_direction
=0
9802 cat >conftest.
$ac_ext <<_ACEOF
9805 cat confdefs.h
>>conftest.
$ac_ext
9806 cat >>conftest.
$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9809 find_stack_direction ()
9811 static char *addr = 0;
9816 return find_stack_direction ();
9819 return (&dummy > addr) ? 1 : -1;
9825 exit (find_stack_direction () < 0);
9828 rm -f conftest
$ac_exeext
9829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9830 (eval $ac_link) 2>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then
9839 ac_cv_c_stack_direction
=1
9841 echo "$as_me: program exited with status $ac_status" >&5
9842 echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.
$ac_ext >&5
9846 ac_cv_c_stack_direction
=-1
9848 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9851 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9852 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9854 cat >>confdefs.h
<<_ACEOF
9855 #define STACK_DIRECTION $ac_cv_c_stack_direction
9861 echo "$as_me:$LINENO: checking for inline" >&5
9862 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9863 if test "${ac_cv_c_inline+set}" = set; then
9864 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 for ac_kw
in inline __inline__ __inline
; do
9868 cat >conftest.
$ac_ext <<_ACEOF
9871 cat confdefs.h
>>conftest.
$ac_ext
9872 cat >>conftest.
$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9876 static $ac_kw foo_t static_foo () {return 0; }
9877 $ac_kw foo_t foo () {return 0; }
9881 rm -f conftest.
$ac_objext
9882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9883 (eval $ac_compile) 2>conftest.er1
9885 grep -v '^ *+' conftest.er1
>conftest.err
9887 cat conftest.err
>&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } &&
9890 { ac_try
='test -z "$ac_c_werror_flag"
9891 || test ! -s conftest.err'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; } &&
9897 { ac_try
='test -s conftest.$ac_objext'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; }; then
9903 ac_cv_c_inline
=$ac_kw; break
9905 echo "$as_me: failed program was:" >&5
9906 sed 's/^/| /' conftest.
$ac_ext >&5
9909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9913 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
9914 echo "${ECHO_T}$ac_cv_c_inline" >&6
9917 case $ac_cv_c_inline in
9920 case $ac_cv_c_inline in
9922 *) ac_val
=$ac_cv_c_inline;;
9924 cat >>confdefs.h
<<_ACEOF
9926 #define inline $ac_val
9933 # VMS doesn't have unlink.
9936 for ac_func
in unlink remove
9938 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9939 echo "$as_me:$LINENO: checking for $ac_func" >&5
9940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9941 if eval "test \"\${$as_ac_var+set}\" = set"; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 cat >conftest.
$ac_ext <<_ACEOF
9947 cat confdefs.h
>>conftest.
$ac_ext
9948 cat >>conftest.
$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9952 #define $ac_func innocuous_$ac_func
9954 /* System header to define __stub macros and hopefully few prototypes,
9955 which can conflict with char $ac_func (); below.
9956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9957 <limits.h> exists even on freestanding compilers. */
9960 # include <limits.h>
9962 # include <assert.h>
9967 /* Override any gcc2 internal prototype to avoid an error. */
9972 /* We use char because int might match the return type of a gcc2
9973 builtin and then its argument prototype would still apply. */
9975 /* The GNU C library defines this for functions which it implements
9976 to always fail with ENOSYS. Some functions are actually named
9977 something starting with __ and the normal name is an alias. */
9978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9981 char (*f) () = $ac_func;
9990 return f != $ac_func;
9995 rm -f conftest.
$ac_objext conftest
$ac_exeext
9996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9997 (eval $ac_link) 2>conftest.er1
9999 grep -v '^ *+' conftest.er1
>conftest.err
10001 cat conftest.err
>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } &&
10004 { ac_try
='test -z "$ac_c_werror_flag"
10005 || test ! -s conftest.err'
10006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 (eval $ac_try) 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; } &&
10011 { ac_try
='test -s conftest$ac_exeext'
10012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013 (eval $ac_try) 2>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }; }; then
10017 eval "$as_ac_var=yes"
10019 echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.
$ac_ext >&5
10022 eval "$as_ac_var=no"
10024 rm -f conftest.err conftest.
$ac_objext \
10025 conftest
$ac_exeext conftest.
$ac_ext
10027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10029 if test `eval echo '${'$as_ac_var'}'` = yes; then
10030 cat >>confdefs.h
<<_ACEOF
10031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10038 # Some systems don't have sbrk().
10040 for ac_func
in sbrk
10042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10043 echo "$as_me:$LINENO: checking for $ac_func" >&5
10044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10045 if eval "test \"\${$as_ac_var+set}\" = set"; then
10046 echo $ECHO_N "(cached) $ECHO_C" >&6
10048 cat >conftest.
$ac_ext <<_ACEOF
10051 cat confdefs.h
>>conftest.
$ac_ext
10052 cat >>conftest.
$ac_ext <<_ACEOF
10053 /* end confdefs.h. */
10054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10056 #define $ac_func innocuous_$ac_func
10058 /* System header to define __stub macros and hopefully few prototypes,
10059 which can conflict with char $ac_func (); below.
10060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10061 <limits.h> exists even on freestanding compilers. */
10064 # include <limits.h>
10066 # include <assert.h>
10071 /* Override any gcc2 internal prototype to avoid an error. */
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10079 /* The GNU C library defines this for functions which it implements
10080 to always fail with ENOSYS. Some functions are actually named
10081 something starting with __ and the normal name is an alias. */
10082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10085 char (*f) () = $ac_func;
10094 return f != $ac_func;
10099 rm -f conftest.
$ac_objext conftest
$ac_exeext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>conftest.er1
10103 grep -v '^ *+' conftest.er1
>conftest.err
10105 cat conftest.err
>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try
='test -z "$ac_c_werror_flag"
10109 || test ! -s conftest.err'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; } &&
10115 { ac_try
='test -s conftest$ac_exeext'
10116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117 (eval $ac_try) 2>&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); }; }; then
10121 eval "$as_ac_var=yes"
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.
$ac_ext >&5
10126 eval "$as_ac_var=no"
10128 rm -f conftest.err conftest.
$ac_objext \
10129 conftest
$ac_exeext conftest.
$ac_ext
10131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10133 if test `eval echo '${'$as_ac_var'}'` = yes; then
10134 cat >>confdefs.h
<<_ACEOF
10135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10142 # do we need the math library?
10143 case "${need_libm}" in
10147 *-*-beos* |
*-*-cygwin* |
*-*-pw32*)
10148 # These system don't have libm
10151 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
10152 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
10153 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 ac_check_lib_save_LIBS
=$LIBS
10158 cat >conftest.
$ac_ext <<_ACEOF
10161 cat confdefs.h
>>conftest.
$ac_ext
10162 cat >>conftest.
$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10165 /* Override any gcc2 internal prototype to avoid an error. */
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char _mwvalidcheckl ();
10180 rm -f conftest.
$ac_objext conftest
$ac_exeext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10182 (eval $ac_link) 2>conftest.er1
10184 grep -v '^ *+' conftest.er1
>conftest.err
10186 cat conftest.err
>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try
='test -z "$ac_c_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try
='test -s conftest$ac_exeext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 ac_cv_lib_mw__mwvalidcheckl
=yes
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.
$ac_ext >&5
10207 ac_cv_lib_mw__mwvalidcheckl
=no
10209 rm -f conftest.err conftest.
$ac_objext \
10210 conftest
$ac_exeext conftest.
$ac_ext
10211 LIBS
=$ac_check_lib_save_LIBS
10213 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
10214 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
10215 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
10219 echo "$as_me:$LINENO: checking for main in -lm" >&5
10220 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
10221 if test "${ac_cv_lib_m_main+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 ac_check_lib_save_LIBS
=$LIBS
10226 cat >conftest.
$ac_ext <<_ACEOF
10229 cat confdefs.h
>>conftest.
$ac_ext
10230 cat >>conftest.
$ac_ext <<_ACEOF
10231 /* end confdefs.h. */
10242 rm -f conftest.
$ac_objext conftest
$ac_exeext
10243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10244 (eval $ac_link) 2>conftest.er1
10246 grep -v '^ *+' conftest.er1
>conftest.err
10248 cat conftest.err
>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try
='test -z "$ac_c_werror_flag"
10252 || test ! -s conftest.err'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; } &&
10258 { ac_try
='test -s conftest$ac_exeext'
10259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10264 ac_cv_lib_m_main
=yes
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.
$ac_ext >&5
10269 ac_cv_lib_m_main
=no
10271 rm -f conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 LIBS
=$ac_check_lib_save_LIBS
10275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
10276 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
10277 if test $ac_cv_lib_m_main = yes; then
10283 echo "$as_me:$LINENO: checking for main in -lm" >&5
10284 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
10285 if test "${ac_cv_lib_m_main+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 ac_check_lib_save_LIBS
=$LIBS
10290 cat >conftest.
$ac_ext <<_ACEOF
10293 cat confdefs.h
>>conftest.
$ac_ext
10294 cat >>conftest.
$ac_ext <<_ACEOF
10295 /* end confdefs.h. */
10306 rm -f conftest.
$ac_objext conftest
$ac_exeext
10307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10308 (eval $ac_link) 2>conftest.er1
10310 grep -v '^ *+' conftest.er1
>conftest.err
10312 cat conftest.err
>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } &&
10315 { ac_try
='test -z "$ac_c_werror_flag"
10316 || test ! -s conftest.err'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; } &&
10322 { ac_try
='test -s conftest$ac_exeext'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; }; then
10328 ac_cv_lib_m_main
=yes
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.
$ac_ext >&5
10333 ac_cv_lib_m_main
=no
10335 rm -f conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LIBS
=$ac_check_lib_save_LIBS
10339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
10340 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
10341 if test $ac_cv_lib_m_main = yes; then
10352 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
10353 # enough, but on some of those systems, the assert macro relies on requoting
10354 # working properly!
10355 echo "$as_me:$LINENO: checking for working assert macro" >&5
10356 echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
10357 if test "${gas_cv_assert_ok+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 cat >conftest.
$ac_ext <<_ACEOF
10363 cat confdefs.h
>>conftest.
$ac_ext
10364 cat >>conftest.
$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10366 #include <assert.h>
10372 /* check for requoting problems */
10373 static int a, b, c, d;
10375 assert (!strcmp(s, "foo bar baz quux"));
10376 /* check for newline handling */
10384 rm -f conftest.
$ac_objext conftest
$ac_exeext
10385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10386 (eval $ac_link) 2>conftest.er1
10388 grep -v '^ *+' conftest.er1
>conftest.err
10390 cat conftest.err
>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } &&
10393 { ac_try
='test -z "$ac_c_werror_flag"
10394 || test ! -s conftest.err'
10395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10396 (eval $ac_try) 2>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); }; } &&
10400 { ac_try
='test -s conftest$ac_exeext'
10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10402 (eval $ac_try) 2>&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); }; }; then
10406 gas_cv_assert_ok
=yes
10408 echo "$as_me: failed program was:" >&5
10409 sed 's/^/| /' conftest.
$ac_ext >&5
10411 gas_cv_assert_ok
=no
10413 rm -f conftest.err conftest.
$ac_objext \
10414 conftest
$ac_exeext conftest.
$ac_ext
10416 echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
10417 echo "${ECHO_T}$gas_cv_assert_ok" >&6
10418 test $gas_cv_assert_ok = yes ||
10419 cat >>confdefs.h
<<\_ACEOF
10420 #define BROKEN_ASSERT 1
10425 # On some systems, the system header files may not declare malloc, realloc,
10426 # and free. There are places where gas needs these functions to have been
10427 # declared -- such as when taking their addresses.
10429 #ifdef HAVE_MEMORY_H
10430 #include <memory.h>
10432 #ifdef HAVE_STRING_H
10433 #include <string.h>
10435 #ifdef HAVE_STRINGS_H
10436 #include <strings.h>
10439 #ifdef HAVE_STDLIB_H
10440 #include <stdlib.h>
10442 #ifdef HAVE_UNISTD_H
10443 #include <unistd.h>
10447 # Does errno.h declare errno, or do we have to add a separate declaration
10450 echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
10451 echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
10452 if test "${gas_cv_decl_needed_errno+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 cat >conftest.
$ac_ext <<_ACEOF
10458 cat confdefs.h
>>conftest.
$ac_ext
10459 cat >>conftest.
$ac_ext <<_ACEOF
10460 /* end confdefs.h. */
10462 #ifdef HAVE_ERRNO_H
10478 rm -f conftest.
$ac_objext conftest
$ac_exeext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10480 (eval $ac_link) 2>conftest.er1
10482 grep -v '^ *+' conftest.er1
>conftest.err
10484 cat conftest.err
>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); } &&
10487 { ac_try
='test -z "$ac_c_werror_flag"
10488 || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } &&
10494 { ac_try
='test -s conftest$ac_exeext'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then
10500 gas_cv_decl_needed_errno
=no
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.
$ac_ext >&5
10505 gas_cv_decl_needed_errno
=yes
10507 rm -f conftest.err conftest.
$ac_objext \
10508 conftest
$ac_exeext conftest.
$ac_ext
10510 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
10511 echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
10512 if test $gas_cv_decl_needed_errno = yes; then
10514 cat >>confdefs.h
<<\_ACEOF
10515 #define NEED_DECLARATION_ERRNO 1
10521 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
10522 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
10523 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then
10524 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 cat >conftest.
$ac_ext <<_ACEOF
10529 cat confdefs.h
>>conftest.
$ac_ext
10530 cat >>conftest.
$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10532 #include <unistd.h>
10536 extern int getopt (int, char *const*, const char *);
10541 rm -f conftest.
$ac_objext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10543 (eval $ac_compile) 2>conftest.er1
10545 grep -v '^ *+' conftest.er1
>conftest.err
10547 cat conftest.err
>&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } &&
10550 { ac_try
='test -z "$ac_c_werror_flag"
10551 || test ! -s conftest.err'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; } &&
10557 { ac_try
='test -s conftest.$ac_objext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 gas_cv_decl_getopt_unistd_h
=yes
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.
$ac_ext >&5
10568 gas_cv_decl_getopt_unistd_h
=no
10570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10573 echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
10574 echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6
10575 if test $gas_cv_decl_getopt_unistd_h = yes; then
10577 cat >>confdefs.h
<<\_ACEOF
10578 #define HAVE_DECL_GETOPT 1
10584 echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
10585 echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
10586 if test "${gas_cv_decl_needed_environ+set}" = set; then
10587 echo $ECHO_N "(cached) $ECHO_C" >&6
10589 cat >conftest.
$ac_ext <<_ACEOF
10592 cat confdefs.h
>>conftest.
$ac_ext
10593 cat >>conftest.
$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10608 rm -f conftest.
$ac_objext conftest
$ac_exeext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10610 (eval $ac_link) 2>conftest.er1
10612 grep -v '^ *+' conftest.er1
>conftest.err
10614 cat conftest.err
>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try
='test -z "$ac_c_werror_flag"
10618 || test ! -s conftest.err'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try
='test -s conftest$ac_exeext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 gas_cv_decl_needed_environ
=no
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.
$ac_ext >&5
10635 gas_cv_decl_needed_environ
=yes
10637 rm -f conftest.err conftest.
$ac_objext \
10638 conftest
$ac_exeext conftest.
$ac_ext
10640 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
10641 echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
10642 if test $gas_cv_decl_needed_environ = yes; then
10644 cat >>confdefs.h
<<\_ACEOF
10645 #define NEED_DECLARATION_ENVIRON 1
10651 echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
10652 echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6
10653 if test "${gas_cv_decl_needed_ffs+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 cat >conftest.
$ac_ext <<_ACEOF
10659 cat confdefs.h
>>conftest.
$ac_ext
10660 cat >>conftest.
$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10667 typedef int (*f)(int);
10675 rm -f conftest.
$ac_objext conftest
$ac_exeext
10676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10677 (eval $ac_link) 2>conftest.er1
10679 grep -v '^ *+' conftest.er1
>conftest.err
10681 cat conftest.err
>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try
='test -z "$ac_c_werror_flag"
10685 || test ! -s conftest.err'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; } &&
10691 { ac_try
='test -s conftest$ac_exeext'
10692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693 (eval $ac_try) 2>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); }; }; then
10697 gas_cv_decl_needed_ffs
=no
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.
$ac_ext >&5
10702 gas_cv_decl_needed_ffs
=yes
10704 rm -f conftest.err conftest.
$ac_objext \
10705 conftest
$ac_exeext conftest.
$ac_ext
10707 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
10708 echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6
10709 if test $gas_cv_decl_needed_ffs = yes; then
10711 cat >>confdefs.h
<<\_ACEOF
10712 #define NEED_DECLARATION_FFS 1
10718 echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
10719 echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
10720 if test "${gas_cv_decl_needed_free+set}" = set; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 cat >conftest.
$ac_ext <<_ACEOF
10726 cat confdefs.h
>>conftest.
$ac_ext
10727 cat >>conftest.
$ac_ext <<_ACEOF
10728 /* end confdefs.h. */
10734 typedef void (*f)();
10742 rm -f conftest.
$ac_objext conftest
$ac_exeext
10743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10744 (eval $ac_link) 2>conftest.er1
10746 grep -v '^ *+' conftest.er1
>conftest.err
10748 cat conftest.err
>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } &&
10751 { ac_try
='test -z "$ac_c_werror_flag"
10752 || test ! -s conftest.err'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; } &&
10758 { ac_try
='test -s conftest$ac_exeext'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; }; then
10764 gas_cv_decl_needed_free
=no
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.
$ac_ext >&5
10769 gas_cv_decl_needed_free
=yes
10771 rm -f conftest.err conftest.
$ac_objext \
10772 conftest
$ac_exeext conftest.
$ac_ext
10774 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
10775 echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
10776 if test $gas_cv_decl_needed_free = yes; then
10778 cat >>confdefs.h
<<\_ACEOF
10779 #define NEED_DECLARATION_FREE 1
10785 echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
10786 echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
10787 if test "${gas_cv_decl_needed_malloc+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 cat >conftest.
$ac_ext <<_ACEOF
10793 cat confdefs.h
>>conftest.
$ac_ext
10794 cat >>conftest.
$ac_ext <<_ACEOF
10795 /* end confdefs.h. */
10801 typedef char *(*f)();
10809 rm -f conftest.
$ac_objext conftest
$ac_exeext
10810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10811 (eval $ac_link) 2>conftest.er1
10813 grep -v '^ *+' conftest.er1
>conftest.err
10815 cat conftest.err
>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } &&
10818 { ac_try
='test -z "$ac_c_werror_flag"
10819 || test ! -s conftest.err'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; } &&
10825 { ac_try
='test -s conftest$ac_exeext'
10826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10827 (eval $ac_try) 2>&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); }; }; then
10831 gas_cv_decl_needed_malloc
=no
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.
$ac_ext >&5
10836 gas_cv_decl_needed_malloc
=yes
10838 rm -f conftest.err conftest.
$ac_objext \
10839 conftest
$ac_exeext conftest.
$ac_ext
10841 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
10842 echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
10843 if test $gas_cv_decl_needed_malloc = yes; then
10845 cat >>confdefs.h
<<\_ACEOF
10846 #define NEED_DECLARATION_MALLOC 1
10852 echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
10853 echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
10854 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
10855 echo $ECHO_N "(cached) $ECHO_C" >&6
10857 cat >conftest.
$ac_ext <<_ACEOF
10860 cat confdefs.h
>>conftest.
$ac_ext
10861 cat >>conftest.
$ac_ext <<_ACEOF
10862 /* end confdefs.h. */
10868 typedef char *(*f)();
10876 rm -f conftest.
$ac_objext conftest
$ac_exeext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10878 (eval $ac_link) 2>conftest.er1
10880 grep -v '^ *+' conftest.er1
>conftest.err
10882 cat conftest.err
>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try
='test -z "$ac_c_werror_flag"
10886 || test ! -s conftest.err'
10887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888 (eval $ac_try) 2>&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); }; } &&
10892 { ac_try
='test -s conftest$ac_exeext'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; }; then
10898 gas_cv_decl_needed_sbrk
=no
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.
$ac_ext >&5
10903 gas_cv_decl_needed_sbrk
=yes
10905 rm -f conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10908 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
10909 echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
10910 if test $gas_cv_decl_needed_sbrk = yes; then
10912 cat >>confdefs.h
<<\_ACEOF
10913 #define NEED_DECLARATION_SBRK 1
10919 echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
10920 echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
10921 if test "${gas_cv_decl_needed_strstr+set}" = set; then
10922 echo $ECHO_N "(cached) $ECHO_C" >&6
10924 cat >conftest.
$ac_ext <<_ACEOF
10927 cat confdefs.h
>>conftest.
$ac_ext
10928 cat >>conftest.
$ac_ext <<_ACEOF
10929 /* end confdefs.h. */
10935 typedef char *(*f)();
10943 rm -f conftest.
$ac_objext conftest
$ac_exeext
10944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10945 (eval $ac_link) 2>conftest.er1
10947 grep -v '^ *+' conftest.er1
>conftest.err
10949 cat conftest.err
>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); } &&
10952 { ac_try
='test -z "$ac_c_werror_flag"
10953 || test ! -s conftest.err'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; } &&
10959 { ac_try
='test -s conftest$ac_exeext'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then
10965 gas_cv_decl_needed_strstr
=no
10967 echo "$as_me: failed program was:" >&5
10968 sed 's/^/| /' conftest.
$ac_ext >&5
10970 gas_cv_decl_needed_strstr
=yes
10972 rm -f conftest.err conftest.
$ac_objext \
10973 conftest
$ac_exeext conftest.
$ac_ext
10975 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
10976 echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
10977 if test $gas_cv_decl_needed_strstr = yes; then
10979 cat >>confdefs.h
<<\_ACEOF
10980 #define NEED_DECLARATION_STRSTR 1
10988 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
10990 ac_config_commands
="$ac_config_commands default"
10993 cat >confcache
<<\_ACEOF
10994 # This file is a shell script that caches the results of configure
10995 # tests run on this system so they can be shared between configure
10996 # scripts and configure runs, see configure's option --config-cache.
10997 # It is not useful on other systems. If it contains results you don't
10998 # want to keep, you may remove or edit it.
11000 # config.status only pays attention to the cache file if you give it
11001 # the --recheck option to rerun configure.
11003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11005 # following values.
11009 # The following way of writing the cache mishandles newlines in values,
11010 # but we know of no workaround that is simple, portable, and efficient.
11011 # So, don't put newlines in cache variables' values.
11012 # Ultrix sh set writes to stderr and can't be redirected directly,
11013 # and sets the high bit in the cache file unless we assign to the vars.
11016 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11018 # `set' does not quote correctly, so add quotes (double-quote
11019 # substitution turns \\\\ into \\, and sed turns \\ into \).
11022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11025 # `set' quotes correctly as required by POSIX, so do not add quotes.
11027 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11034 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11036 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11038 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11039 if test -w $cache_file; then
11040 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11041 cat confcache
>$cache_file
11043 echo "not updating unwritable cache $cache_file"
11048 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11049 # Let make expand exec_prefix.
11050 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11052 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11053 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11054 # trailing colons and then remove the whole line if VPATH becomes empty
11055 # (actually we leave an empty line to preserve line numbers).
11056 if test "x$srcdir" = x.
; then
11057 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11058 s/:*\$(srcdir):*/:/;
11059 s/:*\${srcdir}:*/:/;
11061 s/^\([^=]*=[ ]*\):*/\1/;
11067 DEFS
=-DHAVE_CONFIG_H
11071 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11072 # 1. Remove the extension, and $U if already installed.
11073 ac_i
=`echo "$ac_i" |
11074 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11076 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11077 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11079 LIBOBJS
=$ac_libobjs
11081 LTLIBOBJS
=$ac_ltlibobjs
11084 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11085 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11086 Usually this means the macro was only invoked conditionally." >&5
11087 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11088 Usually this means the macro was only invoked conditionally." >&2;}
11089 { (exit 1); exit 1; }; }
11091 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11092 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11093 Usually this means the macro was only invoked conditionally." >&5
11094 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11095 Usually this means the macro was only invoked conditionally." >&2;}
11096 { (exit 1); exit 1; }; }
11098 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11099 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11100 Usually this means the macro was only invoked conditionally." >&5
11101 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11102 Usually this means the macro was only invoked conditionally." >&2;}
11103 { (exit 1); exit 1; }; }
11106 : ${CONFIG_STATUS=./config.status}
11107 ac_clean_files_save
=$ac_clean_files
11108 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11109 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11110 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11111 cat >$CONFIG_STATUS <<_ACEOF
11113 # Generated by $as_me.
11114 # Run this file to recreate the current configuration.
11115 # Compiler output produced by configure, useful for debugging
11116 # configure, is in config.log if it exists.
11119 ac_cs_recheck=false
11121 SHELL=\${CONFIG_SHELL-$SHELL}
11124 cat >>$CONFIG_STATUS <<\_ACEOF
11125 ## --------------------- ##
11126 ## M4sh Initialization. ##
11127 ## --------------------- ##
11129 # Be Bourne compatible
11130 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11133 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11134 # is contrary to our usage. Disable this feature.
11135 alias -g '${1+"$@"}'='"$@"'
11136 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11139 DUALCASE
=1; export DUALCASE
# for MKS sh
11141 # Support unset when possible.
11142 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11149 # Work around bugs in pre-3.0 UWIN ksh.
11150 $as_unset ENV MAIL MAILPATH
11157 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11158 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11159 LC_TELEPHONE LC_TIME
11161 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11162 eval $as_var=C
; export $as_var
11168 # Required to use basename.
11169 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11175 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11176 as_basename
=basename
11182 # Name of the executable.
11183 as_me
=`$as_basename "$0" ||
11184 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11185 X"$0" : 'X\(//\)$' \| \
11186 X"$0" : 'X\(/\)$' \| \
11187 . : '\(.\)' 2>/dev/null ||
11189 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11190 /^X\/\(\/\/\)$/{ s//\1/; q; }
11191 /^X\/\(\/\).*/{ s//\1/; q; }
11195 # PATH needs CR, and LINENO needs CR and PATH.
11196 # Avoid depending upon Character Ranges.
11197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11200 as_cr_digits
='0123456789'
11201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11203 # The user is always right.
11204 if test "${PATH_SEPARATOR+set}" != set; then
11205 echo "#! /bin/sh" >conf$$.sh
11206 echo "exit 0" >>conf$$.sh
11208 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11217 as_lineno_1
=$LINENO
11218 as_lineno_2
=$LINENO
11219 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11220 test "x$as_lineno_1" != "x$as_lineno_2" &&
11221 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11222 # Find who we are. Look in the path if we contain no path at all
11225 *[\\/]* ) as_myself
=$0 ;;
11226 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11227 for as_dir
in $PATH
11230 test -z "$as_dir" && as_dir
=.
11231 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11236 # We did not find ourselves, most probably we were run as `sh COMMAND'
11237 # in which case we are not to be found in the path.
11238 if test "x$as_myself" = x
; then
11241 if test ! -f "$as_myself"; then
11242 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11243 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11244 { (exit 1); exit 1; }; }
11246 case $CONFIG_SHELL in
11248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11249 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11252 test -z "$as_dir" && as_dir
=.
11253 for as_base
in sh bash ksh sh5
; do
11256 if ("$as_dir/$as_base" -c '
11257 as_lineno_1=$LINENO
11258 as_lineno_2=$LINENO
11259 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11260 test "x$as_lineno_1" != "x$as_lineno_2" &&
11261 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11262 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11263 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11264 CONFIG_SHELL
=$as_dir/$as_base
11265 export CONFIG_SHELL
11266 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11274 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11275 # uniformly replaced by the line number. The first 'sed' inserts a
11276 # line-number line before each line; the second 'sed' does the real
11277 # work. The second script uses 'N' to pair each line-number line
11278 # with the numbered line, and appends trailing '-' during
11279 # substitution so that $LINENO is not a special case at line end.
11280 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11281 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11282 sed '=' <$as_myself |
11287 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11290 s,^['$as_cr_digits']*\n,,
11291 ' >$as_me.lineno
&&
11292 chmod +x
$as_me.lineno ||
11293 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11294 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11295 { (exit 1); exit 1; }; }
11297 # Don't try to exec as it changes $[0], causing all sort of problems
11298 # (the dirname of $[0] is not the place where we might find the
11299 # original and so on. Autoconf is especially sensible to this).
11301 # Exit status is that of the last command.
11306 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11307 *c
*,-n*) ECHO_N
= ECHO_C
='
11309 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11310 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11313 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11319 rm -f conf$$ conf$$.exe conf$$.
file
11321 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11322 # We could just check for DJGPP; but this test a) works b) is more generic
11323 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11324 if test -f conf$$.exe
; then
11325 # Don't use ln at all; we don't have any links
11330 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11335 rm -f conf$$ conf$$.exe conf$$.
file
11337 if mkdir
-p .
2>/dev
/null
; then
11340 test -d .
/-p && rmdir .
/-p
11344 as_executable_p
="test -f"
11346 # Sed expression to map a string onto a valid CPP name.
11347 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11349 # Sed expression to map a string onto a valid variable name.
11350 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11354 # We need space, tab and new line, in precisely that order.
11364 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11365 # report actual input values of CONFIG_FILES etc. instead of their
11366 # values after options handling. Logging --version etc. is OK.
11370 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11371 ## Running $as_me. ##
11376 This file was extended by $as_me, which was
11377 generated by GNU Autoconf 2.59. Invocation command line was
11379 CONFIG_FILES = $CONFIG_FILES
11380 CONFIG_HEADERS = $CONFIG_HEADERS
11381 CONFIG_LINKS = $CONFIG_LINKS
11382 CONFIG_COMMANDS = $CONFIG_COMMANDS
11386 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11390 # Files that config.status was made for.
11391 if test -n "$ac_config_files"; then
11392 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11395 if test -n "$ac_config_headers"; then
11396 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11399 if test -n "$ac_config_links"; then
11400 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11403 if test -n "$ac_config_commands"; then
11404 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11407 cat >>$CONFIG_STATUS <<\_ACEOF
11410 \`$as_me' instantiates files from templates according to the
11411 current configuration.
11413 Usage: $0 [OPTIONS] [FILE]...
11415 -h, --help print this help, then exit
11416 -V, --version print version number, then exit
11417 -q, --quiet do not print progress messages
11418 -d, --debug don't remove temporary files
11419 --recheck update $as_me by reconfiguring in the same conditions
11420 --file=FILE[:TEMPLATE]
11421 instantiate the configuration file FILE
11422 --header=FILE[:TEMPLATE]
11423 instantiate the configuration header FILE
11425 Configuration files:
11428 Configuration headers:
11431 Configuration commands:
11434 Report bugs to <bug-autoconf@gnu.org>."
11437 cat >>$CONFIG_STATUS <<_ACEOF
11440 configured by $0, generated by GNU Autoconf 2.59,
11441 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11443 Copyright (C) 2003 Free Software Foundation, Inc.
11444 This config.status script is free software; the Free Software Foundation
11445 gives unlimited permission to copy, distribute and modify it."
11450 cat >>$CONFIG_STATUS <<\_ACEOF
11451 # If no file are specified by the user, then we need to provide default
11452 # value. By we need to know if files were specified by the user.
11458 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11459 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11467 *) # This is not an option, so the user has probably given explicit
11470 ac_need_defaults
=false
;;
11474 # Handling of the options.
11476 cat >>$CONFIG_STATUS <<\_ACEOF
11477 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11479 --version |
--vers* |
-V )
11480 echo "$ac_cs_version"; exit 0 ;;
11482 # Conflict between --help and --header
11483 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11484 Try \`$0 --help' for more information." >&5
11485 echo "$as_me: error: ambiguous option: $1
11486 Try \`$0 --help' for more information." >&2;}
11487 { (exit 1); exit 1; }; };;
11488 --help |
--hel |
-h )
11489 echo "$ac_cs_usage"; exit 0 ;;
11490 --debug |
--d* |
-d )
11492 --file |
--fil |
--fi |
--f )
11494 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11495 ac_need_defaults
=false
;;
11496 --header |
--heade |
--head |
--hea )
11498 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11499 ac_need_defaults
=false
;;
11500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11501 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11504 # This is an error.
11505 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11506 Try \`$0 --help' for more information." >&5
11507 echo "$as_me: error: unrecognized option: $1
11508 Try \`$0 --help' for more information." >&2;}
11509 { (exit 1); exit 1; }; } ;;
11511 *) ac_config_targets
="$ac_config_targets $1" ;;
11517 ac_configure_extra_args
=
11519 if $ac_cs_silent; then
11521 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11525 cat >>$CONFIG_STATUS <<_ACEOF
11526 if \$ac_cs_recheck; then
11527 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11528 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11533 cat >>$CONFIG_STATUS <<_ACEOF
11535 # INIT-COMMANDS section.
11538 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11539 target_cpu_type=${target_cpu_type}
11540 cgen_cpu_prefix=${cgen_cpu_prefix}
11541 obj_format=${obj_format}
11548 cat >>$CONFIG_STATUS <<\_ACEOF
11549 for ac_config_target
in $ac_config_targets
11551 case "$ac_config_target" in
11552 # Handling of arguments.
11553 "gdb.ini" ) CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
11554 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
11555 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11556 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
11557 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
11558 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11559 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
11560 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
11561 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11562 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11563 { (exit 1); exit 1; }; };;
11567 # If the user did not use the arguments to specify the items to instantiate,
11568 # then the envvar interface is used. Set only those that are not.
11569 # We use the long form for the default assignment because of an extremely
11570 # bizarre bug on SunOS 4.1.3.
11571 if $ac_need_defaults; then
11572 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11573 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11574 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11577 # Have a temporary directory for convenience. Make it in the build tree
11578 # simply because there is no reason to put it here, and in addition,
11579 # creating and moving files from /tmp can sometimes cause problems.
11580 # Create a temporary directory, and hook for its removal unless debugging.
11583 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11584 trap '{ (exit 1); exit 1; }' 1 2 13 15
11587 # Create a (secure) tmp directory for tmp files.
11590 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11591 test -n "$tmp" && test -d "$tmp"
11594 tmp
=.
/confstat$$
-$RANDOM
11595 (umask 077 && mkdir
$tmp)
11598 echo "$me: cannot create a temporary directory in ." >&2
11599 { (exit 1); exit 1; }
11604 cat >>$CONFIG_STATUS <<_ACEOF
11607 # CONFIG_FILES section.
11610 # No need to generate the scripts if there are no CONFIG_FILES.
11611 # This happens for instance when ./config.status config.h
11612 if test -n "\$CONFIG_FILES"; then
11613 # Protect against being on the right side of a sed subst in config.status.
11614 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11615 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11616 s,@SHELL@,$SHELL,;t t
11617 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11618 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11619 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11620 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11621 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11622 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11623 s,@exec_prefix@,$exec_prefix,;t t
11624 s,@prefix@,$prefix,;t t
11625 s,@program_transform_name@,$program_transform_name,;t t
11626 s,@bindir@,$bindir,;t t
11627 s,@sbindir@,$sbindir,;t t
11628 s,@libexecdir@,$libexecdir,;t t
11629 s,@datadir@,$datadir,;t t
11630 s,@sysconfdir@,$sysconfdir,;t t
11631 s,@sharedstatedir@,$sharedstatedir,;t t
11632 s,@localstatedir@,$localstatedir,;t t
11633 s,@libdir@,$libdir,;t t
11634 s,@includedir@,$includedir,;t t
11635 s,@oldincludedir@,$oldincludedir,;t t
11636 s,@infodir@,$infodir,;t t
11637 s,@mandir@,$mandir,;t t
11638 s,@build_alias@,$build_alias,;t t
11639 s,@host_alias@,$host_alias,;t t
11640 s,@target_alias@,$target_alias,;t t
11641 s,@DEFS@,$DEFS,;t t
11642 s,@ECHO_C@,$ECHO_C,;t t
11643 s,@ECHO_N@,$ECHO_N,;t t
11644 s,@ECHO_T@,$ECHO_T,;t t
11645 s,@LIBS@,$LIBS,;t t
11646 s,@build@,$build,;t t
11647 s,@build_cpu@,$build_cpu,;t t
11648 s,@build_vendor@,$build_vendor,;t t
11649 s,@build_os@,$build_os,;t t
11650 s,@host@,$host,;t t
11651 s,@host_cpu@,$host_cpu,;t t
11652 s,@host_vendor@,$host_vendor,;t t
11653 s,@host_os@,$host_os,;t t
11654 s,@target@,$target,;t t
11655 s,@target_cpu@,$target_cpu,;t t
11656 s,@target_vendor@,$target_vendor,;t t
11657 s,@target_os@,$target_os,;t t
11659 s,@CFLAGS@,$CFLAGS,;t t
11660 s,@LDFLAGS@,$LDFLAGS,;t t
11661 s,@CPPFLAGS@,$CPPFLAGS,;t t
11662 s,@ac_ct_CC@,$ac_ct_CC,;t t
11663 s,@EXEEXT@,$EXEEXT,;t t
11664 s,@OBJEXT@,$OBJEXT,;t t
11665 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11666 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11667 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11668 s,@CYGPATH_W@,$CYGPATH_W,;t t
11669 s,@PACKAGE@,$PACKAGE,;t t
11670 s,@VERSION@,$VERSION,;t t
11671 s,@ACLOCAL@,$ACLOCAL,;t t
11672 s,@AUTOCONF@,$AUTOCONF,;t t
11673 s,@AUTOMAKE@,$AUTOMAKE,;t t
11674 s,@AUTOHEADER@,$AUTOHEADER,;t t
11675 s,@MAKEINFO@,$MAKEINFO,;t t
11676 s,@install_sh@,$install_sh,;t t
11677 s,@STRIP@,$STRIP,;t t
11678 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11679 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11680 s,@mkdir_p@,$mkdir_p,;t t
11682 s,@SET_MAKE@,$SET_MAKE,;t t
11683 s,@am__leading_dot@,$am__leading_dot,;t t
11684 s,@AMTAR@,$AMTAR,;t t
11685 s,@am__tar@,$am__tar,;t t
11686 s,@am__untar@,$am__untar,;t t
11687 s,@DEPDIR@,$DEPDIR,;t t
11688 s,@am__include@,$am__include,;t t
11689 s,@am__quote@,$am__quote,;t t
11690 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11691 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11692 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11693 s,@CCDEPMODE@,$CCDEPMODE,;t t
11694 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11695 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11696 s,@LN_S@,$LN_S,;t t
11697 s,@RANLIB@,$RANLIB,;t t
11698 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11699 s,@LIBTOOL@,$LIBTOOL,;t t
11700 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
11701 s,@GDBINIT@,$GDBINIT,;t t
11702 s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
11703 s,@extra_objects@,$extra_objects,;t t
11704 s,@target_cpu_type@,$target_cpu_type,;t t
11705 s,@obj_format@,$obj_format,;t t
11706 s,@te_file@,$te_file,;t t
11707 s,@install_tooldir@,$install_tooldir,;t t
11708 s,@atof@,$atof,;t t
11709 s,@BFDLIB@,$BFDLIB,;t t
11710 s,@OPCODES_LIB@,$OPCODES_LIB,;t t
11711 s,@BFDVER_H@,$BFDVER_H,;t t
11712 s,@ALL_OBJ_DEPS@,$ALL_OBJ_DEPS,;t t
11713 s,@YACC@,$YACC,;t t
11715 s,@LEXLIB@,$LEXLIB,;t t
11716 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11718 s,@EGREP@,$EGREP,;t t
11719 s,@ALLOCA@,$ALLOCA,;t t
11720 s,@USE_NLS@,$USE_NLS,;t t
11721 s,@MSGFMT@,$MSGFMT,;t t
11722 s,@GMSGFMT@,$GMSGFMT,;t t
11723 s,@XGETTEXT@,$XGETTEXT,;t t
11724 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
11725 s,@CATALOGS@,$CATALOGS,;t t
11726 s,@CATOBJEXT@,$CATOBJEXT,;t t
11727 s,@DATADIRNAME@,$DATADIRNAME,;t t
11728 s,@GMOFILES@,$GMOFILES,;t t
11729 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
11730 s,@INTLDEPS@,$INTLDEPS,;t t
11731 s,@INTLLIBS@,$INTLLIBS,;t t
11732 s,@INTLOBJS@,$INTLOBJS,;t t
11733 s,@POFILES@,$POFILES,;t t
11734 s,@POSUB@,$POSUB,;t t
11735 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
11736 s,@GT_NO@,$GT_NO,;t t
11737 s,@GT_YES@,$GT_YES,;t t
11738 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11740 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11741 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11742 s,@MAINT@,$MAINT,;t t
11743 s,@LIBM@,$LIBM,;t t
11744 s,@LIBOBJS@,$LIBOBJS,;t t
11745 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11750 cat >>$CONFIG_STATUS <<\_ACEOF
11751 # Split the substitutions into bite-sized pieces for seds with
11752 # small command number limits, like on Digital OSF/1 and HP-UX.
11753 ac_max_sed_lines
=48
11754 ac_sed_frag
=1 # Number of current file.
11755 ac_beg
=1 # First line for current file.
11756 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11759 while $ac_more_lines; do
11760 if test $ac_beg -gt 1; then
11761 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11763 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11765 if test ! -s $tmp/subs.frag
; then
11766 ac_more_lines
=false
11768 # The purpose of the label and of the branching condition is to
11769 # speed up the sed processing (if there are no `@' at all, there
11770 # is no need to browse any of the substitutions).
11771 # These are the two extra sed commands mentioned above.
11773 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11774 if test -z "$ac_sed_cmds"; then
11775 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11777 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11779 ac_sed_frag
=`expr $ac_sed_frag + 1`
11781 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11784 if test -z "$ac_sed_cmds"; then
11787 fi # test -n "$CONFIG_FILES"
11790 cat >>$CONFIG_STATUS <<\_ACEOF
11791 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11792 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11794 - |
*:- |
*:-:* ) # input from stdin
11796 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11797 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11798 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11799 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11800 * ) ac_file_in
=$ac_file.
in ;;
11803 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11804 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11805 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11806 X"$ac_file" : 'X\(//\)[^/]' \| \
11807 X"$ac_file" : 'X\(//\)$' \| \
11808 X"$ac_file" : 'X\(/\)' \| \
11809 . : '\(.\)' 2>/dev/null ||
11811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11813 /^X\(\/\/\)$/{ s//\1/; q; }
11814 /^X\(\/\).*/{ s//\1/; q; }
11816 { if $as_mkdir_p; then
11821 while test ! -d "$as_dir"; do
11822 as_dirs
="$as_dir $as_dirs"
11823 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11825 X"$as_dir" : 'X\(//\)[^/]' \| \
11826 X"$as_dir" : 'X\(//\)$' \| \
11827 X"$as_dir" : 'X\(/\)' \| \
11828 . : '\(.\)' 2>/dev/null ||
11830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11831 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11832 /^X\(\/\/\)$/{ s//\1/; q; }
11833 /^X\(\/\).*/{ s//\1/; q; }
11836 test ! -n "$as_dirs" || mkdir
$as_dirs
11837 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11838 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11839 { (exit 1); exit 1; }; }; }
11843 if test "$ac_dir" != .
; then
11844 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11845 # A "../" for each directory in $ac_dir_suffix.
11846 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11848 ac_dir_suffix
= ac_top_builddir
=
11852 .
) # No --srcdir option. We are building in place.
11854 if test -z "$ac_top_builddir"; then
11857 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11859 [\\/]* | ?
:[\\/]* ) # Absolute path.
11860 ac_srcdir
=$srcdir$ac_dir_suffix;
11861 ac_top_srcdir
=$srcdir ;;
11862 *) # Relative path.
11863 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11864 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11867 # Do not use `cd foo && pwd` to compute absolute paths, because
11868 # the directories may not exist.
11870 .
) ac_abs_builddir
="$ac_dir";;
11873 .
) ac_abs_builddir
=`pwd`;;
11874 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11875 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11878 case $ac_abs_builddir in
11879 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11881 case ${ac_top_builddir}.
in
11882 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11883 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11884 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11887 case $ac_abs_builddir in
11888 .
) ac_abs_srcdir
=$ac_srcdir;;
11891 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11892 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11893 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11896 case $ac_abs_builddir in
11897 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11899 case $ac_top_srcdir in
11900 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11901 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11902 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11908 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11909 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11912 if test x
"$ac_file" != x-
; then
11913 { echo "$as_me:$LINENO: creating $ac_file" >&5
11914 echo "$as_me: creating $ac_file" >&6;}
11917 # Let's still pretend it is `configure' which instantiates (i.e., don't
11918 # use $as_me), people would be surprised to read:
11919 # /* config.h. Generated by config.status. */
11920 if test x
"$ac_file" = x-
; then
11923 configure_input
="$ac_file. "
11925 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11926 sed 's,.*/,,'` by configure."
11928 # First look for the input files in the build tree, otherwise in the
11930 ac_file_inputs
=`IFS=:
11931 for f in $ac_file_in; do
11933 -) echo $tmp/stdin ;;
11935 # Absolute (can't be DOS-style, as IFS=:)
11936 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11937 echo "$as_me: error: cannot find input file: $f" >&2;}
11938 { (exit 1); exit 1; }; }
11941 if test -f "$f"; then
11944 elif test -f "$srcdir/$f"; then
11949 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11950 echo "$as_me: error: cannot find input file: $f" >&2;}
11951 { (exit 1); exit 1; }; }
11954 done` ||
{ (exit 1); exit 1; }
11956 cat >>$CONFIG_STATUS <<_ACEOF
11960 cat >>$CONFIG_STATUS <<\_ACEOF
11962 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11963 s
,@configure_input@
,$configure_input,;t t
11964 s
,@srcdir@
,$ac_srcdir,;t t
11965 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11966 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11967 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11968 s
,@builddir@
,$ac_builddir,;t t
11969 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11970 s
,@top_builddir@
,$ac_top_builddir,;t t
11971 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11972 s
,@INSTALL@
,$ac_INSTALL,;t t
11973 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11975 if test x"$ac_file" != x-; then
11976 mv $tmp/out $ac_file
11984 cat >>$CONFIG_STATUS <<\_ACEOF
11987 # CONFIG_HEADER section.
11990 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11991 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11993 # ac_d sets the value in "#define NAME VALUE" lines.
11994 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11995 ac_dB
='[ ].*$,\1#\2'
11998 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11999 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12000 ac_uB
='$,\1#\2define\3'
12004 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12007 - |
*:- |
*:-:* ) # input from stdin
12009 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12011 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12012 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12013 * ) ac_file_in
=$ac_file.
in ;;
12016 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12017 echo "$as_me: creating $ac_file" >&6;}
12019 # First look for the input files in the build tree, otherwise in the
12021 ac_file_inputs
=`IFS=:
12022 for f in $ac_file_in; do
12024 -) echo $tmp/stdin ;;
12026 # Absolute (can't be DOS-style, as IFS=:)
12027 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12028 echo "$as_me: error: cannot find input file: $f" >&2;}
12029 { (exit 1); exit 1; }; }
12030 # Do quote $f, to prevent DOS paths from being IFS'd.
12033 if test -f "$f"; then
12036 elif test -f "$srcdir/$f"; then
12041 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12042 echo "$as_me: error: cannot find input file: $f" >&2;}
12043 { (exit 1); exit 1; }; }
12046 done` ||
{ (exit 1); exit 1; }
12047 # Remove the trailing spaces.
12048 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12052 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12053 # `conftest.undefs', that substitutes the proper values into
12054 # config.h.in to produce config.h. The first handles `#define'
12055 # templates, and the second `#undef' templates.
12056 # And first: Protect against being on the right side of a sed subst in
12057 # config.status. Protect against being in an unquoted here document
12058 # in config.status.
12059 rm -f conftest.defines conftest.undefs
12060 # Using a here document instead of a string reduces the quoting nightmare.
12061 # Putting comments in sed scripts is not portable.
12063 # `end' is used to avoid that the second main sed command (meant for
12064 # 0-ary CPP macros) applies to n-ary macro definitions.
12065 # See the Autoconf documentation for `clear'.
12066 cat >confdef2sed.
sed <<\_ACEOF
12071 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12073 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12076 # If some macros were called several times there might be several times
12077 # the same #defines, which is useless. Nevertheless, we may not want to
12078 # sort them, since we want the *last* AC-DEFINE to be honored.
12079 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12080 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12081 rm -f confdef2sed.sed
12083 # This sed command replaces #undef with comments. This is necessary, for
12084 # example, in the case of _POSIX_SOURCE, which is predefined and required
12085 # on some systems where configure will not decide to define it.
12086 cat >>conftest.undefs <<\_ACEOF
12087 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12090 # Break up conftest.defines because some shells have a limit on the size
12091 # of here documents, and old seds have small limits too (100 cmds).
12092 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12093 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12094 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12095 echo ' :' >>$CONFIG_STATUS
12096 rm -f conftest.tail
12097 while grep . conftest.defines >/dev/null
12099 # Write a limited-size here document to $tmp/defines.sed.
12100 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12101 # Speed up: don't consider the non `#define' lines.
12102 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12103 # Work around the forget-to-reset-the-flag bug.
12104 echo 't clr' >>$CONFIG_STATUS
12105 echo ': clr' >>$CONFIG_STATUS
12106 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12108 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12110 mv $tmp/out $tmp/in
12112 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12113 rm -f conftest.defines
12114 mv conftest.
tail conftest.defines
12116 rm -f conftest.defines
12117 echo ' fi # grep' >>$CONFIG_STATUS
12118 echo >>$CONFIG_STATUS
12120 # Break up conftest.undefs because some shells have a limit on the size
12121 # of here documents, and old seds have small limits too (100 cmds).
12122 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12123 rm -f conftest.
tail
12124 while grep . conftest.undefs
>/dev
/null
12126 # Write a limited-size here document to $tmp/undefs.sed.
12127 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12128 # Speed up: don't consider the non
`#undef'
12129 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12130 # Work around the forget-to-reset-the-flag bug.
12131 echo 't clr' >>$CONFIG_STATUS
12132 echo ': clr' >>$CONFIG_STATUS
12133 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12135 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12137 mv $tmp/out $tmp/in
12139 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12140 rm -f conftest.undefs
12141 mv conftest.tail conftest.undefs
12143 rm -f conftest.undefs
12145 cat >>$CONFIG_STATUS <<\_ACEOF
12146 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12147 # use $as_me), people would be surprised to read:
12148 # /* config.h. Generated by config.status. */
12149 if test x
"$ac_file" = x-
; then
12150 echo "/* Generated by configure. */" >$tmp/config.h
12152 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12154 cat $tmp/in >>$tmp/config.h
12156 if test x
"$ac_file" != x-
; then
12157 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12158 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12159 echo "$as_me: $ac_file is unchanged" >&6;}
12161 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12163 X"$ac_file" : 'X\(//\)[^/]' \| \
12164 X"$ac_file" : 'X\(//\)$' \| \
12165 X"$ac_file" : 'X\(/\)' \| \
12166 . : '\(.\)' 2>/dev/null ||
12168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12169 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12170 /^X\(\/\/\)$/{ s//\1/; q; }
12171 /^X\(\/\).*/{ s//\1/; q; }
12173 { if $as_mkdir_p; then
12178 while test ! -d "$as_dir"; do
12179 as_dirs
="$as_dir $as_dirs"
12180 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12182 X"$as_dir" : 'X\(//\)[^/]' \| \
12183 X"$as_dir" : 'X\(//\)$' \| \
12184 X"$as_dir" : 'X\(/\)' \| \
12185 . : '\(.\)' 2>/dev/null ||
12187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12189 /^X\(\/\/\)$/{ s//\1/; q; }
12190 /^X\(\/\).*/{ s//\1/; q; }
12193 test ! -n "$as_dirs" || mkdir
$as_dirs
12194 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12195 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12196 { (exit 1); exit 1; }; }; }
12199 mv $tmp/config.h
$ac_file
12203 rm -f $tmp/config.h
12205 # Compute $ac_file's index in $config_headers.
12207 for _am_header
in $config_headers :; do
12208 case $_am_header in
12209 $ac_file |
$ac_file:* )
12212 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12215 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12216 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12217 X$ac_file : 'X\(//\)[^/]' \| \
12218 X$ac_file : 'X\(//\)$' \| \
12219 X$ac_file : 'X\(/\)' \| \
12220 . : '\(.\)' 2>/dev/null ||
12222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12224 /^X\(\/\/\)$/{ s//\1/; q; }
12225 /^X\(\/\).*/{ s//\1/; q; }
12226 s/.*/./; q'`/stamp-h
$_am_stamp_count
12229 cat >>$CONFIG_STATUS <<\_ACEOF
12232 # CONFIG_COMMANDS section.
12234 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12235 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12236 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12237 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12238 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12239 X"$ac_dest" : 'X\(//\)[^/]' \| \
12240 X"$ac_dest" : 'X\(//\)$' \| \
12241 X"$ac_dest" : 'X\(/\)' \| \
12242 . : '\(.\)' 2>/dev/null ||
12244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12246 /^X\(\/\/\)$/{ s//\1/; q; }
12247 /^X\(\/\).*/{ s//\1/; q; }
12249 { if $as_mkdir_p; then
12254 while test ! -d "$as_dir"; do
12255 as_dirs
="$as_dir $as_dirs"
12256 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12258 X"$as_dir" : 'X\(//\)[^/]' \| \
12259 X"$as_dir" : 'X\(//\)$' \| \
12260 X"$as_dir" : 'X\(/\)' \| \
12261 . : '\(.\)' 2>/dev/null ||
12263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12265 /^X\(\/\/\)$/{ s//\1/; q; }
12266 /^X\(\/\).*/{ s//\1/; q; }
12269 test ! -n "$as_dirs" || mkdir
$as_dirs
12270 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12272 { (exit 1); exit 1; }; }; }
12276 if test "$ac_dir" != .
; then
12277 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12278 # A "../" for each directory in $ac_dir_suffix.
12279 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12281 ac_dir_suffix
= ac_top_builddir
=
12285 .
) # No --srcdir option. We are building in place.
12287 if test -z "$ac_top_builddir"; then
12290 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12292 [\\/]* | ?
:[\\/]* ) # Absolute path.
12293 ac_srcdir
=$srcdir$ac_dir_suffix;
12294 ac_top_srcdir
=$srcdir ;;
12295 *) # Relative path.
12296 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12297 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12300 # Do not use `cd foo && pwd` to compute absolute paths, because
12301 # the directories may not exist.
12303 .
) ac_abs_builddir
="$ac_dir";;
12306 .
) ac_abs_builddir
=`pwd`;;
12307 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12308 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12311 case $ac_abs_builddir in
12312 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12314 case ${ac_top_builddir}.
in
12315 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12316 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12317 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12320 case $ac_abs_builddir in
12321 .
) ac_abs_srcdir
=$ac_srcdir;;
12324 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12325 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12326 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12329 case $ac_abs_builddir in
12330 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12332 case $ac_top_srcdir in
12333 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12334 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12335 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12340 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12341 echo "$as_me: executing $ac_dest commands" >&6;}
12343 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
12344 # Strip MF so we end up with the name of the file.
12345 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12346 # Check whether this is an Automake generated Makefile or not.
12347 # We used to match only the files named `Makefile.in', but
12348 # some people rename them; so instead we look at the file content.
12349 # Grep'ing the first line is not enough: some people post-process
12350 # each Makefile.in and add a new line on top of each file to say so.
12351 # So let's grep whole file.
12352 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12353 dirpart
=`(dirname "$mf") 2>/dev/null ||
12354 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12355 X"$mf" : 'X\(//\)[^/]' \| \
12356 X"$mf" : 'X\(//\)$' \| \
12357 X"$mf" : 'X\(/\)' \| \
12358 . : '\(.\)' 2>/dev/null ||
12360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12362 /^X\(\/\/\)$/{ s//\1/; q; }
12363 /^X\(\/\).*/{ s//\1/; q; }
12368 # Extract the definition of DEPDIR, am__include, and am__quote
12369 # from the Makefile without running `make'.
12370 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12371 test -z "$DEPDIR" && continue
12372 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12373 test -z "am__include" && continue
12374 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12375 # When using ansi2knr, U may be empty or an underscore; expand it
12376 U
=`sed -n 's/^U = //p' < "$mf"`
12377 # Find all dependency output files, they are included files with
12378 # $(DEPDIR) in their names. We invoke sed twice because it is the
12379 # simplest approach to changing $(DEPDIR) to its actual value in the
12381 for file in `sed -n "
12382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12384 # Make sure the directory exists.
12385 test -f "$dirpart/$file" && continue
12386 fdir
=`(dirname "$file") 2>/dev/null ||
12387 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12388 X"$file" : 'X\(//\)[^/]' \| \
12389 X"$file" : 'X\(//\)$' \| \
12390 X"$file" : 'X\(/\)' \| \
12391 . : '\(.\)' 2>/dev/null ||
12393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12395 /^X\(\/\/\)$/{ s//\1/; q; }
12396 /^X\(\/\).*/{ s//\1/; q; }
12398 { if $as_mkdir_p; then
12399 mkdir
-p $dirpart/$fdir
12401 as_dir
=$dirpart/$fdir
12403 while test ! -d "$as_dir"; do
12404 as_dirs
="$as_dir $as_dirs"
12405 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12407 X"$as_dir" : 'X\(//\)[^/]' \| \
12408 X"$as_dir" : 'X\(//\)$' \| \
12409 X"$as_dir" : 'X\(/\)' \| \
12410 . : '\(.\)' 2>/dev/null ||
12412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12414 /^X\(\/\/\)$/{ s//\1/; q; }
12415 /^X\(\/\).*/{ s//\1/; q; }
12418 test ! -n "$as_dirs" || mkdir
$as_dirs
12419 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12420 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12421 { (exit 1); exit 1; }; }; }
12423 # echo "creating $dirpart/$file"
12424 echo '# dummy' > "$dirpart/$file"
12428 default
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
12429 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
12430 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
12431 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
12432 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
12433 if test "x$cgen_cpu_prefix" != x
; then
12434 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
12437 sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
12442 cat >>$CONFIG_STATUS <<\_ACEOF
12444 { (exit 0); exit 0; }
12446 chmod +x
$CONFIG_STATUS
12447 ac_clean_files
=$ac_clean_files_save
12450 # configure is writing to config.log, and then calls config.status.
12451 # config.status does its own redirection, appending to config.log.
12452 # Unfortunately, on DOS this fails, as config.log is still kept open
12453 # by configure, so config.status won't be able to write to it; its
12454 # output is simply discarded. So we exec the FD to /dev/null,
12455 # effectively closing config.log, so it can be properly (re)opened and
12456 # appended to by config.status. When coming back to configure, we
12457 # need to make the FD available again.
12458 if test "$no_create" != yes; then
12460 ac_config_status_args
=
12461 test "$silent" = yes &&
12462 ac_config_status_args
="$ac_config_status_args --quiet"
12464 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12466 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12467 # would make configure fail if this is the last instruction.
12468 $ac_cs_success ||
{ (exit 1); exit 1; }