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 NO_WERROR GDBINIT cgen_cpu_prefix extra_objects target_cpu_type obj_format te_file install_tooldir atof OPCODES_LIB YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP EGREP ALLOCA LIBM datarootdir docdir htmldir 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-targets alternative target configurations besides the primary
860 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
861 --enable-werror treat compile warnings as errors
862 --enable-build-warnings enable build-time compiler warnings
863 --disable-nls do not use Native Language Support
864 --enable-maintainer-mode enable make rules and dependencies not useful
865 (and sometimes confusing
) to the casual installer
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --with-gnu-ld assume the C compiler uses GNU ld default
=no
871 --with-pic try to use only PIC
/non-PIC objects default
=use both
873 Some influential environment variables
:
874 CC C compiler
command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
877 nonstandard directory
<lib dir
>
878 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
879 headers
in a nonstandard directory
<include dir
>
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
981 Copyright (C) 2003 Free Software Foundation, Inc.
982 This configure script is free software; the Free Software Foundation
983 gives unlimited permission to copy, distribute and modify it.
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
992 It was created by $as_me, which was
993 generated by GNU Autoconf 2.59. Invocation command line was
1004 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1005 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1006 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1007 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1008 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1011 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1013 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1015 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1016 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1017 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1019 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Strip out --silent because we don't want to record it for future runs.
1046 # Also quote any args containing shell meta-characters.
1047 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_must_keep_next=false
1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069 if test $ac_must_keep_next = true; then
1070 ac_must_keep_next=false # Got value, back to normal.
1073 *=* | --config-cache | -C | -disable-* | --disable-* \
1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076 | -with-* | --with-* | -without-* | --without-* | --x)
1077 case "$ac_configure_args0 " in
1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 -* ) ac_must_keep_next=true ;;
1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085 # Get rid of the leading space.
1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094 # When interrupted or exit'd, cleanup temporary files, and complete
1095 # config.log. We remove comments because anyway the quotes in there
1096 # would cause problems or look ugly.
1097 # WARNING: Be sure not to use single quotes in there, as some shells,
1098 # such as our DU 5.0 friend, will then `close
' the trap.
1099 trap 'exit_status
=$?
1100 # Save into config.log some information that might help in debugging.
1105 ## ---------------- ##
1106 ## Cache variables. ##
1107 ## ---------------- ##
1110 # The following way of writing the cache mishandles newlines in values,
1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1128 ## ----------------- ##
1129 ## Output variables. ##
1130 ## ----------------- ##
1133 for ac_var
in $ac_subst_vars
1135 eval ac_val
=$
`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -n "$ac_subst_files"; then
1147 for ac_var
in $ac_subst_files
1149 eval ac_val
=$
`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -s confdefs.h
; then
1162 sed "/^$/d" confdefs.h |
sort
1165 test "$ac_signal" != 0 &&
1166 echo "$as_me: caught signal $ac_signal"
1167 echo "$as_me: exit $exit_status"
1169 rm -f core
*.core
&&
1170 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1173 for ac_signal in 1 2 13 15; do
1174 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1178 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1179 rm -rf conftest* confdefs.h
1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 # Predefined preprocessor variables.
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_NAME "$PACKAGE_NAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_STRING "$PACKAGE_STRING"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1210 # Let the site file select an alternate cache file if it wants to.
1211 # Prefer explicitly selected file to automatically selected ones.
1212 if test -z "$CONFIG_SITE"; then
1213 if test "x$prefix" != xNONE; then
1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 for ac_site_file in $CONFIG_SITE; do
1220 if test -r "$ac_site_file"; then
1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222 echo "$as_me: loading site script $ac_site_file" >&6;}
1223 sed 's
/^
/|
/' "$ac_site_file" >&5
1228 if test -r "$cache_file"; then
1229 # Some versions of bash will fail to source /dev/null (special
1230 # files actually), so we avoid doing that.
1231 if test -f "$cache_file"; then
1232 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233 echo "$as_me: loading cache $cache_file" >&6;}
1235 [\\/]* | ?:[\\/]* ) . $cache_file;;
1236 *) . ./$cache_file;;
1240 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241 echo "$as_me: creating cache $cache_file" >&6;}
1245 # Check that the precious variables saved in the cache have kept the same
1247 ac_cache_corrupted=false
1248 for ac_var in `(set) 2>&1 |
1249 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251 eval ac_new_set=\$ac_env_${ac_var}_set
1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253 eval ac_new_val="\$ac_env_${ac_var}_value"
1254 case $ac_old_set,$ac_new_set in
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1258 ac_cache_corrupted=: ;;
1260 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1265 if test "x$ac_old_val" != "x$ac_new_val"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1267 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1269 echo "$as_me: former value: $ac_old_val" >&2;}
1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1271 echo "$as_me: current value: $ac_new_val" >&2;}
1272 ac_cache_corrupted=:
1275 # Pass precious variables to config.status.
1276 if test "$ac_new_set" = set; then
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1280 *) ac_arg=$ac_var=$ac_new_val ;;
1282 case " $ac_configure_args " in
1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1288 if $ac_cache_corrupted; then
1289 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1292 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1299 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 for ac_dir in .. $srcdir/..; do
1323 if test -f $ac_dir/install-sh; then
1325 ac_install_sh="$ac_aux_dir/install-sh -c"
1327 elif test -f $ac_dir/install.sh; then
1329 ac_install_sh="$ac_aux_dir/install.sh -c"
1331 elif test -f $ac_dir/shtool; then
1333 ac_install_sh="$ac_aux_dir/shtool install -c"
1337 if test -z "$ac_aux_dir"; then
1338 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1339 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1340 { (exit 1); exit 1; }; }
1342 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346 # Make sure we can run config.sub.
1347 $ac_config_sub sun4 >/dev/null 2>&1 ||
1348 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1349 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1350 { (exit 1); exit 1; }; }
1352 echo "$as_me:$LINENO: checking build system type" >&5
1353 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1354 if test "${ac_cv_build+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 ac_cv_build_alias=$build_alias
1358 test -z "$ac_cv_build_alias" &&
1359 ac_cv_build_alias=`$ac_config_guess`
1360 test -z "$ac_cv_build_alias" &&
1361 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1362 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1363 { (exit 1); exit 1; }; }
1364 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1365 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1366 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1367 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1371 echo "${ECHO_T}$ac_cv_build" >&6
1373 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1374 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1375 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1378 echo "$as_me:$LINENO: checking host system type" >&5
1379 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1380 if test "${ac_cv_host+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 ac_cv_host_alias=$host_alias
1384 test -z "$ac_cv_host_alias" &&
1385 ac_cv_host_alias=$ac_cv_build_alias
1386 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1393 echo "${ECHO_T}$ac_cv_host" >&6
1395 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1396 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1397 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1400 echo "$as_me:$LINENO: checking target system type" >&5
1401 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1402 if test "${ac_cv_target+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_target_alias=$target_alias
1406 test "x$ac_cv_target_alias" = "x" &&
1407 ac_cv_target_alias=$ac_cv_host_alias
1408 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1415 echo "${ECHO_T}$ac_cv_target" >&6
1416 target=$ac_cv_target
1417 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1418 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1419 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1422 # The aliases save the names the user supplied, while $host etc.
1423 # will get canonicalized.
1424 test -n "$target_alias" &&
1425 test "$program_prefix$program_suffix$program_transform_name" = \
1427 program_prefix=${target_alias}-
1429 ac_cpp='$CPP $CPPFLAGS'
1430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1431 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1433 if test -n "$ac_tool_prefix"; then
1434 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1435 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1436 echo "$as_me:$LINENO: checking for $ac_word" >&5
1437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1438 if test "${ac_cv_prog_CC+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 if test -n "$CC"; then
1442 ac_cv_prog_CC="$CC" # Let the user override the test.
1444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1448 test -z "$as_dir" && as_dir=.
1449 for ac_exec_ext in '' $ac_executable_extensions; do
1450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1451 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1461 if test -n "$CC"; then
1462 echo "$as_me:$LINENO: result: $CC" >&5
1463 echo "${ECHO_T}$CC" >&6
1465 echo "$as_me:$LINENO: result: no" >&5
1466 echo "${ECHO_T}no" >&6
1470 if test -z "$ac_cv_prog_CC"; then
1472 # Extract the first word of "gcc", so it can be a program name with args.
1473 set dummy gcc; ac_word=$2
1474 echo "$as_me:$LINENO: checking for $ac_word" >&5
1475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 if test -n "$ac_ct_CC"; then
1480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 ac_cv_prog_ac_ct_CC="gcc"
1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1499 if test -n "$ac_ct_CC"; then
1500 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1501 echo "${ECHO_T}$ac_ct_CC" >&6
1503 echo "$as_me:$LINENO: result: no" >&5
1504 echo "${ECHO_T}no" >&6
1512 if test -z "$CC"; then
1513 if test -n "$ac_tool_prefix"; then
1514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1515 set dummy ${ac_tool_prefix}cc; ac_word=$2
1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_CC+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 if test -n "$CC"; then
1522 ac_cv_prog_CC="$CC" # Let the user override the test.
1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir=.
1529 for ac_exec_ext in '' $ac_executable_extensions; do
1530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1531 ac_cv_prog_CC="${ac_tool_prefix}cc"
1532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 if test -n "$CC"; then
1542 echo "$as_me:$LINENO: result: $CC" >&5
1543 echo "${ECHO_T}$CC" >&6
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1550 if test -z "$ac_cv_prog_CC"; then
1552 # Extract the first word of "cc", so it can be a program name with args.
1553 set dummy cc; ac_word=$2
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 if test -n "$ac_ct_CC"; then
1560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir=.
1567 for ac_exec_ext in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1569 ac_cv_prog_ac_ct_CC="cc"
1570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1579 if test -n "$ac_ct_CC"; then
1580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1581 echo "${ECHO_T}$ac_ct_CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1593 if test -z "$CC"; then
1594 # Extract the first word of "cc", so it can be a program name with args.
1595 set dummy cc; ac_word=$2
1596 echo "$as_me:$LINENO: checking for $ac_word" >&5
1597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598 if test "${ac_cv_prog_CC+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 if test -n "$CC"; then
1602 ac_cv_prog_CC="$CC" # Let the user override the test.
1605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir=.
1610 for ac_exec_ext in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1613 ac_prog_rejected=yes
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test $ac_prog_rejected = yes; then
1624 # We found a bogon in the path, so make sure we never use it.
1625 set dummy $ac_cv_prog_CC
1627 if test $# != 0; then
1628 # We chose a different compiler from the bogus one.
1629 # However, it has the same basename, so the bogon will be chosen
1630 # first if we set CC to just the basename; use the full file name.
1632 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1638 if test -n "$CC"; then
1639 echo "$as_me:$LINENO: result: $CC" >&5
1640 echo "${ECHO_T}$CC" >&6
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1647 if test -z "$CC"; then
1648 if test -n "$ac_tool_prefix"; then
1651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_CC+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$CC"; then
1659 ac_cv_prog_CC="$CC" # Let the user override the test.
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir=.
1666 for ac_exec_ext in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 if test -n "$CC"; then
1679 echo "$as_me:$LINENO: result: $CC" >&5
1680 echo "${ECHO_T}$CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1686 test -n "$CC" && break
1689 if test -z "$CC"; then
1693 # Extract the first word of "$ac_prog", so it can be a program name with args.
1694 set dummy $ac_prog; ac_word=$2
1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 if test -n "$ac_ct_CC"; then
1701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707 test -z "$as_dir" && as_dir=.
1708 for ac_exec_ext in '' $ac_executable_extensions; do
1709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710 ac_cv_prog_ac_ct_CC="$ac_prog"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1720 if test -n "$ac_ct_CC"; then
1721 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1722 echo "${ECHO_T}$ac_ct_CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1728 test -n "$ac_ct_CC" && break
1737 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1738 See \`config.log' for more details.
" >&5
1739 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1740 See \
`config.log' for more details." >&2;}
1741 { (exit 1); exit 1; }; }
1743 # Provide some information about the compiler.
1744 echo "$as_me:$LINENO:" \
1745 "checking for C compiler version" >&5
1746 ac_compiler=`set X
$ac_compile; echo $2`
1747 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1748 (eval $ac_compiler --version </dev/null >&5) 2>&5
1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751 (exit $ac_status); }
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1753 (eval $ac_compiler -v </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1758 (eval $ac_compiler -V </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1763 cat >conftest.$ac_ext <<_ACEOF
1766 cat confdefs.h >>conftest.$ac_ext
1767 cat >>conftest.$ac_ext <<_ACEOF
1768 /* end confdefs.h. */
1778 ac_clean_files_save=$ac_clean_files
1779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1780 # Try to create an executable without -o first, disregard a.out.
1781 # It will help us diagnose broken compilers, and finding out an intuition
1783 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1786 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1787 (eval $ac_link_default) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; then
1791 # Find the output, starting from the most likely. This scheme is
1792 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1795 # Be careful to initialize this variable, since it used to be cached.
1796 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1798 # b.out is created by i960 compilers.
1799 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1801 test -f "$ac_file" || continue
1803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1806 # This is the source file.
1809 # We found the default executable, but exeext='' is most
1813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1814 # FIXME: I believe we export ac_cv_exeext for Libtool,
1815 # but it would be cool to find out if it's true. Does anybody
1816 # maintain Libtool? --akim.
1824 echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1827 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1828 See \`config.log
' for more details." >&5
1829 echo "$as_me: error: C compiler cannot create executables
1830 See \`config.log' for more details.
" >&2;}
1831 { (exit 77); exit 77; }; }
1834 ac_exeext=$ac_cv_exeext
1835 echo "$as_me:$LINENO: result
: $ac_file" >&5
1836 echo "${ECHO_T}$ac_file" >&6
1838 # Check the compiler produces executables we can run. If not, either
1839 # the compiler is broken, or we cross compile.
1840 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1841 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1843 # If not cross compiling, check that we can run a simple program.
1844 if test "$cross_compiling" != yes; then
1845 if { ac_try='./$ac_file'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1850 (exit $ac_status); }; }; then
1853 if test "$cross_compiling" = maybe; then
1856 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1857 If you meant to cross compile
, use \
`--host'.
1858 See \`config.log
' for more details." >&5
1859 echo "$as_me: error: cannot run C compiled programs.
1860 If you meant to cross compile, use \`--host'.
1861 See \
`config.log' for more details." >&2;}
1862 { (exit 1); exit 1; }; }
1866 echo "$as_me:$LINENO: result: yes" >&5
1867 echo "${ECHO_T}yes" >&6
1869 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1870 ac_clean_files=$ac_clean_files_save
1871 # Check the compiler produces executables we can run. If not, either
1872 # the compiler is broken, or we cross compile.
1873 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1874 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1875 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1876 echo "${ECHO_T}$cross_compiling" >&6
1878 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1879 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1881 (eval $ac_link) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; then
1885 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1886 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1887 # work properly (i.e., refer to `conftest.exe'), while it won't with
1889 for ac_file
in conftest.exe conftest conftest.
*; do
1890 test -f "$ac_file" ||
continue
1892 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1893 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1900 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1901 See \`config.log' for more details." >&5
1902 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&2;}
1904 { (exit 1); exit 1; }; }
1907 rm -f conftest
$ac_cv_exeext
1908 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1909 echo "${ECHO_T}$ac_cv_exeext" >&6
1911 rm -f conftest.
$ac_ext
1912 EXEEXT
=$ac_cv_exeext
1914 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1915 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1916 if test "${ac_cv_objext+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 cat >conftest.
$ac_ext <<_ACEOF
1922 cat confdefs.h
>>conftest.
$ac_ext
1923 cat >>conftest.
$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1934 rm -f conftest.o conftest.obj
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1936 (eval $ac_compile) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }; then
1940 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1942 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1943 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1948 echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1951 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1952 See \`config.log' for more details." >&5
1953 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&2;}
1955 { (exit 1); exit 1; }; }
1958 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1960 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1961 echo "${ECHO_T}$ac_cv_objext" >&6
1962 OBJEXT
=$ac_cv_objext
1964 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1965 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1966 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 cat >conftest.
$ac_ext <<_ACEOF
1972 cat confdefs.h
>>conftest.
$ac_ext
1973 cat >>conftest.
$ac_ext <<_ACEOF
1974 /* end confdefs.h. */
1987 rm -f conftest.
$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>conftest.er1
1991 grep -v '^ *+' conftest.er1
>conftest.err
1993 cat conftest.err
>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try
='test -z "$ac_c_werror_flag"
1997 || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try
='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2020 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2022 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2023 ac_test_CFLAGS
=${CFLAGS+set}
2024 ac_save_CFLAGS
=$CFLAGS
2026 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2027 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2028 if test "${ac_cv_prog_cc_g+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 cat >conftest.
$ac_ext <<_ACEOF
2034 cat confdefs.h
>>conftest.
$ac_ext
2035 cat >>conftest.
$ac_ext <<_ACEOF
2036 /* end confdefs.h. */
2046 rm -f conftest.
$ac_objext
2047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2048 (eval $ac_compile) 2>conftest.er1
2050 grep -v '^ *+' conftest.er1
>conftest.err
2052 cat conftest.err
>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try
='test -z "$ac_c_werror_flag"
2056 || test ! -s conftest.err'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; } &&
2062 { ac_try
='test -s conftest.$ac_objext'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; }; then
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2078 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2079 if test "$ac_test_CFLAGS" = set; then
2080 CFLAGS
=$ac_save_CFLAGS
2081 elif test $ac_cv_prog_cc_g = yes; then
2082 if test "$GCC" = yes; then
2088 if test "$GCC" = yes; then
2094 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2095 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2096 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 ac_cv_prog_cc_stdc
=no
2101 cat >conftest.
$ac_ext <<_ACEOF
2104 cat confdefs.h
>>conftest.
$ac_ext
2105 cat >>conftest.
$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2109 #include <sys/types.h>
2110 #include <sys/stat.h>
2111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2112 struct buf { int x; };
2113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2114 static char *e (p, i)
2120 static char *f (char * (*g) (char **, int), char **p, ...)
2125 s = g (p, va_arg (v,int));
2130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2131 function prototypes and stuff, but not '\xHH' hex character constants.
2132 These don't provoke an error unfortunately, instead are silently treated
2133 as 'x'. The following induces an error, until -std1 is added to get
2134 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2135 array size at least. It's necessary to write '\x00'==0 to get something
2136 that's true only with -std1. */
2137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2139 int test (int i, double x);
2140 struct s1 {int (*f) (int a);};
2141 struct s2 {int (*f) (double a);};
2142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2153 # Don't try gcc -ansi; that turns off useful extensions and
2154 # breaks some systems' header files.
2155 # AIX -qlanglvl=ansi
2156 # Ultrix and OSF/1 -std1
2157 # HP-UX 10.20 and later -Ae
2158 # HP-UX older versions -Aa -D_HPUX_SOURCE
2159 # SVR4 -Xc -D__EXTENSIONS__
2160 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2162 CC
="$ac_save_CC $ac_arg"
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag"
2173 || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2185 ac_cv_prog_cc_stdc
=$ac_arg
2188 echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2192 rm -f conftest.err conftest.
$ac_objext
2194 rm -f conftest.
$ac_ext conftest.
$ac_objext
2199 case "x$ac_cv_prog_cc_stdc" in
2201 echo "$as_me:$LINENO: result: none needed" >&5
2202 echo "${ECHO_T}none needed" >&6 ;;
2204 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2205 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2206 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2209 # Some people use a C++ compiler to compile C. Since we use `exit',
2210 # in C++ we need to declare it. In case someone uses the same compiler
2211 # for both compiling C and C++ we need to have the C++ compiler decide
2212 # the declaration of exit, since it's the most demanding environment.
2213 cat >conftest.
$ac_ext <<_ACEOF
2218 rm -f conftest.
$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>conftest.er1
2222 grep -v '^ *+' conftest.er1
>conftest.err
2224 cat conftest.err
>&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
2227 { ac_try
='test -z "$ac_c_werror_flag"
2228 || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try
='test -s conftest.$ac_objext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 for ac_declaration
in \
2242 'extern "C" void std::exit (int) throw (); using std::exit;' \
2243 'extern "C" void std::exit (int); using std::exit;' \
2244 'extern "C" void exit (int) throw ();' \
2245 'extern "C" void exit (int);' \
2248 cat >conftest.
$ac_ext <<_ACEOF
2251 cat confdefs.h
>>conftest.
$ac_ext
2252 cat >>conftest.
$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2264 rm -f conftest.
$ac_objext
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 (eval $ac_compile) 2>conftest.er1
2268 grep -v '^ *+' conftest.er1
>conftest.err
2270 cat conftest.err
>&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); } &&
2273 { ac_try
='test -z "$ac_c_werror_flag"
2274 || test ! -s conftest.err'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; } &&
2280 { ac_try
='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 cat >conftest.
$ac_ext <<_ACEOF
2297 cat confdefs.h
>>conftest.
$ac_ext
2298 cat >>conftest.
$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.
$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>conftest.er1
2313 grep -v '^ *+' conftest.er1
>conftest.err
2315 cat conftest.err
>&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); } &&
2318 { ac_try
='test -z "$ac_c_werror_flag"
2319 || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2340 if test -n "$ac_declaration"; then
2341 echo '#ifdef __cplusplus' >>confdefs.h
2342 echo $ac_declaration >>confdefs.h
2343 echo '#endif' >>confdefs.h
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 ac_cpp
='$CPP $CPPFLAGS'
2354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2359 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2360 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2361 if test "${ac_cv_search_strerror+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 ac_func_search_save_LIBS
=$LIBS
2365 ac_cv_search_strerror
=no
2366 cat >conftest.
$ac_ext <<_ACEOF
2369 cat confdefs.h
>>conftest.
$ac_ext
2370 cat >>conftest.
$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2373 /* Override any gcc2 internal prototype to avoid an error. */
2377 /* We use char because int might match the return type of a gcc2
2378 builtin and then its argument prototype would still apply. */
2388 rm -f conftest.
$ac_objext conftest
$ac_exeext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390 (eval $ac_link) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -z "$ac_c_werror_flag"
2398 || test ! -s conftest.err'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; } &&
2404 { ac_try
='test -s conftest$ac_exeext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2410 ac_cv_search_strerror
="none required"
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2416 rm -f conftest.err conftest.
$ac_objext \
2417 conftest
$ac_exeext conftest.
$ac_ext
2418 if test "$ac_cv_search_strerror" = no
; then
2419 for ac_lib
in cposix
; do
2420 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2421 cat >conftest.
$ac_ext <<_ACEOF
2424 cat confdefs.h
>>conftest.
$ac_ext
2425 cat >>conftest.
$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2428 /* Override any gcc2 internal prototype to avoid an error. */
2432 /* We use char because int might match the return type of a gcc2
2433 builtin and then its argument prototype would still apply. */
2443 rm -f conftest.
$ac_objext conftest
$ac_exeext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445 (eval $ac_link) 2>conftest.er1
2447 grep -v '^ *+' conftest.er1
>conftest.err
2449 cat conftest.err
>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); } &&
2452 { ac_try
='test -z "$ac_c_werror_flag"
2453 || test ! -s conftest.err'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; } &&
2459 { ac_try
='test -s conftest$ac_exeext'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2465 ac_cv_search_strerror
="-l$ac_lib"
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2472 rm -f conftest.err conftest.
$ac_objext \
2473 conftest
$ac_exeext conftest.
$ac_ext
2476 LIBS
=$ac_func_search_save_LIBS
2478 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2479 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2480 if test "$ac_cv_search_strerror" != no
; then
2481 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2486 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2487 am__api_version
="1.9"
2488 # Find a good install program. We prefer a C program (faster),
2489 # so one script is as good as another. But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2502 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2503 if test -z "$INSTALL"; then
2504 if test "${ac_cv_path_install+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 # Account for people who put trailing slashes in PATH elements.
2514 .
/ | .
// |
/cC
/* | \
2515 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2516 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2519 # OSF1 and SCO ODT 3.0 have their own names for install.
2520 # Don't use installbsd from OSF since it installs stuff as root
2522 for ac_prog
in ginstall scoinst
install; do
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2525 if test $ac_prog = install &&
2526 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2527 # AIX install. It has an incompatible calling convention.
2529 elif test $ac_prog = install &&
2530 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # program-specific install script used by HP pwplus--don't use.
2534 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2546 if test "${ac_cv_path_install+set}" = set; then
2547 INSTALL
=$ac_cv_path_install
2549 # As a last resort, use the slow shell script. We don't cache a
2550 # path for INSTALL within a source directory, because that will
2551 # break other packages using the cache if that directory is
2552 # removed, or if the path is relative.
2553 INSTALL
=$ac_install_sh
2556 echo "$as_me:$LINENO: result: $INSTALL" >&5
2557 echo "${ECHO_T}$INSTALL" >&6
2559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2560 # It thinks the first close brace ends the variable substitution.
2561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2565 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2567 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2568 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2571 echo timestamp
> conftest.
file
2572 # Do `set' in a subshell so we don't clobber the current shell's
2573 # arguments. Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing
2578 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2579 if test "$*" = "X"; then
2581 set X
`ls -t $srcdir/configure conftest.file`
2584 if test "$*" != "X $srcdir/configure conftest.file" \
2585 && test "$*" != "X conftest.file $srcdir/configure"; then
2587 # If neither matched, then we have a broken ls. This can happen
2588 # if, for instance, CONFIG_SHELL is bash and it inherits a
2589 # broken ls alias from the environment. This has actually
2590 # happened. Such a system could not be considered "sane".
2591 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2592 alias in your environment" >&5
2593 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" >&2;}
2595 { (exit 1); exit 1; }; }
2598 test "$2" = conftest.
file
2604 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2605 Check your system clock" >&5
2606 echo "$as_me: error: newly created file is older than distributed files!
2607 Check your system clock" >&2;}
2608 { (exit 1); exit 1; }; }
2610 echo "$as_me:$LINENO: result: yes" >&5
2611 echo "${ECHO_T}yes" >&6
2612 test "$program_prefix" != NONE
&&
2613 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2614 # Use a double $ so make ignores it.
2615 test "$program_suffix" != NONE
&&
2616 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2617 # Double any \ or $. echo might interpret backslashes.
2618 # By default was `s,x,x', remove it if useless.
2619 cat <<\_ACEOF
>conftest.
sed
2620 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2622 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2625 # expand $ac_aux_dir to an absolute path
2626 am_aux_dir
=`cd $ac_aux_dir && pwd`
2628 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --run true"; then
2631 am_missing_run
="$MISSING --run "
2634 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2635 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2638 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2639 # We used to keeping the `.' as first argument, in order to
2640 # allow $(mkdir_p) to be used without argument. As in
2641 # $(mkdir_p) $(somedir)
2642 # where $(somedir) is conditionally defined. However this is wrong
2644 # 1. if the package is installed by a user who cannot write `.'
2645 # make install will fail,
2646 # 2. the above comment should most certainly read
2647 # $(mkdir_p) $(DESTDIR)$(somedir)
2648 # so it does not work when $(somedir) is undefined and
2649 # $(DESTDIR) is not.
2650 # To support the latter case, we have to write
2651 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2652 # so the `.' trick is pointless.
2653 mkdir_p
='mkdir -p --'
2655 # On NextStep and OpenStep, the `mkdir' command does not
2656 # recognize any option. It will interpret all options as
2657 # directories to create, and then abort because `.' already
2659 for d
in .
/-p .
/--version;
2661 test -d $d && rmdir $d
2663 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2664 if test -f "$ac_aux_dir/mkinstalldirs"; then
2665 mkdir_p
='$(mkinstalldirs)'
2667 mkdir_p
='$(install_sh) -d'
2671 for ac_prog
in gawk mawk nawk
awk
2673 # Extract the first word of "$ac_prog", so it can be a program name with args.
2674 set dummy
$ac_prog; ac_word
=$2
2675 echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677 if test "${ac_cv_prog_AWK+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$AWK"; then
2681 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir
=.
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690 ac_cv_prog_AWK
="$ac_prog"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 if test -n "$AWK"; then
2701 echo "$as_me:$LINENO: result: $AWK" >&5
2702 echo "${ECHO_T}$AWK" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2708 test -n "$AWK" && break
2711 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2713 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2714 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 cat >conftest.
make <<\_ACEOF
2719 @
echo 'ac_maketemp="$(MAKE)"'
2721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2722 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2723 if test -n "$ac_maketemp"; then
2724 eval ac_cv_prog_make_
${ac_make}_set
=yes
2726 eval ac_cv_prog_make_
${ac_make}_set
=no
2730 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 SET_MAKE
="MAKE=${MAKE-make}"
2740 rm -rf .tst
2>/dev
/null
2741 mkdir .tst
2>/dev
/null
2742 if test -d .tst
; then
2747 rmdir .tst
2>/dev
/null
2749 DEPDIR
="${am__leading_dot}deps"
2751 ac_config_commands
="$ac_config_commands depfiles"
2754 am_make
=${MAKE-make}
2755 cat > confinc
<< 'END'
2760 # If we don't find an include directive, just comment out the code.
2761 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2762 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2766 # First try GNU make style include.
2767 echo "include confinc" > confmf
2768 # We grep out `Entering directory' and `Leaving directory'
2769 # messages which can occur if `w' ends up in MAKEFLAGS.
2770 # In particular we don't look at `^make:' because GNU make might
2771 # be invoked under some other name (usually "gmake"), in which
2772 # case it prints its new name instead of `make'.
2773 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2778 # Now try BSD make style include.
2779 if test "$am__include" = "#"; then
2780 echo '.include "confinc"' > confmf
2781 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2782 am__include
=.include
2789 echo "$as_me:$LINENO: result: $_am_result" >&5
2790 echo "${ECHO_T}$_am_result" >&6
2791 rm -f confinc confmf
2793 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2794 if test "${enable_dependency_tracking+set}" = set; then
2795 enableval
="$enable_dependency_tracking"
2798 if test "x$enable_dependency_tracking" != xno
; then
2799 am_depcomp
="$ac_aux_dir/depcomp"
2804 if test "x$enable_dependency_tracking" != xno; then
2814 # test to see if srcdir already configured
2815 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2816 test -f $srcdir/config.status
; then
2817 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2818 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2819 { (exit 1); exit 1; }; }
2822 # test whether we have cygpath
2823 if test -z "$CYGPATH_W"; then
2824 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2825 CYGPATH_W
='cygpath -w'
2832 # Define the identity of the package.
2834 VERSION
=${BFD_VERSION}
2837 cat >>confdefs.h
<<_ACEOF
2838 #define PACKAGE "$PACKAGE"
2842 cat >>confdefs.h
<<_ACEOF
2843 #define VERSION "$VERSION"
2846 # Some tools Automake needs.
2848 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2851 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2854 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2857 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2860 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2862 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2864 # Installed binaries are usually stripped using `strip' when the user
2865 # run `make install-strip'. However `strip' might not be the right
2866 # tool to use in cross-compilation environments, therefore Automake
2867 # will honor the `STRIP' environment variable to overrule this program.
2868 if test "$cross_compiling" != no
; then
2869 if test -n "$ac_tool_prefix"; then
2870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2871 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2872 echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2874 if test "${ac_cv_prog_STRIP+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -n "$STRIP"; then
2878 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 STRIP
=$ac_cv_prog_STRIP
2897 if test -n "$STRIP"; then
2898 echo "$as_me:$LINENO: result: $STRIP" >&5
2899 echo "${ECHO_T}$STRIP" >&6
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2906 if test -z "$ac_cv_prog_STRIP"; then
2908 # Extract the first word of "strip", so it can be a program name with args.
2909 set dummy strip
; ac_word
=$2
2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 if test -n "$ac_ct_STRIP"; then
2916 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_ac_ct_STRIP
="strip"
2926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2935 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2936 if test -n "$ac_ct_STRIP"; then
2937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2938 echo "${ECHO_T}$ac_ct_STRIP" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2946 STRIP
="$ac_cv_prog_STRIP"
2950 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2952 # We need awk for the "check" target. The system "awk" is bad on
2954 # Always define AMTAR for backward compatibility.
2956 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2958 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2963 depcc
="$CC" am_compiler_list
=
2965 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2966 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2967 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2971 # We make a subdir and do the tests there. Otherwise we can end up
2972 # making bogus files that we don't know about and never remove. For
2973 # instance it was reported that on HP-UX the gcc test will end up
2974 # making a dummy file named `D' -- because `-MD' means `put the output
2977 # Copy depcomp to subdir because otherwise we won't find it if we're
2978 # using a relative directory.
2979 cp "$am_depcomp" conftest.dir
2981 # We will build objects and dependencies in a subdirectory because
2982 # it helps to detect inapplicable dependency modes. For instance
2983 # both Tru64's cc and ICC support -MD to output dependencies as a
2984 # side effect of compilation, but ICC will put the dependencies in
2985 # the current directory while Tru64 will put them in the object
2989 am_cv_CC_dependencies_compiler_type
=none
2990 if test "$am_compiler_list" = ""; then
2991 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2993 for depmode
in $am_compiler_list; do
2994 # Setup a source with many dependencies, because some compilers
2995 # like to wrap large dependency lists on column 80 (with \), and
2996 # we should not choose a depcomp mode which is confused by this.
2998 # We need to recreate these files for each test, as the compiler may
2999 # overwrite some of them when testing with obscure command lines.
3000 # This happens at least with the AIX C compiler.
3002 for i
in 1 2 3 4 5 6; do
3003 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3004 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3005 # Solaris 8's {/usr,}/bin/sh.
3006 touch sub
/conftst
$i.h
3008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3012 # after this tag, mechanisms are not by side-effect, so they'll
3013 # only be used when explicitly requested
3014 if test "x$enable_dependency_tracking" = xyes
; then
3022 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3023 # mode. It turns out that the SunPro C++ compiler does not properly
3024 # handle `-M -o', and we need to detect this.
3025 if depmode
=$depmode \
3026 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3027 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3028 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3029 >/dev
/null
2>conftest.err
&&
3030 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3031 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3032 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3033 # icc doesn't choke on unknown options, it will just issue warnings
3034 # or remarks (even with -Werror). So we grep stderr for any message
3035 # that says an option was ignored or not supported.
3036 # When given -MP, icc 7.0 and 7.1 complain thusly:
3037 # icc: Command line warning: ignoring option '-M'; no argument required
3038 # The diagnosis changed in icc 8.0:
3039 # icc: Command line remark: option '-MP' not supported
3040 if (grep 'ignoring option' conftest.err ||
3041 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3042 am_cv_CC_dependencies_compiler_type
=$depmode
3051 am_cv_CC_dependencies_compiler_type
=none
3055 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3056 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3057 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3062 test "x$enable_dependency_tracking" != xno \
3063 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3065 am__fastdepCC_FALSE
='#'
3067 am__fastdepCC_TRUE
='#'
3068 am__fastdepCC_FALSE
=
3074 # Check whether --enable-shared or --disable-shared was given.
3075 if test "${enable_shared+set}" = set; then
3076 enableval
="$enable_shared"
3077 p
=${PACKAGE-default}
3079 yes) enable_shared
=yes ;;
3080 no
) enable_shared
=no
;;
3083 # Look at the argument we got. We use all the common list separators.
3084 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3085 for pkg
in $enableval; do
3086 if test "X$pkg" = "X$p"; then
3096 # Check whether --enable-static or --disable-static was given.
3097 if test "${enable_static+set}" = set; then
3098 enableval
="$enable_static"
3099 p
=${PACKAGE-default}
3101 yes) enable_static
=yes ;;
3102 no
) enable_static
=no
;;
3105 # Look at the argument we got. We use all the common list separators.
3106 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3107 for pkg
in $enableval; do
3108 if test "X$pkg" = "X$p"; then
3118 # Check whether --enable-fast-install or --disable-fast-install was given.
3119 if test "${enable_fast_install+set}" = set; then
3120 enableval
="$enable_fast_install"
3121 p
=${PACKAGE-default}
3123 yes) enable_fast_install
=yes ;;
3124 no
) enable_fast_install
=no
;;
3126 enable_fast_install
=no
3127 # Look at the argument we got. We use all the common list separators.
3128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3129 for pkg
in $enableval; do
3130 if test "X$pkg" = "X$p"; then
3131 enable_fast_install
=yes
3138 enable_fast_install
=yes
3141 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3142 if test "${with_gnu_ld+set}" = set; then
3143 withval
="$with_gnu_ld"
3144 test "$withval" = no || with_gnu_ld
=yes
3149 if test "$GCC" = yes; then
3150 # Check if gcc -print-prog-name=ld gives a path.
3151 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3152 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3155 # gcc leaves a trailing carriage return which upsets mingw
3156 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3158 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3161 # Accept absolute paths.
3162 [\\/]* |
[A-Za-z
]:[\\/]*)
3163 re_direlt
='/[^/][^/]*/\.\./'
3164 # Canonicalize the path of ld
3165 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3166 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3167 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3169 test -z "$LD" && LD
="$ac_prog"
3172 # If it fails, then pretend we aren't using GCC.
3176 # If it is relative, then search for the first ld in PATH.
3180 elif test "$with_gnu_ld" = yes; then
3181 echo "$as_me:$LINENO: checking for GNU ld" >&5
3182 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3184 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3185 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3187 if test "${lt_cv_path_LD+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 if test -z "$LD"; then
3191 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3192 for ac_dir
in $PATH; do
3193 test -z "$ac_dir" && ac_dir
=.
3194 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3195 lt_cv_path_LD
="$ac_dir/$ac_prog"
3196 # Check to see if the program is GNU ld. I'd rather use --version,
3197 # but apparently some GNU ld's only accept -v.
3198 # Break only if it was the GNU/non-GNU ld that we prefer.
3199 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3200 test "$with_gnu_ld" != no
&& break
3202 test "$with_gnu_ld" != yes && break
3208 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3213 if test -n "$LD"; then
3214 echo "$as_me:$LINENO: result: $LD" >&5
3215 echo "${ECHO_T}$LD" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3220 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3221 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3222 { (exit 1); exit 1; }; }
3223 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3224 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3225 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3229 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3230 lt_cv_prog_gnu_ld
=yes
3232 lt_cv_prog_gnu_ld
=no
3235 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3236 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3237 with_gnu_ld
=$lt_cv_prog_gnu_ld
3240 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3241 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3242 if test "${lt_cv_ld_reload_flag+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 lt_cv_ld_reload_flag
='-r'
3247 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3248 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3249 reload_flag
=$lt_cv_ld_reload_flag
3250 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3252 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3253 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3254 if test "${lt_cv_path_NM+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 if test -n "$NM"; then
3258 # Let the user override the test.
3261 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3262 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3263 test -z "$ac_dir" && ac_dir
=.
3264 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3265 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3266 # Check to see if the nm accepts a BSD-compat flag.
3267 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3268 # nm: unknown option "B" ignored
3269 # Tru64's nm complains that /dev/null is an invalid object file
3270 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3271 lt_cv_path_NM
="$tmp_nm -B"
3273 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3274 lt_cv_path_NM
="$tmp_nm -p"
3277 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3278 continue # so that we can try to find one that supports BSD flags
3283 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3288 echo "$as_me:$LINENO: result: $NM" >&5
3289 echo "${ECHO_T}$NM" >&6
3291 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3292 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3294 if test "$LN_S" = "ln -s"; then
3295 echo "$as_me:$LINENO: result: yes" >&5
3296 echo "${ECHO_T}yes" >&6
3298 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3299 echo "${ECHO_T}no, using $LN_S" >&6
3302 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3303 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3304 if test "${lt_cv_deplibs_check_method+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3308 lt_cv_file_magic_test_file
=
3309 lt_cv_deplibs_check_method
='unknown'
3310 # Need to set the preceding variable on all platforms that support
3311 # interlibrary dependencies.
3312 # 'none' -- dependencies not supported.
3313 # `unknown' -- same as none, but documents that we really don't know.
3314 # 'pass_all' -- all dependencies passed with no checks.
3315 # 'test_compile' -- check by making test program.
3316 # 'file_magic [regex]' -- check by looking for files in library path
3317 # which responds to the $file_magic_cmd with a given egrep regex.
3318 # If you have `file' or equivalent on your system and you're not sure
3319 # whether `pass_all' will *always* work, you probably want this one.
3323 lt_cv_deplibs_check_method
=pass_all
3327 lt_cv_deplibs_check_method
=pass_all
3331 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3332 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3333 lt_cv_file_magic_test_file
=/shlib
/libc.so
3336 cygwin
* | mingw
* |pw32
*)
3337 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3338 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3341 darwin
* | rhapsody
*)
3342 # this will be overwritten by pass_all, but leave it in just in case
3343 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3344 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3346 rhapsody
* | darwin1.012
)
3347 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3350 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3353 lt_cv_deplibs_check_method
=pass_all
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.
3414 lt_cv_deplibs_check_method
=pass_all
3417 netbsd
* | knetbsd
*-gnu)
3418 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3419 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3421 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3426 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3427 lt_cv_file_magic_cmd
=/usr
/bin
/file
3428 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3431 osf3
* | osf4
* | osf5
*)
3432 # this will be overridden with pass_all, but let us keep it just in case
3433 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3434 lt_cv_file_magic_test_file
=/shlib
/libc.so
3435 lt_cv_deplibs_check_method
=pass_all
3439 lt_cv_deplibs_check_method
=pass_all
3443 lt_cv_deplibs_check_method
=pass_all
3444 lt_cv_file_magic_test_file
=/lib
/libc.so
3447 sysv5uw
[78]* | sysv4
*uw2
*)
3448 lt_cv_deplibs_check_method
=pass_all
3451 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3452 case $host_vendor in
3454 lt_cv_deplibs_check_method
=pass_all
3457 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]'
3458 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3465 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3466 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3467 file_magic_cmd
=$lt_cv_file_magic_cmd
3468 deplibs_check_method
=$lt_cv_deplibs_check_method
3473 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3475 # find the maximum length of command line arguments
3476 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3477 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3478 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 # On DJGPP, this test can blow up pretty badly due to problems in libc
3487 # (any single argument exceeding 2000 bytes causes a buffer overrun
3488 # during glob expansion). Even if it were fixed, the result of this
3489 # check would be larger than it should be.
3490 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3494 # On Win9x/ME, this test blows up -- it succeeds, but takes
3495 # about 5 minutes as the teststring grows exponentially.
3496 # Worse, since 9x/ME are not pre-emptively multitasking,
3497 # you end up with a "frozen" computer, even though with patience
3498 # the test eventually succeeds (with a max line length of 256k).
3499 # Instead, let's just punt: use the minimum linelength reported by
3500 # all of the supported platforms: 8192 (on NT/2K/XP).
3501 lt_cv_sys_max_cmd_len
=8192;
3505 # On AmigaOS with pdksh, this test takes hours, literally.
3506 # So we just punt and use a minimum line length of 8192.
3507 lt_cv_sys_max_cmd_len
=8192;
3510 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3511 # This has been around since 386BSD, at least. Likely further.
3512 if test -x /sbin
/sysctl
; then
3513 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3514 elif test -x /usr
/sbin
/sysctl
; then
3515 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3517 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3519 # And add a safety zone
3520 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3521 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3527 if test -n "$lt_cv_sys_max_cmd_len" ; then
3528 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3529 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3531 echo "$as_me:$LINENO: result: none" >&5
3532 echo "${ECHO_T}none" >&6
3536 # Only perform the check for file, if the check method requires it
3537 case $deplibs_check_method in
3539 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3540 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3541 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3542 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3550 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3553 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3554 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3555 ac_dummy
="/usr/bin:$PATH"
3556 for ac_dir
in $ac_dummy; do
3557 test -z "$ac_dir" && ac_dir
=.
3558 if test -f $ac_dir/${ac_tool_prefix}file; then
3559 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3560 if test -n "$file_magic_test_file"; then
3561 case $deplibs_check_method in
3563 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3564 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3565 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3566 egrep "$file_magic_regex" > /dev
/null
; then
3571 *** Warning: the command libtool uses to detect shared libraries,
3572 *** $file_magic_cmd, produces output that libtool cannot recognize.
3573 *** The result is that libtool may fail to recognize shared libraries
3574 *** as such. This will affect the creation of libtool libraries that
3575 *** depend on shared libraries, but programs linked with such libtool
3576 *** libraries will work regardless of this problem. Nevertheless, you
3577 *** may want to report the problem to your system manager and/or to
3578 *** bug-libtool@gnu.org
3588 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3593 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3594 if test -n "$MAGIC_CMD"; then
3595 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3596 echo "${ECHO_T}$MAGIC_CMD" >&6
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3602 if test -z "$lt_cv_path_MAGIC_CMD"; then
3603 if test -n "$ac_tool_prefix"; then
3604 echo "$as_me:$LINENO: checking for file" >&5
3605 echo $ECHO_N "checking for file... $ECHO_C" >&6
3606 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3614 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3617 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3618 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3619 ac_dummy
="/usr/bin:$PATH"
3620 for ac_dir
in $ac_dummy; do
3621 test -z "$ac_dir" && ac_dir
=.
3622 if test -f $ac_dir/file; then
3623 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3624 if test -n "$file_magic_test_file"; then
3625 case $deplibs_check_method in
3627 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3628 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3629 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3630 egrep "$file_magic_regex" > /dev
/null
; then
3635 *** Warning: the command libtool uses to detect shared libraries,
3636 *** $file_magic_cmd, produces output that libtool cannot recognize.
3637 *** The result is that libtool may fail to recognize shared libraries
3638 *** as such. This will affect the creation of libtool libraries that
3639 *** depend on shared libraries, but programs linked with such libtool
3640 *** libraries will work regardless of this problem. Nevertheless, you
3641 *** may want to report the problem to your system manager and/or to
3642 *** bug-libtool@gnu.org
3652 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3657 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3658 if test -n "$MAGIC_CMD"; then
3659 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3660 echo "${ECHO_T}$MAGIC_CMD" >&6
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3677 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3678 echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3680 if test "${ac_cv_prog_RANLIB+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 if test -n "$RANLIB"; then
3684 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 RANLIB
=$ac_cv_prog_RANLIB
3703 if test -n "$RANLIB"; then
3704 echo "$as_me:$LINENO: result: $RANLIB" >&5
3705 echo "${ECHO_T}$RANLIB" >&6
3707 echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6
3712 if test -z "$ac_cv_prog_RANLIB"; then
3713 ac_ct_RANLIB
=$RANLIB
3714 # Extract the first word of "ranlib", so it can be a program name with args.
3715 set dummy ranlib
; ac_word
=$2
3716 echo "$as_me:$LINENO: checking for $ac_word" >&5
3717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 if test -n "$ac_ct_RANLIB"; then
3722 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3728 test -z "$as_dir" && as_dir
=.
3729 for ac_exec_ext
in '' $ac_executable_extensions; do
3730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3731 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3741 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3742 if test -n "$ac_ct_RANLIB"; then
3743 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3744 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3750 RANLIB
=$ac_ct_RANLIB
3752 RANLIB
="$ac_cv_prog_RANLIB"
3755 if test -n "$ac_tool_prefix"; then
3756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3757 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3758 echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3760 if test "${ac_cv_prog_STRIP+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 if test -n "$STRIP"; then
3764 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 STRIP
=$ac_cv_prog_STRIP
3783 if test -n "$STRIP"; then
3784 echo "$as_me:$LINENO: result: $STRIP" >&5
3785 echo "${ECHO_T}$STRIP" >&6
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3792 if test -z "$ac_cv_prog_STRIP"; then
3794 # Extract the first word of "strip", so it can be a program name with args.
3795 set dummy strip
; ac_word
=$2
3796 echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3798 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 if test -n "$ac_ct_STRIP"; then
3802 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir
=.
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_ac_ct_STRIP
="strip"
3812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3821 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3822 if test -n "$ac_ct_STRIP"; then
3823 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3824 echo "${ECHO_T}$ac_ct_STRIP" >&6
3826 echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6
3832 STRIP
="$ac_cv_prog_STRIP"
3836 # Check for any special flags to pass to ltconfig.
3837 libtool_flags
="--cache-file=$cache_file"
3838 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3839 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3840 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3841 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3842 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3845 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3846 if test "${enable_libtool_lock+set}" = set; then
3847 enableval
="$enable_libtool_lock"
3850 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3851 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3854 # Check whether --with-pic or --without-pic was given.
3855 if test "${with_pic+set}" = set; then
3861 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3862 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3864 # Some flags need to be propagated to the compiler or linker for good
3868 # Find out which ABI we are using.
3869 echo '#line 3869 "configure"' > conftest.
$ac_ext
3870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3871 (eval $ac_compile) 2>&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; then
3875 if test "$lt_cv_prog_gnu_ld" = yes; then
3876 case `/usr/bin/file conftest.$ac_objext` in
3878 LD
="${LD-ld} -melf32bsmip"
3881 LD
="${LD-ld} -melf32bmipn32"
3884 LD
="${LD-ld} -melf64bmip"
3888 case `/usr/bin/file conftest.$ac_objext` in
3905 # Find out which ABI we are using.
3906 echo 'int i;' > conftest.
$ac_ext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3908 (eval $ac_compile) 2>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; then
3912 case "`/usr/bin/file conftest.o`" in
3924 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3925 # Find out which ABI we are using.
3926 echo 'int i;' > conftest.
$ac_ext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; then
3932 case "`/usr/bin/file conftest.o`" in
3936 LD
="${LD-ld} -m elf_i386"
3938 ppc64-
*linux
*|powerpc64-
*linux
*)
3939 LD
="${LD-ld} -m elf32ppclinux"
3942 LD
="${LD-ld} -m elf_s390"
3945 LD
="${LD-ld} -m elf32_sparc"
3952 LD
="${LD-ld} -m elf_x86_64"
3954 ppc
*-*linux
*|powerpc
*-*linux
*)
3955 LD
="${LD-ld} -m elf64ppc"
3958 LD
="${LD-ld} -m elf64_s390"
3961 LD
="${LD-ld} -m elf64_sparc"
3971 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3972 SAVE_CFLAGS
="$CFLAGS"
3973 CFLAGS
="$CFLAGS -belf"
3974 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3975 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3976 if test "${lt_cv_cc_needs_belf+set}" = set; then
3977 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 ac_cpp
='$CPP $CPPFLAGS'
3983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3987 cat >conftest.
$ac_ext <<_ACEOF
3990 cat confdefs.h
>>conftest.
$ac_ext
3991 cat >>conftest.
$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
4002 rm -f conftest.
$ac_objext conftest
$ac_exeext
4003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4004 (eval $ac_link) 2>conftest.er1
4006 grep -v '^ *+' conftest.er1
>conftest.err
4008 cat conftest.err
>&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } &&
4011 { ac_try
='test -z "$ac_c_werror_flag"
4012 || test ! -s conftest.err'
4013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; } &&
4018 { ac_try
='test -s conftest$ac_exeext'
4019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; }; then
4024 lt_cv_cc_needs_belf
=yes
4026 echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.
$ac_ext >&5
4029 lt_cv_cc_needs_belf
=no
4031 rm -f conftest.err conftest.
$ac_objext \
4032 conftest
$ac_exeext conftest.
$ac_ext
4034 ac_cpp
='$CPP $CPPFLAGS'
4035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4040 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4041 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4042 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4043 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4044 CFLAGS
="$SAVE_CFLAGS"
4052 # Save cache, so that ltconfig can load it
4053 cat >confcache
<<\_ACEOF
4054 # This file is a shell script that caches the results of configure
4055 # tests run on this system so they can be shared between configure
4056 # scripts and configure runs, see configure's option --config-cache.
4057 # It is not useful on other systems. If it contains results you don't
4058 # want to keep, you may remove or edit it.
4060 # config.status only pays attention to the cache file if you give it
4061 # the --recheck option to rerun configure.
4063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4069 # The following way of writing the cache mishandles newlines in values,
4070 # but we know of no workaround that is simple, portable, and efficient.
4071 # So, don't put newlines in cache variables' values.
4072 # Ultrix sh set writes to stderr and can't be redirected directly,
4073 # and sets the high bit in the cache file unless we assign to the vars.
4076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4078 # `set' does not quote correctly, so add quotes (double-quote
4079 # substitution turns \\\\ into \\, and sed turns \\ into \).
4082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4085 # `set' quotes correctly as required by POSIX, so do not add quotes.
4087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4098 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4099 if test -w $cache_file; then
4100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4101 cat confcache
>$cache_file
4103 echo "not updating unwritable cache $cache_file"
4108 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4109 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4110 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4111 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4112 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4113 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4114 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4115 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4116 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4117 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4118 echo "$as_me: error: libtool configure failed" >&2;}
4119 { (exit 1); exit 1; }; }
4121 # Reload cache, that may have been modified by ltconfig
4122 if test -r "$cache_file"; then
4123 # Some versions of bash will fail to source /dev/null (special
4124 # files actually), so we avoid doing that.
4125 if test -f "$cache_file"; then
4126 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4127 echo "$as_me: loading cache $cache_file" >&6;}
4129 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4130 *) . .
/$cache_file;;
4134 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4135 echo "$as_me: creating cache $cache_file" >&6;}
4140 # This can be used to rebuild libtool when needed
4141 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4143 # Always use our own libtool.
4144 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4146 # Redirect the config.log output again, so that the ltconfig log is not
4147 # clobbered by the next message.
4148 exec 5>>.
/config.log
4156 # Check whether --enable-targets or --disable-targets was given.
4157 if test "${enable_targets+set}" = set; then
4158 enableval
="$enable_targets"
4159 case "${enableval}" in
4160 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4161 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4162 { (exit 1); exit 1; }; }
4164 no
) enable_targets
= ;;
4165 *) enable_targets
=$enableval ;;
4167 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4168 if test "${enable_commonbfdlib+set}" = set; then
4169 enableval
="$enable_commonbfdlib"
4170 case "${enableval}" in
4171 yes) commonbfdlib
=true
;;
4172 no
) commonbfdlib
=false
;;
4173 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4174 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4175 { (exit 1); exit 1; }; } ;;
4181 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4183 # Check whether --enable-werror or --disable-werror was given.
4184 if test "${enable_werror+set}" = set; then
4185 enableval
="$enable_werror"
4186 case "${enableval}" in
4187 yes | y
) ERROR_ON_WARNING
="yes" ;;
4188 no | n
) ERROR_ON_WARNING
="no" ;;
4189 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4190 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4191 { (exit 1); exit 1; }; } ;;
4195 # Enable -Werror by default when using gcc
4196 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4197 ERROR_ON_WARNING
=yes
4201 if test "${ERROR_ON_WARNING}" = yes ; then
4202 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4203 NO_WERROR
="-Wno-error"
4206 if test "${GCC}" = yes ; then
4207 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4210 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4211 if test "${enable_build_warnings+set}" = set; then
4212 enableval
="$enable_build_warnings"
4213 case "${enableval}" in
4214 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4215 no
) if test "${GCC}" = yes ; then
4218 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4219 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4220 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4221 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4222 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4226 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4227 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4234 # Generate a header file
4235 ac_config_headers
="$ac_config_headers config.h:config.in"
4238 # If we are on a DOS filesystem, we must use gdb.ini rather than
4241 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
4243 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
4248 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
4254 #We need this for the host. BOUT header is in host order.
4255 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4256 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4257 if test "${ac_cv_c_bigendian+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 # See if sys/param.h defines the BYTE_ORDER macro.
4261 cat >conftest.
$ac_ext <<_ACEOF
4264 cat confdefs.h
>>conftest.
$ac_ext
4265 cat >>conftest.
$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4267 #include <sys/types.h>
4268 #include <sys/param.h>
4273 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
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 # It does; now see whether it defined to BIG_ENDIAN or not.
4304 cat >conftest.
$ac_ext <<_ACEOF
4307 cat confdefs.h
>>conftest.
$ac_ext
4308 cat >>conftest.
$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4310 #include <sys/types.h>
4311 #include <sys/param.h>
4316 #if BYTE_ORDER != BIG_ENDIAN
4324 rm -f conftest.
$ac_objext
4325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4326 (eval $ac_compile) 2>conftest.er1
4328 grep -v '^ *+' conftest.er1
>conftest.err
4330 cat conftest.err
>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } &&
4333 { ac_try
='test -z "$ac_c_werror_flag"
4334 || test ! -s conftest.err'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; } &&
4340 { ac_try
='test -s conftest.$ac_objext'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; }; then
4346 ac_cv_c_bigendian
=yes
4348 echo "$as_me: failed program was:" >&5
4349 sed 's/^/| /' conftest.
$ac_ext >&5
4351 ac_cv_c_bigendian
=no
4353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4358 # It does not; compile a test program.
4359 if test "$cross_compiling" = yes; then
4360 # try to guess the endianness by grepping values into an object file
4361 ac_cv_c_bigendian
=unknown
4362 cat >conftest.
$ac_ext <<_ACEOF
4365 cat confdefs.h
>>conftest.
$ac_ext
4366 cat >>conftest.
$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4368 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4369 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4370 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4371 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4372 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4373 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4377 _ascii (); _ebcdic ();
4382 rm -f conftest.
$ac_objext
4383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4384 (eval $ac_compile) 2>conftest.er1
4386 grep -v '^ *+' conftest.er1
>conftest.err
4388 cat conftest.err
>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } &&
4391 { ac_try
='test -z "$ac_c_werror_flag"
4392 || test ! -s conftest.err'
4393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; } &&
4398 { ac_try
='test -s conftest.$ac_objext'
4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; }; then
4404 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4405 ac_cv_c_bigendian
=yes
4407 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4408 if test "$ac_cv_c_bigendian" = unknown
; then
4409 ac_cv_c_bigendian
=no
4411 # finding both strings is unlikely to happen, but who knows?
4412 ac_cv_c_bigendian
=unknown
4416 echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.
$ac_ext >&5
4420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4422 cat >conftest.
$ac_ext <<_ACEOF
4425 cat confdefs.h
>>conftest.
$ac_ext
4426 cat >>conftest.
$ac_ext <<_ACEOF
4427 /* end confdefs.h. */
4431 /* Are we little or big endian? From Harbison&Steele. */
4435 char c[sizeof (long)];
4438 exit (u.c[sizeof (long) - 1] == 1);
4441 rm -f conftest
$ac_exeext
4442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4443 (eval $ac_link) 2>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); }; }; then
4452 ac_cv_c_bigendian
=no
4454 echo "$as_me: program exited with status $ac_status" >&5
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4459 ac_cv_c_bigendian
=yes
4461 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4466 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4467 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4468 case $ac_cv_c_bigendian in
4471 cat >>confdefs.h
<<\_ACEOF
4472 #define WORDS_BIGENDIAN 1
4478 { { echo "$as_me:$LINENO: error: unknown endianness
4479 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4480 echo "$as_me: error: unknown endianness
4481 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4482 { (exit 1); exit 1; }; } ;;
4488 # Makefile target for installing gas in $(tooldir)/bin.
4489 install_tooldir
=install-exec-tooldir
4493 if test -n "$enable_targets" ; then
4494 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
4495 if test $t = "all"; then
4499 result
=`$ac_config_sub $t 2>/dev/null`
4500 if test -n "$result" ; then
4501 canon_targets
="$canon_targets $result"
4503 # # Permit "all", etc. We don't support it yet though.
4504 # canon_targets="$canon_targets $t"
4507 _gas_uniq_list
="$canon_targets"
4508 _gas_uniq_newlist
=""
4509 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4510 case $_gas_uniq_i in
4512 *) case " $_gas_uniq_newlist " in
4513 *" $_gas_uniq_i "*) ;;
4514 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4518 canon_targets
=$_gas_uniq_newlist
4524 for this_target
in $target $canon_targets ; do
4527 .
${srcdir}/configure.tgt
4529 case ${target_cpu} in
4532 cat >>confdefs.h
<<_ACEOF
4533 #define DEFAULT_CRIS_ARCH $arch
4539 if test ${this_target} = $target ; then
4540 target_cpu_type
=${cpu_type}
4541 elif test ${target_cpu_type} != ${cpu_type} ; then
4545 generic_target
=${cpu_type}-${target_vendor}-${target_os}
4546 case ${generic_target} in
4548 if test ${this_target} = $target; then
4550 cat >>confdefs.h
<<\_ACEOF
4557 i386-
*-msdosdjgpp* \
4561 cat >>confdefs.h
<<\_ACEOF
4562 #define STRICTCOFF 1
4568 { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
4569 echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
4575 { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
4576 echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
4577 { (exit 1); exit 1; }; }
4582 cat >>confdefs.h
<<\_ACEOF
4583 #define AIX_WEAK_SUPPORT 1
4590 *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
4591 echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
4592 { (exit 1); exit 1; }; } ;;
4596 if test ${this_target} = $target; then
4598 cat >>confdefs.h
<<\_ACEOF
4599 #define TARGET_SOLARIS_COMMENT 1
4603 if test x
${endian} = xbig
; then
4604 { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
4605 echo "$as_me: error: Solaris must be configured little endian" >&2;}
4606 { (exit 1); exit 1; }; }
4612 cat >>confdefs.h
<<\_ACEOF
4613 #define TARGET_SYMBIAN 1
4619 if test ${this_target} = $target ; then
4621 if test x
${endian} = xbig
; then
4623 elif test x
${endian} = xlittle
; then
4626 if test x
${endian_def} != x
; then
4628 cat >>confdefs.h
<<_ACEOF
4629 #define TARGET_BYTES_BIG_ENDIAN $endian_def
4635 # Other random stuff.
4639 # Set mips_cpu to the name of the default CPU.
4640 case ${target_cpu} in
4641 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
4644 mipsisa32 | mipsisa32el
)
4647 mipsisa32r2 | mipsisa32r2el
)
4650 mipsisa64 | mipsisa64el
)
4653 mipsisa64r2 | mipsisa64r2el
)
4656 mipstx39 | mipstx39el
)
4659 mips64vr | mips64vrel
)
4662 mipsisa32r2
* | mipsisa64r2
*)
4663 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
4665 mips64
* | mipsisa64
* | mipsisa32
*)
4666 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
4669 { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
4670 echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
4671 { (exit 1); exit 1; }; }
4674 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
4675 # binaries. It's a GNU extension that some OSes don't understand.
4676 # The value only matters on ELF targets.
4679 use_e_mips_abi_o32
=0
4682 use_e_mips_abi_o32
=1
4685 # Decide whether to generate 32-bit or 64-bit code by default.
4686 # Used to resolve -march=from-abi when an embedded ABI is selected.
4688 mips64
*-*-* | mipsisa64
*-*-*)
4689 mips_default_64bit
=1
4692 mips_default_64bit
=0
4695 # Decide which ABI to target by default.
4697 mips64
*-linux* | mips-sgi-irix6
*)
4698 mips_default_abi
=N32_ABI
4701 mips_default_abi
=O32_ABI
4704 mips_default_abi
=N64_ABI
4707 mips_default_abi
=NO_ABI
4711 cat >>confdefs.h
<<_ACEOF
4712 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
4716 cat >>confdefs.h
<<_ACEOF
4717 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
4721 cat >>confdefs.h
<<_ACEOF
4722 #define MIPS_DEFAULT_64BIT $mips_default_64bit
4726 cat >>confdefs.h
<<_ACEOF
4727 #define MIPS_DEFAULT_ABI $mips_default_abi
4733 # Do we need the opcodes library?
4741 case "${enable_shared}" in
4742 yes) shared_opcodes
=true
;;
4743 *opcodes
*) shared_opcodes
=true
;;
4744 *) shared_opcodes
=false
;;
4749 # Any other special object files needed ?
4753 echo ${extra_objects} |
grep -s "bfin-parse.o"
4754 if test $?
-ne 0 ; then
4755 extra_objects
="$extra_objects bfin-parse.o"
4758 echo ${extra_objects} |
grep -s "bfin-lex.o"
4759 if test $?
-ne 0 ; then
4760 extra_objects
="$extra_objects bfin-lex.o"
4764 fr30 | ip2k | iq2000 | m32r | openrisc
)
4775 case ${extra_objects} in
4777 *) extra_objects
="$extra_objects m68k-parse.o" ;;
4782 echo ${extra_objects} |
grep -s "itbl-parse.o"
4783 if test $?
-ne 0 ; then
4784 extra_objects
="$extra_objects itbl-parse.o"
4787 echo ${extra_objects} |
grep -s "itbl-lex.o"
4788 if test $?
-ne 0 ; then
4789 extra_objects
="$extra_objects itbl-lex.o"
4792 echo ${extra_objects} |
grep -s "itbl-ops.o"
4793 if test $?
-ne 0 ; then
4794 extra_objects
="$extra_objects itbl-ops.o"
4802 i386 | s390 | sparc
)
4803 if test $this_target = $target ; then
4805 cat >>confdefs.h
<<_ACEOF
4806 #define DEFAULT_ARCH "${arch}"
4821 echo ${extra_objects} |
grep -s "xtensa-relax.o"
4822 if test $?
-ne 0 ; then
4823 extra_objects
="$extra_objects xtensa-relax.o"
4831 if test $using_cgen = yes ; then
4832 case "x${extra_objects}" in
4834 *) extra_objects
="$extra_objects cgen.o" ;;
4838 # See if we really can support this configuration with the emulation code.
4840 if test $this_target = $target ; then
4845 # From target name and format, produce a list of supported emulations.
4847 case ${generic_target}-${fmt} in
4848 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
4849 mips
*-*-linux*-*) case "$endian" in
4850 big
) emulation
="mipsbelf mipslelf mipself" ;;
4851 *) emulation
="mipslelf mipsbelf mipself" ;;
4853 mips-
*-lnews*-ecoff) ;;
4854 mips-
*-*-ecoff) case "$endian" in
4855 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
4856 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
4858 mips-
*-*-elf) case "$endian" in
4859 big
) emulation
="mipsbelf mipslelf mipself" ;;
4860 *) emulation
="mipslelf mipsbelf mipself" ;;
4862 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
4863 # i386-pc-pe-coff != i386-pc-coff.
4865 # Uncommenting the next line will turn on support for i386 AOUT
4866 # for the default linux configuration
4867 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
4869 i386-
*-aout) emulation
="i386aout" ;;
4870 i386-
*-coff) emulation
="i386coff" ;;
4871 i386-
*-elf) emulation
="i386elf" ;;
4873 # Always all formats. The first stated emulation becomes the default.
4874 cris-
*-*aout
*) emulation
="crisaout criself" ;;
4875 cris-
*-*) emulation
="criself crisaout" ;;
4878 emulations
="$emulations $emulation"
4882 # Turn on all targets if possible
4883 if test ${all_targets} = "yes"; then
4884 case ${target_cpu_type} in
4886 case ${obj_format} in
4888 emulations
="$emulations i386coff i386elf"
4891 emulations
="$emulations i386aout i386elf"
4894 emulations
="$emulations i386aout i386coff"
4901 # Assign floating point type. Most processors with FP support
4902 # IEEE FP. On those that don't support FP at all, usually IEEE
4904 case ${target_cpu} in
4905 vax | pdp11
) atof
=vax
;;
4909 case "${obj_format}" in
4910 "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
4911 echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
4912 { (exit 1); exit 1; }; } ;;
4915 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
4917 if test $using_cgen = yes ; then
4918 case ${target_cpu} in
4919 *) cgen_cpu_prefix
=${target_cpu} ;;
4923 cat >>confdefs.h
<<\_ACEOF
4924 #define USING_CGEN 1
4930 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
4931 { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
4932 echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
4933 { (exit 1); exit 1; }; }
4936 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
4937 { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
4938 echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
4939 { (exit 1); exit 1; }; }
4942 # Some COFF configurations want these random other flags set.
4943 case ${obj_format} in
4945 case ${target_cpu_type} in
4947 cat >>confdefs.h
<<\_ACEOF
4952 cat >>confdefs.h
<<\_ACEOF
4957 cat >>confdefs.h
<<\_ACEOF
4965 # Getting this done right is going to be a bitch. Each configuration specified
4966 # with --enable-targets=... should be checked for environment, format, cpu
4969 # For each configuration, the necessary object file support code must be linked
4970 # in. This might be only one, it might be up to four. The necessary emulation
4971 # code needs to be provided, too.
4973 # And then there's "--enable-targets=all"....
4975 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
4977 formats
="${obj_format}"
4980 _gas_uniq_list
="$emulations"
4981 _gas_uniq_newlist
=""
4982 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
4983 case $_gas_uniq_i in
4985 *) case " $_gas_uniq_newlist " in
4986 *" $_gas_uniq_i "*) ;;
4987 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
4991 emulations
=$_gas_uniq_newlist
4993 for em
in .
$emulations ; do
4996 mipsbelf | mipslelf | mipself
)
4997 fmt=elf
file=mipself
;;
4998 mipsbecoff | mipslecoff | mipsecoff
)
4999 fmt=ecoff
file=mipsecoff
;;
5001 fmt=coff
file=$em ;;
5003 fmt=aout
file=$em ;;
5007 formats
="$formats $fmt"
5008 emfiles
="$emfiles e-$file.o"
5009 EMULATIONS
="$EMULATIONS &$em,"
5011 _gas_uniq_list
="$formats"
5012 _gas_uniq_newlist
=""
5013 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
5014 case $_gas_uniq_i in
5016 *) case " $_gas_uniq_newlist " in
5017 *" $_gas_uniq_i "*) ;;
5018 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
5022 formats
=$_gas_uniq_newlist
5024 _gas_uniq_list
="$emfiles"
5025 _gas_uniq_newlist
=""
5026 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
5027 case $_gas_uniq_i in
5029 *) case " $_gas_uniq_newlist " in
5030 *" $_gas_uniq_i "*) ;;
5031 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
5035 emfiles
=$_gas_uniq_newlist
5037 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
5038 for fmt in $formats ; do
5041 cat >>confdefs.h
<<\_ACEOF
5042 #define OBJ_MAYBE_AOUT 1
5046 cat >>confdefs.h
<<\_ACEOF
5047 #define OBJ_MAYBE_BOUT 1
5051 cat >>confdefs.h
<<\_ACEOF
5052 #define OBJ_MAYBE_COFF 1
5056 cat >>confdefs.h
<<\_ACEOF
5057 #define OBJ_MAYBE_ECOFF 1
5061 cat >>confdefs.h
<<\_ACEOF
5062 #define OBJ_MAYBE_ELF 1
5066 cat >>confdefs.h
<<\_ACEOF
5067 #define OBJ_MAYBE_GENERIC 1
5071 cat >>confdefs.h
<<\_ACEOF
5072 #define OBJ_MAYBE_SOM 1
5076 extra_objects
="$extra_objects obj-$fmt.o"
5080 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
5081 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
5082 # e-mips* has more than one emulation per file, e-i386* has just one at the
5083 # moment. If only one emulation is specified, then don't define
5084 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
5085 case "${obj_format}${emfiles}" in
5087 extra_objects
="$extra_objects $emfiles"
5089 cat >>confdefs.h
<<\_ACEOF
5090 #define USE_EMULATIONS 1
5097 cat >>confdefs.h
<<_ACEOF
5098 #define EMULATIONS $EMULATIONS
5102 cat >>confdefs.h
<<_ACEOF
5103 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
5107 reject_dev_configs
=yes
5109 case ${reject_dev_configs}-${dev} in
5111 { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
5112 echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
5113 { (exit 1); exit 1; }; }
5123 # do we need the opcodes library?
5124 case "${need_opcodes}" in
5126 OPCODES_LIB
=..
/opcodes
/libopcodes.la
5133 cat >>confdefs.h
<<_ACEOF
5134 #define TARGET_ALIAS "${target_alias}"
5138 cat >>confdefs.h
<<_ACEOF
5139 #define TARGET_CANONICAL "${target}"
5143 cat >>confdefs.h
<<_ACEOF
5144 #define TARGET_CPU "${target_cpu}"
5148 cat >>confdefs.h
<<_ACEOF
5149 #define TARGET_VENDOR "${target_vendor}"
5153 cat >>confdefs.h
<<_ACEOF
5154 #define TARGET_OS "${target_os}"
5159 ac_cpp
='$CPP $CPPFLAGS'
5160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5163 if test -n "$ac_tool_prefix"; then
5164 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5165 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5166 echo "$as_me:$LINENO: checking for $ac_word" >&5
5167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5168 if test "${ac_cv_prog_CC+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 if test -n "$CC"; then
5172 ac_cv_prog_CC
="$CC" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 if test -n "$CC"; then
5192 echo "$as_me:$LINENO: result: $CC" >&5
5193 echo "${ECHO_T}$CC" >&6
5195 echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6
5200 if test -z "$ac_cv_prog_CC"; then
5202 # Extract the first word of "gcc", so it can be a program name with args.
5203 set dummy gcc
; ac_word
=$2
5204 echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 if test -n "$ac_ct_CC"; then
5210 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_ac_ct_CC
="gcc"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5229 if test -n "$ac_ct_CC"; then
5230 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5231 echo "${ECHO_T}$ac_ct_CC" >&6
5233 echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6
5242 if test -z "$CC"; then
5243 if test -n "$ac_tool_prefix"; then
5244 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5245 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5246 echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5248 if test "${ac_cv_prog_CC+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 if test -n "$CC"; then
5252 ac_cv_prog_CC
="$CC" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 if test -n "$CC"; then
5272 echo "$as_me:$LINENO: result: $CC" >&5
5273 echo "${ECHO_T}$CC" >&6
5275 echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6
5280 if test -z "$ac_cv_prog_CC"; then
5282 # Extract the first word of "cc", so it can be a program name with args.
5283 set dummy cc
; ac_word
=$2
5284 echo "$as_me:$LINENO: checking for $ac_word" >&5
5285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 if test -n "$ac_ct_CC"; then
5290 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_ac_ct_CC
="cc"
5300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5309 if test -n "$ac_ct_CC"; then
5310 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5311 echo "${ECHO_T}$ac_ct_CC" >&6
5313 echo "$as_me:$LINENO: result: no" >&5
5314 echo "${ECHO_T}no" >&6
5323 if test -z "$CC"; then
5324 # Extract the first word of "cc", so it can be a program name with args.
5325 set dummy cc
; ac_word
=$2
5326 echo "$as_me:$LINENO: checking for $ac_word" >&5
5327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5328 if test "${ac_cv_prog_CC+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 if test -n "$CC"; then
5332 ac_cv_prog_CC
="$CC" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5343 ac_prog_rejected
=yes
5347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 if test $ac_prog_rejected = yes; then
5354 # We found a bogon in the path, so make sure we never use it.
5355 set dummy
$ac_cv_prog_CC
5357 if test $# != 0; then
5358 # We chose a different compiler from the bogus one.
5359 # However, it has the same basename, so the bogon will be chosen
5360 # first if we set CC to just the basename; use the full file name.
5362 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5368 if test -n "$CC"; then
5369 echo "$as_me:$LINENO: result: $CC" >&5
5370 echo "${ECHO_T}$CC" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5377 if test -z "$CC"; then
5378 if test -n "$ac_tool_prefix"; then
5381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5382 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5383 echo "$as_me:$LINENO: checking for $ac_word" >&5
5384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5385 if test "${ac_cv_prog_CC+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 if test -n "$CC"; then
5389 ac_cv_prog_CC
="$CC" # Let the user override the test.
5391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir
=.
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 if test -n "$CC"; then
5409 echo "$as_me:$LINENO: result: $CC" >&5
5410 echo "${ECHO_T}$CC" >&6
5412 echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6
5416 test -n "$CC" && break
5419 if test -z "$CC"; then
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy
$ac_prog; ac_word
=$2
5425 echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5427 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 if test -n "$ac_ct_CC"; then
5431 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_ac_ct_CC
="$ac_prog"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5450 if test -n "$ac_ct_CC"; then
5451 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5452 echo "${ECHO_T}$ac_ct_CC" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5458 test -n "$ac_ct_CC" && break
5467 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5468 See \`config.log' for more details." >&5
5469 echo "$as_me: error: no acceptable C compiler found in \$PATH
5470 See \`config.log' for more details." >&2;}
5471 { (exit 1); exit 1; }; }
5473 # Provide some information about the compiler.
5474 echo "$as_me:$LINENO:" \
5475 "checking for C compiler version" >&5
5476 ac_compiler
=`set X $ac_compile; echo $2`
5477 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5478 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }
5482 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5483 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }
5487 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5488 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }
5493 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5494 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5495 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 cat >conftest.
$ac_ext <<_ACEOF
5501 cat confdefs.h
>>conftest.
$ac_ext
5502 cat >>conftest.
$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5516 rm -f conftest.
$ac_objext
5517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5518 (eval $ac_compile) 2>conftest.er1
5520 grep -v '^ *+' conftest.er1
>conftest.err
5522 cat conftest.err
>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } &&
5525 { ac_try
='test -z "$ac_c_werror_flag"
5526 || test ! -s conftest.err'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; } &&
5532 { ac_try
='test -s conftest.$ac_objext'
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; }; then
5540 echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.
$ac_ext >&5
5545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5546 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5549 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5550 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5551 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5552 ac_test_CFLAGS
=${CFLAGS+set}
5553 ac_save_CFLAGS
=$CFLAGS
5555 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5556 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5557 if test "${ac_cv_prog_cc_g+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5575 rm -f conftest.
$ac_objext
5576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5577 (eval $ac_compile) 2>conftest.er1
5579 grep -v '^ *+' conftest.er1
>conftest.err
5581 cat conftest.err
>&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } &&
5584 { ac_try
='test -z "$ac_c_werror_flag"
5585 || test ! -s conftest.err'
5586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; } &&
5591 { ac_try
='test -s conftest.$ac_objext'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; }; then
5599 echo "$as_me: failed program was:" >&5
5600 sed 's/^/| /' conftest.
$ac_ext >&5
5604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5606 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5607 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5608 if test "$ac_test_CFLAGS" = set; then
5609 CFLAGS
=$ac_save_CFLAGS
5610 elif test $ac_cv_prog_cc_g = yes; then
5611 if test "$GCC" = yes; then
5617 if test "$GCC" = yes; then
5623 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5624 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5625 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 ac_cv_prog_cc_stdc
=no
5630 cat >conftest.
$ac_ext <<_ACEOF
5633 cat confdefs.h
>>conftest.
$ac_ext
5634 cat >>conftest.
$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5638 #include <sys/types.h>
5639 #include <sys/stat.h>
5640 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5641 struct buf { int x; };
5642 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5643 static char *e (p, i)
5649 static char *f (char * (*g) (char **, int), char **p, ...)
5654 s = g (p, va_arg (v,int));
5659 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5660 function prototypes and stuff, but not '\xHH' hex character constants.
5661 These don't provoke an error unfortunately, instead are silently treated
5662 as 'x'. The following induces an error, until -std1 is added to get
5663 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5664 array size at least. It's necessary to write '\x00'==0 to get something
5665 that's true only with -std1. */
5666 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5668 int test (int i, double x);
5669 struct s1 {int (*f) (int a);};
5670 struct s2 {int (*f) (double a);};
5671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5682 # Don't try gcc -ansi; that turns off useful extensions and
5683 # breaks some systems' header files.
5684 # AIX -qlanglvl=ansi
5685 # Ultrix and OSF/1 -std1
5686 # HP-UX 10.20 and later -Ae
5687 # HP-UX older versions -Aa -D_HPUX_SOURCE
5688 # SVR4 -Xc -D__EXTENSIONS__
5689 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5691 CC
="$ac_save_CC $ac_arg"
5692 rm -f conftest.
$ac_objext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5694 (eval $ac_compile) 2>conftest.er1
5696 grep -v '^ *+' conftest.er1
>conftest.err
5698 cat conftest.err
>&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try
='test -z "$ac_c_werror_flag"
5702 || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try
='test -s conftest.$ac_objext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 ac_cv_prog_cc_stdc
=$ac_arg
5717 echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.
$ac_ext >&5
5721 rm -f conftest.err conftest.
$ac_objext
5723 rm -f conftest.
$ac_ext conftest.
$ac_objext
5728 case "x$ac_cv_prog_cc_stdc" in
5730 echo "$as_me:$LINENO: result: none needed" >&5
5731 echo "${ECHO_T}none needed" >&6 ;;
5733 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5734 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5735 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5738 # Some people use a C++ compiler to compile C. Since we use `exit',
5739 # in C++ we need to declare it. In case someone uses the same compiler
5740 # for both compiling C and C++ we need to have the C++ compiler decide
5741 # the declaration of exit, since it's the most demanding environment.
5742 cat >conftest.
$ac_ext <<_ACEOF
5747 rm -f conftest.
$ac_objext
5748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5749 (eval $ac_compile) 2>conftest.er1
5751 grep -v '^ *+' conftest.er1
>conftest.err
5753 cat conftest.err
>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } &&
5756 { ac_try
='test -z "$ac_c_werror_flag"
5757 || test ! -s conftest.err'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; } &&
5763 { ac_try
='test -s conftest.$ac_objext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 for ac_declaration
in \
5771 'extern "C" void std::exit (int) throw (); using std::exit;' \
5772 'extern "C" void std::exit (int); using std::exit;' \
5773 'extern "C" void exit (int) throw ();' \
5774 'extern "C" void exit (int);' \
5777 cat >conftest.
$ac_ext <<_ACEOF
5780 cat confdefs.h
>>conftest.
$ac_ext
5781 cat >>conftest.
$ac_ext <<_ACEOF
5782 /* end confdefs.h. */
5793 rm -f conftest.
$ac_objext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5795 (eval $ac_compile) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try
='test -z "$ac_c_werror_flag"
5803 || test ! -s conftest.err'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; } &&
5809 { ac_try
='test -s conftest.$ac_objext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.
$ac_ext >&5
5822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5823 cat >conftest.
$ac_ext <<_ACEOF
5826 cat confdefs.h
>>conftest.
$ac_ext
5827 cat >>conftest.
$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5838 rm -f conftest.
$ac_objext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840 (eval $ac_compile) 2>conftest.er1
5842 grep -v '^ *+' conftest.er1
>conftest.err
5844 cat conftest.err
>&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } &&
5847 { ac_try
='test -z "$ac_c_werror_flag"
5848 || test ! -s conftest.err'
5849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); }; } &&
5854 { ac_try
='test -s conftest.$ac_objext'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; }; then
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5869 if test -n "$ac_declaration"; then
5870 echo '#ifdef __cplusplus' >>confdefs.h
5871 echo $ac_declaration >>confdefs.h
5872 echo '#endif' >>confdefs.h
5876 echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.
$ac_ext >&5
5880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5882 ac_cpp
='$CPP $CPPFLAGS'
5883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5888 for ac_prog
in 'bison -y' byacc
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy
$ac_prog; ac_word
=$2
5892 echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5894 if test "${ac_cv_prog_YACC+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 if test -n "$YACC"; then
5898 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_YACC
="$ac_prog"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 YACC
=$ac_cv_prog_YACC
5917 if test -n "$YACC"; then
5918 echo "$as_me:$LINENO: result: $YACC" >&5
5919 echo "${ECHO_T}$YACC" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5925 test -n "$YACC" && break
5927 test -n "$YACC" || YACC
="yacc"
5929 for ac_prog
in flex
lex
5931 # Extract the first word of "$ac_prog", so it can be a program name with args.
5932 set dummy
$ac_prog; ac_word
=$2
5933 echo "$as_me:$LINENO: checking for $ac_word" >&5
5934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5935 if test "${ac_cv_prog_LEX+set}" = set; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 if test -n "$LEX"; then
5939 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir
=.
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_LEX
="$ac_prog"
5949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 if test -n "$LEX"; then
5959 echo "$as_me:$LINENO: result: $LEX" >&5
5960 echo "${ECHO_T}$LEX" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5966 test -n "$LEX" && break
5968 test -n "$LEX" || LEX
=":"
5970 if test -z "$LEXLIB"
5972 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5973 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5974 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 ac_check_lib_save_LIBS
=$LIBS
5979 cat >conftest.
$ac_ext <<_ACEOF
5982 cat confdefs.h
>>conftest.
$ac_ext
5983 cat >>conftest.
$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5986 /* Override any gcc2 internal prototype to avoid an error. */
5990 /* We use char because int might match the return type of a gcc2
5991 builtin and then its argument prototype would still apply. */
6001 rm -f conftest.
$ac_objext conftest
$ac_exeext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6003 (eval $ac_link) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try
='test -s conftest$ac_exeext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 ac_cv_lib_fl_yywrap
=yes
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 ac_cv_lib_fl_yywrap
=no
6030 rm -f conftest.err conftest.
$ac_objext \
6031 conftest
$ac_exeext conftest.
$ac_ext
6032 LIBS
=$ac_check_lib_save_LIBS
6034 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6035 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6036 if test $ac_cv_lib_fl_yywrap = yes; then
6039 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6040 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6041 if test "${ac_cv_lib_l_yywrap+set}" = set; then
6042 echo $ECHO_N "(cached) $ECHO_C" >&6
6044 ac_check_lib_save_LIBS
=$LIBS
6046 cat >conftest.
$ac_ext <<_ACEOF
6049 cat confdefs.h
>>conftest.
$ac_ext
6050 cat >>conftest.
$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6053 /* Override any gcc2 internal prototype to avoid an error. */
6057 /* We use char because int might match the return type of a gcc2
6058 builtin and then its argument prototype would still apply. */
6068 rm -f conftest.
$ac_objext conftest
$ac_exeext
6069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6070 (eval $ac_link) 2>conftest.er1
6072 grep -v '^ *+' conftest.er1
>conftest.err
6074 cat conftest.err
>&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); } &&
6077 { ac_try
='test -z "$ac_c_werror_flag"
6078 || test ! -s conftest.err'
6079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); }; } &&
6084 { ac_try
='test -s conftest$ac_exeext'
6085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); }; }; then
6090 ac_cv_lib_l_yywrap
=yes
6092 echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.
$ac_ext >&5
6095 ac_cv_lib_l_yywrap
=no
6097 rm -f conftest.err conftest.
$ac_objext \
6098 conftest
$ac_exeext conftest.
$ac_ext
6099 LIBS
=$ac_check_lib_save_LIBS
6101 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6102 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6103 if test $ac_cv_lib_l_yywrap = yes; then
6111 if test "x$LEX" != "x:"; then
6112 echo "$as_me:$LINENO: checking lex output file root" >&5
6113 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
6114 if test "${ac_cv_prog_lex_root+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 # The minimal lex program is just a single line: %%. But some broken lexes
6118 # (Solaris, I think it was) want two %% lines, so accommodate them.
6119 cat >conftest.l
<<_ACEOF
6123 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
6124 (eval $LEX conftest.l
) 2>&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); }
6128 if test -f lex.yy.c
; then
6129 ac_cv_prog_lex_root
=lex.yy
6130 elif test -f lexyy.c
; then
6131 ac_cv_prog_lex_root
=lexyy
6133 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6134 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6135 { (exit 1); exit 1; }; }
6138 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6139 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
6141 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
6143 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6144 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
6145 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 # POSIX says lex can declare yytext either as a pointer or an array; the
6149 # default is implementation-dependent. Figure out which it is, since
6150 # not all implementations provide the %pointer and %array declarations.
6151 ac_cv_prog_lex_yytext_pointer
=no
6152 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6154 LIBS
="$LIBS $LEXLIB"
6155 cat >conftest.
$ac_ext <<_ACEOF
6156 `cat $LEX_OUTPUT_ROOT.c`
6158 rm -f conftest.
$ac_objext conftest
$ac_exeext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6160 (eval $ac_link) 2>conftest.er1
6162 grep -v '^ *+' conftest.er1
>conftest.err
6164 cat conftest.err
>&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } &&
6167 { ac_try
='test -z "$ac_c_werror_flag"
6168 || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try
='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_prog_lex_yytext_pointer
=yes
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.
$ac_ext >&5
6186 rm -f conftest.err conftest.
$ac_objext \
6187 conftest
$ac_exeext conftest.
$ac_ext
6189 rm -f "${LEX_OUTPUT_ROOT}.c"
6192 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6193 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
6194 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6196 cat >>confdefs.h
<<\_ACEOF
6197 #define YYTEXT_POINTER 1
6203 if test "$LEX" = :; then
6204 LEX
=${am_missing_run}flex
6207 ALL_LINGUAS
="fr tr es rw"
6208 # If we haven't got the data from the intl directory,
6209 # assume NLS is disabled.
6217 if test -f ..
/intl
/config.intl
; then
6218 . ..
/intl
/config.intl
6220 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6221 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6222 if test x
"$USE_NLS" != xyes
; then
6223 echo "$as_me:$LINENO: result: no" >&5
6224 echo "${ECHO_T}no" >&6
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6229 cat >>confdefs.h
<<\_ACEOF
6230 #define ENABLE_NLS 1
6234 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6235 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
6236 # Look for .po and .gmo files in the source directory.
6239 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6240 # If there aren't any .gmo files the shell will give us the
6241 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6243 case "$cat" in *\
**)
6246 # The quadruple backslash is collapsed to a double backslash
6247 # by the backticks, then collapsed again by the double quotes,
6248 # leaving us with one backslash in the sed expression (right
6249 # before the dot that mustn't act as a wildcard).
6250 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6251 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
6252 # The user is allowed to set LINGUAS to a list of languages to
6253 # install catalogs for. If it's empty that means "all of them."
6254 if test "x$LINGUAS" = x
; then
6255 CATALOGS
="$CATALOGS $cat"
6256 XLINGUAS
="$XLINGUAS $lang"
6258 case "$LINGUAS" in *$lang*)
6259 CATALOGS
="$CATALOGS $cat"
6260 XLINGUAS
="$XLINGUAS $lang"
6266 echo "$as_me:$LINENO: result: $LINGUAS" >&5
6267 echo "${ECHO_T}$LINGUAS" >&6
6281 if test -n "$ac_aux_dir"; then
6282 case "$ac_aux_dir" in
6283 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
6284 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
6287 if test -z "$MKINSTALLDIRS"; then
6288 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6293 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6294 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6295 # Check whether --enable-nls or --disable-nls was given.
6296 if test "${enable_nls+set}" = set; then
6297 enableval
="$enable_nls"
6302 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6303 echo "${ECHO_T}$USE_NLS" >&6
6310 # Prepare PATH_SEPARATOR.
6311 # The user is always right.
6312 if test "${PATH_SEPARATOR+set}" != set; then
6313 echo "#! /bin/sh" >conf$$.sh
6314 echo "exit 0" >>conf$$.sh
6316 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6324 # Find out how to test for executable files. Don't use a zero-byte file,
6325 # as systems may use methods other than mode bits to determine executability.
6326 cat >conf$$.
file <<_ASEOF
6330 chmod +x conf$$.
file
6331 if test -x conf$$.
file >/dev
/null
2>&1; then
6332 ac_executable_p
="test -x"
6334 ac_executable_p
="test -f"
6338 # Extract the first word of "msgfmt", so it can be a program name with args.
6339 set dummy msgfmt
; ac_word
=$2
6340 echo "$as_me:$LINENO: checking for $ac_word" >&5
6341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6342 if test "${ac_cv_path_MSGFMT+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6347 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6350 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6351 for ac_dir
in $PATH; do
6353 test -z "$ac_dir" && ac_dir
=.
6354 for ac_exec_ext
in '' $ac_executable_extensions; do
6355 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6356 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
6357 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6358 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6365 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6369 MSGFMT
="$ac_cv_path_MSGFMT"
6370 if test "$MSGFMT" != ":"; then
6371 echo "$as_me:$LINENO: result: $MSGFMT" >&5
6372 echo "${ECHO_T}$MSGFMT" >&6
6374 echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6
6378 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6379 set dummy gmsgfmt
; ac_word
=$2
6380 echo "$as_me:$LINENO: checking for $ac_word" >&5
6381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6382 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir
=.
6395 for ac_exec_ext
in '' $ac_executable_extensions; do
6396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6408 GMSGFMT
=$ac_cv_path_GMSGFMT
6410 if test -n "$GMSGFMT"; then
6411 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6412 echo "${ECHO_T}$GMSGFMT" >&6
6414 echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6
6420 # Prepare PATH_SEPARATOR.
6421 # The user is always right.
6422 if test "${PATH_SEPARATOR+set}" != set; then
6423 echo "#! /bin/sh" >conf$$.sh
6424 echo "exit 0" >>conf$$.sh
6426 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6434 # Find out how to test for executable files. Don't use a zero-byte file,
6435 # as systems may use methods other than mode bits to determine executability.
6436 cat >conf$$.
file <<_ASEOF
6440 chmod +x conf$$.
file
6441 if test -x conf$$.
file >/dev
/null
2>&1; then
6442 ac_executable_p
="test -x"
6444 ac_executable_p
="test -f"
6448 # Extract the first word of "xgettext", so it can be a program name with args.
6449 set dummy xgettext
; ac_word
=$2
6450 echo "$as_me:$LINENO: checking for $ac_word" >&5
6451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6452 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6457 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6460 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6461 for ac_dir
in $PATH; do
6463 test -z "$ac_dir" && ac_dir
=.
6464 for ac_exec_ext
in '' $ac_executable_extensions; do
6465 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6466 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6467 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6468 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6475 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6479 XGETTEXT
="$ac_cv_path_XGETTEXT"
6480 if test "$XGETTEXT" != ":"; then
6481 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6482 echo "${ECHO_T}$XGETTEXT" >&6
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6491 # Prepare PATH_SEPARATOR.
6492 # The user is always right.
6493 if test "${PATH_SEPARATOR+set}" != set; then
6494 echo "#! /bin/sh" >conf$$.sh
6495 echo "exit 0" >>conf$$.sh
6497 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6505 # Find out how to test for executable files. Don't use a zero-byte file,
6506 # as systems may use methods other than mode bits to determine executability.
6507 cat >conf$$.
file <<_ASEOF
6511 chmod +x conf$$.
file
6512 if test -x conf$$.
file >/dev
/null
2>&1; then
6513 ac_executable_p
="test -x"
6515 ac_executable_p
="test -f"
6519 # Extract the first word of "msgmerge", so it can be a program name with args.
6520 set dummy msgmerge
; ac_word
=$2
6521 echo "$as_me:$LINENO: checking for $ac_word" >&5
6522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6523 if test "${ac_cv_path_MSGMERGE+set}" = set; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6531 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6532 for ac_dir
in $PATH; do
6534 test -z "$ac_dir" && ac_dir
=.
6535 for ac_exec_ext
in '' $ac_executable_extensions; do
6536 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6537 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6538 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6545 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6549 MSGMERGE
="$ac_cv_path_MSGMERGE"
6550 if test "$MSGMERGE" != ":"; then
6551 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
6552 echo "${ECHO_T}$MSGMERGE" >&6
6554 echo "$as_me:$LINENO: result: no" >&5
6555 echo "${ECHO_T}no" >&6
6559 if test "$GMSGFMT" != ":"; then
6560 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6561 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6564 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6565 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6566 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
6571 if test "$XGETTEXT" != ":"; then
6572 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6573 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6576 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6577 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
6583 ac_config_commands
="$ac_config_commands default-1"
6587 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6588 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6589 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6590 if test "${enable_maintainer_mode+set}" = set; then
6591 enableval
="$enable_maintainer_mode"
6592 USE_MAINTAINER_MODE
=$enableval
6594 USE_MAINTAINER_MODE
=no
6596 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6597 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6600 if test $USE_MAINTAINER_MODE = yes; then
6601 MAINTAINER_MODE_TRUE
=
6602 MAINTAINER_MODE_FALSE
='#'
6604 MAINTAINER_MODE_TRUE
='#'
6605 MAINTAINER_MODE_FALSE
=
6608 MAINT
=$MAINTAINER_MODE_TRUE
6614 ac_cpp
='$CPP $CPPFLAGS'
6615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6618 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6619 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6620 # On Suns, sometimes $CPP names a directory.
6621 if test -n "$CPP" && test -d "$CPP"; then
6624 if test -z "$CPP"; then
6625 if test "${ac_cv_prog_CPP+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 # Double quotes because CPP needs to be expanded
6629 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6632 for ac_c_preproc_warn_flag
in '' yes
6634 # Use a header file that comes with gcc, so configuring glibc
6635 # with a fresh cross-compiler works.
6636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6637 # <limits.h> exists even on freestanding compilers.
6638 # On the NeXT, cc -E runs the code through the compiler's parser,
6639 # not just through cpp. "Syntax error" is here to catch this case.
6640 cat >conftest.
$ac_ext <<_ACEOF
6643 cat confdefs.h
>>conftest.
$ac_ext
6644 cat >>conftest.
$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6647 # include <limits.h>
6649 # include <assert.h>
6653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6656 grep -v '^ *+' conftest.er1
>conftest.err
6658 cat conftest.err
>&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } >/dev
/null
; then
6661 if test -s conftest.err
; then
6662 ac_cpp_err
=$ac_c_preproc_warn_flag
6663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6670 if test -z "$ac_cpp_err"; then
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.
$ac_ext >&5
6676 # Broken: fails on valid input.
6679 rm -f conftest.err conftest.
$ac_ext
6681 # OK, works on sane cases. Now check whether non-existent headers
6682 # can be detected and how.
6683 cat >conftest.
$ac_ext <<_ACEOF
6686 cat confdefs.h
>>conftest.
$ac_ext
6687 cat >>conftest.
$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 #include <ac_nonexistent.h>
6691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6694 grep -v '^ *+' conftest.er1
>conftest.err
6696 cat conftest.err
>&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } >/dev
/null
; then
6699 if test -s conftest.err
; then
6700 ac_cpp_err
=$ac_c_preproc_warn_flag
6701 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6708 if test -z "$ac_cpp_err"; then
6709 # Broken: success on invalid input.
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.
$ac_ext >&5
6715 # Passes both tests.
6719 rm -f conftest.err conftest.
$ac_ext
6722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6723 rm -f conftest.err conftest.
$ac_ext
6724 if $ac_preproc_ok; then
6736 echo "$as_me:$LINENO: result: $CPP" >&5
6737 echo "${ECHO_T}$CPP" >&6
6739 for ac_c_preproc_warn_flag
in '' yes
6741 # Use a header file that comes with gcc, so configuring glibc
6742 # with a fresh cross-compiler works.
6743 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6744 # <limits.h> exists even on freestanding compilers.
6745 # On the NeXT, cc -E runs the code through the compiler's parser,
6746 # not just through cpp. "Syntax error" is here to catch this case.
6747 cat >conftest.
$ac_ext <<_ACEOF
6750 cat confdefs.h
>>conftest.
$ac_ext
6751 cat >>conftest.
$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6754 # include <limits.h>
6756 # include <assert.h>
6760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6763 grep -v '^ *+' conftest.er1
>conftest.err
6765 cat conftest.err
>&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } >/dev
/null
; then
6768 if test -s conftest.err
; then
6769 ac_cpp_err
=$ac_c_preproc_warn_flag
6770 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6777 if test -z "$ac_cpp_err"; then
6780 echo "$as_me: failed program was:" >&5
6781 sed 's/^/| /' conftest.
$ac_ext >&5
6783 # Broken: fails on valid input.
6786 rm -f conftest.err conftest.
$ac_ext
6788 # OK, works on sane cases. Now check whether non-existent headers
6789 # can be detected and how.
6790 cat >conftest.
$ac_ext <<_ACEOF
6793 cat confdefs.h
>>conftest.
$ac_ext
6794 cat >>conftest.
$ac_ext <<_ACEOF
6795 /* end confdefs.h. */
6796 #include <ac_nonexistent.h>
6798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6799 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6801 grep -v '^ *+' conftest.er1
>conftest.err
6803 cat conftest.err
>&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); } >/dev
/null
; then
6806 if test -s conftest.err
; then
6807 ac_cpp_err
=$ac_c_preproc_warn_flag
6808 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6815 if test -z "$ac_cpp_err"; then
6816 # Broken: success on invalid input.
6819 echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.
$ac_ext >&5
6822 # Passes both tests.
6826 rm -f conftest.err conftest.
$ac_ext
6829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6830 rm -f conftest.err conftest.
$ac_ext
6831 if $ac_preproc_ok; then
6834 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6835 See \`config.log' for more details." >&5
6836 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6837 See \`config.log' for more details." >&2;}
6838 { (exit 1); exit 1; }; }
6842 ac_cpp
='$CPP $CPPFLAGS'
6843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6848 echo "$as_me:$LINENO: checking for egrep" >&5
6849 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6850 if test "${ac_cv_prog_egrep+set}" = set; then
6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6853 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6854 then ac_cv_prog_egrep
='grep -E'
6855 else ac_cv_prog_egrep
='egrep'
6858 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6859 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6860 EGREP
=$ac_cv_prog_egrep
6863 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6864 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6865 if test "${ac_cv_header_stdc+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6887 rm -f conftest.
$ac_objext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6889 (eval $ac_compile) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1
>conftest.err
6893 cat conftest.err
>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try
='test -z "$ac_c_werror_flag"
6897 || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try
='test -s conftest.$ac_objext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 ac_cv_header_stdc
=yes
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.
$ac_ext >&5
6914 ac_cv_header_stdc
=no
6916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6918 if test $ac_cv_header_stdc = yes; then
6919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6920 cat >conftest.
$ac_ext <<_ACEOF
6923 cat confdefs.h
>>conftest.
$ac_ext
6924 cat >>conftest.
$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6930 $EGREP "memchr" >/dev
/null
2>&1; then
6933 ac_cv_header_stdc
=no
6939 if test $ac_cv_header_stdc = yes; then
6940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6941 cat >conftest.
$ac_ext <<_ACEOF
6944 cat confdefs.h
>>conftest.
$ac_ext
6945 cat >>conftest.
$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6951 $EGREP "free" >/dev
/null
2>&1; then
6954 ac_cv_header_stdc
=no
6960 if test $ac_cv_header_stdc = yes; then
6961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6962 if test "$cross_compiling" = yes; then
6965 cat >conftest.
$ac_ext <<_ACEOF
6968 cat confdefs.h
>>conftest.
$ac_ext
6969 cat >>conftest.
$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6972 #if ((' ' & 0x0FF) == 0x020)
6973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6976 # define ISLOWER(c) \
6977 (('a' <= (c) && (c) <= 'i') \
6978 || ('j' <= (c) && (c) <= 'r') \
6979 || ('s' <= (c) && (c) <= 'z'))
6980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6988 for (i = 0; i < 256; i++)
6989 if (XOR (islower (i), ISLOWER (i))
6990 || toupper (i) != TOUPPER (i))
6995 rm -f conftest
$ac_exeext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6997 (eval $ac_link) 2>&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); }; }; then
7008 echo "$as_me: program exited with status $ac_status" >&5
7009 echo "$as_me: failed program was:" >&5
7010 sed 's/^/| /' conftest.
$ac_ext >&5
7013 ac_cv_header_stdc
=no
7015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7019 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7020 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7021 if test $ac_cv_header_stdc = yes; then
7023 cat >>confdefs.h
<<\_ACEOF
7024 #define STDC_HEADERS 1
7029 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7039 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7040 inttypes.h stdint.h unistd.h
7042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 echo "$as_me:$LINENO: checking for $ac_header" >&5
7044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 cat >conftest.
$ac_ext <<_ACEOF
7051 cat confdefs.h
>>conftest.
$ac_ext
7052 cat >>conftest.
$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7054 $ac_includes_default
7056 #include <$ac_header>
7058 rm -f conftest.
$ac_objext
7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7060 (eval $ac_compile) 2>conftest.er1
7062 grep -v '^ *+' conftest.er1
>conftest.err
7064 cat conftest.err
>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } &&
7067 { ac_try
='test -z "$ac_c_werror_flag"
7068 || test ! -s conftest.err'
7069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); }; } &&
7074 { ac_try
='test -s conftest.$ac_objext'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 eval "$as_ac_Header=yes"
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.
$ac_ext >&5
7085 eval "$as_ac_Header=no"
7087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7092 cat >>confdefs.h
<<_ACEOF
7093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 for ac_header
in string.h stdlib.h memory.h
strings.h unistd.h stdarg.h varargs.h errno.h sys
/types.h
7112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7114 echo "$as_me:$LINENO: checking for $ac_header" >&5
7115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7122 # Is the header compilable?
7123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7125 cat >conftest.
$ac_ext <<_ACEOF
7128 cat confdefs.h
>>conftest.
$ac_ext
7129 cat >>conftest.
$ac_ext <<_ACEOF
7130 /* end confdefs.h. */
7131 $ac_includes_default
7132 #include <$ac_header>
7134 rm -f conftest.
$ac_objext
7135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7136 (eval $ac_compile) 2>conftest.er1
7138 grep -v '^ *+' conftest.er1
>conftest.err
7140 cat conftest.err
>&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } &&
7143 { ac_try
='test -z "$ac_c_werror_flag"
7144 || test ! -s conftest.err'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; } &&
7150 { ac_try
='test -s conftest.$ac_objext'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; }; then
7156 ac_header_compiler
=yes
7158 echo "$as_me: failed program was:" >&5
7159 sed 's/^/| /' conftest.
$ac_ext >&5
7161 ac_header_compiler
=no
7163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7165 echo "${ECHO_T}$ac_header_compiler" >&6
7167 # Is the header present?
7168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7170 cat >conftest.
$ac_ext <<_ACEOF
7173 cat confdefs.h
>>conftest.
$ac_ext
7174 cat >>conftest.
$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7176 #include <$ac_header>
7178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7181 grep -v '^ *+' conftest.er1
>conftest.err
7183 cat conftest.err
>&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } >/dev
/null
; then
7186 if test -s conftest.err
; then
7187 ac_cpp_err
=$ac_c_preproc_warn_flag
7188 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7195 if test -z "$ac_cpp_err"; then
7196 ac_header_preproc
=yes
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.
$ac_ext >&5
7201 ac_header_preproc
=no
7203 rm -f conftest.err conftest.
$ac_ext
7204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7205 echo "${ECHO_T}$ac_header_preproc" >&6
7207 # So? What about this header?
7208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7214 ac_header_preproc
=yes
7217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7231 ## ------------------------------------------ ##
7232 ## Report this to the AC_PACKAGE_NAME lists. ##
7233 ## ------------------------------------------ ##
7236 sed "s/^/$as_me: WARNING: /" >&2
7239 echo "$as_me:$LINENO: checking for $ac_header" >&5
7240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 eval "$as_ac_Header=\$ac_header_preproc"
7246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7251 cat >>confdefs.h
<<_ACEOF
7252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7260 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
7261 # people who are not cross-compiling but are compiling cross-assemblers.
7262 echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
7263 echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
7264 if test "${host}" = "${target}"; then
7269 cat >>confdefs.h
<<\_ACEOF
7270 #define CROSS_COMPILE 1
7274 echo "$as_me:$LINENO: result: $cross_gas" >&5
7275 echo "${ECHO_T}$cross_gas" >&6
7277 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7278 # for constant arguments. Useless!
7279 echo "$as_me:$LINENO: checking for working alloca.h" >&5
7280 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7281 if test "${ac_cv_working_alloca_h+set}" = set; then
7282 echo $ECHO_N "(cached) $ECHO_C" >&6
7284 cat >conftest.
$ac_ext <<_ACEOF
7287 cat confdefs.h
>>conftest.
$ac_ext
7288 cat >>conftest.
$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7294 char *p = (char *) alloca (2 * sizeof (int));
7299 rm -f conftest.
$ac_objext conftest
$ac_exeext
7300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7301 (eval $ac_link) 2>conftest.er1
7303 grep -v '^ *+' conftest.er1
>conftest.err
7305 cat conftest.err
>&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } &&
7308 { ac_try
='test -z "$ac_c_werror_flag"
7309 || test ! -s conftest.err'
7310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); }; } &&
7315 { ac_try
='test -s conftest$ac_exeext'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; }; then
7321 ac_cv_working_alloca_h
=yes
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.
$ac_ext >&5
7326 ac_cv_working_alloca_h
=no
7328 rm -f conftest.err conftest.
$ac_objext \
7329 conftest
$ac_exeext conftest.
$ac_ext
7331 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7332 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7333 if test $ac_cv_working_alloca_h = yes; then
7335 cat >>confdefs.h
<<\_ACEOF
7336 #define HAVE_ALLOCA_H 1
7341 echo "$as_me:$LINENO: checking for alloca" >&5
7342 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7343 if test "${ac_cv_func_alloca_works+set}" = set; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 cat >conftest.
$ac_ext <<_ACEOF
7349 cat confdefs.h
>>conftest.
$ac_ext
7350 cat >>conftest.
$ac_ext <<_ACEOF
7351 /* end confdefs.h. */
7353 # define alloca __builtin_alloca
7356 # include <malloc.h>
7357 # define alloca _alloca
7360 # include <alloca.h>
7365 # ifndef alloca /* predefined by HP cc +Olibcalls */
7376 char *p = (char *) alloca (1);
7381 rm -f conftest.
$ac_objext conftest
$ac_exeext
7382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7383 (eval $ac_link) 2>conftest.er1
7385 grep -v '^ *+' conftest.er1
>conftest.err
7387 cat conftest.err
>&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } &&
7390 { ac_try
='test -z "$ac_c_werror_flag"
7391 || test ! -s conftest.err'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; } &&
7397 { ac_try
='test -s conftest$ac_exeext'
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); }; }; then
7403 ac_cv_func_alloca_works
=yes
7405 echo "$as_me: failed program was:" >&5
7406 sed 's/^/| /' conftest.
$ac_ext >&5
7408 ac_cv_func_alloca_works
=no
7410 rm -f conftest.err conftest.
$ac_objext \
7411 conftest
$ac_exeext conftest.
$ac_ext
7413 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7414 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7416 if test $ac_cv_func_alloca_works = yes; then
7418 cat >>confdefs.h
<<\_ACEOF
7419 #define HAVE_ALLOCA 1
7423 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7424 # that cause trouble. Some versions do not even contain alloca or
7425 # contain a buggy version. If you still want to use their alloca,
7426 # use ar to extract alloca.o from them instead of compiling alloca.c.
7428 ALLOCA
=alloca.
$ac_objext
7430 cat >>confdefs.h
<<\_ACEOF
7435 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7436 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7437 if test "${ac_cv_os_cray+set}" = set; then
7438 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 cat >conftest.
$ac_ext <<_ACEOF
7443 cat confdefs.h
>>conftest.
$ac_ext
7444 cat >>conftest.
$ac_ext <<_ACEOF
7445 /* end confdefs.h. */
7446 #if defined(CRAY) && ! defined(CRAY2)
7453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7454 $EGREP "webecray" >/dev
/null
2>&1; then
7462 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7463 echo "${ECHO_T}$ac_cv_os_cray" >&6
7464 if test $ac_cv_os_cray = yes; then
7465 for ac_func
in _getb67 GETB67 getb67
; do
7466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7467 echo "$as_me:$LINENO: checking for $ac_func" >&5
7468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7469 if eval "test \"\${$as_ac_var+set}\" = set"; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 cat >conftest.
$ac_ext <<_ACEOF
7475 cat confdefs.h
>>conftest.
$ac_ext
7476 cat >>conftest.
$ac_ext <<_ACEOF
7477 /* end confdefs.h. */
7478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7480 #define $ac_func innocuous_$ac_func
7482 /* System header to define __stub macros and hopefully few prototypes,
7483 which can conflict with char $ac_func (); below.
7484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7485 <limits.h> exists even on freestanding compilers. */
7488 # include <limits.h>
7490 # include <assert.h>
7495 /* Override any gcc2 internal prototype to avoid an error. */
7500 /* We use char because int might match the return type of a gcc2
7501 builtin and then its argument prototype would still apply. */
7503 /* The GNU C library defines this for functions which it implements
7504 to always fail with ENOSYS. Some functions are actually named
7505 something starting with __ and the normal name is an alias. */
7506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7509 char (*f) () = $ac_func;
7518 return f != $ac_func;
7523 rm -f conftest.
$ac_objext conftest
$ac_exeext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7525 (eval $ac_link) 2>conftest.er1
7527 grep -v '^ *+' conftest.er1
>conftest.err
7529 cat conftest.err
>&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try
='test -z "$ac_c_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try
='test -s conftest$ac_exeext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 eval "$as_ac_var=yes"
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.
$ac_ext >&5
7550 eval "$as_ac_var=no"
7552 rm -f conftest.err conftest.
$ac_objext \
7553 conftest
$ac_exeext conftest.
$ac_ext
7555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7557 if test `eval echo '${'$as_ac_var'}'` = yes; then
7559 cat >>confdefs.h
<<_ACEOF
7560 #define CRAY_STACKSEG_END $ac_func
7569 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7570 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7571 if test "${ac_cv_c_stack_direction+set}" = set; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 if test "$cross_compiling" = yes; then
7575 ac_cv_c_stack_direction
=0
7577 cat >conftest.
$ac_ext <<_ACEOF
7580 cat confdefs.h
>>conftest.
$ac_ext
7581 cat >>conftest.
$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7584 find_stack_direction ()
7586 static char *addr = 0;
7591 return find_stack_direction ();
7594 return (&dummy > addr) ? 1 : -1;
7600 exit (find_stack_direction () < 0);
7603 rm -f conftest
$ac_exeext
7604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7605 (eval $ac_link) 2>&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7614 ac_cv_c_stack_direction
=1
7616 echo "$as_me: program exited with status $ac_status" >&5
7617 echo "$as_me: failed program was:" >&5
7618 sed 's/^/| /' conftest.
$ac_ext >&5
7621 ac_cv_c_stack_direction
=-1
7623 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7626 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7627 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7629 cat >>confdefs.h
<<_ACEOF
7630 #define STACK_DIRECTION $ac_cv_c_stack_direction
7636 echo "$as_me:$LINENO: checking for inline" >&5
7637 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7638 if test "${ac_cv_c_inline+set}" = set; then
7639 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 for ac_kw
in inline __inline__ __inline
; do
7643 cat >conftest.
$ac_ext <<_ACEOF
7646 cat confdefs.h
>>conftest.
$ac_ext
7647 cat >>conftest.
$ac_ext <<_ACEOF
7648 /* end confdefs.h. */
7651 static $ac_kw foo_t static_foo () {return 0; }
7652 $ac_kw foo_t foo () {return 0; }
7656 rm -f conftest.
$ac_objext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7658 (eval $ac_compile) 2>conftest.er1
7660 grep -v '^ *+' conftest.er1
>conftest.err
7662 cat conftest.err
>&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try
='test -z "$ac_c_werror_flag"
7666 || test ! -s conftest.err'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try
='test -s conftest.$ac_objext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_c_inline
=$ac_kw; break
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.
$ac_ext >&5
7684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7688 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7689 echo "${ECHO_T}$ac_cv_c_inline" >&6
7692 case $ac_cv_c_inline in
7695 case $ac_cv_c_inline in
7697 *) ac_val
=$ac_cv_c_inline;;
7699 cat >>confdefs.h
<<_ACEOF
7701 #define inline $ac_val
7708 # VMS doesn't have unlink.
7711 for ac_func
in unlink remove
7713 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7714 echo "$as_me:$LINENO: checking for $ac_func" >&5
7715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7716 if eval "test \"\${$as_ac_var+set}\" = set"; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 cat >conftest.
$ac_ext <<_ACEOF
7722 cat confdefs.h
>>conftest.
$ac_ext
7723 cat >>conftest.
$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7727 #define $ac_func innocuous_$ac_func
7729 /* System header to define __stub macros and hopefully few prototypes,
7730 which can conflict with char $ac_func (); below.
7731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7732 <limits.h> exists even on freestanding compilers. */
7735 # include <limits.h>
7737 # include <assert.h>
7742 /* Override any gcc2 internal prototype to avoid an error. */
7747 /* We use char because int might match the return type of a gcc2
7748 builtin and then its argument prototype would still apply. */
7750 /* The GNU C library defines this for functions which it implements
7751 to always fail with ENOSYS. Some functions are actually named
7752 something starting with __ and the normal name is an alias. */
7753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7756 char (*f) () = $ac_func;
7765 return f != $ac_func;
7770 rm -f conftest.
$ac_objext conftest
$ac_exeext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7772 (eval $ac_link) 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try
='test -z "$ac_c_werror_flag"
7780 || test ! -s conftest.err'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; } &&
7786 { ac_try
='test -s conftest$ac_exeext'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 eval "$as_ac_var=yes"
7794 echo "$as_me: failed program was:" >&5
7795 sed 's/^/| /' conftest.
$ac_ext >&5
7797 eval "$as_ac_var=no"
7799 rm -f conftest.err conftest.
$ac_objext \
7800 conftest
$ac_exeext conftest.
$ac_ext
7802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7804 if test `eval echo '${'$as_ac_var'}'` = yes; then
7805 cat >>confdefs.h
<<_ACEOF
7806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7813 # Some systems don't have sbrk().
7817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7818 echo "$as_me:$LINENO: checking for $ac_func" >&5
7819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7820 if eval "test \"\${$as_ac_var+set}\" = set"; then
7821 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 cat >conftest.
$ac_ext <<_ACEOF
7826 cat confdefs.h
>>conftest.
$ac_ext
7827 cat >>conftest.
$ac_ext <<_ACEOF
7828 /* end confdefs.h. */
7829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7831 #define $ac_func innocuous_$ac_func
7833 /* System header to define __stub macros and hopefully few prototypes,
7834 which can conflict with char $ac_func (); below.
7835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7836 <limits.h> exists even on freestanding compilers. */
7839 # include <limits.h>
7841 # include <assert.h>
7846 /* Override any gcc2 internal prototype to avoid an error. */
7851 /* We use char because int might match the return type of a gcc2
7852 builtin and then its argument prototype would still apply. */
7854 /* The GNU C library defines this for functions which it implements
7855 to always fail with ENOSYS. Some functions are actually named
7856 something starting with __ and the normal name is an alias. */
7857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7860 char (*f) () = $ac_func;
7869 return f != $ac_func;
7874 rm -f conftest.
$ac_objext conftest
$ac_exeext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7876 (eval $ac_link) 2>conftest.er1
7878 grep -v '^ *+' conftest.er1
>conftest.err
7880 cat conftest.err
>&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); } &&
7883 { ac_try
='test -z "$ac_c_werror_flag"
7884 || test ! -s conftest.err'
7885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); }; } &&
7890 { ac_try
='test -s conftest$ac_exeext'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; }; then
7896 eval "$as_ac_var=yes"
7898 echo "$as_me: failed program was:" >&5
7899 sed 's/^/| /' conftest.
$ac_ext >&5
7901 eval "$as_ac_var=no"
7903 rm -f conftest.err conftest.
$ac_objext \
7904 conftest
$ac_exeext conftest.
$ac_ext
7906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7908 if test `eval echo '${'$as_ac_var'}'` = yes; then
7909 cat >>confdefs.h
<<_ACEOF
7910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7917 # do we need the math library?
7918 case "${need_libm}" in
7922 *-*-beos* |
*-*-cygwin* |
*-*-pw32* |
*-*-darwin*)
7923 # These system don't have libm
7924 # on darwin the libm is a symbolic link to libSystem.dylib
7927 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
7928 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
7929 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
7930 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 ac_check_lib_save_LIBS
=$LIBS
7934 cat >conftest.
$ac_ext <<_ACEOF
7937 cat confdefs.h
>>conftest.
$ac_ext
7938 cat >>conftest.
$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7941 /* Override any gcc2 internal prototype to avoid an error. */
7945 /* We use char because int might match the return type of a gcc2
7946 builtin and then its argument prototype would still apply. */
7947 char _mwvalidcheckl ();
7956 rm -f conftest.
$ac_objext conftest
$ac_exeext
7957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7958 (eval $ac_link) 2>conftest.er1
7960 grep -v '^ *+' conftest.er1
>conftest.err
7962 cat conftest.err
>&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); } &&
7965 { ac_try
='test -z "$ac_c_werror_flag"
7966 || test ! -s conftest.err'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; } &&
7972 { ac_try
='test -s conftest$ac_exeext'
7973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); }; }; then
7978 ac_cv_lib_mw__mwvalidcheckl
=yes
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.
$ac_ext >&5
7983 ac_cv_lib_mw__mwvalidcheckl
=no
7985 rm -f conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 LIBS
=$ac_check_lib_save_LIBS
7989 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
7990 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
7991 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
7995 echo "$as_me:$LINENO: checking for main in -lm" >&5
7996 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7997 if test "${ac_cv_lib_m_main+set}" = set; then
7998 echo $ECHO_N "(cached) $ECHO_C" >&6
8000 ac_check_lib_save_LIBS
=$LIBS
8002 cat >conftest.
$ac_ext <<_ACEOF
8005 cat confdefs.h
>>conftest.
$ac_ext
8006 cat >>conftest.
$ac_ext <<_ACEOF
8007 /* end confdefs.h. */
8018 rm -f conftest.
$ac_objext conftest
$ac_exeext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8020 (eval $ac_link) 2>conftest.er1
8022 grep -v '^ *+' conftest.er1
>conftest.err
8024 cat conftest.err
>&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } &&
8027 { ac_try
='test -z "$ac_c_werror_flag"
8028 || test ! -s conftest.err'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; } &&
8034 { ac_try
='test -s conftest$ac_exeext'
8035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); }; }; then
8040 ac_cv_lib_m_main
=yes
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.
$ac_ext >&5
8047 rm -f conftest.err conftest.
$ac_objext \
8048 conftest
$ac_exeext conftest.
$ac_ext
8049 LIBS
=$ac_check_lib_save_LIBS
8051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
8052 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
8053 if test $ac_cv_lib_m_main = yes; then
8059 echo "$as_me:$LINENO: checking for main in -lm" >&5
8060 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
8061 if test "${ac_cv_lib_m_main+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 ac_check_lib_save_LIBS
=$LIBS
8066 cat >conftest.
$ac_ext <<_ACEOF
8069 cat confdefs.h
>>conftest.
$ac_ext
8070 cat >>conftest.
$ac_ext <<_ACEOF
8071 /* end confdefs.h. */
8082 rm -f conftest.
$ac_objext conftest
$ac_exeext
8083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8084 (eval $ac_link) 2>conftest.er1
8086 grep -v '^ *+' conftest.er1
>conftest.err
8088 cat conftest.err
>&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); } &&
8091 { ac_try
='test -z "$ac_c_werror_flag"
8092 || test ! -s conftest.err'
8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; } &&
8098 { ac_try
='test -s conftest$ac_exeext'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; }; then
8104 ac_cv_lib_m_main
=yes
8106 echo "$as_me: failed program was:" >&5
8107 sed 's/^/| /' conftest.
$ac_ext >&5
8111 rm -f conftest.err conftest.
$ac_objext \
8112 conftest
$ac_exeext conftest.
$ac_ext
8113 LIBS
=$ac_check_lib_save_LIBS
8115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
8116 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
8117 if test $ac_cv_lib_m_main = yes; then
8128 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
8129 # enough, but on some of those systems, the assert macro relies on requoting
8131 echo "$as_me:$LINENO: checking for working assert macro" >&5
8132 echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
8133 if test "${gas_cv_assert_ok+set}" = set; then
8134 echo $ECHO_N "(cached) $ECHO_C" >&6
8136 cat >conftest.
$ac_ext <<_ACEOF
8139 cat confdefs.h
>>conftest.
$ac_ext
8140 cat >>conftest.
$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8148 /* check for requoting problems */
8149 static int a, b, c, d;
8151 assert (!strcmp(s, "foo bar baz quux"));
8152 /* check for newline handling */
8160 rm -f conftest.
$ac_objext conftest
$ac_exeext
8161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8162 (eval $ac_link) 2>conftest.er1
8164 grep -v '^ *+' conftest.er1
>conftest.err
8166 cat conftest.err
>&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); } &&
8169 { ac_try
='test -z "$ac_c_werror_flag"
8170 || test ! -s conftest.err'
8171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); }; } &&
8176 { ac_try
='test -s conftest$ac_exeext'
8177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); }; }; then
8182 gas_cv_assert_ok
=yes
8184 echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.
$ac_ext >&5
8189 rm -f conftest.err conftest.
$ac_objext \
8190 conftest
$ac_exeext conftest.
$ac_ext
8192 echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
8193 echo "${ECHO_T}$gas_cv_assert_ok" >&6
8194 test $gas_cv_assert_ok = yes ||
8195 cat >>confdefs.h
<<\_ACEOF
8196 #define BROKEN_ASSERT 1
8201 # On some systems, the system header files may not declare malloc, realloc,
8202 # and free. There are places where gas needs these functions to have been
8203 # declared -- such as when taking their addresses.
8205 #ifdef HAVE_MEMORY_H
8208 #ifdef HAVE_STRING_H
8211 #ifdef HAVE_STRINGS_H
8212 #include <strings.h>
8215 #ifdef HAVE_STDLIB_H
8218 #ifdef HAVE_UNISTD_H
8223 # Does errno.h declare errno, or do we have to add a separate declaration
8226 echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
8227 echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
8228 if test "${gas_cv_decl_needed_errno+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 cat >conftest.
$ac_ext <<_ACEOF
8234 cat confdefs.h
>>conftest.
$ac_ext
8235 cat >>conftest.
$ac_ext <<_ACEOF
8236 /* end confdefs.h. */
8254 rm -f conftest.
$ac_objext conftest
$ac_exeext
8255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256 (eval $ac_link) 2>conftest.er1
8258 grep -v '^ *+' conftest.er1
>conftest.err
8260 cat conftest.err
>&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); } &&
8263 { ac_try
='test -z "$ac_c_werror_flag"
8264 || test ! -s conftest.err'
8265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; } &&
8270 { ac_try
='test -s conftest$ac_exeext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 gas_cv_decl_needed_errno
=no
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.
$ac_ext >&5
8281 gas_cv_decl_needed_errno
=yes
8283 rm -f conftest.err conftest.
$ac_objext \
8284 conftest
$ac_exeext conftest.
$ac_ext
8286 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
8287 echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
8288 if test $gas_cv_decl_needed_errno = yes; then
8290 cat >>confdefs.h
<<\_ACEOF
8291 #define NEED_DECLARATION_ERRNO 1
8297 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
8298 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
8299 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then
8300 echo $ECHO_N "(cached) $ECHO_C" >&6
8302 cat >conftest.
$ac_ext <<_ACEOF
8305 cat confdefs.h
>>conftest.
$ac_ext
8306 cat >>conftest.
$ac_ext <<_ACEOF
8307 /* end confdefs.h. */
8312 extern int getopt (int, char *const*, const char *);
8317 rm -f conftest.
$ac_objext
8318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8319 (eval $ac_compile) 2>conftest.er1
8321 grep -v '^ *+' conftest.er1
>conftest.err
8323 cat conftest.err
>&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } &&
8326 { ac_try
='test -z "$ac_c_werror_flag"
8327 || test ! -s conftest.err'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } &&
8333 { ac_try
='test -s conftest.$ac_objext'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; }; then
8339 gas_cv_decl_getopt_unistd_h
=yes
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.
$ac_ext >&5
8344 gas_cv_decl_getopt_unistd_h
=no
8346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8349 echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
8350 echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6
8351 if test $gas_cv_decl_getopt_unistd_h = yes; then
8353 cat >>confdefs.h
<<\_ACEOF
8354 #define HAVE_DECL_GETOPT 1
8360 echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
8361 echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
8362 if test "${gas_cv_decl_needed_environ+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 cat >conftest.
$ac_ext <<_ACEOF
8368 cat confdefs.h
>>conftest.
$ac_ext
8369 cat >>conftest.
$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8384 rm -f conftest.
$ac_objext conftest
$ac_exeext
8385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8386 (eval $ac_link) 2>conftest.er1
8388 grep -v '^ *+' conftest.er1
>conftest.err
8390 cat conftest.err
>&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } &&
8393 { ac_try
='test -z "$ac_c_werror_flag"
8394 || test ! -s conftest.err'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; } &&
8400 { ac_try
='test -s conftest$ac_exeext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 gas_cv_decl_needed_environ
=no
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.
$ac_ext >&5
8411 gas_cv_decl_needed_environ
=yes
8413 rm -f conftest.err conftest.
$ac_objext \
8414 conftest
$ac_exeext conftest.
$ac_ext
8416 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
8417 echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
8418 if test $gas_cv_decl_needed_environ = yes; then
8420 cat >>confdefs.h
<<\_ACEOF
8421 #define NEED_DECLARATION_ENVIRON 1
8427 echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
8428 echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6
8429 if test "${gas_cv_decl_needed_ffs+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 cat >conftest.
$ac_ext <<_ACEOF
8435 cat confdefs.h
>>conftest.
$ac_ext
8436 cat >>conftest.
$ac_ext <<_ACEOF
8437 /* end confdefs.h. */
8443 typedef int (*f)(int);
8451 rm -f conftest.
$ac_objext conftest
$ac_exeext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8453 (eval $ac_link) 2>conftest.er1
8455 grep -v '^ *+' conftest.er1
>conftest.err
8457 cat conftest.err
>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try
='test -z "$ac_c_werror_flag"
8461 || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try
='test -s conftest$ac_exeext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 gas_cv_decl_needed_ffs
=no
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.
$ac_ext >&5
8478 gas_cv_decl_needed_ffs
=yes
8480 rm -f conftest.err conftest.
$ac_objext \
8481 conftest
$ac_exeext conftest.
$ac_ext
8483 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
8484 echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6
8485 if test $gas_cv_decl_needed_ffs = yes; then
8487 cat >>confdefs.h
<<\_ACEOF
8488 #define NEED_DECLARATION_FFS 1
8494 echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
8495 echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
8496 if test "${gas_cv_decl_needed_free+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 cat >conftest.
$ac_ext <<_ACEOF
8502 cat confdefs.h
>>conftest.
$ac_ext
8503 cat >>conftest.
$ac_ext <<_ACEOF
8504 /* end confdefs.h. */
8510 typedef void (*f)();
8518 rm -f conftest.
$ac_objext conftest
$ac_exeext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8520 (eval $ac_link) 2>conftest.er1
8522 grep -v '^ *+' conftest.er1
>conftest.err
8524 cat conftest.err
>&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try
='test -z "$ac_c_werror_flag"
8528 || test ! -s conftest.err'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; } &&
8534 { ac_try
='test -s conftest$ac_exeext'
8535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); }; }; then
8540 gas_cv_decl_needed_free
=no
8542 echo "$as_me: failed program was:" >&5
8543 sed 's/^/| /' conftest.
$ac_ext >&5
8545 gas_cv_decl_needed_free
=yes
8547 rm -f conftest.err conftest.
$ac_objext \
8548 conftest
$ac_exeext conftest.
$ac_ext
8550 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
8551 echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
8552 if test $gas_cv_decl_needed_free = yes; then
8554 cat >>confdefs.h
<<\_ACEOF
8555 #define NEED_DECLARATION_FREE 1
8561 echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
8562 echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
8563 if test "${gas_cv_decl_needed_malloc+set}" = set; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6
8566 cat >conftest.
$ac_ext <<_ACEOF
8569 cat confdefs.h
>>conftest.
$ac_ext
8570 cat >>conftest.
$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8577 typedef char *(*f)();
8585 rm -f conftest.
$ac_objext conftest
$ac_exeext
8586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8587 (eval $ac_link) 2>conftest.er1
8589 grep -v '^ *+' conftest.er1
>conftest.err
8591 cat conftest.err
>&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); } &&
8594 { ac_try
='test -z "$ac_c_werror_flag"
8595 || test ! -s conftest.err'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; } &&
8601 { ac_try
='test -s conftest$ac_exeext'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; }; then
8607 gas_cv_decl_needed_malloc
=no
8609 echo "$as_me: failed program was:" >&5
8610 sed 's/^/| /' conftest.
$ac_ext >&5
8612 gas_cv_decl_needed_malloc
=yes
8614 rm -f conftest.err conftest.
$ac_objext \
8615 conftest
$ac_exeext conftest.
$ac_ext
8617 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
8618 echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
8619 if test $gas_cv_decl_needed_malloc = yes; then
8621 cat >>confdefs.h
<<\_ACEOF
8622 #define NEED_DECLARATION_MALLOC 1
8628 echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
8629 echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
8630 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 cat >conftest.
$ac_ext <<_ACEOF
8636 cat confdefs.h
>>conftest.
$ac_ext
8637 cat >>conftest.
$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8644 typedef char *(*f)();
8652 rm -f conftest.
$ac_objext conftest
$ac_exeext
8653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8654 (eval $ac_link) 2>conftest.er1
8656 grep -v '^ *+' conftest.er1
>conftest.err
8658 cat conftest.err
>&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); } &&
8661 { ac_try
='test -z "$ac_c_werror_flag"
8662 || test ! -s conftest.err'
8663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; } &&
8668 { ac_try
='test -s conftest$ac_exeext'
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); }; }; then
8674 gas_cv_decl_needed_sbrk
=no
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.
$ac_ext >&5
8679 gas_cv_decl_needed_sbrk
=yes
8681 rm -f conftest.err conftest.
$ac_objext \
8682 conftest
$ac_exeext conftest.
$ac_ext
8684 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
8685 echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
8686 if test $gas_cv_decl_needed_sbrk = yes; then
8688 cat >>confdefs.h
<<\_ACEOF
8689 #define NEED_DECLARATION_SBRK 1
8695 echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
8696 echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
8697 if test "${gas_cv_decl_needed_strstr+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 cat >conftest.
$ac_ext <<_ACEOF
8703 cat confdefs.h
>>conftest.
$ac_ext
8704 cat >>conftest.
$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8711 typedef char *(*f)();
8719 rm -f conftest.
$ac_objext conftest
$ac_exeext
8720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8721 (eval $ac_link) 2>conftest.er1
8723 grep -v '^ *+' conftest.er1
>conftest.err
8725 cat conftest.err
>&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); } &&
8728 { ac_try
='test -z "$ac_c_werror_flag"
8729 || test ! -s conftest.err'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; } &&
8735 { ac_try
='test -s conftest$ac_exeext'
8736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); }; }; then
8741 gas_cv_decl_needed_strstr
=no
8743 echo "$as_me: failed program was:" >&5
8744 sed 's/^/| /' conftest.
$ac_ext >&5
8746 gas_cv_decl_needed_strstr
=yes
8748 rm -f conftest.err conftest.
$ac_objext \
8749 conftest
$ac_exeext conftest.
$ac_ext
8751 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
8752 echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
8753 if test $gas_cv_decl_needed_strstr = yes; then
8755 cat >>confdefs.h
<<\_ACEOF
8756 #define NEED_DECLARATION_STRSTR 1
8762 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
8763 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
8764 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
8765 echo $ECHO_N "(cached) $ECHO_C" >&6
8767 cat >conftest.
$ac_ext <<_ACEOF
8770 cat confdefs.h
>>conftest.
$ac_ext
8771 cat >>conftest.
$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8773 $ac_includes_default
8778 char *p = (char *) vsnprintf;
8785 rm -f conftest.
$ac_objext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787 (eval $ac_compile) 2>conftest.er1
8789 grep -v '^ *+' conftest.er1
>conftest.err
8791 cat conftest.err
>&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try
='test -z "$ac_c_werror_flag"
8795 || test ! -s conftest.err'
8796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); }; } &&
8801 { ac_try
='test -s conftest.$ac_objext'
8802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); }; }; then
8807 ac_cv_have_decl_vsnprintf
=yes
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.
$ac_ext >&5
8812 ac_cv_have_decl_vsnprintf
=no
8814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8816 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
8817 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
8818 if test $ac_cv_have_decl_vsnprintf = yes; then
8820 cat >>confdefs.h
<<_ACEOF
8821 #define HAVE_DECL_VSNPRINTF 1
8826 cat >>confdefs.h
<<_ACEOF
8827 #define HAVE_DECL_VSNPRINTF 0
8841 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
8843 ac_config_commands
="$ac_config_commands default"
8846 cat >confcache
<<\_ACEOF
8847 # This file is a shell script that caches the results of configure
8848 # tests run on this system so they can be shared between configure
8849 # scripts and configure runs, see configure's option --config-cache.
8850 # It is not useful on other systems. If it contains results you don't
8851 # want to keep, you may remove or edit it.
8853 # config.status only pays attention to the cache file if you give it
8854 # the --recheck option to rerun configure.
8856 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8857 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8862 # The following way of writing the cache mishandles newlines in values,
8863 # but we know of no workaround that is simple, portable, and efficient.
8864 # So, don't put newlines in cache variables' values.
8865 # Ultrix sh set writes to stderr and can't be redirected directly,
8866 # and sets the high bit in the cache file unless we assign to the vars.
8869 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8871 # `set' does not quote correctly, so add quotes (double-quote
8872 # substitution turns \\\\ into \\, and sed turns \\ into \).
8875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8878 # `set' quotes correctly as required by POSIX, so do not add quotes.
8880 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8887 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8889 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8891 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8892 if test -w $cache_file; then
8893 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8894 cat confcache
>$cache_file
8896 echo "not updating unwritable cache $cache_file"
8901 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8902 # Let make expand exec_prefix.
8903 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8905 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8907 # trailing colons and then remove the whole line if VPATH becomes empty
8908 # (actually we leave an empty line to preserve line numbers).
8909 if test "x$srcdir" = x.
; then
8910 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8911 s/:*\$(srcdir):*/:/;
8912 s/:*\${srcdir}:*/:/;
8914 s/^\([^=]*=[ ]*\):*/\1/;
8920 DEFS
=-DHAVE_CONFIG_H
8924 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8925 # 1. Remove the extension, and $U if already installed.
8926 ac_i
=`echo "$ac_i" |
8927 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8929 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8930 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8934 LTLIBOBJS
=$ac_ltlibobjs
8937 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8938 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8939 Usually this means the macro was only invoked conditionally." >&5
8940 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8941 Usually this means the macro was only invoked conditionally." >&2;}
8942 { (exit 1); exit 1; }; }
8944 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8945 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8946 Usually this means the macro was only invoked conditionally." >&5
8947 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8948 Usually this means the macro was only invoked conditionally." >&2;}
8949 { (exit 1); exit 1; }; }
8951 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8952 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8953 Usually this means the macro was only invoked conditionally." >&5
8954 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8955 Usually this means the macro was only invoked conditionally." >&2;}
8956 { (exit 1); exit 1; }; }
8959 : ${CONFIG_STATUS=./config.status}
8960 ac_clean_files_save
=$ac_clean_files
8961 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8962 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8963 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8964 cat >$CONFIG_STATUS <<_ACEOF
8966 # Generated by $as_me.
8967 # Run this file to recreate the current configuration.
8968 # Compiler output produced by configure, useful for debugging
8969 # configure, is in config.log if it exists.
8974 SHELL=\${CONFIG_SHELL-$SHELL}
8977 cat >>$CONFIG_STATUS <<\_ACEOF
8978 ## --------------------- ##
8979 ## M4sh Initialization. ##
8980 ## --------------------- ##
8982 # Be Bourne compatible
8983 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8986 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8987 # is contrary to our usage. Disable this feature.
8988 alias -g '${1+"$@"}'='"$@"'
8989 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8992 DUALCASE
=1; export DUALCASE
# for MKS sh
8994 # Support unset when possible.
8995 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9002 # Work around bugs in pre-3.0 UWIN ksh.
9003 $as_unset ENV MAIL MAILPATH
9010 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9011 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9012 LC_TELEPHONE LC_TIME
9014 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9015 eval $as_var=C
; export $as_var
9021 # Required to use basename.
9022 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9028 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9029 as_basename
=basename
9035 # Name of the executable.
9036 as_me
=`$as_basename "$0" ||
9037 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9038 X"$0" : 'X\(//\)$' \| \
9039 X"$0" : 'X\(/\)$' \| \
9040 . : '\(.\)' 2>/dev/null ||
9042 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9043 /^X\/\(\/\/\)$/{ s//\1/; q; }
9044 /^X\/\(\/\).*/{ s//\1/; q; }
9048 # PATH needs CR, and LINENO needs CR and PATH.
9049 # Avoid depending upon Character Ranges.
9050 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9051 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9052 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9053 as_cr_digits
='0123456789'
9054 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9056 # The user is always right.
9057 if test "${PATH_SEPARATOR+set}" != set; then
9058 echo "#! /bin/sh" >conf$$.sh
9059 echo "exit 0" >>conf$$.sh
9061 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9072 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9073 test "x$as_lineno_1" != "x$as_lineno_2" &&
9074 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9075 # Find who we are. Look in the path if we contain no path at all
9078 *[\\/]* ) as_myself
=$0 ;;
9079 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9083 test -z "$as_dir" && as_dir
=.
9084 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9089 # We did not find ourselves, most probably we were run as `sh COMMAND'
9090 # in which case we are not to be found in the path.
9091 if test "x$as_myself" = x
; then
9094 if test ! -f "$as_myself"; then
9095 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9096 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9097 { (exit 1); exit 1; }; }
9099 case $CONFIG_SHELL in
9101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9102 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9105 test -z "$as_dir" && as_dir
=.
9106 for as_base
in sh bash ksh sh5
; do
9109 if ("$as_dir/$as_base" -c '
9112 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9113 test "x$as_lineno_1" != "x$as_lineno_2" &&
9114 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9115 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9116 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9117 CONFIG_SHELL
=$as_dir/$as_base
9119 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9127 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9128 # uniformly replaced by the line number. The first 'sed' inserts a
9129 # line-number line before each line; the second 'sed' does the real
9130 # work. The second script uses 'N' to pair each line-number line
9131 # with the numbered line, and appends trailing '-' during
9132 # substitution so that $LINENO is not a special case at line end.
9133 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9134 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9135 sed '=' <$as_myself |
9140 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9143 s,^['$as_cr_digits']*\n,,
9145 chmod +x
$as_me.lineno ||
9146 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9147 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9148 { (exit 1); exit 1; }; }
9150 # Don't try to exec as it changes $[0], causing all sort of problems
9151 # (the dirname of $[0] is not the place where we might find the
9152 # original and so on. Autoconf is especially sensible to this).
9154 # Exit status is that of the last command.
9159 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9160 *c
*,-n*) ECHO_N
= ECHO_C
='
9162 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9163 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9166 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9172 rm -f conf$$ conf$$.exe conf$$.
file
9174 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9175 # We could just check for DJGPP; but this test a) works b) is more generic
9176 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9177 if test -f conf$$.exe
; then
9178 # Don't use ln at all; we don't have any links
9183 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9188 rm -f conf$$ conf$$.exe conf$$.
file
9190 if mkdir
-p .
2>/dev
/null
; then
9193 test -d .
/-p && rmdir .
/-p
9197 as_executable_p
="test -f"
9199 # Sed expression to map a string onto a valid CPP name.
9200 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9202 # Sed expression to map a string onto a valid variable name.
9203 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9207 # We need space, tab and new line, in precisely that order.
9217 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9218 # report actual input values of CONFIG_FILES etc. instead of their
9219 # values after options handling. Logging --version etc. is OK.
9223 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9224 ## Running $as_me. ##
9229 This file was extended by $as_me, which was
9230 generated by GNU Autoconf 2.59. Invocation command line was
9232 CONFIG_FILES = $CONFIG_FILES
9233 CONFIG_HEADERS = $CONFIG_HEADERS
9234 CONFIG_LINKS = $CONFIG_LINKS
9235 CONFIG_COMMANDS = $CONFIG_COMMANDS
9239 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9243 # Files that config.status was made for.
9244 if test -n "$ac_config_files"; then
9245 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9248 if test -n "$ac_config_headers"; then
9249 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9252 if test -n "$ac_config_links"; then
9253 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9256 if test -n "$ac_config_commands"; then
9257 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9260 cat >>$CONFIG_STATUS <<\_ACEOF
9263 \`$as_me' instantiates files from templates according to the
9264 current configuration.
9266 Usage: $0 [OPTIONS] [FILE]...
9268 -h, --help print this help, then exit
9269 -V, --version print version number, then exit
9270 -q, --quiet do not print progress messages
9271 -d, --debug don't remove temporary files
9272 --recheck update $as_me by reconfiguring in the same conditions
9273 --file=FILE[:TEMPLATE]
9274 instantiate the configuration file FILE
9275 --header=FILE[:TEMPLATE]
9276 instantiate the configuration header FILE
9278 Configuration files:
9281 Configuration headers:
9284 Configuration commands:
9287 Report bugs to <bug-autoconf@gnu.org>."
9290 cat >>$CONFIG_STATUS <<_ACEOF
9293 configured by $0, generated by GNU Autoconf 2.59,
9294 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9296 Copyright (C) 2003 Free Software Foundation, Inc.
9297 This config.status script is free software; the Free Software Foundation
9298 gives unlimited permission to copy, distribute and modify it."
9303 cat >>$CONFIG_STATUS <<\_ACEOF
9304 # If no file are specified by the user, then we need to provide default
9305 # value. By we need to know if files were specified by the user.
9311 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9312 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9320 *) # This is not an option, so the user has probably given explicit
9323 ac_need_defaults
=false
;;
9327 # Handling of the options.
9329 cat >>$CONFIG_STATUS <<\_ACEOF
9330 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9332 --version |
--vers* |
-V )
9333 echo "$ac_cs_version"; exit 0 ;;
9335 # Conflict between --help and --header
9336 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9337 Try \`$0 --help' for more information." >&5
9338 echo "$as_me: error: ambiguous option: $1
9339 Try \`$0 --help' for more information." >&2;}
9340 { (exit 1); exit 1; }; };;
9341 --help |
--hel |
-h )
9342 echo "$ac_cs_usage"; exit 0 ;;
9343 --debug |
--d* |
-d )
9345 --file |
--fil |
--fi |
--f )
9347 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9348 ac_need_defaults
=false
;;
9349 --header |
--heade |
--head |
--hea )
9351 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9352 ac_need_defaults
=false
;;
9353 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9354 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9358 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9359 Try \`$0 --help' for more information." >&5
9360 echo "$as_me: error: unrecognized option: $1
9361 Try \`$0 --help' for more information." >&2;}
9362 { (exit 1); exit 1; }; } ;;
9364 *) ac_config_targets
="$ac_config_targets $1" ;;
9370 ac_configure_extra_args
=
9372 if $ac_cs_silent; then
9374 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9378 cat >>$CONFIG_STATUS <<_ACEOF
9379 if \$ac_cs_recheck; then
9380 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9381 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9386 cat >>$CONFIG_STATUS <<_ACEOF
9388 # INIT-COMMANDS section.
9391 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9392 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9393 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
9395 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9396 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9397 LINGUAS="${LINGUAS-%UNSET%}"
9399 target_cpu_type=${target_cpu_type}
9400 cgen_cpu_prefix=${cgen_cpu_prefix}
9401 obj_format=${obj_format}
9408 cat >>$CONFIG_STATUS <<\_ACEOF
9409 for ac_config_target
in $ac_config_targets
9411 case "$ac_config_target" in
9412 # Handling of arguments.
9413 "gdb.ini" ) CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
9414 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
9415 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9416 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9417 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
9418 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9419 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9420 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9421 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9422 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9423 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9424 { (exit 1); exit 1; }; };;
9428 # If the user did not use the arguments to specify the items to instantiate,
9429 # then the envvar interface is used. Set only those that are not.
9430 # We use the long form for the default assignment because of an extremely
9431 # bizarre bug on SunOS 4.1.3.
9432 if $ac_need_defaults; then
9433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9438 # Have a temporary directory for convenience. Make it in the build tree
9439 # simply because there is no reason to put it here, and in addition,
9440 # creating and moving files from /tmp can sometimes cause problems.
9441 # Create a temporary directory, and hook for its removal unless debugging.
9444 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9445 trap '{ (exit 1); exit 1; }' 1 2 13 15
9448 # Create a (secure) tmp directory for tmp files.
9451 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9452 test -n "$tmp" && test -d "$tmp"
9455 tmp
=.
/confstat$$
-$RANDOM
9456 (umask 077 && mkdir
$tmp)
9459 echo "$me: cannot create a temporary directory in ." >&2
9460 { (exit 1); exit 1; }
9465 cat >>$CONFIG_STATUS <<_ACEOF
9468 # CONFIG_FILES section.
9471 # No need to generate the scripts if there are no CONFIG_FILES.
9472 # This happens for instance when ./config.status config.h
9473 if test -n "\$CONFIG_FILES"; then
9474 # Protect against being on the right side of a sed subst in config.status.
9475 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9476 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9477 s,@SHELL@,$SHELL,;t t
9478 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9479 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9480 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9481 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9482 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9483 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9484 s,@exec_prefix@,$exec_prefix,;t t
9485 s,@prefix@,$prefix,;t t
9486 s,@program_transform_name@,$program_transform_name,;t t
9487 s,@bindir@,$bindir,;t t
9488 s,@sbindir@,$sbindir,;t t
9489 s,@libexecdir@,$libexecdir,;t t
9490 s,@datadir@,$datadir,;t t
9491 s,@sysconfdir@,$sysconfdir,;t t
9492 s,@sharedstatedir@,$sharedstatedir,;t t
9493 s,@localstatedir@,$localstatedir,;t t
9494 s,@libdir@,$libdir,;t t
9495 s,@includedir@,$includedir,;t t
9496 s,@oldincludedir@,$oldincludedir,;t t
9497 s,@infodir@,$infodir,;t t
9498 s,@mandir@,$mandir,;t t
9499 s,@build_alias@,$build_alias,;t t
9500 s,@host_alias@,$host_alias,;t t
9501 s,@target_alias@,$target_alias,;t t
9503 s,@ECHO_C@,$ECHO_C,;t t
9504 s,@ECHO_N@,$ECHO_N,;t t
9505 s,@ECHO_T@,$ECHO_T,;t t
9507 s,@build@,$build,;t t
9508 s,@build_cpu@,$build_cpu,;t t
9509 s,@build_vendor@,$build_vendor,;t t
9510 s,@build_os@,$build_os,;t t
9512 s,@host_cpu@,$host_cpu,;t t
9513 s,@host_vendor@,$host_vendor,;t t
9514 s,@host_os@,$host_os,;t t
9515 s,@target@,$target,;t t
9516 s,@target_cpu@,$target_cpu,;t t
9517 s,@target_vendor@,$target_vendor,;t t
9518 s,@target_os@,$target_os,;t t
9520 s,@CFLAGS@,$CFLAGS,;t t
9521 s,@LDFLAGS@,$LDFLAGS,;t t
9522 s,@CPPFLAGS@,$CPPFLAGS,;t t
9523 s,@ac_ct_CC@,$ac_ct_CC,;t t
9524 s,@EXEEXT@,$EXEEXT,;t t
9525 s,@OBJEXT@,$OBJEXT,;t t
9526 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9527 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9528 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9529 s,@CYGPATH_W@,$CYGPATH_W,;t t
9530 s,@PACKAGE@,$PACKAGE,;t t
9531 s,@VERSION@,$VERSION,;t t
9532 s,@ACLOCAL@,$ACLOCAL,;t t
9533 s,@AUTOCONF@,$AUTOCONF,;t t
9534 s,@AUTOMAKE@,$AUTOMAKE,;t t
9535 s,@AUTOHEADER@,$AUTOHEADER,;t t
9536 s,@MAKEINFO@,$MAKEINFO,;t t
9537 s,@install_sh@,$install_sh,;t t
9538 s,@STRIP@,$STRIP,;t t
9539 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9540 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9541 s,@mkdir_p@,$mkdir_p,;t t
9543 s,@SET_MAKE@,$SET_MAKE,;t t
9544 s,@am__leading_dot@,$am__leading_dot,;t t
9545 s,@AMTAR@,$AMTAR,;t t
9546 s,@am__tar@,$am__tar,;t t
9547 s,@am__untar@,$am__untar,;t t
9548 s,@DEPDIR@,$DEPDIR,;t t
9549 s,@am__include@,$am__include,;t t
9550 s,@am__quote@,$am__quote,;t t
9551 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9552 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9553 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9554 s,@CCDEPMODE@,$CCDEPMODE,;t t
9555 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9556 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9558 s,@RANLIB@,$RANLIB,;t t
9559 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9560 s,@LIBTOOL@,$LIBTOOL,;t t
9561 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9562 s,@NO_WERROR@,$NO_WERROR,;t t
9563 s,@GDBINIT@,$GDBINIT,;t t
9564 s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
9565 s,@extra_objects@,$extra_objects,;t t
9566 s,@target_cpu_type@,$target_cpu_type,;t t
9567 s,@obj_format@,$obj_format,;t t
9568 s,@te_file@,$te_file,;t t
9569 s,@install_tooldir@,$install_tooldir,;t t
9571 s,@OPCODES_LIB@,$OPCODES_LIB,;t t
9574 s,@LEXLIB@,$LEXLIB,;t t
9575 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9576 s,@USE_NLS@,$USE_NLS,;t t
9577 s,@LIBINTL@,$LIBINTL,;t t
9578 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
9579 s,@INCINTL@,$INCINTL,;t t
9580 s,@XGETTEXT@,$XGETTEXT,;t t
9581 s,@GMSGFMT@,$GMSGFMT,;t t
9582 s,@POSUB@,$POSUB,;t t
9583 s,@CATALOGS@,$CATALOGS,;t t
9584 s,@DATADIRNAME@,$DATADIRNAME,;t t
9585 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9586 s,@GENCAT@,$GENCAT,;t t
9587 s,@CATOBJEXT@,$CATOBJEXT,;t t
9588 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9589 s,@MSGFMT@,$MSGFMT,;t t
9590 s,@MSGMERGE@,$MSGMERGE,;t t
9591 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9592 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9593 s,@MAINT@,$MAINT,;t t
9595 s,@EGREP@,$EGREP,;t t
9596 s,@ALLOCA@,$ALLOCA,;t t
9598 s,@datarootdir@,$datarootdir,;t t
9599 s,@docdir@,$docdir,;t t
9600 s,@htmldir@,$htmldir,;t t
9601 s,@LIBOBJS@,$LIBOBJS,;t t
9602 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9607 cat >>$CONFIG_STATUS <<\_ACEOF
9608 # Split the substitutions into bite-sized pieces for seds with
9609 # small command number limits, like on Digital OSF/1 and HP-UX.
9611 ac_sed_frag
=1 # Number of current file.
9612 ac_beg
=1 # First line for current file.
9613 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9616 while $ac_more_lines; do
9617 if test $ac_beg -gt 1; then
9618 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9620 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9622 if test ! -s $tmp/subs.frag
; then
9625 # The purpose of the label and of the branching condition is to
9626 # speed up the sed processing (if there are no `@' at all, there
9627 # is no need to browse any of the substitutions).
9628 # These are the two extra sed commands mentioned above.
9630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9631 if test -z "$ac_sed_cmds"; then
9632 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9634 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9636 ac_sed_frag
=`expr $ac_sed_frag + 1`
9638 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9641 if test -z "$ac_sed_cmds"; then
9644 fi # test -n "$CONFIG_FILES"
9647 cat >>$CONFIG_STATUS <<\_ACEOF
9648 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9649 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9651 - |
*:- |
*:-:* ) # input from stdin
9653 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9654 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9655 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9656 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9657 * ) ac_file_in
=$ac_file.
in ;;
9660 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9661 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9663 X"$ac_file" : 'X\(//\)[^/]' \| \
9664 X"$ac_file" : 'X\(//\)$' \| \
9665 X"$ac_file" : 'X\(/\)' \| \
9666 . : '\(.\)' 2>/dev/null ||
9668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9670 /^X\(\/\/\)$/{ s//\1/; q; }
9671 /^X\(\/\).*/{ s//\1/; q; }
9673 { if $as_mkdir_p; then
9678 while test ! -d "$as_dir"; do
9679 as_dirs
="$as_dir $as_dirs"
9680 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9682 X"$as_dir" : 'X\(//\)[^/]' \| \
9683 X"$as_dir" : 'X\(//\)$' \| \
9684 X"$as_dir" : 'X\(/\)' \| \
9685 . : '\(.\)' 2>/dev/null ||
9687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9689 /^X\(\/\/\)$/{ s//\1/; q; }
9690 /^X\(\/\).*/{ s//\1/; q; }
9693 test ! -n "$as_dirs" || mkdir
$as_dirs
9694 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9696 { (exit 1); exit 1; }; }; }
9700 if test "$ac_dir" != .
; then
9701 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9702 # A "../" for each directory in $ac_dir_suffix.
9703 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9705 ac_dir_suffix
= ac_top_builddir
=
9709 .
) # No --srcdir option. We are building in place.
9711 if test -z "$ac_top_builddir"; then
9714 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9716 [\\/]* | ?
:[\\/]* ) # Absolute path.
9717 ac_srcdir
=$srcdir$ac_dir_suffix;
9718 ac_top_srcdir
=$srcdir ;;
9720 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9721 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9724 # Do not use `cd foo && pwd` to compute absolute paths, because
9725 # the directories may not exist.
9727 .
) ac_abs_builddir
="$ac_dir";;
9730 .
) ac_abs_builddir
=`pwd`;;
9731 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9732 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9735 case $ac_abs_builddir in
9736 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9738 case ${ac_top_builddir}.
in
9739 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9740 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9741 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9744 case $ac_abs_builddir in
9745 .
) ac_abs_srcdir
=$ac_srcdir;;
9748 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9749 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9750 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9753 case $ac_abs_builddir in
9754 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9756 case $ac_top_srcdir in
9757 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9758 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9759 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9765 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9766 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9769 if test x
"$ac_file" != x-
; then
9770 { echo "$as_me:$LINENO: creating $ac_file" >&5
9771 echo "$as_me: creating $ac_file" >&6;}
9774 # Let's still pretend it is `configure' which instantiates (i.e., don't
9775 # use $as_me), people would be surprised to read:
9776 # /* config.h. Generated by config.status. */
9777 if test x
"$ac_file" = x-
; then
9780 configure_input
="$ac_file. "
9782 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9783 sed 's,.*/,,'` by configure."
9785 # First look for the input files in the build tree, otherwise in the
9787 ac_file_inputs
=`IFS=:
9788 for f in $ac_file_in; do
9790 -) echo $tmp/stdin ;;
9792 # Absolute (can't be DOS-style, as IFS=:)
9793 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9794 echo "$as_me: error: cannot find input file: $f" >&2;}
9795 { (exit 1); exit 1; }; }
9798 if test -f "$f"; then
9801 elif test -f "$srcdir/$f"; then
9806 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9807 echo "$as_me: error: cannot find input file: $f" >&2;}
9808 { (exit 1); exit 1; }; }
9811 done` ||
{ (exit 1); exit 1; }
9813 cat >>$CONFIG_STATUS <<_ACEOF
9817 cat >>$CONFIG_STATUS <<\_ACEOF
9819 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9820 s
,@configure_input@
,$configure_input,;t t
9821 s
,@srcdir@
,$ac_srcdir,;t t
9822 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9823 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9824 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9825 s
,@builddir@
,$ac_builddir,;t t
9826 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9827 s
,@top_builddir@
,$ac_top_builddir,;t t
9828 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9829 s
,@INSTALL@
,$ac_INSTALL,;t t
9830 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9832 if test x"$ac_file" != x-; then
9833 mv $tmp/out $ac_file
9841 cat >>$CONFIG_STATUS <<\_ACEOF
9844 # CONFIG_HEADER section.
9847 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9848 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9850 # ac_d sets the value in "#define NAME VALUE" lines.
9851 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9852 ac_dB
='[ ].*$,\1#\2'
9855 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9856 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9857 ac_uB
='$,\1#\2define\3'
9861 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9862 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9864 - |
*:- |
*:-:* ) # input from stdin
9866 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9867 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9868 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9869 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9870 * ) ac_file_in
=$ac_file.
in ;;
9873 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9874 echo "$as_me: creating $ac_file" >&6;}
9876 # First look for the input files in the build tree, otherwise in the
9878 ac_file_inputs
=`IFS=:
9879 for f in $ac_file_in; do
9881 -) echo $tmp/stdin ;;
9883 # Absolute (can't be DOS-style, as IFS=:)
9884 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9885 echo "$as_me: error: cannot find input file: $f" >&2;}
9886 { (exit 1); exit 1; }; }
9887 # Do quote $f, to prevent DOS paths from being IFS'd.
9890 if test -f "$f"; then
9893 elif test -f "$srcdir/$f"; then
9898 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9899 echo "$as_me: error: cannot find input file: $f" >&2;}
9900 { (exit 1); exit 1; }; }
9903 done` ||
{ (exit 1); exit 1; }
9904 # Remove the trailing spaces.
9905 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9909 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9910 # `conftest.undefs', that substitutes the proper values into
9911 # config.h.in to produce config.h. The first handles `#define'
9912 # templates, and the second `#undef' templates.
9913 # And first: Protect against being on the right side of a sed subst in
9914 # config.status. Protect against being in an unquoted here document
9916 rm -f conftest.defines conftest.undefs
9917 # Using a here document instead of a string reduces the quoting nightmare.
9918 # Putting comments in sed scripts is not portable.
9920 # `end' is used to avoid that the second main sed command (meant for
9921 # 0-ary CPP macros) applies to n-ary macro definitions.
9922 # See the Autoconf documentation for `clear'.
9923 cat >confdef2sed.
sed <<\_ACEOF
9928 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9930 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9933 # If some macros were called several times there might be several times
9934 # the same #defines, which is useless. Nevertheless, we may not want to
9935 # sort them, since we want the *last* AC-DEFINE to be honored.
9936 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9937 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9938 rm -f confdef2sed.sed
9940 # This sed command replaces #undef with comments. This is necessary, for
9941 # example, in the case of _POSIX_SOURCE, which is predefined and required
9942 # on some systems where configure will not decide to define it.
9943 cat >>conftest.undefs <<\_ACEOF
9944 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9947 # Break up conftest.defines because some shells have a limit on the size
9948 # of here documents, and old seds have small limits too (100 cmds).
9949 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9950 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9951 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9952 echo ' :' >>$CONFIG_STATUS
9954 while grep . conftest.defines >/dev/null
9956 # Write a limited-size here document to $tmp/defines.sed.
9957 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9958 # Speed up: don't consider the non `#define' lines.
9959 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9960 # Work around the forget-to-reset-the-flag bug.
9961 echo 't clr' >>$CONFIG_STATUS
9962 echo ': clr' >>$CONFIG_STATUS
9963 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9965 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9969 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9970 rm -f conftest.defines
9971 mv conftest.
tail conftest.defines
9973 rm -f conftest.defines
9974 echo ' fi # grep' >>$CONFIG_STATUS
9975 echo >>$CONFIG_STATUS
9977 # Break up conftest.undefs because some shells have a limit on the size
9978 # of here documents, and old seds have small limits too (100 cmds).
9979 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9981 while grep . conftest.undefs
>/dev
/null
9983 # Write a limited-size here document to $tmp/undefs.sed.
9984 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9985 # Speed up: don't consider the non
`#undef'
9986 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9987 # Work around the forget-to-reset-the-flag bug.
9988 echo 't clr' >>$CONFIG_STATUS
9989 echo ': clr' >>$CONFIG_STATUS
9990 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9992 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9996 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9997 rm -f conftest.undefs
9998 mv conftest.tail conftest.undefs
10000 rm -f conftest.undefs
10002 cat >>$CONFIG_STATUS <<\_ACEOF
10003 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10004 # use $as_me), people would be surprised to read:
10005 # /* config.h. Generated by config.status. */
10006 if test x
"$ac_file" = x-
; then
10007 echo "/* Generated by configure. */" >$tmp/config.h
10009 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10011 cat $tmp/in >>$tmp/config.h
10013 if test x
"$ac_file" != x-
; then
10014 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10015 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10016 echo "$as_me: $ac_file is unchanged" >&6;}
10018 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10019 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10020 X"$ac_file" : 'X\(//\)[^/]' \| \
10021 X"$ac_file" : 'X\(//\)$' \| \
10022 X"$ac_file" : 'X\(/\)' \| \
10023 . : '\(.\)' 2>/dev/null ||
10025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10027 /^X\(\/\/\)$/{ s//\1/; q; }
10028 /^X\(\/\).*/{ s//\1/; q; }
10030 { if $as_mkdir_p; then
10035 while test ! -d "$as_dir"; do
10036 as_dirs
="$as_dir $as_dirs"
10037 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10039 X"$as_dir" : 'X\(//\)[^/]' \| \
10040 X"$as_dir" : 'X\(//\)$' \| \
10041 X"$as_dir" : 'X\(/\)' \| \
10042 . : '\(.\)' 2>/dev/null ||
10044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10045 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10046 /^X\(\/\/\)$/{ s//\1/; q; }
10047 /^X\(\/\).*/{ s//\1/; q; }
10050 test ! -n "$as_dirs" || mkdir
$as_dirs
10051 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10052 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10053 { (exit 1); exit 1; }; }; }
10056 mv $tmp/config.h
$ac_file
10060 rm -f $tmp/config.h
10062 # Compute $ac_file's index in $config_headers.
10064 for _am_header
in $config_headers :; do
10065 case $_am_header in
10066 $ac_file |
$ac_file:* )
10069 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10072 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10073 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10074 X$ac_file : 'X\(//\)[^/]' \| \
10075 X$ac_file : 'X\(//\)$' \| \
10076 X$ac_file : 'X\(/\)' \| \
10077 . : '\(.\)' 2>/dev/null ||
10079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10081 /^X\(\/\/\)$/{ s//\1/; q; }
10082 /^X\(\/\).*/{ s//\1/; q; }
10083 s/.*/./; q'`/stamp-h
$_am_stamp_count
10086 cat >>$CONFIG_STATUS <<\_ACEOF
10089 # CONFIG_COMMANDS section.
10091 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10092 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10093 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10094 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10095 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10096 X"$ac_dest" : 'X\(//\)[^/]' \| \
10097 X"$ac_dest" : 'X\(//\)$' \| \
10098 X"$ac_dest" : 'X\(/\)' \| \
10099 . : '\(.\)' 2>/dev/null ||
10101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10103 /^X\(\/\/\)$/{ s//\1/; q; }
10104 /^X\(\/\).*/{ s//\1/; q; }
10106 { if $as_mkdir_p; then
10111 while test ! -d "$as_dir"; do
10112 as_dirs
="$as_dir $as_dirs"
10113 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10115 X"$as_dir" : 'X\(//\)[^/]' \| \
10116 X"$as_dir" : 'X\(//\)$' \| \
10117 X"$as_dir" : 'X\(/\)' \| \
10118 . : '\(.\)' 2>/dev/null ||
10120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10122 /^X\(\/\/\)$/{ s//\1/; q; }
10123 /^X\(\/\).*/{ s//\1/; q; }
10126 test ! -n "$as_dirs" || mkdir
$as_dirs
10127 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10128 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10129 { (exit 1); exit 1; }; }; }
10133 if test "$ac_dir" != .
; then
10134 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10135 # A "../" for each directory in $ac_dir_suffix.
10136 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10138 ac_dir_suffix
= ac_top_builddir
=
10142 .
) # No --srcdir option. We are building in place.
10144 if test -z "$ac_top_builddir"; then
10147 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10149 [\\/]* | ?
:[\\/]* ) # Absolute path.
10150 ac_srcdir
=$srcdir$ac_dir_suffix;
10151 ac_top_srcdir
=$srcdir ;;
10152 *) # Relative path.
10153 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10154 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10157 # Do not use `cd foo && pwd` to compute absolute paths, because
10158 # the directories may not exist.
10160 .
) ac_abs_builddir
="$ac_dir";;
10163 .
) ac_abs_builddir
=`pwd`;;
10164 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10165 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10168 case $ac_abs_builddir in
10169 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10171 case ${ac_top_builddir}.
in
10172 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10173 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10174 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10177 case $ac_abs_builddir in
10178 .
) ac_abs_srcdir
=$ac_srcdir;;
10181 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10182 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10183 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10186 case $ac_abs_builddir in
10187 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10189 case $ac_top_srcdir in
10190 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10191 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10192 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10197 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10198 echo "$as_me: executing $ac_dest commands" >&6;}
10200 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10201 # Strip MF so we end up with the name of the file.
10202 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10203 # Check whether this is an Automake generated Makefile or not.
10204 # We used to match only the files named `Makefile.in', but
10205 # some people rename them; so instead we look at the file content.
10206 # Grep'ing the first line is not enough: some people post-process
10207 # each Makefile.in and add a new line on top of each file to say so.
10208 # So let's grep whole file.
10209 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10210 dirpart
=`(dirname "$mf") 2>/dev/null ||
10211 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10212 X"$mf" : 'X\(//\)[^/]' \| \
10213 X"$mf" : 'X\(//\)$' \| \
10214 X"$mf" : 'X\(/\)' \| \
10215 . : '\(.\)' 2>/dev/null ||
10217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10219 /^X\(\/\/\)$/{ s//\1/; q; }
10220 /^X\(\/\).*/{ s//\1/; q; }
10225 # Extract the definition of DEPDIR, am__include, and am__quote
10226 # from the Makefile without running `make'.
10227 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10228 test -z "$DEPDIR" && continue
10229 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10230 test -z "am__include" && continue
10231 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10232 # When using ansi2knr, U may be empty or an underscore; expand it
10233 U
=`sed -n 's/^U = //p' < "$mf"`
10234 # Find all dependency output files, they are included files with
10235 # $(DEPDIR) in their names. We invoke sed twice because it is the
10236 # simplest approach to changing $(DEPDIR) to its actual value in the
10238 for file in `sed -n "
10239 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10240 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10241 # Make sure the directory exists.
10242 test -f "$dirpart/$file" && continue
10243 fdir
=`(dirname "$file") 2>/dev/null ||
10244 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10245 X"$file" : 'X\(//\)[^/]' \| \
10246 X"$file" : 'X\(//\)$' \| \
10247 X"$file" : 'X\(/\)' \| \
10248 . : '\(.\)' 2>/dev/null ||
10250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10252 /^X\(\/\/\)$/{ s//\1/; q; }
10253 /^X\(\/\).*/{ s//\1/; q; }
10255 { if $as_mkdir_p; then
10256 mkdir
-p $dirpart/$fdir
10258 as_dir
=$dirpart/$fdir
10260 while test ! -d "$as_dir"; do
10261 as_dirs
="$as_dir $as_dirs"
10262 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10264 X"$as_dir" : 'X\(//\)[^/]' \| \
10265 X"$as_dir" : 'X\(//\)$' \| \
10266 X"$as_dir" : 'X\(/\)' \| \
10267 . : '\(.\)' 2>/dev/null ||
10269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10271 /^X\(\/\/\)$/{ s//\1/; q; }
10272 /^X\(\/\).*/{ s//\1/; q; }
10275 test ! -n "$as_dirs" || mkdir
$as_dirs
10276 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10277 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10278 { (exit 1); exit 1; }; }; }
10280 # echo "creating $dirpart/$file"
10281 echo '# dummy' > "$dirpart/$file"
10286 for ac_file
in $CONFIG_FILES; do
10287 # Support "outfile[:infile[:infile...]]"
10289 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10291 # PO directories have a Makefile.in generated from Makefile.in.in.
10292 case "$ac_file" in */Makefile.
in)
10293 # Adjust a relative srcdir.
10294 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10295 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10296 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10297 # In autoconf-2.13 it is called $ac_given_srcdir.
10298 # In autoconf-2.50 it is called $srcdir.
10299 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10300 case "$ac_given_srcdir" in
10301 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10302 /*) top_srcdir
="$ac_given_srcdir" ;;
10303 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10305 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10306 rm -f "$ac_dir/POTFILES"
10307 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
10308 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10309 POMAKEFILEDEPS
="POTFILES.in"
10310 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
10311 # on $ac_dir but don't depend on user-specified configuration
10313 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10314 # The LINGUAS file contains the set of available languages.
10315 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10316 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
10318 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10319 # Hide the ALL_LINGUAS assigment from automake.
10320 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10321 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10323 # The set of available languages was given in configure.in.
10324 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10326 case "$ac_given_srcdir" in
10328 *) srcdirpre
='$(srcdir)/' ;;
10334 for lang
in $ALL_LINGUAS; do
10335 POFILES
="$POFILES $srcdirpre$lang.po"
10336 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10337 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10338 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10340 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10341 # environment variable.
10343 if test -n "$ALL_LINGUAS"; then
10344 for presentlang
in $ALL_LINGUAS; do
10346 if test "%UNSET%" != "$LINGUAS"; then
10347 desiredlanguages
="$LINGUAS"
10349 desiredlanguages
="$ALL_LINGUAS"
10351 for desiredlang
in $desiredlanguages; do
10352 # Use the presentlang catalog if desiredlang is
10353 # a. equal to presentlang, or
10354 # b. a variant of presentlang (because in this case,
10355 # presentlang can be used as a fallback for messages
10356 # which are not translated in the desiredlang catalog).
10357 case "$desiredlang" in
10358 "$presentlang"*) useit
=yes;;
10361 if test $useit = yes; then
10362 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10367 if test -n "$INST_LINGUAS"; then
10368 for lang
in $INST_LINGUAS; do
10369 CATALOGS
="$CATALOGS $lang.gmo"
10372 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10373 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10374 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10375 if test -f "$f"; then
10377 *.orig |
*.bak |
*~
) ;;
10378 *) cat "$f" >> "$ac_dir/Makefile" ;;
10386 default
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
10387 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
10388 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
10389 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
10390 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
10391 if test "x$cgen_cpu_prefix" != x
; then
10392 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
10398 cat >>$CONFIG_STATUS <<\_ACEOF
10400 { (exit 0); exit 0; }
10402 chmod +x
$CONFIG_STATUS
10403 ac_clean_files
=$ac_clean_files_save
10406 # configure is writing to config.log, and then calls config.status.
10407 # config.status does its own redirection, appending to config.log.
10408 # Unfortunately, on DOS this fails, as config.log is still kept open
10409 # by configure, so config.status won't be able to write to it; its
10410 # output is simply discarded. So we exec the FD to /dev/null,
10411 # effectively closing config.log, so it can be properly (re)opened and
10412 # appended to by config.status. When coming back to configure, we
10413 # need to make the FD available again.
10414 if test "$no_create" != yes; then
10416 ac_config_status_args
=
10417 test "$silent" = yes &&
10418 ac_config_status_args
="$ac_config_status_args --quiet"
10420 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10422 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10423 # would make configure fail if this is the last instruction.
10424 $ac_cs_success ||
{ (exit 1); exit 1; }