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
="ar.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES AR CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_DLLWRAP BUILD_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR 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
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
872 --with-included-gettext use the GNU
gettext library included here
874 Some influential environment variables
:
875 CC C compiler
command
876 CFLAGS C compiler flags
877 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
878 nonstandard directory
<lib dir
>
879 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
880 headers
in a nonstandard directory
<include dir
>
883 Use these variables to override the choices made by
`configure' or to help
884 it to find libraries and programs with nonstandard names/locations.
889 if test "$ac_init_help" = "recursive"; then
890 # If there are subdirs, report their specific --help.
892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
893 test -d $ac_dir || continue
896 if test "$ac_dir" != .; then
897 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
898 # A "../" for each directory in $ac_dir_suffix.
899 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
901 ac_dir_suffix= ac_top_builddir=
905 .) # No --srcdir option. We are building in place.
907 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
912 [\\/]* | ?:[\\/]* ) # Absolute path.
913 ac_srcdir=$srcdir$ac_dir_suffix;
914 ac_top_srcdir=$srcdir ;;
916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920 # Do not use `cd foo
&& pwd` to compute absolute paths, because
921 # the directories may not exist.
923 .) ac_abs_builddir="$ac_dir";;
926 .) ac_abs_builddir=`pwd`;;
927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
931 case $ac_abs_builddir in
932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
934 case ${ac_top_builddir}. in
935 .) ac_abs_top_builddir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
940 case $ac_abs_builddir in
941 .) ac_abs_srcdir=$ac_srcdir;;
944 .) ac_abs_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
949 case $ac_abs_builddir in
950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
952 case $ac_top_srcdir in
953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu; then
963 $SHELL $ac_srcdir/configure.gnu --help=recursive
964 elif test -f $ac_srcdir/configure; then
966 $SHELL $ac_srcdir/configure --help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.in; then
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by $as_me, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1006 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1007 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1008 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1009 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1012 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1014 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1016 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1017 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1018 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1020 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close
' the trap.
1100 trap 'exit_status
=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var
in $ac_subst_vars
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var
in $ac_subst_files
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h
; then
1163 sed "/^$/d" confdefs.h |
sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core
*.core
&&
1171 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's
/^
/|
/' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1268 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1293 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1324 if test -f $ac_dir/install-sh; then
1326 ac_install_sh="$ac_aux_dir/install-sh -c"
1328 elif test -f $ac_dir/install.sh; then
1330 ac_install_sh="$ac_aux_dir/install.sh -c"
1332 elif test -f $ac_dir/shtool; then
1334 ac_install_sh="$ac_aux_dir/shtool install -c"
1338 if test -z "$ac_aux_dir"; then
1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1340 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1341 { (exit 1); exit 1; }; }
1343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1345 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1347 # Make sure we can run config.sub.
1348 $ac_config_sub sun4 >/dev/null 2>&1 ||
1349 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1350 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1351 { (exit 1); exit 1; }; }
1353 echo "$as_me:$LINENO: checking build system type" >&5
1354 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1355 if test "${ac_cv_build+set}" = set; then
1356 echo $ECHO_N "(cached) $ECHO_C" >&6
1358 ac_cv_build_alias=$build_alias
1359 test -z "$ac_cv_build_alias" &&
1360 ac_cv_build_alias=`$ac_config_guess`
1361 test -z "$ac_cv_build_alias" &&
1362 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1363 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1364 { (exit 1); exit 1; }; }
1365 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1372 echo "${ECHO_T}$ac_cv_build" >&6
1374 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1375 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1376 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1379 echo "$as_me:$LINENO: checking host system type" >&5
1380 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1381 if test "${ac_cv_host+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 ac_cv_host_alias=$host_alias
1385 test -z "$ac_cv_host_alias" &&
1386 ac_cv_host_alias=$ac_cv_build_alias
1387 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1389 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1390 { (exit 1); exit 1; }; }
1393 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1394 echo "${ECHO_T}$ac_cv_host" >&6
1396 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1397 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1398 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1401 echo "$as_me:$LINENO: checking target system type" >&5
1402 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1403 if test "${ac_cv_target+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_target_alias=$target_alias
1407 test "x$ac_cv_target_alias" = "x" &&
1408 ac_cv_target_alias=$ac_cv_host_alias
1409 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1416 echo "${ECHO_T}$ac_cv_target" >&6
1417 target=$ac_cv_target
1418 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1419 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1420 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1423 # The aliases save the names the user supplied, while $host etc.
1424 # will get canonicalized.
1425 test -n "$target_alias" &&
1426 test "$program_prefix$program_suffix$program_transform_name" = \
1428 program_prefix=${target_alias}-
1430 ac_cpp='$CPP $CPPFLAGS'
1431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1432 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1434 if test -n "$ac_tool_prefix"; then
1435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1437 echo "$as_me:$LINENO: checking for $ac_word" >&5
1438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1439 if test "${ac_cv_prog_CC+set}" = set; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 if test -n "$CC"; then
1443 ac_cv_prog_CC="$CC" # Let the user override the test.
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 for ac_exec_ext in '' $ac_executable_extensions; do
1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462 if test -n "$CC"; then
1463 echo "$as_me:$LINENO: result: $CC" >&5
1464 echo "${ECHO_T}$CC" >&6
1466 echo "$as_me:$LINENO: result: no" >&5
1467 echo "${ECHO_T}no" >&6
1471 if test -z "$ac_cv_prog_CC"; then
1473 # Extract the first word of "gcc", so it can be a program name with args.
1474 set dummy gcc; ac_word=$2
1475 echo "$as_me:$LINENO: checking for $ac_word" >&5
1476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 if test -n "$ac_ct_CC"; then
1481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1487 test -z "$as_dir" && as_dir=.
1488 for ac_exec_ext in '' $ac_executable_extensions; do
1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1490 ac_cv_prog_ac_ct_CC="gcc"
1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1500 if test -n "$ac_ct_CC"; then
1501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1502 echo "${ECHO_T}$ac_ct_CC" >&6
1504 echo "$as_me:$LINENO: result: no" >&5
1505 echo "${ECHO_T}no" >&6
1513 if test -z "$CC"; then
1514 if test -n "$ac_tool_prefix"; then
1515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1516 set dummy ${ac_tool_prefix}cc; ac_word=$2
1517 echo "$as_me:$LINENO: checking for $ac_word" >&5
1518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519 if test "${ac_cv_prog_CC+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 if test -n "$CC"; then
1523 ac_cv_prog_CC="$CC" # Let the user override the test.
1525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir=.
1530 for ac_exec_ext in '' $ac_executable_extensions; do
1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1532 ac_cv_prog_CC="${ac_tool_prefix}cc"
1533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1542 if test -n "$CC"; then
1543 echo "$as_me:$LINENO: result: $CC" >&5
1544 echo "${ECHO_T}$CC" >&6
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1551 if test -z "$ac_cv_prog_CC"; then
1553 # Extract the first word of "cc", so it can be a program name with args.
1554 set dummy cc; ac_word=$2
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$ac_ct_CC"; then
1561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 for ac_exec_ext in '' $ac_executable_extensions; do
1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1570 ac_cv_prog_ac_ct_CC="cc"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1580 if test -n "$ac_ct_CC"; then
1581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1582 echo "${ECHO_T}$ac_ct_CC" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 # Extract the first word of "cc", so it can be a program name with args.
1596 set dummy cc; ac_word=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$CC"; then
1603 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1614 ac_prog_rejected=yes
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 if test $ac_prog_rejected = yes; then
1625 # We found a bogon in the path, so make sure we never use it.
1626 set dummy $ac_cv_prog_CC
1628 if test $# != 0; then
1629 # We chose a different compiler from the bogus one.
1630 # However, it has the same basename, so the bogon will be chosen
1631 # first if we set CC to just the basename; use the full file name.
1633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1639 if test -n "$CC"; then
1640 echo "$as_me:$LINENO: result: $CC" >&5
1641 echo "${ECHO_T}$CC" >&6
1643 echo "$as_me:$LINENO: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1648 if test -z "$CC"; then
1649 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$CC"; then
1660 ac_cv_prog_CC="$CC" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 if test -n "$CC"; then
1680 echo "$as_me:$LINENO: result: $CC" >&5
1681 echo "${ECHO_T}$CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1687 test -n "$CC" && break
1690 if test -z "$CC"; then
1694 # Extract the first word of "$ac_prog", so it can be a program name with args.
1695 set dummy $ac_prog; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_CC"; then
1702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_CC="$ac_prog"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1721 if test -n "$ac_ct_CC"; then
1722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1723 echo "${ECHO_T}$ac_ct_CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1729 test -n "$ac_ct_CC" && break
1738 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1739 See \`config.log' for more details.
" >&5
1740 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1741 See \
`config.log' for more details." >&2;}
1742 { (exit 1); exit 1; }; }
1744 # Provide some information about the compiler.
1745 echo "$as_me:$LINENO:" \
1746 "checking for C compiler version" >&5
1747 ac_compiler=`set X
$ac_compile; echo $2`
1748 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1749 (eval $ac_compiler --version </dev/null >&5) 2>&5
1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752 (exit $ac_status); }
1753 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1754 (eval $ac_compiler -v </dev/null >&5) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }
1758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1759 (eval $ac_compiler -V </dev/null >&5) 2>&5
1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762 (exit $ac_status); }
1764 cat >conftest.$ac_ext <<_ACEOF
1767 cat confdefs.h >>conftest.$ac_ext
1768 cat >>conftest.$ac_ext <<_ACEOF
1769 /* end confdefs.h. */
1779 ac_clean_files_save=$ac_clean_files
1780 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1781 # Try to create an executable without -o first, disregard a.out.
1782 # It will help us diagnose broken compilers, and finding out an intuition
1784 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1785 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1786 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1787 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1788 (eval $ac_link_default) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; then
1792 # Find the output, starting from the most likely. This scheme is
1793 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1796 # Be careful to initialize this variable, since it used to be cached.
1797 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1799 # b.out is created by i960 compilers.
1800 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1802 test -f "$ac_file" || continue
1804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1807 # This is the source file.
1810 # We found the default executable, but exeext='' is most
1814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1815 # FIXME: I believe we export ac_cv_exeext for Libtool,
1816 # but it would be cool to find out if it's true. Does anybody
1817 # maintain Libtool? --akim.
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1829 See \`config.log
' for more details." >&5
1830 echo "$as_me: error: C compiler cannot create executables
1831 See \`config.log' for more details.
" >&2;}
1832 { (exit 77); exit 77; }; }
1835 ac_exeext=$ac_cv_exeext
1836 echo "$as_me:$LINENO: result
: $ac_file" >&5
1837 echo "${ECHO_T}$ac_file" >&6
1839 # Check the compiler produces executables we can run. If not, either
1840 # the compiler is broken, or we cross compile.
1841 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1842 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1843 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1844 # If not cross compiling, check that we can run a simple program.
1845 if test "$cross_compiling" != yes; then
1846 if { ac_try='./$ac_file'
1847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1851 (exit $ac_status); }; }; then
1854 if test "$cross_compiling" = maybe; then
1857 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1858 If you meant to cross compile
, use \
`--host'.
1859 See \`config.log
' for more details." >&5
1860 echo "$as_me: error: cannot run C compiled programs.
1861 If you meant to cross compile, use \`--host'.
1862 See \
`config.log' for more details." >&2;}
1863 { (exit 1); exit 1; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1870 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1871 ac_clean_files=$ac_clean_files_save
1872 # Check the compiler produces executables we can run. If not, either
1873 # the compiler is broken, or we cross compile.
1874 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1875 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1876 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1877 echo "${ECHO_T}$cross_compiling" >&6
1879 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1880 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1882 (eval $ac_link) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1887 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1888 # work properly (i.e., refer to `conftest.exe'), while it won't with
1890 for ac_file
in conftest.exe conftest conftest.
*; do
1891 test -f "$ac_file" ||
continue
1893 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1894 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1901 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1902 See \`config.log' for more details." >&5
1903 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1904 See \`config.log' for more details." >&2;}
1905 { (exit 1); exit 1; }; }
1908 rm -f conftest
$ac_cv_exeext
1909 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1910 echo "${ECHO_T}$ac_cv_exeext" >&6
1912 rm -f conftest.
$ac_ext
1913 EXEEXT
=$ac_cv_exeext
1915 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1916 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1917 if test "${ac_cv_objext+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 cat >conftest.
$ac_ext <<_ACEOF
1923 cat confdefs.h
>>conftest.
$ac_ext
1924 cat >>conftest.
$ac_ext <<_ACEOF
1925 /* end confdefs.h. */
1935 rm -f conftest.o conftest.obj
1936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1937 (eval $ac_compile) 2>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; then
1941 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1943 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1944 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1949 echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1952 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1955 See \`config.log' for more details." >&2;}
1956 { (exit 1); exit 1; }; }
1959 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1961 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1962 echo "${ECHO_T}$ac_cv_objext" >&6
1963 OBJEXT
=$ac_cv_objext
1965 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1966 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1967 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 cat >conftest.
$ac_ext <<_ACEOF
1973 cat confdefs.h
>>conftest.
$ac_ext
1974 cat >>conftest.
$ac_ext <<_ACEOF
1975 /* end confdefs.h. */
1988 rm -f conftest.
$ac_objext
1989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1990 (eval $ac_compile) 2>conftest.er1
1992 grep -v '^ *+' conftest.er1
>conftest.err
1994 cat conftest.err
>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); } &&
1997 { ac_try
='test -z "$ac_c_werror_flag"
1998 || test ! -s conftest.err'
1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; } &&
2004 { ac_try
='test -s conftest.$ac_objext'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; }; then
2012 echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2018 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2021 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2022 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2023 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2024 ac_test_CFLAGS
=${CFLAGS+set}
2025 ac_save_CFLAGS
=$CFLAGS
2027 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2028 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2029 if test "${ac_cv_prog_cc_g+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 cat >conftest.
$ac_ext <<_ACEOF
2035 cat confdefs.h
>>conftest.
$ac_ext
2036 cat >>conftest.
$ac_ext <<_ACEOF
2037 /* end confdefs.h. */
2047 rm -f conftest.
$ac_objext
2048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2049 (eval $ac_compile) 2>conftest.er1
2051 grep -v '^ *+' conftest.er1
>conftest.err
2053 cat conftest.err
>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); } &&
2056 { ac_try
='test -z "$ac_c_werror_flag"
2057 || test ! -s conftest.err'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; } &&
2063 { ac_try
='test -s conftest.$ac_objext'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; }; then
2071 echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.
$ac_ext >&5
2076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2079 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2080 if test "$ac_test_CFLAGS" = set; then
2081 CFLAGS
=$ac_save_CFLAGS
2082 elif test $ac_cv_prog_cc_g = yes; then
2083 if test "$GCC" = yes; then
2089 if test "$GCC" = yes; then
2095 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2096 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2097 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 ac_cv_prog_cc_stdc
=no
2102 cat >conftest.
$ac_ext <<_ACEOF
2105 cat confdefs.h
>>conftest.
$ac_ext
2106 cat >>conftest.
$ac_ext <<_ACEOF
2107 /* end confdefs.h. */
2110 #include <sys/types.h>
2111 #include <sys/stat.h>
2112 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2113 struct buf { int x; };
2114 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2115 static char *e (p, i)
2121 static char *f (char * (*g) (char **, int), char **p, ...)
2126 s = g (p, va_arg (v,int));
2131 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2132 function prototypes and stuff, but not '\xHH' hex character constants.
2133 These don't provoke an error unfortunately, instead are silently treated
2134 as 'x'. The following induces an error, until -std1 is added to get
2135 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2136 array size at least. It's necessary to write '\x00'==0 to get something
2137 that's true only with -std1. */
2138 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2140 int test (int i, double x);
2141 struct s1 {int (*f) (int a);};
2142 struct s2 {int (*f) (double a);};
2143 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2149 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2154 # Don't try gcc -ansi; that turns off useful extensions and
2155 # breaks some systems' header files.
2156 # AIX -qlanglvl=ansi
2157 # Ultrix and OSF/1 -std1
2158 # HP-UX 10.20 and later -Ae
2159 # HP-UX older versions -Aa -D_HPUX_SOURCE
2160 # SVR4 -Xc -D__EXTENSIONS__
2161 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2163 CC
="$ac_save_CC $ac_arg"
2164 rm -f conftest.
$ac_objext
2165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2166 (eval $ac_compile) 2>conftest.er1
2168 grep -v '^ *+' conftest.er1
>conftest.err
2170 cat conftest.err
>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } &&
2173 { ac_try
='test -z "$ac_c_werror_flag"
2174 || test ! -s conftest.err'
2175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); }; } &&
2180 { ac_try
='test -s conftest.$ac_objext'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; }; then
2186 ac_cv_prog_cc_stdc
=$ac_arg
2189 echo "$as_me: failed program was:" >&5
2190 sed 's/^/| /' conftest.
$ac_ext >&5
2193 rm -f conftest.err conftest.
$ac_objext
2195 rm -f conftest.
$ac_ext conftest.
$ac_objext
2200 case "x$ac_cv_prog_cc_stdc" in
2202 echo "$as_me:$LINENO: result: none needed" >&5
2203 echo "${ECHO_T}none needed" >&6 ;;
2205 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2206 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2207 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2210 # Some people use a C++ compiler to compile C. Since we use `exit',
2211 # in C++ we need to declare it. In case someone uses the same compiler
2212 # for both compiling C and C++ we need to have the C++ compiler decide
2213 # the declaration of exit, since it's the most demanding environment.
2214 cat >conftest.
$ac_ext <<_ACEOF
2219 rm -f conftest.
$ac_objext
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>conftest.er1
2223 grep -v '^ *+' conftest.er1
>conftest.err
2225 cat conftest.err
>&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); } &&
2228 { ac_try
='test -z "$ac_c_werror_flag"
2229 || test ! -s conftest.err'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; } &&
2235 { ac_try
='test -s conftest.$ac_objext'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2241 for ac_declaration
in \
2243 'extern "C" void std::exit (int) throw (); using std::exit;' \
2244 'extern "C" void std::exit (int); using std::exit;' \
2245 'extern "C" void exit (int) throw ();' \
2246 'extern "C" void exit (int);' \
2249 cat >conftest.
$ac_ext <<_ACEOF
2252 cat confdefs.h
>>conftest.
$ac_ext
2253 cat >>conftest.
$ac_ext <<_ACEOF
2254 /* end confdefs.h. */
2265 rm -f conftest.
$ac_objext
2266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2267 (eval $ac_compile) 2>conftest.er1
2269 grep -v '^ *+' conftest.er1
>conftest.err
2271 cat conftest.err
>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); } &&
2274 { ac_try
='test -z "$ac_c_werror_flag"
2275 || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try
='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 cat >conftest.
$ac_ext <<_ACEOF
2298 cat confdefs.h
>>conftest.
$ac_ext
2299 cat >>conftest.
$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag"
2320 || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try
='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2341 if test -n "$ac_declaration"; then
2342 echo '#ifdef __cplusplus' >>confdefs.h
2343 echo $ac_declaration >>confdefs.h
2344 echo '#endif' >>confdefs.h
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.
$ac_ext >&5
2352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2354 ac_cpp
='$CPP $CPPFLAGS'
2355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2360 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2361 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2362 if test "${ac_cv_search_strerror+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 ac_func_search_save_LIBS
=$LIBS
2366 ac_cv_search_strerror
=no
2367 cat >conftest.
$ac_ext <<_ACEOF
2370 cat confdefs.h
>>conftest.
$ac_ext
2371 cat >>conftest.
$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2374 /* Override any gcc2 internal prototype to avoid an error. */
2378 /* We use char because int might match the return type of a gcc2
2379 builtin and then its argument prototype would still apply. */
2389 rm -f conftest.
$ac_objext conftest
$ac_exeext
2390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2391 (eval $ac_link) 2>conftest.er1
2393 grep -v '^ *+' conftest.er1
>conftest.err
2395 cat conftest.err
>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); } &&
2398 { ac_try
='test -z "$ac_c_werror_flag"
2399 || test ! -s conftest.err'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; } &&
2405 { ac_try
='test -s conftest$ac_exeext'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2411 ac_cv_search_strerror
="none required"
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.
$ac_ext >&5
2417 rm -f conftest.err conftest.
$ac_objext \
2418 conftest
$ac_exeext conftest.
$ac_ext
2419 if test "$ac_cv_search_strerror" = no
; then
2420 for ac_lib
in cposix
; do
2421 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2429 /* Override any gcc2 internal prototype to avoid an error. */
2433 /* We use char because int might match the return type of a gcc2
2434 builtin and then its argument prototype would still apply. */
2444 rm -f conftest.
$ac_objext conftest
$ac_exeext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2446 (eval $ac_link) 2>conftest.er1
2448 grep -v '^ *+' conftest.er1
>conftest.err
2450 cat conftest.err
>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -z "$ac_c_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try
='test -s conftest$ac_exeext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2466 ac_cv_search_strerror
="-l$ac_lib"
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext \
2474 conftest
$ac_exeext conftest.
$ac_ext
2477 LIBS
=$ac_func_search_save_LIBS
2479 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2480 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2481 if test "$ac_cv_search_strerror" != no
; then
2482 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2487 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2488 am__api_version
="1.9"
2489 # Find a good install program. We prefer a C program (faster),
2490 # so one script is as good as another. But avoid the broken or
2491 # incompatible versions:
2492 # SysV /etc/install, /usr/sbin/install
2493 # SunOS /usr/etc/install
2494 # IRIX /sbin/install
2496 # AmigaOS /C/install, which installs bootblocks on floppy discs
2497 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2498 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2499 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2500 # OS/2's system install, which has a completely different semantic
2501 # ./install, which can be erroneously created by make from ./install.sh.
2502 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2503 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2504 if test -z "$INSTALL"; then
2505 if test "${ac_cv_path_install+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 # Account for people who put trailing slashes in PATH elements.
2515 .
/ | .
// |
/cC
/* | \
2516 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2517 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2520 # OSF1 and SCO ODT 3.0 have their own names for install.
2521 # Don't use installbsd from OSF since it installs stuff as root
2523 for ac_prog
in ginstall scoinst
install; do
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526 if test $ac_prog = install &&
2527 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2528 # AIX install. It has an incompatible calling convention.
2530 elif test $ac_prog = install &&
2531 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2532 # program-specific install script used by HP pwplus--don't use.
2535 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2547 if test "${ac_cv_path_install+set}" = set; then
2548 INSTALL
=$ac_cv_path_install
2550 # As a last resort, use the slow shell script. We don't cache a
2551 # path for INSTALL within a source directory, because that will
2552 # break other packages using the cache if that directory is
2553 # removed, or if the path is relative.
2554 INSTALL
=$ac_install_sh
2557 echo "$as_me:$LINENO: result: $INSTALL" >&5
2558 echo "${ECHO_T}$INSTALL" >&6
2560 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2561 # It thinks the first close brace ends the variable substitution.
2562 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2564 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2566 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2568 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2569 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2572 echo timestamp
> conftest.
file
2573 # Do `set' in a subshell so we don't clobber the current shell's
2574 # arguments. Must try -L first in case configure is actually a
2575 # symlink; some systems play weird games with the mod time of symlinks
2576 # (eg FreeBSD returns the mod time of the symlink's containing
2579 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2580 if test "$*" = "X"; then
2582 set X
`ls -t $srcdir/configure conftest.file`
2585 if test "$*" != "X $srcdir/configure conftest.file" \
2586 && test "$*" != "X conftest.file $srcdir/configure"; then
2588 # If neither matched, then we have a broken ls. This can happen
2589 # if, for instance, CONFIG_SHELL is bash and it inherits a
2590 # broken ls alias from the environment. This has actually
2591 # happened. Such a system could not be considered "sane".
2592 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2593 alias in your environment" >&5
2594 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2595 alias in your environment" >&2;}
2596 { (exit 1); exit 1; }; }
2599 test "$2" = conftest.
file
2605 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2606 Check your system clock" >&5
2607 echo "$as_me: error: newly created file is older than distributed files!
2608 Check your system clock" >&2;}
2609 { (exit 1); exit 1; }; }
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 test "$program_prefix" != NONE
&&
2614 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2615 # Use a double $ so make ignores it.
2616 test "$program_suffix" != NONE
&&
2617 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2618 # Double any \ or $. echo might interpret backslashes.
2619 # By default was `s,x,x', remove it if useless.
2620 cat <<\_ACEOF
>conftest.
sed
2621 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2623 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2626 # expand $ac_aux_dir to an absolute path
2627 am_aux_dir
=`cd $ac_aux_dir && pwd`
2629 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --run true"; then
2632 am_missing_run
="$MISSING --run "
2635 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2636 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2639 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2640 # We used to keeping the `.' as first argument, in order to
2641 # allow $(mkdir_p) to be used without argument. As in
2642 # $(mkdir_p) $(somedir)
2643 # where $(somedir) is conditionally defined. However this is wrong
2645 # 1. if the package is installed by a user who cannot write `.'
2646 # make install will fail,
2647 # 2. the above comment should most certainly read
2648 # $(mkdir_p) $(DESTDIR)$(somedir)
2649 # so it does not work when $(somedir) is undefined and
2650 # $(DESTDIR) is not.
2651 # To support the latter case, we have to write
2652 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2653 # so the `.' trick is pointless.
2654 mkdir_p
='mkdir -p --'
2656 # On NextStep and OpenStep, the `mkdir' command does not
2657 # recognize any option. It will interpret all options as
2658 # directories to create, and then abort because `.' already
2660 for d
in .
/-p .
/--version;
2662 test -d $d && rmdir $d
2664 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2665 if test -f "$ac_aux_dir/mkinstalldirs"; then
2666 mkdir_p
='$(mkinstalldirs)'
2668 mkdir_p
='$(install_sh) -d'
2672 for ac_prog
in gawk mawk nawk
awk
2674 # Extract the first word of "$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_prog; ac_word
=$2
2676 echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2678 if test "${ac_cv_prog_AWK+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$AWK"; then
2682 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_AWK
="$ac_prog"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$AWK"; then
2702 echo "$as_me:$LINENO: result: $AWK" >&5
2703 echo "${ECHO_T}$AWK" >&6
2705 echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6
2709 test -n "$AWK" && break
2712 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2713 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2714 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2715 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 cat >conftest.
make <<\_ACEOF
2720 @
echo 'ac_maketemp="$(MAKE)"'
2722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2723 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2724 if test -n "$ac_maketemp"; then
2725 eval ac_cv_prog_make_
${ac_make}_set
=yes
2727 eval ac_cv_prog_make_
${ac_make}_set
=no
2731 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 SET_MAKE
="MAKE=${MAKE-make}"
2741 rm -rf .tst
2>/dev
/null
2742 mkdir .tst
2>/dev
/null
2743 if test -d .tst
; then
2748 rmdir .tst
2>/dev
/null
2750 DEPDIR
="${am__leading_dot}deps"
2752 ac_config_commands
="$ac_config_commands depfiles"
2755 am_make
=${MAKE-make}
2756 cat > confinc
<< 'END'
2761 # If we don't find an include directive, just comment out the code.
2762 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2763 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2767 # First try GNU make style include.
2768 echo "include confinc" > confmf
2769 # We grep out `Entering directory' and `Leaving directory'
2770 # messages which can occur if `w' ends up in MAKEFLAGS.
2771 # In particular we don't look at `^make:' because GNU make might
2772 # be invoked under some other name (usually "gmake"), in which
2773 # case it prints its new name instead of `make'.
2774 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2779 # Now try BSD make style include.
2780 if test "$am__include" = "#"; then
2781 echo '.include "confinc"' > confmf
2782 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2783 am__include
=.include
2790 echo "$as_me:$LINENO: result: $_am_result" >&5
2791 echo "${ECHO_T}$_am_result" >&6
2792 rm -f confinc confmf
2794 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2795 if test "${enable_dependency_tracking+set}" = set; then
2796 enableval
="$enable_dependency_tracking"
2799 if test "x$enable_dependency_tracking" != xno
; then
2800 am_depcomp
="$ac_aux_dir/depcomp"
2805 if test "x$enable_dependency_tracking" != xno; then
2815 # test to see if srcdir already configured
2816 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2817 test -f $srcdir/config.status
; then
2818 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2819 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2820 { (exit 1); exit 1; }; }
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2826 CYGPATH_W
='cygpath -w'
2833 # Define the identity of the package.
2835 VERSION
=${BFD_VERSION}
2838 cat >>confdefs.h
<<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2843 cat >>confdefs.h
<<_ACEOF
2844 #define VERSION "$VERSION"
2847 # Some tools Automake needs.
2849 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2855 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2861 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2863 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2865 # Installed binaries are usually stripped using `strip' when the user
2866 # run `make install-strip'. However `strip' might not be the right
2867 # tool to use in cross-compilation environments, therefore Automake
2868 # will honor the `STRIP' environment variable to overrule this program.
2869 if test "$cross_compiling" != no
; then
2870 if test -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2872 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2873 echo "$as_me:$LINENO: checking for $ac_word" >&5
2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2875 if test "${ac_cv_prog_STRIP+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -n "$STRIP"; then
2879 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 STRIP
=$ac_cv_prog_STRIP
2898 if test -n "$STRIP"; then
2899 echo "$as_me:$LINENO: result: $STRIP" >&5
2900 echo "${ECHO_T}$STRIP" >&6
2902 echo "$as_me:$LINENO: result: no" >&5
2903 echo "${ECHO_T}no" >&6
2907 if test -z "$ac_cv_prog_STRIP"; then
2909 # Extract the first word of "strip", so it can be a program name with args.
2910 set dummy strip
; ac_word
=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -n "$ac_ct_STRIP"; then
2917 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_ac_ct_STRIP
="strip"
2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2936 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2937 if test -n "$ac_ct_STRIP"; then
2938 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2939 echo "${ECHO_T}$ac_ct_STRIP" >&6
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2947 STRIP
="$ac_cv_prog_STRIP"
2951 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2953 # We need awk for the "check" target. The system "awk" is bad on
2955 # Always define AMTAR for backward compatibility.
2957 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2959 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2964 depcc
="$CC" am_compiler_list
=
2966 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2967 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2968 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2972 # We make a subdir and do the tests there. Otherwise we can end up
2973 # making bogus files that we don't know about and never remove. For
2974 # instance it was reported that on HP-UX the gcc test will end up
2975 # making a dummy file named `D' -- because `-MD' means `put the output
2978 # Copy depcomp to subdir because otherwise we won't find it if we're
2979 # using a relative directory.
2980 cp "$am_depcomp" conftest.dir
2982 # We will build objects and dependencies in a subdirectory because
2983 # it helps to detect inapplicable dependency modes. For instance
2984 # both Tru64's cc and ICC support -MD to output dependencies as a
2985 # side effect of compilation, but ICC will put the dependencies in
2986 # the current directory while Tru64 will put them in the object
2990 am_cv_CC_dependencies_compiler_type
=none
2991 if test "$am_compiler_list" = ""; then
2992 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2994 for depmode
in $am_compiler_list; do
2995 # Setup a source with many dependencies, because some compilers
2996 # like to wrap large dependency lists on column 80 (with \), and
2997 # we should not choose a depcomp mode which is confused by this.
2999 # We need to recreate these files for each test, as the compiler may
3000 # overwrite some of them when testing with obscure command lines.
3001 # This happens at least with the AIX C compiler.
3003 for i
in 1 2 3 4 5 6; do
3004 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3005 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3006 # Solaris 8's {/usr,}/bin/sh.
3007 touch sub
/conftst
$i.h
3009 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3013 # after this tag, mechanisms are not by side-effect, so they'll
3014 # only be used when explicitly requested
3015 if test "x$enable_dependency_tracking" = xyes
; then
3023 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3024 # mode. It turns out that the SunPro C++ compiler does not properly
3025 # handle `-M -o', and we need to detect this.
3026 if depmode
=$depmode \
3027 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3028 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3029 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3030 >/dev
/null
2>conftest.err
&&
3031 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3032 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3033 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3034 # icc doesn't choke on unknown options, it will just issue warnings
3035 # or remarks (even with -Werror). So we grep stderr for any message
3036 # that says an option was ignored or not supported.
3037 # When given -MP, icc 7.0 and 7.1 complain thusly:
3038 # icc: Command line warning: ignoring option '-M'; no argument required
3039 # The diagnosis changed in icc 8.0:
3040 # icc: Command line remark: option '-MP' not supported
3041 if (grep 'ignoring option' conftest.err ||
3042 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3043 am_cv_CC_dependencies_compiler_type
=$depmode
3052 am_cv_CC_dependencies_compiler_type
=none
3056 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3057 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3058 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3063 test "x$enable_dependency_tracking" != xno \
3064 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3066 am__fastdepCC_FALSE
='#'
3068 am__fastdepCC_TRUE
='#'
3069 am__fastdepCC_FALSE
=
3075 # Check whether --enable-shared or --disable-shared was given.
3076 if test "${enable_shared+set}" = set; then
3077 enableval
="$enable_shared"
3078 p
=${PACKAGE-default}
3080 yes) enable_shared
=yes ;;
3081 no
) enable_shared
=no
;;
3084 # Look at the argument we got. We use all the common list separators.
3085 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3086 for pkg
in $enableval; do
3087 if test "X$pkg" = "X$p"; then
3097 # Check whether --enable-static or --disable-static was given.
3098 if test "${enable_static+set}" = set; then
3099 enableval
="$enable_static"
3100 p
=${PACKAGE-default}
3102 yes) enable_static
=yes ;;
3103 no
) enable_static
=no
;;
3106 # Look at the argument we got. We use all the common list separators.
3107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3108 for pkg
in $enableval; do
3109 if test "X$pkg" = "X$p"; then
3119 # Check whether --enable-fast-install or --disable-fast-install was given.
3120 if test "${enable_fast_install+set}" = set; then
3121 enableval
="$enable_fast_install"
3122 p
=${PACKAGE-default}
3124 yes) enable_fast_install
=yes ;;
3125 no
) enable_fast_install
=no
;;
3127 enable_fast_install
=no
3128 # Look at the argument we got. We use all the common list separators.
3129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3130 for pkg
in $enableval; do
3131 if test "X$pkg" = "X$p"; then
3132 enable_fast_install
=yes
3139 enable_fast_install
=yes
3142 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3143 if test "${with_gnu_ld+set}" = set; then
3144 withval
="$with_gnu_ld"
3145 test "$withval" = no || with_gnu_ld
=yes
3150 if test "$GCC" = yes; then
3151 # Check if gcc -print-prog-name=ld gives a path.
3152 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3153 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3156 # gcc leaves a trailing carriage return which upsets mingw
3157 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3159 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3162 # Accept absolute paths.
3163 [\\/]* |
[A-Za-z
]:[\\/]*)
3164 re_direlt
='/[^/][^/]*/\.\./'
3165 # Canonicalize the path of ld
3166 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3167 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3168 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3170 test -z "$LD" && LD
="$ac_prog"
3173 # If it fails, then pretend we aren't using GCC.
3177 # If it is relative, then search for the first ld in PATH.
3181 elif test "$with_gnu_ld" = yes; then
3182 echo "$as_me:$LINENO: checking for GNU ld" >&5
3183 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3185 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3186 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3188 if test "${lt_cv_path_LD+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3191 if test -z "$LD"; then
3192 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3193 for ac_dir
in $PATH; do
3194 test -z "$ac_dir" && ac_dir
=.
3195 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3196 lt_cv_path_LD
="$ac_dir/$ac_prog"
3197 # Check to see if the program is GNU ld. I'd rather use --version,
3198 # but apparently some GNU ld's only accept -v.
3199 # Break only if it was the GNU/non-GNU ld that we prefer.
3200 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3201 test "$with_gnu_ld" != no
&& break
3203 test "$with_gnu_ld" != yes && break
3209 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3214 if test -n "$LD"; then
3215 echo "$as_me:$LINENO: result: $LD" >&5
3216 echo "${ECHO_T}$LD" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3221 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3222 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3223 { (exit 1); exit 1; }; }
3224 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3225 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3226 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3230 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3231 lt_cv_prog_gnu_ld
=yes
3233 lt_cv_prog_gnu_ld
=no
3236 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3237 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3238 with_gnu_ld
=$lt_cv_prog_gnu_ld
3241 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3242 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3243 if test "${lt_cv_ld_reload_flag+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 lt_cv_ld_reload_flag
='-r'
3248 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3249 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3250 reload_flag
=$lt_cv_ld_reload_flag
3251 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3253 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3254 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3255 if test "${lt_cv_path_NM+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -n "$NM"; then
3259 # Let the user override the test.
3262 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3263 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3264 test -z "$ac_dir" && ac_dir
=.
3265 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3266 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3267 # Check to see if the nm accepts a BSD-compat flag.
3268 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3269 # nm: unknown option "B" ignored
3270 # Tru64's nm complains that /dev/null is an invalid object file
3271 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3272 lt_cv_path_NM
="$tmp_nm -B"
3274 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3275 lt_cv_path_NM
="$tmp_nm -p"
3278 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3279 continue # so that we can try to find one that supports BSD flags
3284 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3289 echo "$as_me:$LINENO: result: $NM" >&5
3290 echo "${ECHO_T}$NM" >&6
3292 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3293 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3295 if test "$LN_S" = "ln -s"; then
3296 echo "$as_me:$LINENO: result: yes" >&5
3297 echo "${ECHO_T}yes" >&6
3299 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3300 echo "${ECHO_T}no, using $LN_S" >&6
3303 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3304 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3305 if test "${lt_cv_deplibs_check_method+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3309 lt_cv_file_magic_test_file
=
3310 lt_cv_deplibs_check_method
='unknown'
3311 # Need to set the preceding variable on all platforms that support
3312 # interlibrary dependencies.
3313 # 'none' -- dependencies not supported.
3314 # `unknown' -- same as none, but documents that we really don't know.
3315 # 'pass_all' -- all dependencies passed with no checks.
3316 # 'test_compile' -- check by making test program.
3317 # 'file_magic [regex]' -- check by looking for files in library path
3318 # which responds to the $file_magic_cmd with a given egrep regex.
3319 # If you have `file' or equivalent on your system and you're not sure
3320 # whether `pass_all' will *always* work, you probably want this one.
3324 lt_cv_deplibs_check_method
=pass_all
3328 lt_cv_deplibs_check_method
=pass_all
3332 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3333 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3334 lt_cv_file_magic_test_file
=/shlib
/libc.so
3337 cygwin
* | mingw
* |pw32
*)
3338 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3339 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3342 darwin
* | rhapsody
*)
3343 # this will be overwritten by pass_all, but leave it in just in case
3344 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3345 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3347 rhapsody
* | darwin1.012
)
3348 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3351 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3354 lt_cv_deplibs_check_method
=pass_all
3357 freebsd
* | kfreebsd
*-gnu)
3358 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3361 # Not sure whether the presence of OpenBSD here was a mistake.
3362 # Let's accept both of them until this is cleared up.
3363 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3364 lt_cv_file_magic_cmd
=/usr
/bin
/file
3365 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3369 lt_cv_deplibs_check_method
=pass_all
3374 lt_cv_deplibs_check_method
=pass_all
3380 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3381 lt_cv_file_magic_cmd
=/usr
/bin
/file
3382 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3385 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3386 lt_cv_file_magic_cmd
=/usr
/bin
/file
3387 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3395 # this will be overridden with pass_all, but let us keep it just in case
3396 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3400 *-32|
*"-32 ") libmagic
=32-bit;;
3401 *-n32|
*"-n32 ") libmagic
=N32
;;
3402 *-64|
*"-64 ") libmagic
=64-bit;;
3403 *) libmagic
=never-match
;;
3405 # this will be overridden with pass_all, but let us keep it just in case
3406 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3409 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3410 lt_cv_deplibs_check_method
=pass_all
3413 # This must be Linux ELF.
3415 lt_cv_deplibs_check_method
=pass_all
3418 netbsd
* | knetbsd
*-gnu)
3419 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3420 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3422 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3427 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3428 lt_cv_file_magic_cmd
=/usr
/bin
/file
3429 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3432 osf3
* | osf4
* | osf5
*)
3433 # this will be overridden with pass_all, but let us keep it just in case
3434 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3435 lt_cv_file_magic_test_file
=/shlib
/libc.so
3436 lt_cv_deplibs_check_method
=pass_all
3440 lt_cv_deplibs_check_method
=pass_all
3444 lt_cv_deplibs_check_method
=pass_all
3445 lt_cv_file_magic_test_file
=/lib
/libc.so
3448 sysv5uw
[78]* | sysv4
*uw2
*)
3449 lt_cv_deplibs_check_method
=pass_all
3452 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3453 case $host_vendor in
3455 lt_cv_deplibs_check_method
=pass_all
3458 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]'
3459 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3466 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3467 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3468 file_magic_cmd
=$lt_cv_file_magic_cmd
3469 deplibs_check_method
=$lt_cv_deplibs_check_method
3474 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3476 # find the maximum length of command line arguments
3477 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3478 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3479 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 # On DJGPP, this test can blow up pretty badly due to problems in libc
3488 # (any single argument exceeding 2000 bytes causes a buffer overrun
3489 # during glob expansion). Even if it were fixed, the result of this
3490 # check would be larger than it should be.
3491 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3495 # On Win9x/ME, this test blows up -- it succeeds, but takes
3496 # about 5 minutes as the teststring grows exponentially.
3497 # Worse, since 9x/ME are not pre-emptively multitasking,
3498 # you end up with a "frozen" computer, even though with patience
3499 # the test eventually succeeds (with a max line length of 256k).
3500 # Instead, let's just punt: use the minimum linelength reported by
3501 # all of the supported platforms: 8192 (on NT/2K/XP).
3502 lt_cv_sys_max_cmd_len
=8192;
3506 # On AmigaOS with pdksh, this test takes hours, literally.
3507 # So we just punt and use a minimum line length of 8192.
3508 lt_cv_sys_max_cmd_len
=8192;
3511 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3512 # This has been around since 386BSD, at least. Likely further.
3513 if test -x /sbin
/sysctl
; then
3514 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3515 elif test -x /usr
/sbin
/sysctl
; then
3516 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3518 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3520 # And add a safety zone
3521 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3522 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3528 if test -n "$lt_cv_sys_max_cmd_len" ; then
3529 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3530 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3532 echo "$as_me:$LINENO: result: none" >&5
3533 echo "${ECHO_T}none" >&6
3537 # Only perform the check for file, if the check method requires it
3538 case $deplibs_check_method in
3540 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3541 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3542 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3543 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3551 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3554 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3555 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3556 ac_dummy
="/usr/bin:$PATH"
3557 for ac_dir
in $ac_dummy; do
3558 test -z "$ac_dir" && ac_dir
=.
3559 if test -f $ac_dir/${ac_tool_prefix}file; then
3560 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3561 if test -n "$file_magic_test_file"; then
3562 case $deplibs_check_method in
3564 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3565 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3566 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3567 egrep "$file_magic_regex" > /dev
/null
; then
3572 *** Warning: the command libtool uses to detect shared libraries,
3573 *** $file_magic_cmd, produces output that libtool cannot recognize.
3574 *** The result is that libtool may fail to recognize shared libraries
3575 *** as such. This will affect the creation of libtool libraries that
3576 *** depend on shared libraries, but programs linked with such libtool
3577 *** libraries will work regardless of this problem. Nevertheless, you
3578 *** may want to report the problem to your system manager and/or to
3579 *** bug-libtool@gnu.org
3589 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3594 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3595 if test -n "$MAGIC_CMD"; then
3596 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3597 echo "${ECHO_T}$MAGIC_CMD" >&6
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3603 if test -z "$lt_cv_path_MAGIC_CMD"; then
3604 if test -n "$ac_tool_prefix"; then
3605 echo "$as_me:$LINENO: checking for file" >&5
3606 echo $ECHO_N "checking for file... $ECHO_C" >&6
3607 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3615 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3618 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3619 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3620 ac_dummy
="/usr/bin:$PATH"
3621 for ac_dir
in $ac_dummy; do
3622 test -z "$ac_dir" && ac_dir
=.
3623 if test -f $ac_dir/file; then
3624 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3625 if test -n "$file_magic_test_file"; then
3626 case $deplibs_check_method in
3628 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3629 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3630 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3631 egrep "$file_magic_regex" > /dev
/null
; then
3636 *** Warning: the command libtool uses to detect shared libraries,
3637 *** $file_magic_cmd, produces output that libtool cannot recognize.
3638 *** The result is that libtool may fail to recognize shared libraries
3639 *** as such. This will affect the creation of libtool libraries that
3640 *** depend on shared libraries, but programs linked with such libtool
3641 *** libraries will work regardless of this problem. Nevertheless, you
3642 *** may want to report the problem to your system manager and/or to
3643 *** bug-libtool@gnu.org
3653 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3658 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3659 if test -n "$MAGIC_CMD"; then
3660 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3661 echo "${ECHO_T}$MAGIC_CMD" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3676 if test -n "$ac_tool_prefix"; then
3677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3678 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3679 echo "$as_me:$LINENO: checking for $ac_word" >&5
3680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3681 if test "${ac_cv_prog_RANLIB+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 if test -n "$RANLIB"; then
3685 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 RANLIB
=$ac_cv_prog_RANLIB
3704 if test -n "$RANLIB"; then
3705 echo "$as_me:$LINENO: result: $RANLIB" >&5
3706 echo "${ECHO_T}$RANLIB" >&6
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3713 if test -z "$ac_cv_prog_RANLIB"; then
3714 ac_ct_RANLIB
=$RANLIB
3715 # Extract the first word of "ranlib", so it can be a program name with args.
3716 set dummy ranlib
; ac_word
=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$ac_ct_RANLIB"; then
3723 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3742 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3743 if test -n "$ac_ct_RANLIB"; then
3744 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3745 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3747 echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6
3751 RANLIB
=$ac_ct_RANLIB
3753 RANLIB
="$ac_cv_prog_RANLIB"
3756 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3758 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_prog_STRIP+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$STRIP"; then
3765 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 STRIP
=$ac_cv_prog_STRIP
3784 if test -n "$STRIP"; then
3785 echo "$as_me:$LINENO: result: $STRIP" >&5
3786 echo "${ECHO_T}$STRIP" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3793 if test -z "$ac_cv_prog_STRIP"; then
3795 # Extract the first word of "strip", so it can be a program name with args.
3796 set dummy strip
; ac_word
=$2
3797 echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3799 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 if test -n "$ac_ct_STRIP"; then
3803 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_ac_ct_STRIP
="strip"
3813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3822 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3823 if test -n "$ac_ct_STRIP"; then
3824 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3825 echo "${ECHO_T}$ac_ct_STRIP" >&6
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3833 STRIP
="$ac_cv_prog_STRIP"
3837 # Check for any special flags to pass to ltconfig.
3838 libtool_flags
="--cache-file=$cache_file"
3839 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3840 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3841 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3842 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3843 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3846 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3847 if test "${enable_libtool_lock+set}" = set; then
3848 enableval
="$enable_libtool_lock"
3851 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3852 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3855 # Check whether --with-pic or --without-pic was given.
3856 if test "${with_pic+set}" = set; then
3862 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3863 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3865 # Some flags need to be propagated to the compiler or linker for good
3869 # Find out which ABI we are using.
3870 echo '#line 3870 "configure"' > conftest.
$ac_ext
3871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3872 (eval $ac_compile) 2>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; then
3876 if test "$lt_cv_prog_gnu_ld" = yes; then
3877 case `/usr/bin/file conftest.$ac_objext` in
3879 LD
="${LD-ld} -melf32bsmip"
3882 LD
="${LD-ld} -melf32bmipn32"
3885 LD
="${LD-ld} -melf64bmip"
3889 case `/usr/bin/file conftest.$ac_objext` in
3906 # Find out which ABI we are using.
3907 echo 'int i;' > conftest.
$ac_ext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3909 (eval $ac_compile) 2>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; then
3913 case "`/usr/bin/file conftest.o`" in
3925 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3926 # Find out which ABI we are using.
3927 echo 'int i;' > conftest.
$ac_ext
3928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3929 (eval $ac_compile) 2>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; then
3933 case "`/usr/bin/file conftest.o`" in
3937 LD
="${LD-ld} -m elf_i386"
3939 ppc64-
*linux
*|powerpc64-
*linux
*)
3940 LD
="${LD-ld} -m elf32ppclinux"
3943 LD
="${LD-ld} -m elf_s390"
3946 LD
="${LD-ld} -m elf32_sparc"
3953 LD
="${LD-ld} -m elf_x86_64"
3955 ppc
*-*linux
*|powerpc
*-*linux
*)
3956 LD
="${LD-ld} -m elf64ppc"
3959 LD
="${LD-ld} -m elf64_s390"
3962 LD
="${LD-ld} -m elf64_sparc"
3972 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3973 SAVE_CFLAGS
="$CFLAGS"
3974 CFLAGS
="$CFLAGS -belf"
3975 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3976 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3977 if test "${lt_cv_cc_needs_belf+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 ac_cpp
='$CPP $CPPFLAGS'
3984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3988 cat >conftest.
$ac_ext <<_ACEOF
3991 cat confdefs.h
>>conftest.
$ac_ext
3992 cat >>conftest.
$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
4003 rm -f conftest.
$ac_objext conftest
$ac_exeext
4004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4005 (eval $ac_link) 2>conftest.er1
4007 grep -v '^ *+' conftest.er1
>conftest.err
4009 cat conftest.err
>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } &&
4012 { ac_try
='test -z "$ac_c_werror_flag"
4013 || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest$ac_exeext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 lt_cv_cc_needs_belf
=yes
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4030 lt_cv_cc_needs_belf
=no
4032 rm -f conftest.err conftest.
$ac_objext \
4033 conftest
$ac_exeext conftest.
$ac_ext
4035 ac_cpp
='$CPP $CPPFLAGS'
4036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4041 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4042 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4043 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4044 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4045 CFLAGS
="$SAVE_CFLAGS"
4053 # Save cache, so that ltconfig can load it
4054 cat >confcache
<<\_ACEOF
4055 # This file is a shell script that caches the results of configure
4056 # tests run on this system so they can be shared between configure
4057 # scripts and configure runs, see configure's option --config-cache.
4058 # It is not useful on other systems. If it contains results you don't
4059 # want to keep, you may remove or edit it.
4061 # config.status only pays attention to the cache file if you give it
4062 # the --recheck option to rerun configure.
4064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4070 # The following way of writing the cache mishandles newlines in values,
4071 # but we know of no workaround that is simple, portable, and efficient.
4072 # So, don't put newlines in cache variables' values.
4073 # Ultrix sh set writes to stderr and can't be redirected directly,
4074 # and sets the high bit in the cache file unless we assign to the vars.
4077 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4079 # `set' does not quote correctly, so add quotes (double-quote
4080 # substitution turns \\\\ into \\, and sed turns \\ into \).
4083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4086 # `set' quotes correctly as required by POSIX, so do not add quotes.
4088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4097 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4099 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4100 if test -w $cache_file; then
4101 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4102 cat confcache
>$cache_file
4104 echo "not updating unwritable cache $cache_file"
4109 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4110 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4111 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4112 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4113 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4114 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4115 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4116 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4117 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4118 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4119 echo "$as_me: error: libtool configure failed" >&2;}
4120 { (exit 1); exit 1; }; }
4122 # Reload cache, that may have been modified by ltconfig
4123 if test -r "$cache_file"; then
4124 # Some versions of bash will fail to source /dev/null (special
4125 # files actually), so we avoid doing that.
4126 if test -f "$cache_file"; then
4127 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4128 echo "$as_me: loading cache $cache_file" >&6;}
4130 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4131 *) . .
/$cache_file;;
4135 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4136 echo "$as_me: creating cache $cache_file" >&6;}
4141 # This can be used to rebuild libtool when needed
4142 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4144 # Always use our own libtool.
4145 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4147 # Redirect the config.log output again, so that the ltconfig log is not
4148 # clobbered by the next message.
4149 exec 5>>.
/config.log
4157 # Check whether --enable-targets or --disable-targets was given.
4158 if test "${enable_targets+set}" = set; then
4159 enableval
="$enable_targets"
4160 case "${enableval}" in
4161 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4162 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4163 { (exit 1); exit 1; }; }
4165 no
) enable_targets
= ;;
4166 *) enable_targets
=$enableval ;;
4168 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4169 if test "${enable_commonbfdlib+set}" = set; then
4170 enableval
="$enable_commonbfdlib"
4171 case "${enableval}" in
4172 yes) commonbfdlib
=true
;;
4173 no
) commonbfdlib
=false
;;
4174 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4175 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4176 { (exit 1); exit 1; }; } ;;
4180 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4182 # Check whether --enable-werror or --disable-werror was given.
4183 if test "${enable_werror+set}" = set; then
4184 enableval
="$enable_werror"
4185 case "${enableval}" in
4186 yes | y
) ERROR_ON_WARNING
="yes" ;;
4187 no | n
) ERROR_ON_WARNING
="no" ;;
4188 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4189 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4190 { (exit 1); exit 1; }; } ;;
4194 # Enable -Werror by default when using gcc
4195 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4196 ERROR_ON_WARNING
=yes
4200 if test "${ERROR_ON_WARNING}" = yes ; then
4201 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4202 NO_WERROR
="-Wno-error"
4205 if test "${GCC}" = yes ; then
4206 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4209 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4210 if test "${enable_build_warnings+set}" = set; then
4211 enableval
="$enable_build_warnings"
4212 case "${enableval}" in
4213 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4214 no
) if test "${GCC}" = yes ; then
4217 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4218 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4219 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4220 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4221 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4225 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4226 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4233 ac_config_headers
="$ac_config_headers config.h:config.in"
4236 if test -z "$target" ; then
4237 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4238 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4239 { (exit 1); exit 1; }; }
4241 if test -z "$host" ; then
4242 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
4243 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
4244 { (exit 1); exit 1; }; }
4248 ac_cpp
='$CPP $CPPFLAGS'
4249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4252 if test -n "$ac_tool_prefix"; then
4253 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4254 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4255 echo "$as_me:$LINENO: checking for $ac_word" >&5
4256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4257 if test "${ac_cv_prog_CC+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 if test -n "$CC"; then
4261 ac_cv_prog_CC
="$CC" # Let the user override the test.
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 for ac_exec_ext
in '' $ac_executable_extensions; do
4269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4270 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 if test -n "$CC"; then
4281 echo "$as_me:$LINENO: result: $CC" >&5
4282 echo "${ECHO_T}$CC" >&6
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4289 if test -z "$ac_cv_prog_CC"; then
4291 # Extract the first word of "gcc", so it can be a program name with args.
4292 set dummy gcc
; ac_word
=$2
4293 echo "$as_me:$LINENO: checking for $ac_word" >&5
4294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 if test -n "$ac_ct_CC"; then
4299 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4308 ac_cv_prog_ac_ct_CC
="gcc"
4309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4318 if test -n "$ac_ct_CC"; then
4319 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4320 echo "${ECHO_T}$ac_ct_CC" >&6
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4331 if test -z "$CC"; then
4332 if test -n "$ac_tool_prefix"; then
4333 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4334 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4335 echo "$as_me:$LINENO: checking for $ac_word" >&5
4336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4337 if test "${ac_cv_prog_CC+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC
="$CC" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 if test -n "$CC"; then
4361 echo "$as_me:$LINENO: result: $CC" >&5
4362 echo "${ECHO_T}$CC" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4369 if test -z "$ac_cv_prog_CC"; then
4371 # Extract the first word of "cc", so it can be a program name with args.
4372 set dummy cc
; ac_word
=$2
4373 echo "$as_me:$LINENO: checking for $ac_word" >&5
4374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4375 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 if test -n "$ac_ct_CC"; then
4379 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir
=.
4386 for ac_exec_ext
in '' $ac_executable_extensions; do
4387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_ac_ct_CC
="cc"
4389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4398 if test -n "$ac_ct_CC"; then
4399 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4400 echo "${ECHO_T}$ac_ct_CC" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4412 if test -z "$CC"; then
4413 # Extract the first word of "cc", so it can be a program name with args.
4414 set dummy cc
; ac_word
=$2
4415 echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4417 if test "${ac_cv_prog_CC+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 if test -n "$CC"; then
4421 ac_cv_prog_CC
="$CC" # Let the user override the test.
4424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir
=.
4429 for ac_exec_ext
in '' $ac_executable_extensions; do
4430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4432 ac_prog_rejected
=yes
4436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 if test $ac_prog_rejected = yes; then
4443 # We found a bogon in the path, so make sure we never use it.
4444 set dummy
$ac_cv_prog_CC
4446 if test $# != 0; then
4447 # We chose a different compiler from the bogus one.
4448 # However, it has the same basename, so the bogon will be chosen
4449 # first if we set CC to just the basename; use the full file name.
4451 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4457 if test -n "$CC"; then
4458 echo "$as_me:$LINENO: result: $CC" >&5
4459 echo "${ECHO_T}$CC" >&6
4461 echo "$as_me:$LINENO: result: no" >&5
4462 echo "${ECHO_T}no" >&6
4466 if test -z "$CC"; then
4467 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4472 echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4474 if test "${ac_cv_prog_CC+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC
="$CC" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 if test -n "$CC"; then
4498 echo "$as_me:$LINENO: result: $CC" >&5
4499 echo "${ECHO_T}$CC" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4505 test -n "$CC" && break
4508 if test -z "$CC"; then
4512 # Extract the first word of "$ac_prog", so it can be a program name with args.
4513 set dummy
$ac_prog; ac_word
=$2
4514 echo "$as_me:$LINENO: checking for $ac_word" >&5
4515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4516 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 if test -n "$ac_ct_CC"; then
4520 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir
=.
4527 for ac_exec_ext
in '' $ac_executable_extensions; do
4528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_prog_ac_ct_CC
="$ac_prog"
4530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4539 if test -n "$ac_ct_CC"; then
4540 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4541 echo "${ECHO_T}$ac_ct_CC" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4547 test -n "$ac_ct_CC" && break
4556 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4557 See \`config.log' for more details." >&5
4558 echo "$as_me: error: no acceptable C compiler found in \$PATH
4559 See \`config.log' for more details." >&2;}
4560 { (exit 1); exit 1; }; }
4562 # Provide some information about the compiler.
4563 echo "$as_me:$LINENO:" \
4564 "checking for C compiler version" >&5
4565 ac_compiler
=`set X $ac_compile; echo $2`
4566 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4567 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }
4571 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4572 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }
4576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4577 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }
4582 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4583 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4584 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 cat >conftest.
$ac_ext <<_ACEOF
4590 cat confdefs.h
>>conftest.
$ac_ext
4591 cat >>conftest.
$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4605 rm -f conftest.
$ac_objext
4606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4607 (eval $ac_compile) 2>conftest.er1
4609 grep -v '^ *+' conftest.er1
>conftest.err
4611 cat conftest.err
>&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); } &&
4614 { ac_try
='test -z "$ac_c_werror_flag"
4615 || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try
='test -s conftest.$ac_objext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.
$ac_ext >&5
4634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4635 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4638 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4639 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4640 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4641 ac_test_CFLAGS
=${CFLAGS+set}
4642 ac_save_CFLAGS
=$CFLAGS
4644 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4645 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4646 if test "${ac_cv_prog_cc_g+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 cat >conftest.
$ac_ext <<_ACEOF
4652 cat confdefs.h
>>conftest.
$ac_ext
4653 cat >>conftest.
$ac_ext <<_ACEOF
4654 /* end confdefs.h. */
4664 rm -f conftest.
$ac_objext
4665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4666 (eval $ac_compile) 2>conftest.er1
4668 grep -v '^ *+' conftest.er1
>conftest.err
4670 cat conftest.err
>&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } &&
4673 { ac_try
='test -z "$ac_c_werror_flag"
4674 || test ! -s conftest.err'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; } &&
4680 { ac_try
='test -s conftest.$ac_objext'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; }; then
4688 echo "$as_me: failed program was:" >&5
4689 sed 's/^/| /' conftest.
$ac_ext >&5
4693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4695 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4696 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4697 if test "$ac_test_CFLAGS" = set; then
4698 CFLAGS
=$ac_save_CFLAGS
4699 elif test $ac_cv_prog_cc_g = yes; then
4700 if test "$GCC" = yes; then
4706 if test "$GCC" = yes; then
4712 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4713 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4714 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4715 echo $ECHO_N "(cached) $ECHO_C" >&6
4717 ac_cv_prog_cc_stdc
=no
4719 cat >conftest.
$ac_ext <<_ACEOF
4722 cat confdefs.h
>>conftest.
$ac_ext
4723 cat >>conftest.
$ac_ext <<_ACEOF
4724 /* end confdefs.h. */
4727 #include <sys/types.h>
4728 #include <sys/stat.h>
4729 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4730 struct buf { int x; };
4731 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4732 static char *e (p, i)
4738 static char *f (char * (*g) (char **, int), char **p, ...)
4743 s = g (p, va_arg (v,int));
4748 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4749 function prototypes and stuff, but not '\xHH' hex character constants.
4750 These don't provoke an error unfortunately, instead are silently treated
4751 as 'x'. The following induces an error, until -std1 is added to get
4752 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4753 array size at least. It's necessary to write '\x00'==0 to get something
4754 that's true only with -std1. */
4755 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4757 int test (int i, double x);
4758 struct s1 {int (*f) (int a);};
4759 struct s2 {int (*f) (double a);};
4760 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4766 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4771 # Don't try gcc -ansi; that turns off useful extensions and
4772 # breaks some systems' header files.
4773 # AIX -qlanglvl=ansi
4774 # Ultrix and OSF/1 -std1
4775 # HP-UX 10.20 and later -Ae
4776 # HP-UX older versions -Aa -D_HPUX_SOURCE
4777 # SVR4 -Xc -D__EXTENSIONS__
4778 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4780 CC
="$ac_save_CC $ac_arg"
4781 rm -f conftest.
$ac_objext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try
='test -z "$ac_c_werror_flag"
4791 || test ! -s conftest.err'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; } &&
4797 { ac_try
='test -s conftest.$ac_objext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4803 ac_cv_prog_cc_stdc
=$ac_arg
4806 echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.
$ac_ext >&5
4810 rm -f conftest.err conftest.
$ac_objext
4812 rm -f conftest.
$ac_ext conftest.
$ac_objext
4817 case "x$ac_cv_prog_cc_stdc" in
4819 echo "$as_me:$LINENO: result: none needed" >&5
4820 echo "${ECHO_T}none needed" >&6 ;;
4822 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4823 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4824 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4827 # Some people use a C++ compiler to compile C. Since we use `exit',
4828 # in C++ we need to declare it. In case someone uses the same compiler
4829 # for both compiling C and C++ we need to have the C++ compiler decide
4830 # the declaration of exit, since it's the most demanding environment.
4831 cat >conftest.
$ac_ext <<_ACEOF
4836 rm -f conftest.
$ac_objext
4837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4838 (eval $ac_compile) 2>conftest.er1
4840 grep -v '^ *+' conftest.er1
>conftest.err
4842 cat conftest.err
>&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try
='test -z "$ac_c_werror_flag"
4846 || test ! -s conftest.err'
4847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; } &&
4852 { ac_try
='test -s conftest.$ac_objext'
4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 for ac_declaration
in \
4860 'extern "C" void std::exit (int) throw (); using std::exit;' \
4861 'extern "C" void std::exit (int); using std::exit;' \
4862 'extern "C" void exit (int) throw ();' \
4863 'extern "C" void exit (int);' \
4866 cat >conftest.
$ac_ext <<_ACEOF
4869 cat confdefs.h
>>conftest.
$ac_ext
4870 cat >>conftest.
$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4882 rm -f conftest.
$ac_objext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884 (eval $ac_compile) 2>conftest.er1
4886 grep -v '^ *+' conftest.er1
>conftest.err
4888 cat conftest.err
>&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } &&
4891 { ac_try
='test -z "$ac_c_werror_flag"
4892 || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try
='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4912 cat >conftest.
$ac_ext <<_ACEOF
4915 cat confdefs.h
>>conftest.
$ac_ext
4916 cat >>conftest.
$ac_ext <<_ACEOF
4917 /* end confdefs.h. */
4927 rm -f conftest.
$ac_objext
4928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4929 (eval $ac_compile) 2>conftest.er1
4931 grep -v '^ *+' conftest.er1
>conftest.err
4933 cat conftest.err
>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } &&
4936 { ac_try
='test -z "$ac_c_werror_flag"
4937 || test ! -s conftest.err'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; } &&
4943 { ac_try
='test -s conftest.$ac_objext'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then
4951 echo "$as_me: failed program was:" >&5
4952 sed 's/^/| /' conftest.
$ac_ext >&5
4955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4958 if test -n "$ac_declaration"; then
4959 echo '#ifdef __cplusplus' >>confdefs.h
4960 echo $ac_declaration >>confdefs.h
4961 echo '#endif' >>confdefs.h
4965 echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.
$ac_ext >&5
4969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4971 ac_cpp
='$CPP $CPPFLAGS'
4972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4977 cat >>confdefs.h
<<\_ACEOF
4978 #define _GNU_SOURCE 1
4983 for ac_prog
in 'bison -y' byacc
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy
$ac_prog; ac_word
=$2
4987 echo "$as_me:$LINENO: checking for $ac_word" >&5
4988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4989 if test "${ac_cv_prog_YACC+set}" = set; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 if test -n "$YACC"; then
4993 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_YACC
="$ac_prog"
5003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 YACC
=$ac_cv_prog_YACC
5012 if test -n "$YACC"; then
5013 echo "$as_me:$LINENO: result: $YACC" >&5
5014 echo "${ECHO_T}$YACC" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5020 test -n "$YACC" && break
5022 test -n "$YACC" || YACC
="yacc"
5024 for ac_prog
in flex
lex
5026 # Extract the first word of "$ac_prog", so it can be a program name with args.
5027 set dummy
$ac_prog; ac_word
=$2
5028 echo "$as_me:$LINENO: checking for $ac_word" >&5
5029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5030 if test "${ac_cv_prog_LEX+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 if test -n "$LEX"; then
5034 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_LEX
="$ac_prog"
5044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 if test -n "$LEX"; then
5054 echo "$as_me:$LINENO: result: $LEX" >&5
5055 echo "${ECHO_T}$LEX" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5061 test -n "$LEX" && break
5063 test -n "$LEX" || LEX
=":"
5065 if test -z "$LEXLIB"
5067 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5068 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5069 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 ac_check_lib_save_LIBS
=$LIBS
5074 cat >conftest.
$ac_ext <<_ACEOF
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5081 /* Override any gcc2 internal prototype to avoid an error. */
5085 /* We use char because int might match the return type of a gcc2
5086 builtin and then its argument prototype would still apply. */
5096 rm -f conftest.
$ac_objext conftest
$ac_exeext
5097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5098 (eval $ac_link) 2>conftest.er1
5100 grep -v '^ *+' conftest.er1
>conftest.err
5102 cat conftest.err
>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try
='test -z "$ac_c_werror_flag"
5106 || test ! -s conftest.err'
5107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); }; } &&
5112 { ac_try
='test -s conftest$ac_exeext'
5113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; }; then
5118 ac_cv_lib_fl_yywrap
=yes
5120 echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.
$ac_ext >&5
5123 ac_cv_lib_fl_yywrap
=no
5125 rm -f conftest.err conftest.
$ac_objext \
5126 conftest
$ac_exeext conftest.
$ac_ext
5127 LIBS
=$ac_check_lib_save_LIBS
5129 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5130 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5131 if test $ac_cv_lib_fl_yywrap = yes; then
5134 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5135 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
5136 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 ac_check_lib_save_LIBS
=$LIBS
5141 cat >conftest.
$ac_ext <<_ACEOF
5144 cat confdefs.h
>>conftest.
$ac_ext
5145 cat >>conftest.
$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5148 /* Override any gcc2 internal prototype to avoid an error. */
5152 /* We use char because int might match the return type of a gcc2
5153 builtin and then its argument prototype would still apply. */
5163 rm -f conftest.
$ac_objext conftest
$ac_exeext
5164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5165 (eval $ac_link) 2>conftest.er1
5167 grep -v '^ *+' conftest.er1
>conftest.err
5169 cat conftest.err
>&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } &&
5172 { ac_try
='test -z "$ac_c_werror_flag"
5173 || test ! -s conftest.err'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; } &&
5179 { ac_try
='test -s conftest$ac_exeext'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; }; then
5185 ac_cv_lib_l_yywrap
=yes
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5190 ac_cv_lib_l_yywrap
=no
5192 rm -f conftest.err conftest.
$ac_objext \
5193 conftest
$ac_exeext conftest.
$ac_ext
5194 LIBS
=$ac_check_lib_save_LIBS
5196 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5197 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
5198 if test $ac_cv_lib_l_yywrap = yes; then
5206 if test "x$LEX" != "x:"; then
5207 echo "$as_me:$LINENO: checking lex output file root" >&5
5208 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
5209 if test "${ac_cv_prog_lex_root+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 # The minimal lex program is just a single line: %%. But some broken lexes
5213 # (Solaris, I think it was) want two %% lines, so accommodate them.
5214 cat >conftest.l
<<_ACEOF
5218 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5219 (eval $LEX conftest.l
) 2>&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }
5223 if test -f lex.yy.c
; then
5224 ac_cv_prog_lex_root
=lex.yy
5225 elif test -f lexyy.c
; then
5226 ac_cv_prog_lex_root
=lexyy
5228 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5229 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5230 { (exit 1); exit 1; }; }
5233 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5234 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
5236 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5238 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5239 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
5240 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 # POSIX says lex can declare yytext either as a pointer or an array; the
5244 # default is implementation-dependent. Figure out which it is, since
5245 # not all implementations provide the %pointer and %array declarations.
5246 ac_cv_prog_lex_yytext_pointer
=no
5247 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5249 LIBS
="$LIBS $LEXLIB"
5250 cat >conftest.
$ac_ext <<_ACEOF
5251 `cat $LEX_OUTPUT_ROOT.c`
5253 rm -f conftest.
$ac_objext conftest
$ac_exeext
5254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5255 (eval $ac_link) 2>conftest.er1
5257 grep -v '^ *+' conftest.er1
>conftest.err
5259 cat conftest.err
>&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } &&
5262 { ac_try
='test -z "$ac_c_werror_flag"
5263 || test ! -s conftest.err'
5264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); }; } &&
5269 { ac_try
='test -s conftest$ac_exeext'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; }; then
5275 ac_cv_prog_lex_yytext_pointer
=yes
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.
$ac_ext >&5
5281 rm -f conftest.err conftest.
$ac_objext \
5282 conftest
$ac_exeext conftest.
$ac_ext
5284 rm -f "${LEX_OUTPUT_ROOT}.c"
5287 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5288 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
5289 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5291 cat >>confdefs.h
<<\_ACEOF
5292 #define YYTEXT_POINTER 1
5298 if test "$LEX" = :; then
5299 LEX
=${am_missing_run}flex
5302 ALL_LINGUAS
="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi"
5303 if test -n "$ac_tool_prefix"; then
5304 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5305 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5306 echo "$as_me:$LINENO: checking for $ac_word" >&5
5307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5308 if test "${ac_cv_prog_RANLIB+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 if test -n "$RANLIB"; then
5312 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 RANLIB
=$ac_cv_prog_RANLIB
5331 if test -n "$RANLIB"; then
5332 echo "$as_me:$LINENO: result: $RANLIB" >&5
5333 echo "${ECHO_T}$RANLIB" >&6
5335 echo "$as_me:$LINENO: result: no" >&5
5336 echo "${ECHO_T}no" >&6
5340 if test -z "$ac_cv_prog_RANLIB"; then
5341 ac_ct_RANLIB
=$RANLIB
5342 # Extract the first word of "ranlib", so it can be a program name with args.
5343 set dummy ranlib
; ac_word
=$2
5344 echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5346 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 if test -n "$ac_ct_RANLIB"; then
5350 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir
=.
5357 for ac_exec_ext
in '' $ac_executable_extensions; do
5358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5359 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5369 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5370 if test -n "$ac_ct_RANLIB"; then
5371 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5372 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5378 RANLIB
=$ac_ct_RANLIB
5380 RANLIB
="$ac_cv_prog_RANLIB"
5384 ac_cpp
='$CPP $CPPFLAGS'
5385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5388 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5389 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5390 # On Suns, sometimes $CPP names a directory.
5391 if test -n "$CPP" && test -d "$CPP"; then
5394 if test -z "$CPP"; then
5395 if test "${ac_cv_prog_CPP+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 # Double quotes because CPP needs to be expanded
5399 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5402 for ac_c_preproc_warn_flag
in '' yes
5404 # Use a header file that comes with gcc, so configuring glibc
5405 # with a fresh cross-compiler works.
5406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5407 # <limits.h> exists even on freestanding compilers.
5408 # On the NeXT, cc -E runs the code through the compiler's parser,
5409 # not just through cpp. "Syntax error" is here to catch this case.
5410 cat >conftest.
$ac_ext <<_ACEOF
5413 cat confdefs.h
>>conftest.
$ac_ext
5414 cat >>conftest.
$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5417 # include <limits.h>
5419 # include <assert.h>
5423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5426 grep -v '^ *+' conftest.er1
>conftest.err
5428 cat conftest.err
>&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); } >/dev
/null
; then
5431 if test -s conftest.err
; then
5432 ac_cpp_err
=$ac_c_preproc_warn_flag
5433 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5440 if test -z "$ac_cpp_err"; then
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.
$ac_ext >&5
5446 # Broken: fails on valid input.
5449 rm -f conftest.err conftest.
$ac_ext
5451 # OK, works on sane cases. Now check whether non-existent headers
5452 # can be detected and how.
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5459 #include <ac_nonexistent.h>
5461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5464 grep -v '^ *+' conftest.er1
>conftest.err
5466 cat conftest.err
>&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } >/dev
/null
; then
5469 if test -s conftest.err
; then
5470 ac_cpp_err
=$ac_c_preproc_warn_flag
5471 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5478 if test -z "$ac_cpp_err"; then
5479 # Broken: success on invalid input.
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.
$ac_ext >&5
5485 # Passes both tests.
5489 rm -f conftest.err conftest.
$ac_ext
5492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5493 rm -f conftest.err conftest.
$ac_ext
5494 if $ac_preproc_ok; then
5506 echo "$as_me:$LINENO: result: $CPP" >&5
5507 echo "${ECHO_T}$CPP" >&6
5509 for ac_c_preproc_warn_flag
in '' yes
5511 # Use a header file that comes with gcc, so configuring glibc
5512 # with a fresh cross-compiler works.
5513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5514 # <limits.h> exists even on freestanding compilers.
5515 # On the NeXT, cc -E runs the code through the compiler's parser,
5516 # not just through cpp. "Syntax error" is here to catch this case.
5517 cat >conftest.
$ac_ext <<_ACEOF
5520 cat confdefs.h
>>conftest.
$ac_ext
5521 cat >>conftest.
$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5524 # include <limits.h>
5526 # include <assert.h>
5530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5533 grep -v '^ *+' conftest.er1
>conftest.err
5535 cat conftest.err
>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } >/dev
/null
; then
5538 if test -s conftest.err
; then
5539 ac_cpp_err
=$ac_c_preproc_warn_flag
5540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5547 if test -z "$ac_cpp_err"; then
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.
$ac_ext >&5
5553 # Broken: fails on valid input.
5556 rm -f conftest.err conftest.
$ac_ext
5558 # OK, works on sane cases. Now check whether non-existent headers
5559 # can be detected and how.
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5566 #include <ac_nonexistent.h>
5568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5571 grep -v '^ *+' conftest.er1
>conftest.err
5573 cat conftest.err
>&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } >/dev
/null
; then
5576 if test -s conftest.err
; then
5577 ac_cpp_err
=$ac_c_preproc_warn_flag
5578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5585 if test -z "$ac_cpp_err"; then
5586 # Broken: success on invalid input.
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.
$ac_ext >&5
5592 # Passes both tests.
5596 rm -f conftest.err conftest.
$ac_ext
5599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5600 rm -f conftest.err conftest.
$ac_ext
5601 if $ac_preproc_ok; then
5604 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5605 See \`config.log' for more details." >&5
5606 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5607 See \`config.log' for more details." >&2;}
5608 { (exit 1); exit 1; }; }
5612 ac_cpp
='$CPP $CPPFLAGS'
5613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5618 echo "$as_me:$LINENO: checking for egrep" >&5
5619 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5620 if test "${ac_cv_prog_egrep+set}" = set; then
5621 echo $ECHO_N "(cached) $ECHO_C" >&6
5623 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5624 then ac_cv_prog_egrep
='grep -E'
5625 else ac_cv_prog_egrep
='egrep'
5628 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5629 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5630 EGREP
=$ac_cv_prog_egrep
5633 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5634 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5635 if test "${ac_cv_header_stdc+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5657 rm -f conftest.
$ac_objext
5658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5659 (eval $ac_compile) 2>conftest.er1
5661 grep -v '^ *+' conftest.er1
>conftest.err
5663 cat conftest.err
>&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } &&
5666 { ac_try
='test -z "$ac_c_werror_flag"
5667 || test ! -s conftest.err'
5668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); }; } &&
5673 { ac_try
='test -s conftest.$ac_objext'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5679 ac_cv_header_stdc
=yes
5681 echo "$as_me: failed program was:" >&5
5682 sed 's/^/| /' conftest.
$ac_ext >&5
5684 ac_cv_header_stdc
=no
5686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5688 if test $ac_cv_header_stdc = yes; then
5689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5690 cat >conftest.
$ac_ext <<_ACEOF
5693 cat confdefs.h
>>conftest.
$ac_ext
5694 cat >>conftest.
$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5700 $EGREP "memchr" >/dev
/null
2>&1; then
5703 ac_cv_header_stdc
=no
5709 if test $ac_cv_header_stdc = yes; then
5710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5721 $EGREP "free" >/dev
/null
2>&1; then
5724 ac_cv_header_stdc
=no
5730 if test $ac_cv_header_stdc = yes; then
5731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5732 if test "$cross_compiling" = yes; then
5735 cat >conftest.
$ac_ext <<_ACEOF
5738 cat confdefs.h
>>conftest.
$ac_ext
5739 cat >>conftest.
$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5742 #if ((' ' & 0x0FF) == 0x020)
5743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5746 # define ISLOWER(c) \
5747 (('a' <= (c) && (c) <= 'i') \
5748 || ('j' <= (c) && (c) <= 'r') \
5749 || ('s' <= (c) && (c) <= 'z'))
5750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5758 for (i = 0; i < 256; i++)
5759 if (XOR (islower (i), ISLOWER (i))
5760 || toupper (i) != TOUPPER (i))
5765 rm -f conftest
$ac_exeext
5766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5767 (eval $ac_link) 2>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); }; }; then
5778 echo "$as_me: program exited with status $ac_status" >&5
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5783 ac_cv_header_stdc
=no
5785 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5789 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5790 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5791 if test $ac_cv_header_stdc = yes; then
5793 cat >>confdefs.h
<<\_ACEOF
5794 #define STDC_HEADERS 1
5799 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5800 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5801 if test "${ac_cv_c_const+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 cat >conftest.
$ac_ext <<_ACEOF
5807 cat confdefs.h
>>conftest.
$ac_ext
5808 cat >>conftest.
$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5814 /* FIXME: Include the comments suggested by Paul. */
5816 /* Ultrix mips cc rejects this. */
5817 typedef int charset[2];
5819 /* SunOS 4.1.1 cc rejects this. */
5820 char const *const *ccp;
5822 /* NEC SVR4.0.2 mips cc rejects this. */
5823 struct point {int x, y;};
5824 static struct point const zero = {0,0};
5825 /* AIX XL C 1.02.0.0 rejects this.
5826 It does not let you subtract one const X* pointer from another in
5827 an arm of an if-expression whose if-part is not a constant
5829 const char *g = "string";
5830 ccp = &g + (g ? g-g : 0);
5831 /* HPUX 7.0 cc rejects these. */
5834 ccp = (char const *const *) p;
5835 { /* SCO 3.2v4 cc rejects this. */
5837 char const *s = 0 ? (char *) 0 : (char const *) 0;
5841 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5843 const int *foo = &x[0];
5846 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5847 typedef const int *iptr;
5851 { /* AIX XL C 1.02.0.0 rejects this saying
5852 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5853 struct s { int j; const int *ap[3]; };
5854 struct s *b; b->j = 5;
5856 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5865 rm -f conftest.
$ac_objext
5866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5867 (eval $ac_compile) 2>conftest.er1
5869 grep -v '^ *+' conftest.er1
>conftest.err
5871 cat conftest.err
>&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } &&
5874 { ac_try
='test -z "$ac_c_werror_flag"
5875 || test ! -s conftest.err'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; } &&
5881 { ac_try
='test -s conftest.$ac_objext'
5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; }; then
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.
$ac_ext >&5
5894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5897 echo "${ECHO_T}$ac_cv_c_const" >&6
5898 if test $ac_cv_c_const = no
; then
5900 cat >>confdefs.h
<<\_ACEOF
5906 echo "$as_me:$LINENO: checking for inline" >&5
5907 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5908 if test "${ac_cv_c_inline+set}" = set; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 for ac_kw
in inline __inline__ __inline
; do
5913 cat >conftest.
$ac_ext <<_ACEOF
5916 cat confdefs.h
>>conftest.
$ac_ext
5917 cat >>conftest.
$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5921 static $ac_kw foo_t static_foo () {return 0; }
5922 $ac_kw foo_t foo () {return 0; }
5926 rm -f conftest.
$ac_objext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5928 (eval $ac_compile) 2>conftest.er1
5930 grep -v '^ *+' conftest.er1
>conftest.err
5932 cat conftest.err
>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } &&
5935 { ac_try
='test -z "$ac_c_werror_flag"
5936 || test ! -s conftest.err'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; } &&
5942 { ac_try
='test -s conftest.$ac_objext'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; }; then
5948 ac_cv_c_inline
=$ac_kw; break
5950 echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.
$ac_ext >&5
5954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5958 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5959 echo "${ECHO_T}$ac_cv_c_inline" >&6
5962 case $ac_cv_c_inline in
5965 case $ac_cv_c_inline in
5967 *) ac_val
=$ac_cv_c_inline;;
5969 cat >>confdefs.h
<<_ACEOF
5971 #define inline $ac_val
5977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5987 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5988 inttypes.h stdint.h unistd.h
5990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5991 echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 cat >conftest.
$ac_ext <<_ACEOF
5999 cat confdefs.h
>>conftest.
$ac_ext
6000 cat >>conftest.
$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6002 $ac_includes_default
6004 #include <$ac_header>
6006 rm -f conftest.
$ac_objext
6007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6008 (eval $ac_compile) 2>conftest.er1
6010 grep -v '^ *+' conftest.er1
>conftest.err
6012 cat conftest.err
>&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try
='test -z "$ac_c_werror_flag"
6016 || test ! -s conftest.err'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; } &&
6022 { ac_try
='test -s conftest.$ac_objext'
6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; }; then
6028 eval "$as_ac_Header=yes"
6030 echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.
$ac_ext >&5
6033 eval "$as_ac_Header=no"
6035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6040 cat >>confdefs.h
<<_ACEOF
6041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6049 echo "$as_me:$LINENO: checking for off_t" >&5
6050 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6051 if test "${ac_cv_type_off_t+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 cat >conftest.
$ac_ext <<_ACEOF
6057 cat confdefs.h
>>conftest.
$ac_ext
6058 cat >>conftest.
$ac_ext <<_ACEOF
6059 /* end confdefs.h. */
6060 $ac_includes_default
6072 rm -f conftest.
$ac_objext
6073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074 (eval $ac_compile) 2>conftest.er1
6076 grep -v '^ *+' conftest.er1
>conftest.err
6078 cat conftest.err
>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } &&
6081 { ac_try
='test -z "$ac_c_werror_flag"
6082 || test ! -s conftest.err'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; } &&
6088 { ac_try
='test -s conftest.$ac_objext'
6089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); }; }; then
6094 ac_cv_type_off_t
=yes
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.
$ac_ext >&5
6101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6103 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6104 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6105 if test $ac_cv_type_off_t = yes; then
6109 cat >>confdefs.h
<<_ACEOF
6115 echo "$as_me:$LINENO: checking for size_t" >&5
6116 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6117 if test "${ac_cv_type_size_t+set}" = set; then
6118 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 cat >conftest.
$ac_ext <<_ACEOF
6123 cat confdefs.h
>>conftest.
$ac_ext
6124 cat >>conftest.
$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6126 $ac_includes_default
6132 if (sizeof (size_t))
6138 rm -f conftest.
$ac_objext
6139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6140 (eval $ac_compile) 2>conftest.er1
6142 grep -v '^ *+' conftest.er1
>conftest.err
6144 cat conftest.err
>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } &&
6147 { ac_try
='test -z "$ac_c_werror_flag"
6148 || test ! -s conftest.err'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; } &&
6154 { ac_try
='test -s conftest.$ac_objext'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; }; then
6160 ac_cv_type_size_t
=yes
6162 echo "$as_me: failed program was:" >&5
6163 sed 's/^/| /' conftest.
$ac_ext >&5
6165 ac_cv_type_size_t
=no
6167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6169 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6170 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6171 if test $ac_cv_type_size_t = yes; then
6175 cat >>confdefs.h
<<_ACEOF
6176 #define size_t unsigned
6181 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6182 # for constant arguments. Useless!
6183 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6184 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6185 if test "${ac_cv_working_alloca_h+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 cat >conftest.
$ac_ext <<_ACEOF
6191 cat confdefs.h
>>conftest.
$ac_ext
6192 cat >>conftest.
$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6198 char *p = (char *) alloca (2 * sizeof (int));
6203 rm -f conftest.
$ac_objext conftest
$ac_exeext
6204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6205 (eval $ac_link) 2>conftest.er1
6207 grep -v '^ *+' conftest.er1
>conftest.err
6209 cat conftest.err
>&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); } &&
6212 { ac_try
='test -z "$ac_c_werror_flag"
6213 || test ! -s conftest.err'
6214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; } &&
6219 { ac_try
='test -s conftest$ac_exeext'
6220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }; }; then
6225 ac_cv_working_alloca_h
=yes
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6230 ac_cv_working_alloca_h
=no
6232 rm -f conftest.err conftest.
$ac_objext \
6233 conftest
$ac_exeext conftest.
$ac_ext
6235 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6236 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6237 if test $ac_cv_working_alloca_h = yes; then
6239 cat >>confdefs.h
<<\_ACEOF
6240 #define HAVE_ALLOCA_H 1
6245 echo "$as_me:$LINENO: checking for alloca" >&5
6246 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6247 if test "${ac_cv_func_alloca_works+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 cat >conftest.
$ac_ext <<_ACEOF
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6257 # define alloca __builtin_alloca
6260 # include <malloc.h>
6261 # define alloca _alloca
6264 # include <alloca.h>
6269 # ifndef alloca /* predefined by HP cc +Olibcalls */
6280 char *p = (char *) alloca (1);
6285 rm -f conftest.
$ac_objext conftest
$ac_exeext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6287 (eval $ac_link) 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } &&
6294 { ac_try
='test -z "$ac_c_werror_flag"
6295 || test ! -s conftest.err'
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; } &&
6301 { ac_try
='test -s conftest$ac_exeext'
6302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); }; }; then
6307 ac_cv_func_alloca_works
=yes
6309 echo "$as_me: failed program was:" >&5
6310 sed 's/^/| /' conftest.
$ac_ext >&5
6312 ac_cv_func_alloca_works
=no
6314 rm -f conftest.err conftest.
$ac_objext \
6315 conftest
$ac_exeext conftest.
$ac_ext
6317 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6318 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6320 if test $ac_cv_func_alloca_works = yes; then
6322 cat >>confdefs.h
<<\_ACEOF
6323 #define HAVE_ALLOCA 1
6327 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6328 # that cause trouble. Some versions do not even contain alloca or
6329 # contain a buggy version. If you still want to use their alloca,
6330 # use ar to extract alloca.o from them instead of compiling alloca.c.
6332 ALLOCA
=alloca.
$ac_objext
6334 cat >>confdefs.h
<<\_ACEOF
6339 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6340 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6341 if test "${ac_cv_os_cray+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 cat >conftest.
$ac_ext <<_ACEOF
6347 cat confdefs.h
>>conftest.
$ac_ext
6348 cat >>conftest.
$ac_ext <<_ACEOF
6349 /* end confdefs.h. */
6350 #if defined(CRAY) && ! defined(CRAY2)
6357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6358 $EGREP "webecray" >/dev
/null
2>&1; then
6366 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6367 echo "${ECHO_T}$ac_cv_os_cray" >&6
6368 if test $ac_cv_os_cray = yes; then
6369 for ac_func
in _getb67 GETB67 getb67
; do
6370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6371 echo "$as_me:$LINENO: checking for $ac_func" >&5
6372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6373 if eval "test \"\${$as_ac_var+set}\" = set"; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 cat >conftest.
$ac_ext <<_ACEOF
6379 cat confdefs.h
>>conftest.
$ac_ext
6380 cat >>conftest.
$ac_ext <<_ACEOF
6381 /* end confdefs.h. */
6382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6384 #define $ac_func innocuous_$ac_func
6386 /* System header to define __stub macros and hopefully few prototypes,
6387 which can conflict with char $ac_func (); below.
6388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6389 <limits.h> exists even on freestanding compilers. */
6392 # include <limits.h>
6394 # include <assert.h>
6399 /* Override any gcc2 internal prototype to avoid an error. */
6404 /* We use char because int might match the return type of a gcc2
6405 builtin and then its argument prototype would still apply. */
6407 /* The GNU C library defines this for functions which it implements
6408 to always fail with ENOSYS. Some functions are actually named
6409 something starting with __ and the normal name is an alias. */
6410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6413 char (*f) () = $ac_func;
6422 return f != $ac_func;
6427 rm -f conftest.
$ac_objext conftest
$ac_exeext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6429 (eval $ac_link) 2>conftest.er1
6431 grep -v '^ *+' conftest.er1
>conftest.err
6433 cat conftest.err
>&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try
='test -z "$ac_c_werror_flag"
6437 || test ! -s conftest.err'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; } &&
6443 { ac_try
='test -s conftest$ac_exeext'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }; then
6449 eval "$as_ac_var=yes"
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.
$ac_ext >&5
6454 eval "$as_ac_var=no"
6456 rm -f conftest.err conftest.
$ac_objext \
6457 conftest
$ac_exeext conftest.
$ac_ext
6459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6461 if test `eval echo '${'$as_ac_var'}'` = yes; then
6463 cat >>confdefs.h
<<_ACEOF
6464 #define CRAY_STACKSEG_END $ac_func
6473 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6474 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6475 if test "${ac_cv_c_stack_direction+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 if test "$cross_compiling" = yes; then
6479 ac_cv_c_stack_direction
=0
6481 cat >conftest.
$ac_ext <<_ACEOF
6484 cat confdefs.h
>>conftest.
$ac_ext
6485 cat >>conftest.
$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6488 find_stack_direction ()
6490 static char *addr = 0;
6495 return find_stack_direction ();
6498 return (&dummy > addr) ? 1 : -1;
6504 exit (find_stack_direction () < 0);
6507 rm -f conftest
$ac_exeext
6508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6509 (eval $ac_link) 2>&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }; }; then
6518 ac_cv_c_stack_direction
=1
6520 echo "$as_me: program exited with status $ac_status" >&5
6521 echo "$as_me: failed program was:" >&5
6522 sed 's/^/| /' conftest.
$ac_ext >&5
6525 ac_cv_c_stack_direction
=-1
6527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6530 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6531 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6533 cat >>confdefs.h
<<_ACEOF
6534 #define STACK_DIRECTION $ac_cv_c_stack_direction
6542 for ac_header
in stdlib.h unistd.h
6544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6546 echo "$as_me:$LINENO: checking for $ac_header" >&5
6547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6554 # Is the header compilable?
6555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6557 cat >conftest.
$ac_ext <<_ACEOF
6560 cat confdefs.h
>>conftest.
$ac_ext
6561 cat >>conftest.
$ac_ext <<_ACEOF
6562 /* end confdefs.h. */
6563 $ac_includes_default
6564 #include <$ac_header>
6566 rm -f conftest.
$ac_objext
6567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6568 (eval $ac_compile) 2>conftest.er1
6570 grep -v '^ *+' conftest.er1
>conftest.err
6572 cat conftest.err
>&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try
='test -z "$ac_c_werror_flag"
6576 || test ! -s conftest.err'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; } &&
6582 { ac_try
='test -s conftest.$ac_objext'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 ac_header_compiler
=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.
$ac_ext >&5
6593 ac_header_compiler
=no
6595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6597 echo "${ECHO_T}$ac_header_compiler" >&6
6599 # Is the header present?
6600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6602 cat >conftest.
$ac_ext <<_ACEOF
6605 cat confdefs.h
>>conftest.
$ac_ext
6606 cat >>conftest.
$ac_ext <<_ACEOF
6607 /* end confdefs.h. */
6608 #include <$ac_header>
6610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6611 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6613 grep -v '^ *+' conftest.er1
>conftest.err
6615 cat conftest.err
>&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } >/dev
/null
; then
6618 if test -s conftest.err
; then
6619 ac_cpp_err
=$ac_c_preproc_warn_flag
6620 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6627 if test -z "$ac_cpp_err"; then
6628 ac_header_preproc
=yes
6630 echo "$as_me: failed program was:" >&5
6631 sed 's/^/| /' conftest.
$ac_ext >&5
6633 ac_header_preproc
=no
6635 rm -f conftest.err conftest.
$ac_ext
6636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6637 echo "${ECHO_T}$ac_header_preproc" >&6
6639 # So? What about this header?
6640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6646 ac_header_preproc
=yes
6649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6663 ## ------------------------------------------ ##
6664 ## Report this to the AC_PACKAGE_NAME lists. ##
6665 ## ------------------------------------------ ##
6668 sed "s/^/$as_me: WARNING: /" >&2
6671 echo "$as_me:$LINENO: checking for $ac_header" >&5
6672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 eval "$as_ac_Header=\$ac_header_preproc"
6678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6683 cat >>confdefs.h
<<_ACEOF
6684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6692 for ac_func
in getpagesize
6694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6695 echo "$as_me:$LINENO: checking for $ac_func" >&5
6696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6697 if eval "test \"\${$as_ac_var+set}\" = set"; then
6698 echo $ECHO_N "(cached) $ECHO_C" >&6
6700 cat >conftest.
$ac_ext <<_ACEOF
6703 cat confdefs.h
>>conftest.
$ac_ext
6704 cat >>conftest.
$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6708 #define $ac_func innocuous_$ac_func
6710 /* System header to define __stub macros and hopefully few prototypes,
6711 which can conflict with char $ac_func (); below.
6712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6713 <limits.h> exists even on freestanding compilers. */
6716 # include <limits.h>
6718 # include <assert.h>
6723 /* Override any gcc2 internal prototype to avoid an error. */
6728 /* We use char because int might match the return type of a gcc2
6729 builtin and then its argument prototype would still apply. */
6731 /* The GNU C library defines this for functions which it implements
6732 to always fail with ENOSYS. Some functions are actually named
6733 something starting with __ and the normal name is an alias. */
6734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6737 char (*f) () = $ac_func;
6746 return f != $ac_func;
6751 rm -f conftest.
$ac_objext conftest
$ac_exeext
6752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6753 (eval $ac_link) 2>conftest.er1
6755 grep -v '^ *+' conftest.er1
>conftest.err
6757 cat conftest.err
>&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try
='test -z "$ac_c_werror_flag"
6761 || test ! -s conftest.err'
6762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); }; } &&
6767 { ac_try
='test -s conftest$ac_exeext'
6768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); }; }; then
6773 eval "$as_ac_var=yes"
6775 echo "$as_me: failed program was:" >&5
6776 sed 's/^/| /' conftest.
$ac_ext >&5
6778 eval "$as_ac_var=no"
6780 rm -f conftest.err conftest.
$ac_objext \
6781 conftest
$ac_exeext conftest.
$ac_ext
6783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6785 if test `eval echo '${'$as_ac_var'}'` = yes; then
6786 cat >>confdefs.h
<<_ACEOF
6787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6793 echo "$as_me:$LINENO: checking for working mmap" >&5
6794 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6795 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 if test "$cross_compiling" = yes; then
6799 ac_cv_func_mmap_fixed_mapped
=no
6801 cat >conftest.
$ac_ext <<_ACEOF
6804 cat confdefs.h
>>conftest.
$ac_ext
6805 cat >>conftest.
$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6807 $ac_includes_default
6808 /* malloc might have been renamed as rpl_malloc. */
6811 /* Thanks to Mike Haertel and Jim Avera for this test.
6812 Here is a matrix of mmap possibilities:
6813 mmap private not fixed
6814 mmap private fixed at somewhere currently unmapped
6815 mmap private fixed at somewhere already mapped
6816 mmap shared not fixed
6817 mmap shared fixed at somewhere currently unmapped
6818 mmap shared fixed at somewhere already mapped
6819 For private mappings, we should verify that changes cannot be read()
6820 back from the file, nor mmap's back from the file at a different
6821 address. (There have been systems where private was not correctly
6822 implemented like the infamous i386 svr4.0, and systems where the
6823 VM page cache was not coherent with the file system buffer cache
6824 like early versions of FreeBSD and possibly contemporary NetBSD.)
6825 For shared mappings, we should conversely verify that changes get
6826 propagated back to all the places they're supposed to be.
6828 Grep wants private fixed already mapped.
6829 The main things grep needs to know about mmap are:
6830 * does it exist and is it safe to write into the mmap'd area
6831 * how to use it (BSD variants) */
6834 #include <sys/mman.h>
6836 #if !STDC_HEADERS && !HAVE_STDLIB_H
6840 /* This mess was copied from the GNU getpagesize.h. */
6841 #if !HAVE_GETPAGESIZE
6842 /* Assume that all systems that can run configure have sys/param.h. */
6843 # if !HAVE_SYS_PARAM_H
6844 # define HAVE_SYS_PARAM_H 1
6847 # ifdef _SC_PAGESIZE
6848 # define getpagesize() sysconf(_SC_PAGESIZE)
6849 # else /* no _SC_PAGESIZE */
6850 # if HAVE_SYS_PARAM_H
6851 # include <sys/param.h>
6852 # ifdef EXEC_PAGESIZE
6853 # define getpagesize() EXEC_PAGESIZE
6854 # else /* no EXEC_PAGESIZE */
6856 # define getpagesize() NBPG * CLSIZE
6859 # endif /* no CLSIZE */
6860 # else /* no NBPG */
6862 # define getpagesize() NBPC
6863 # else /* no NBPC */
6865 # define getpagesize() PAGESIZE
6866 # endif /* PAGESIZE */
6867 # endif /* no NBPC */
6868 # endif /* no NBPG */
6869 # endif /* no EXEC_PAGESIZE */
6870 # else /* no HAVE_SYS_PARAM_H */
6871 # define getpagesize() 8192 /* punt totally */
6872 # endif /* no HAVE_SYS_PARAM_H */
6873 # endif /* no _SC_PAGESIZE */
6875 #endif /* no HAVE_GETPAGESIZE */
6880 char *data, *data2, *data3;
6884 pagesize = getpagesize ();
6886 /* First, make a file with some known garbage in it. */
6887 data = (char *) malloc (pagesize);
6890 for (i = 0; i < pagesize; ++i)
6891 *(data + i) = rand ();
6893 fd = creat ("conftest.mmap", 0600);
6896 if (write (fd, data, pagesize) != pagesize)
6900 /* Next, try to mmap the file at a fixed address which already has
6901 something else allocated at it. If we can, also make sure that
6902 we see the same garbage. */
6903 fd = open ("conftest.mmap", O_RDWR);
6906 data2 = (char *) malloc (2 * pagesize);
6909 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6910 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6911 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6913 for (i = 0; i < pagesize; ++i)
6914 if (*(data + i) != *(data2 + i))
6917 /* Finally, make sure that changes to the mapped area do not
6918 percolate back to the file as seen by read(). (This is a bug on
6919 some variants of i386 svr4.0.) */
6920 for (i = 0; i < pagesize; ++i)
6921 *(data2 + i) = *(data2 + i) + 1;
6922 data3 = (char *) malloc (pagesize);
6925 if (read (fd, data3, pagesize) != pagesize)
6927 for (i = 0; i < pagesize; ++i)
6928 if (*(data + i) != *(data3 + i))
6934 rm -f conftest
$ac_exeext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6936 (eval $ac_link) 2>&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_cv_func_mmap_fixed_mapped
=yes
6947 echo "$as_me: program exited with status $ac_status" >&5
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.
$ac_ext >&5
6952 ac_cv_func_mmap_fixed_mapped
=no
6954 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6957 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6958 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6959 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6961 cat >>confdefs.h
<<\_ACEOF
6978 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6979 unistd.h values.h sys
/param.h
6981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6983 echo "$as_me:$LINENO: checking for $ac_header" >&5
6984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6991 # Is the header compilable?
6992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7000 $ac_includes_default
7001 #include <$ac_header>
7003 rm -f conftest.
$ac_objext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005 (eval $ac_compile) 2>conftest.er1
7007 grep -v '^ *+' conftest.er1
>conftest.err
7009 cat conftest.err
>&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try
='test -z "$ac_c_werror_flag"
7013 || test ! -s conftest.err'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; } &&
7019 { ac_try
='test -s conftest.$ac_objext'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; }; then
7025 ac_header_compiler
=yes
7027 echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.
$ac_ext >&5
7030 ac_header_compiler
=no
7032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7034 echo "${ECHO_T}$ac_header_compiler" >&6
7036 # Is the header present?
7037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7039 cat >conftest.
$ac_ext <<_ACEOF
7042 cat confdefs.h
>>conftest.
$ac_ext
7043 cat >>conftest.
$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 #include <$ac_header>
7047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7050 grep -v '^ *+' conftest.er1
>conftest.err
7052 cat conftest.err
>&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } >/dev
/null
; then
7055 if test -s conftest.err
; then
7056 ac_cpp_err
=$ac_c_preproc_warn_flag
7057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7064 if test -z "$ac_cpp_err"; then
7065 ac_header_preproc
=yes
7067 echo "$as_me: failed program was:" >&5
7068 sed 's/^/| /' conftest.
$ac_ext >&5
7070 ac_header_preproc
=no
7072 rm -f conftest.err conftest.
$ac_ext
7073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7074 echo "${ECHO_T}$ac_header_preproc" >&6
7076 # So? What about this header?
7077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7083 ac_header_preproc
=yes
7086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7100 ## ------------------------------------------ ##
7101 ## Report this to the AC_PACKAGE_NAME lists. ##
7102 ## ------------------------------------------ ##
7105 sed "s/^/$as_me: WARNING: /" >&2
7108 echo "$as_me:$LINENO: checking for $ac_header" >&5
7109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 eval "$as_ac_Header=\$ac_header_preproc"
7115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7120 cat >>confdefs.h
<<_ACEOF
7121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7139 __argz_count __argz_stringify __argz_next
7141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7142 echo "$as_me:$LINENO: checking for $ac_func" >&5
7143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7144 if eval "test \"\${$as_ac_var+set}\" = set"; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 cat >conftest.
$ac_ext <<_ACEOF
7150 cat confdefs.h
>>conftest.
$ac_ext
7151 cat >>conftest.
$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7155 #define $ac_func innocuous_$ac_func
7157 /* System header to define __stub macros and hopefully few prototypes,
7158 which can conflict with char $ac_func (); below.
7159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7160 <limits.h> exists even on freestanding compilers. */
7163 # include <limits.h>
7165 # include <assert.h>
7170 /* Override any gcc2 internal prototype to avoid an error. */
7175 /* We use char because int might match the return type of a gcc2
7176 builtin and then its argument prototype would still apply. */
7178 /* The GNU C library defines this for functions which it implements
7179 to always fail with ENOSYS. Some functions are actually named
7180 something starting with __ and the normal name is an alias. */
7181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7184 char (*f) () = $ac_func;
7193 return f != $ac_func;
7198 rm -f conftest.
$ac_objext conftest
$ac_exeext
7199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7200 (eval $ac_link) 2>conftest.er1
7202 grep -v '^ *+' conftest.er1
>conftest.err
7204 cat conftest.err
>&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); } &&
7207 { ac_try
='test -z "$ac_c_werror_flag"
7208 || test ! -s conftest.err'
7209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); }; } &&
7214 { ac_try
='test -s conftest$ac_exeext'
7215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }; }; then
7220 eval "$as_ac_var=yes"
7222 echo "$as_me: failed program was:" >&5
7223 sed 's/^/| /' conftest.
$ac_ext >&5
7225 eval "$as_ac_var=no"
7227 rm -f conftest.err conftest.
$ac_objext \
7228 conftest
$ac_exeext conftest.
$ac_ext
7230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7232 if test `eval echo '${'$as_ac_var'}'` = yes; then
7233 cat >>confdefs.h
<<_ACEOF
7234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7241 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7243 for ac_func
in stpcpy
7245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7246 echo "$as_me:$LINENO: checking for $ac_func" >&5
7247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7248 if eval "test \"\${$as_ac_var+set}\" = set"; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 cat >conftest.
$ac_ext <<_ACEOF
7254 cat confdefs.h
>>conftest.
$ac_ext
7255 cat >>conftest.
$ac_ext <<_ACEOF
7256 /* end confdefs.h. */
7257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7259 #define $ac_func innocuous_$ac_func
7261 /* System header to define __stub macros and hopefully few prototypes,
7262 which can conflict with char $ac_func (); below.
7263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7264 <limits.h> exists even on freestanding compilers. */
7267 # include <limits.h>
7269 # include <assert.h>
7274 /* Override any gcc2 internal prototype to avoid an error. */
7279 /* We use char because int might match the return type of a gcc2
7280 builtin and then its argument prototype would still apply. */
7282 /* The GNU C library defines this for functions which it implements
7283 to always fail with ENOSYS. Some functions are actually named
7284 something starting with __ and the normal name is an alias. */
7285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7288 char (*f) () = $ac_func;
7297 return f != $ac_func;
7302 rm -f conftest.
$ac_objext conftest
$ac_exeext
7303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7304 (eval $ac_link) 2>conftest.er1
7306 grep -v '^ *+' conftest.er1
>conftest.err
7308 cat conftest.err
>&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); } &&
7311 { ac_try
='test -z "$ac_c_werror_flag"
7312 || test ! -s conftest.err'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; } &&
7318 { ac_try
='test -s conftest$ac_exeext'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; }; then
7324 eval "$as_ac_var=yes"
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.
$ac_ext >&5
7329 eval "$as_ac_var=no"
7331 rm -f conftest.err conftest.
$ac_objext \
7332 conftest
$ac_exeext conftest.
$ac_ext
7334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7336 if test `eval echo '${'$as_ac_var'}'` = yes; then
7337 cat >>confdefs.h
<<_ACEOF
7338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7345 if test "${ac_cv_func_stpcpy}" = "yes"; then
7347 cat >>confdefs.h
<<\_ACEOF
7348 #define HAVE_STPCPY 1
7353 if test $ac_cv_header_locale_h = yes; then
7354 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7355 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7356 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7357 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 cat >conftest.
$ac_ext <<_ACEOF
7362 cat confdefs.h
>>conftest.
$ac_ext
7363 cat >>conftest.
$ac_ext <<_ACEOF
7364 /* end confdefs.h. */
7374 rm -f conftest.
$ac_objext conftest
$ac_exeext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7376 (eval $ac_link) 2>conftest.er1
7378 grep -v '^ *+' conftest.er1
>conftest.err
7380 cat conftest.err
>&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try
='test -z "$ac_c_werror_flag"
7384 || test ! -s conftest.err'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; } &&
7390 { ac_try
='test -s conftest$ac_exeext'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }; then
7396 am_cv_val_LC_MESSAGES
=yes
7398 echo "$as_me: failed program was:" >&5
7399 sed 's/^/| /' conftest.
$ac_ext >&5
7401 am_cv_val_LC_MESSAGES
=no
7403 rm -f conftest.err conftest.
$ac_objext \
7404 conftest
$ac_exeext conftest.
$ac_ext
7406 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7407 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7408 if test $am_cv_val_LC_MESSAGES = yes; then
7410 cat >>confdefs.h
<<\_ACEOF
7411 #define HAVE_LC_MESSAGES 1
7416 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7417 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7418 # Check whether --enable-nls or --disable-nls was given.
7419 if test "${enable_nls+set}" = set; then
7420 enableval
="$enable_nls"
7425 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7426 echo "${ECHO_T}$USE_NLS" >&6
7429 USE_INCLUDED_LIBINTL
=no
7431 if test "$USE_NLS" = "yes"; then
7432 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7433 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7435 # Check whether --with-included-gettext or --without-included-gettext was given.
7436 if test "${with_included_gettext+set}" = set; then
7437 withval
="$with_included_gettext"
7438 nls_cv_force_use_gnu_gettext
=$withval
7440 nls_cv_force_use_gnu_gettext
=no
7442 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7443 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7445 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7446 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7448 nls_cv_header_libgt
=
7451 if test "${ac_cv_header_libintl_h+set}" = set; then
7452 echo "$as_me:$LINENO: checking for libintl.h" >&5
7453 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7454 if test "${ac_cv_header_libintl_h+set}" = set; then
7455 echo $ECHO_N "(cached) $ECHO_C" >&6
7457 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7458 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7460 # Is the header compilable?
7461 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7462 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7463 cat >conftest.
$ac_ext <<_ACEOF
7466 cat confdefs.h
>>conftest.
$ac_ext
7467 cat >>conftest.
$ac_ext <<_ACEOF
7468 /* end confdefs.h. */
7469 $ac_includes_default
7470 #include <libintl.h>
7472 rm -f conftest.
$ac_objext
7473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7474 (eval $ac_compile) 2>conftest.er1
7476 grep -v '^ *+' conftest.er1
>conftest.err
7478 cat conftest.err
>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try
='test -z "$ac_c_werror_flag"
7482 || test ! -s conftest.err'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; } &&
7488 { ac_try
='test -s conftest.$ac_objext'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; }; then
7494 ac_header_compiler
=yes
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.
$ac_ext >&5
7499 ac_header_compiler
=no
7501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7503 echo "${ECHO_T}$ac_header_compiler" >&6
7505 # Is the header present?
7506 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7507 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7508 cat >conftest.
$ac_ext <<_ACEOF
7511 cat confdefs.h
>>conftest.
$ac_ext
7512 cat >>conftest.
$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <libintl.h>
7516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7519 grep -v '^ *+' conftest.er1
>conftest.err
7521 cat conftest.err
>&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); } >/dev
/null
; then
7524 if test -s conftest.err
; then
7525 ac_cpp_err
=$ac_c_preproc_warn_flag
7526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7533 if test -z "$ac_cpp_err"; then
7534 ac_header_preproc
=yes
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.
$ac_ext >&5
7539 ac_header_preproc
=no
7541 rm -f conftest.err conftest.
$ac_ext
7542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7543 echo "${ECHO_T}$ac_header_preproc" >&6
7545 # So? What about this header?
7546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7548 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7549 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7550 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7551 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7552 ac_header_preproc
=yes
7555 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7556 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7557 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7558 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7559 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7560 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7561 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7562 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7563 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7564 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7565 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7566 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7569 ## ------------------------------------------ ##
7570 ## Report this to the AC_PACKAGE_NAME lists. ##
7571 ## ------------------------------------------ ##
7574 sed "s/^/$as_me: WARNING: /" >&2
7577 echo "$as_me:$LINENO: checking for libintl.h" >&5
7578 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7579 if test "${ac_cv_header_libintl_h+set}" = set; then
7580 echo $ECHO_N "(cached) $ECHO_C" >&6
7582 ac_cv_header_libintl_h
=$ac_header_preproc
7584 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7585 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7588 if test $ac_cv_header_libintl_h = yes; then
7589 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7590 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7591 if test "${gt_cv_func_gettext_libc+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 cat >conftest.
$ac_ext <<_ACEOF
7597 cat confdefs.h
>>conftest.
$ac_ext
7598 cat >>conftest.
$ac_ext <<_ACEOF
7599 /* end confdefs.h. */
7600 #include <libintl.h>
7604 return (int) gettext ("")
7609 rm -f conftest.
$ac_objext conftest
$ac_exeext
7610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7611 (eval $ac_link) 2>conftest.er1
7613 grep -v '^ *+' conftest.er1
>conftest.err
7615 cat conftest.err
>&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); } &&
7618 { ac_try
='test -z "$ac_c_werror_flag"
7619 || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; } &&
7625 { ac_try
='test -s conftest$ac_exeext'
7626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); }; }; then
7631 gt_cv_func_gettext_libc
=yes
7633 echo "$as_me: failed program was:" >&5
7634 sed 's/^/| /' conftest.
$ac_ext >&5
7636 gt_cv_func_gettext_libc
=no
7638 rm -f conftest.err conftest.
$ac_objext \
7639 conftest
$ac_exeext conftest.
$ac_ext
7641 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7642 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7644 if test "$gt_cv_func_gettext_libc" != "yes"; then
7645 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7646 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7647 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 ac_check_lib_save_LIBS
=$LIBS
7652 cat >conftest.
$ac_ext <<_ACEOF
7655 cat confdefs.h
>>conftest.
$ac_ext
7656 cat >>conftest.
$ac_ext <<_ACEOF
7657 /* end confdefs.h. */
7659 /* Override any gcc2 internal prototype to avoid an error. */
7663 /* We use char because int might match the return type of a gcc2
7664 builtin and then its argument prototype would still apply. */
7665 char bindtextdomain ();
7674 rm -f conftest.
$ac_objext conftest
$ac_exeext
7675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7676 (eval $ac_link) 2>conftest.er1
7678 grep -v '^ *+' conftest.er1
>conftest.err
7680 cat conftest.err
>&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } &&
7683 { ac_try
='test -z "$ac_c_werror_flag"
7684 || test ! -s conftest.err'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; } &&
7690 { ac_try
='test -s conftest$ac_exeext'
7691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; }; then
7696 ac_cv_lib_intl_bindtextdomain
=yes
7698 echo "$as_me: failed program was:" >&5
7699 sed 's/^/| /' conftest.
$ac_ext >&5
7701 ac_cv_lib_intl_bindtextdomain
=no
7703 rm -f conftest.err conftest.
$ac_objext \
7704 conftest
$ac_exeext conftest.
$ac_ext
7705 LIBS
=$ac_check_lib_save_LIBS
7707 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7708 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7709 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7710 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7711 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7712 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7713 echo $ECHO_N "(cached) $ECHO_C" >&6
7715 cat >conftest.
$ac_ext <<_ACEOF
7718 cat confdefs.h
>>conftest.
$ac_ext
7719 cat >>conftest.
$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7725 return (int) gettext ("")
7730 rm -f conftest.
$ac_objext conftest
$ac_exeext
7731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7732 (eval $ac_link) 2>conftest.er1
7734 grep -v '^ *+' conftest.er1
>conftest.err
7736 cat conftest.err
>&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); } &&
7739 { ac_try
='test -z "$ac_c_werror_flag"
7740 || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try
='test -s conftest$ac_exeext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 gt_cv_func_gettext_libintl
=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.
$ac_ext >&5
7757 gt_cv_func_gettext_libintl
=no
7759 rm -f conftest.err conftest.
$ac_objext \
7760 conftest
$ac_exeext conftest.
$ac_ext
7762 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7763 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7768 if test "$gt_cv_func_gettext_libc" = "yes" \
7769 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7771 cat >>confdefs.h
<<\_ACEOF
7772 #define HAVE_GETTEXT 1
7775 # Extract the first word of "msgfmt", so it can be a program name with args.
7776 set dummy msgfmt
; ac_word
=$2
7777 echo "$as_me:$LINENO: checking for $ac_word" >&5
7778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7779 if test "${ac_cv_path_MSGFMT+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7787 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7788 for ac_dir
in $PATH; do
7789 test -z "$ac_dir" && ac_dir
=.
7790 if test -f $ac_dir/$ac_word; then
7791 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7792 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7798 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7802 MSGFMT
="$ac_cv_path_MSGFMT"
7803 if test -n "$MSGFMT"; then
7804 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7805 echo "${ECHO_T}$MSGFMT" >&6
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7810 if test "$MSGFMT" != "no"; then
7812 for ac_func
in dcgettext
7814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7815 echo "$as_me:$LINENO: checking for $ac_func" >&5
7816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7817 if eval "test \"\${$as_ac_var+set}\" = set"; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 cat >conftest.
$ac_ext <<_ACEOF
7823 cat confdefs.h
>>conftest.
$ac_ext
7824 cat >>conftest.
$ac_ext <<_ACEOF
7825 /* end confdefs.h. */
7826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7828 #define $ac_func innocuous_$ac_func
7830 /* System header to define __stub macros and hopefully few prototypes,
7831 which can conflict with char $ac_func (); below.
7832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7833 <limits.h> exists even on freestanding compilers. */
7836 # include <limits.h>
7838 # include <assert.h>
7843 /* Override any gcc2 internal prototype to avoid an error. */
7848 /* We use char because int might match the return type of a gcc2
7849 builtin and then its argument prototype would still apply. */
7851 /* The GNU C library defines this for functions which it implements
7852 to always fail with ENOSYS. Some functions are actually named
7853 something starting with __ and the normal name is an alias. */
7854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7857 char (*f) () = $ac_func;
7866 return f != $ac_func;
7871 rm -f conftest.
$ac_objext conftest
$ac_exeext
7872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7873 (eval $ac_link) 2>conftest.er1
7875 grep -v '^ *+' conftest.er1
>conftest.err
7877 cat conftest.err
>&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } &&
7880 { ac_try
='test -z "$ac_c_werror_flag"
7881 || test ! -s conftest.err'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; } &&
7887 { ac_try
='test -s conftest$ac_exeext'
7888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); }; }; then
7893 eval "$as_ac_var=yes"
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.
$ac_ext >&5
7898 eval "$as_ac_var=no"
7900 rm -f conftest.err conftest.
$ac_objext \
7901 conftest
$ac_exeext conftest.
$ac_ext
7903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7905 if test `eval echo '${'$as_ac_var'}'` = yes; then
7906 cat >>confdefs.h
<<_ACEOF
7907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7913 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7914 set dummy gmsgfmt
; ac_word
=$2
7915 echo "$as_me:$LINENO: checking for $ac_word" >&5
7916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7917 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7929 test -z "$as_dir" && as_dir
=.
7930 for ac_exec_ext
in '' $ac_executable_extensions; do
7931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7932 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7943 GMSGFMT
=$ac_cv_path_GMSGFMT
7945 if test -n "$GMSGFMT"; then
7946 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7947 echo "${ECHO_T}$GMSGFMT" >&6
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7953 # Extract the first word of "xgettext", so it can be a program name with args.
7954 set dummy xgettext
; ac_word
=$2
7955 echo "$as_me:$LINENO: checking for $ac_word" >&5
7956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7957 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7965 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7966 for ac_dir
in $PATH; do
7967 test -z "$ac_dir" && ac_dir
=.
7968 if test -f $ac_dir/$ac_word; then
7969 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7970 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7976 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7980 XGETTEXT
="$ac_cv_path_XGETTEXT"
7981 if test -n "$XGETTEXT"; then
7982 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7983 echo "${ECHO_T}$XGETTEXT" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7989 cat >conftest.
$ac_ext <<_ACEOF
7992 cat confdefs.h
>>conftest.
$ac_ext
7993 cat >>conftest.
$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
7999 extern int _nl_msg_cat_cntr;
8000 return _nl_msg_cat_cntr
8005 rm -f conftest.
$ac_objext conftest
$ac_exeext
8006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8007 (eval $ac_link) 2>conftest.er1
8009 grep -v '^ *+' conftest.er1
>conftest.err
8011 cat conftest.err
>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try
='test -z "$ac_c_werror_flag"
8015 || test ! -s conftest.err'
8016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; } &&
8021 { ac_try
='test -s conftest$ac_exeext'
8022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; }; then
8030 echo "$as_me: failed program was:" >&5
8031 sed 's/^/| /' conftest.
$ac_ext >&5
8036 rm -f conftest.err conftest.
$ac_objext \
8037 conftest
$ac_exeext conftest.
$ac_ext
8047 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
8048 # Neither gettext nor catgets in included in the C library.
8049 # Fall back on GNU gettext library (assuming it is present).
8050 nls_cv_use_gnu_gettext
=yes
8054 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8055 INTLOBJS
="\$(GETTOBJS)"
8056 # Extract the first word of "msgfmt", so it can be a program name with args.
8057 set dummy msgfmt
; ac_word
=$2
8058 echo "$as_me:$LINENO: checking for $ac_word" >&5
8059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8060 if test "${ac_cv_path_MSGFMT+set}" = set; then
8061 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8068 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8069 for ac_dir
in $PATH; do
8070 test -z "$ac_dir" && ac_dir
=.
8071 if test -f $ac_dir/$ac_word; then
8072 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8073 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8079 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8083 MSGFMT
="$ac_cv_path_MSGFMT"
8084 if test -n "$MSGFMT"; then
8085 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8086 echo "${ECHO_T}$MSGFMT" >&6
8088 echo "$as_me:$LINENO: result: no" >&5
8089 echo "${ECHO_T}no" >&6
8092 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8093 set dummy gmsgfmt
; ac_word
=$2
8094 echo "$as_me:$LINENO: checking for $ac_word" >&5
8095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8096 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8101 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8108 test -z "$as_dir" && as_dir
=.
8109 for ac_exec_ext
in '' $ac_executable_extensions; do
8110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8111 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8118 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8122 GMSGFMT
=$ac_cv_path_GMSGFMT
8124 if test -n "$GMSGFMT"; then
8125 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8126 echo "${ECHO_T}$GMSGFMT" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8132 # Extract the first word of "xgettext", so it can be a program name with args.
8133 set dummy xgettext
; ac_word
=$2
8134 echo "$as_me:$LINENO: checking for $ac_word" >&5
8135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8136 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8141 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8144 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8145 for ac_dir
in $PATH; do
8146 test -z "$ac_dir" && ac_dir
=.
8147 if test -f $ac_dir/$ac_word; then
8148 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8149 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8155 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8159 XGETTEXT
="$ac_cv_path_XGETTEXT"
8160 if test -n "$XGETTEXT"; then
8161 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8162 echo "${ECHO_T}$XGETTEXT" >&6
8164 echo "$as_me:$LINENO: result: no" >&5
8165 echo "${ECHO_T}no" >&6
8169 USE_INCLUDED_LIBINTL
=yes
8173 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8175 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8176 nls_cv_header_intl
=libintl.h
8177 nls_cv_header_libgt
=libgettext.h
8180 if test "$XGETTEXT" != ":"; then
8181 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8184 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8185 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8190 # We need to process the po/ directory.
8194 nls_cv_header_intl
=libintl.h
8195 nls_cv_header_libgt
=libgettext.h
8198 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8199 # because some of the sources are only built for this goal.
8200 if test "$PACKAGE" = gettext; then
8202 USE_INCLUDED_LIBINTL
=yes
8205 for lang
in $ALL_LINGUAS; do
8206 GMOFILES
="$GMOFILES $lang.gmo"
8207 POFILES
="$POFILES $lang.po"
8221 if test "x$CATOBJEXT" != "x"; then
8223 cat >>confdefs.h
<<\_ACEOF
8224 #define ENABLE_NLS 1
8230 if test "x$CATOBJEXT" != "x"; then
8231 if test "x$ALL_LINGUAS" = "x"; then
8234 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8235 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8237 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8238 case "$ALL_LINGUAS" in
8239 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8242 LINGUAS
=$NEW_LINGUAS
8243 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8244 echo "${ECHO_T}$LINGUAS" >&6
8247 if test -n "$LINGUAS"; then
8248 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8252 if test $ac_cv_header_locale_h = yes; then
8253 INCLUDE_LOCALE_H
="#include <locale.h>"
8256 /* The system does not provide the header <locale.h>. Take care yourself. */"
8260 if test -f $srcdir/po2tbl.
sed.
in; then
8261 if test "$CATOBJEXT" = ".cat"; then
8262 if test "${ac_cv_header_linux_version_h+set}" = set; then
8263 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8264 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8265 if test "${ac_cv_header_linux_version_h+set}" = set; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8269 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8271 # Is the header compilable?
8272 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8273 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8274 cat >conftest.
$ac_ext <<_ACEOF
8277 cat confdefs.h
>>conftest.
$ac_ext
8278 cat >>conftest.
$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8280 $ac_includes_default
8281 #include <linux/version.h>
8283 rm -f conftest.
$ac_objext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8285 (eval $ac_compile) 2>conftest.er1
8287 grep -v '^ *+' conftest.er1
>conftest.err
8289 cat conftest.err
>&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try
='test -z "$ac_c_werror_flag"
8293 || test ! -s conftest.err'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try
='test -s conftest.$ac_objext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8305 ac_header_compiler
=yes
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.
$ac_ext >&5
8310 ac_header_compiler
=no
8312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8314 echo "${ECHO_T}$ac_header_compiler" >&6
8316 # Is the header present?
8317 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8318 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8319 cat >conftest.
$ac_ext <<_ACEOF
8322 cat confdefs.h
>>conftest.
$ac_ext
8323 cat >>conftest.
$ac_ext <<_ACEOF
8324 /* end confdefs.h. */
8325 #include <linux/version.h>
8327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8330 grep -v '^ *+' conftest.er1
>conftest.err
8332 cat conftest.err
>&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); } >/dev
/null
; then
8335 if test -s conftest.err
; then
8336 ac_cpp_err
=$ac_c_preproc_warn_flag
8337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8344 if test -z "$ac_cpp_err"; then
8345 ac_header_preproc
=yes
8347 echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.
$ac_ext >&5
8350 ac_header_preproc
=no
8352 rm -f conftest.err conftest.
$ac_ext
8353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8354 echo "${ECHO_T}$ac_header_preproc" >&6
8356 # So? What about this header?
8357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8359 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8360 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8361 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8362 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8363 ac_header_preproc
=yes
8366 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8367 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8368 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8369 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8370 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8371 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8372 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8373 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8374 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8375 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8376 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8377 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8380 ## ------------------------------------------ ##
8381 ## Report this to the AC_PACKAGE_NAME lists. ##
8382 ## ------------------------------------------ ##
8385 sed "s/^/$as_me: WARNING: /" >&2
8388 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8389 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8390 if test "${ac_cv_header_linux_version_h+set}" = set; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 ac_cv_header_linux_version_h
=$ac_header_preproc
8395 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8396 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8399 if test $ac_cv_header_linux_version_h = yes; then
8407 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8409 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8410 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8413 if test "$PACKAGE" = "gettext"; then
8423 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8429 if test -f $srcdir/po
/POTFILES.
in; then
8430 test -d po || mkdir po
8431 if test "x$srcdir" != "x."; then
8432 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8433 posrcprefix
="$srcdir/"
8435 posrcprefix
="../$srcdir/"
8441 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8442 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8446 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8447 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8448 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8449 if test "${enable_maintainer_mode+set}" = set; then
8450 enableval
="$enable_maintainer_mode"
8451 USE_MAINTAINER_MODE
=$enableval
8453 USE_MAINTAINER_MODE
=no
8455 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8456 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8459 if test $USE_MAINTAINER_MODE = yes; then
8460 MAINTAINER_MODE_TRUE
=
8461 MAINTAINER_MODE_FALSE
='#'
8463 MAINTAINER_MODE_TRUE
='#'
8464 MAINTAINER_MODE_FALSE
=
8467 MAINT
=$MAINTAINER_MODE_TRUE
8471 if test -n "$EXEEXT"; then
8473 cat >>confdefs.h
<<\_ACEOF
8474 #define HAVE_EXECUTABLE_SUFFIX 1
8479 cat >>confdefs.h
<<_ACEOF
8480 #define EXECUTABLE_SUFFIX "${EXEEXT}"
8484 # host-specific stuff:
8488 .
${srcdir}/..
/bfd
/configure.
host
8493 if test -n "$ac_tool_prefix"; then
8494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8495 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8496 echo "$as_me:$LINENO: checking for $ac_word" >&5
8497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8498 if test "${ac_cv_prog_RANLIB+set}" = set; then
8499 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 if test -n "$RANLIB"; then
8502 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8508 test -z "$as_dir" && as_dir
=.
8509 for ac_exec_ext
in '' $ac_executable_extensions; do
8510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8511 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8520 RANLIB
=$ac_cv_prog_RANLIB
8521 if test -n "$RANLIB"; then
8522 echo "$as_me:$LINENO: result: $RANLIB" >&5
8523 echo "${ECHO_T}$RANLIB" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8530 if test -z "$ac_cv_prog_RANLIB"; then
8531 ac_ct_RANLIB
=$RANLIB
8532 # Extract the first word of "ranlib", so it can be a program name with args.
8533 set dummy ranlib
; ac_word
=$2
8534 echo "$as_me:$LINENO: checking for $ac_word" >&5
8535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8536 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8537 echo $ECHO_N "(cached) $ECHO_C" >&6
8539 if test -n "$ac_ct_RANLIB"; then
8540 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8546 test -z "$as_dir" && as_dir
=.
8547 for ac_exec_ext
in '' $ac_executable_extensions; do
8548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8549 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8559 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8560 if test -n "$ac_ct_RANLIB"; then
8561 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8562 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8564 echo "$as_me:$LINENO: result: no" >&5
8565 echo "${ECHO_T}no" >&6
8568 RANLIB
=$ac_ct_RANLIB
8570 RANLIB
="$ac_cv_prog_RANLIB"
8573 # Find a good install program. We prefer a C program (faster),
8574 # so one script is as good as another. But avoid the broken or
8575 # incompatible versions:
8576 # SysV /etc/install, /usr/sbin/install
8577 # SunOS /usr/etc/install
8578 # IRIX /sbin/install
8580 # AmigaOS /C/install, which installs bootblocks on floppy discs
8581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8584 # OS/2's system install, which has a completely different semantic
8585 # ./install, which can be erroneously created by make from ./install.sh.
8586 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8587 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8588 if test -z "$INSTALL"; then
8589 if test "${ac_cv_path_install+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8596 test -z "$as_dir" && as_dir
=.
8597 # Account for people who put trailing slashes in PATH elements.
8599 .
/ | .
// |
/cC
/* | \
8600 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8601 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8604 # OSF1 and SCO ODT 3.0 have their own names for install.
8605 # Don't use installbsd from OSF since it installs stuff as root
8607 for ac_prog
in ginstall scoinst
install; do
8608 for ac_exec_ext
in '' $ac_executable_extensions; do
8609 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8610 if test $ac_prog = install &&
8611 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8612 # AIX install. It has an incompatible calling convention.
8614 elif test $ac_prog = install &&
8615 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8616 # program-specific install script used by HP pwplus--don't use.
8619 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8631 if test "${ac_cv_path_install+set}" = set; then
8632 INSTALL
=$ac_cv_path_install
8634 # As a last resort, use the slow shell script. We don't cache a
8635 # path for INSTALL within a source directory, because that will
8636 # break other packages using the cache if that directory is
8637 # removed, or if the path is relative.
8638 INSTALL
=$ac_install_sh
8641 echo "$as_me:$LINENO: result: $INSTALL" >&5
8642 echo "${ECHO_T}$INSTALL" >&6
8644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8645 # It thinks the first close brace ends the variable substitution.
8646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8650 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8653 # Put a plausible default for CC_FOR_BUILD in Makefile.
8654 if test -z "$CC_FOR_BUILD"; then
8655 if test "x$cross_compiling" = "xno"; then
8656 CC_FOR_BUILD
='$(CC)'
8662 # Also set EXEEXT_FOR_BUILD.
8663 if test "x$cross_compiling" = "xno"; then
8664 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8666 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8667 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8668 if test "${bfd_cv_build_exeext+set}" = set; then
8669 echo $ECHO_N "(cached) $ECHO_C" >&6
8672 echo 'int main () { return 0; }' > conftest.c
8673 bfd_cv_build_exeext
=
8674 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8675 for file in conftest.
*; do
8677 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8678 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8682 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8684 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8685 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8687 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8691 DEMANGLER_NAME
=c
++filt
8693 *-*-go32* |
*-*-msdos*)
8694 DEMANGLER_NAME
=cxxfilt
8704 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h
8706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8708 echo "$as_me:$LINENO: checking for $ac_header" >&5
8709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8711 echo $ECHO_N "(cached) $ECHO_C" >&6
8713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8716 # Is the header compilable?
8717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8719 cat >conftest.
$ac_ext <<_ACEOF
8722 cat confdefs.h
>>conftest.
$ac_ext
8723 cat >>conftest.
$ac_ext <<_ACEOF
8724 /* end confdefs.h. */
8725 $ac_includes_default
8726 #include <$ac_header>
8728 rm -f conftest.
$ac_objext
8729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8730 (eval $ac_compile) 2>conftest.er1
8732 grep -v '^ *+' conftest.er1
>conftest.err
8734 cat conftest.err
>&5
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); } &&
8737 { ac_try
='test -z "$ac_c_werror_flag"
8738 || test ! -s conftest.err'
8739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); }; } &&
8744 { ac_try
='test -s conftest.$ac_objext'
8745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); }; }; then
8750 ac_header_compiler
=yes
8752 echo "$as_me: failed program was:" >&5
8753 sed 's/^/| /' conftest.
$ac_ext >&5
8755 ac_header_compiler
=no
8757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8759 echo "${ECHO_T}$ac_header_compiler" >&6
8761 # Is the header present?
8762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8764 cat >conftest.
$ac_ext <<_ACEOF
8767 cat confdefs.h
>>conftest.
$ac_ext
8768 cat >>conftest.
$ac_ext <<_ACEOF
8769 /* end confdefs.h. */
8770 #include <$ac_header>
8772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8775 grep -v '^ *+' conftest.er1
>conftest.err
8777 cat conftest.err
>&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } >/dev
/null
; then
8780 if test -s conftest.err
; then
8781 ac_cpp_err
=$ac_c_preproc_warn_flag
8782 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8789 if test -z "$ac_cpp_err"; then
8790 ac_header_preproc
=yes
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.
$ac_ext >&5
8795 ac_header_preproc
=no
8797 rm -f conftest.err conftest.
$ac_ext
8798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8799 echo "${ECHO_T}$ac_header_preproc" >&6
8801 # So? What about this header?
8802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8808 ac_header_preproc
=yes
8811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8825 ## ------------------------------------------ ##
8826 ## Report this to the AC_PACKAGE_NAME lists. ##
8827 ## ------------------------------------------ ##
8830 sed "s/^/$as_me: WARNING: /" >&2
8833 echo "$as_me:$LINENO: checking for $ac_header" >&5
8834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8838 eval "$as_ac_Header=\$ac_header_preproc"
8840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8845 cat >>confdefs.h
<<_ACEOF
8846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8853 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
8854 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
8855 if test "${ac_cv_header_sys_wait_h+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 cat >conftest.
$ac_ext <<_ACEOF
8861 cat confdefs.h
>>conftest.
$ac_ext
8862 cat >>conftest.
$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8864 #include <sys/types.h>
8865 #include <sys/wait.h>
8867 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
8870 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
8878 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
8883 rm -f conftest.
$ac_objext
8884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8885 (eval $ac_compile) 2>conftest.er1
8887 grep -v '^ *+' conftest.er1
>conftest.err
8889 cat conftest.err
>&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } &&
8892 { ac_try
='test -z "$ac_c_werror_flag"
8893 || test ! -s conftest.err'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; } &&
8899 { ac_try
='test -s conftest.$ac_objext'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8905 ac_cv_header_sys_wait_h
=yes
8907 echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.
$ac_ext >&5
8910 ac_cv_header_sys_wait_h
=no
8912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8914 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
8915 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
8916 if test $ac_cv_header_sys_wait_h = yes; then
8918 cat >>confdefs.h
<<\_ACEOF
8919 #define HAVE_SYS_WAIT_H 1
8924 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8925 # for constant arguments. Useless!
8926 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8927 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8928 if test "${ac_cv_working_alloca_h+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 cat >conftest.
$ac_ext <<_ACEOF
8934 cat confdefs.h
>>conftest.
$ac_ext
8935 cat >>conftest.
$ac_ext <<_ACEOF
8936 /* end confdefs.h. */
8941 char *p = (char *) alloca (2 * sizeof (int));
8946 rm -f conftest.
$ac_objext conftest
$ac_exeext
8947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8948 (eval $ac_link) 2>conftest.er1
8950 grep -v '^ *+' conftest.er1
>conftest.err
8952 cat conftest.err
>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } &&
8955 { ac_try
='test -z "$ac_c_werror_flag"
8956 || test ! -s conftest.err'
8957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; } &&
8962 { ac_try
='test -s conftest$ac_exeext'
8963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); }; }; then
8968 ac_cv_working_alloca_h
=yes
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.
$ac_ext >&5
8973 ac_cv_working_alloca_h
=no
8975 rm -f conftest.err conftest.
$ac_objext \
8976 conftest
$ac_exeext conftest.
$ac_ext
8978 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8979 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8980 if test $ac_cv_working_alloca_h = yes; then
8982 cat >>confdefs.h
<<\_ACEOF
8983 #define HAVE_ALLOCA_H 1
8988 echo "$as_me:$LINENO: checking for alloca" >&5
8989 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8990 if test "${ac_cv_func_alloca_works+set}" = set; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 cat >conftest.
$ac_ext <<_ACEOF
8996 cat confdefs.h
>>conftest.
$ac_ext
8997 cat >>conftest.
$ac_ext <<_ACEOF
8998 /* end confdefs.h. */
9000 # define alloca __builtin_alloca
9003 # include <malloc.h>
9004 # define alloca _alloca
9007 # include <alloca.h>
9012 # ifndef alloca /* predefined by HP cc +Olibcalls */
9023 char *p = (char *) alloca (1);
9028 rm -f conftest.
$ac_objext conftest
$ac_exeext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9030 (eval $ac_link) 2>conftest.er1
9032 grep -v '^ *+' conftest.er1
>conftest.err
9034 cat conftest.err
>&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
9037 { ac_try
='test -z "$ac_c_werror_flag"
9038 || test ! -s conftest.err'
9039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); }; } &&
9044 { ac_try
='test -s conftest$ac_exeext'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; }; then
9050 ac_cv_func_alloca_works
=yes
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.
$ac_ext >&5
9055 ac_cv_func_alloca_works
=no
9057 rm -f conftest.err conftest.
$ac_objext \
9058 conftest
$ac_exeext conftest.
$ac_ext
9060 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9061 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9063 if test $ac_cv_func_alloca_works = yes; then
9065 cat >>confdefs.h
<<\_ACEOF
9066 #define HAVE_ALLOCA 1
9070 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9071 # that cause trouble. Some versions do not even contain alloca or
9072 # contain a buggy version. If you still want to use their alloca,
9073 # use ar to extract alloca.o from them instead of compiling alloca.c.
9075 ALLOCA
=alloca.
$ac_objext
9077 cat >>confdefs.h
<<\_ACEOF
9082 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9083 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9084 if test "${ac_cv_os_cray+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 cat >conftest.
$ac_ext <<_ACEOF
9090 cat confdefs.h
>>conftest.
$ac_ext
9091 cat >>conftest.
$ac_ext <<_ACEOF
9092 /* end confdefs.h. */
9093 #if defined(CRAY) && ! defined(CRAY2)
9100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9101 $EGREP "webecray" >/dev
/null
2>&1; then
9109 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9110 echo "${ECHO_T}$ac_cv_os_cray" >&6
9111 if test $ac_cv_os_cray = yes; then
9112 for ac_func
in _getb67 GETB67 getb67
; do
9113 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9114 echo "$as_me:$LINENO: checking for $ac_func" >&5
9115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9116 if eval "test \"\${$as_ac_var+set}\" = set"; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9127 #define $ac_func innocuous_$ac_func
9129 /* System header to define __stub macros and hopefully few prototypes,
9130 which can conflict with char $ac_func (); below.
9131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9132 <limits.h> exists even on freestanding compilers. */
9135 # include <limits.h>
9137 # include <assert.h>
9142 /* Override any gcc2 internal prototype to avoid an error. */
9147 /* We use char because int might match the return type of a gcc2
9148 builtin and then its argument prototype would still apply. */
9150 /* The GNU C library defines this for functions which it implements
9151 to always fail with ENOSYS. Some functions are actually named
9152 something starting with __ and the normal name is an alias. */
9153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9156 char (*f) () = $ac_func;
9165 return f != $ac_func;
9170 rm -f conftest.
$ac_objext conftest
$ac_exeext
9171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9172 (eval $ac_link) 2>conftest.er1
9174 grep -v '^ *+' conftest.er1
>conftest.err
9176 cat conftest.err
>&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); } &&
9179 { ac_try
='test -z "$ac_c_werror_flag"
9180 || test ! -s conftest.err'
9181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); }; } &&
9186 { ac_try
='test -s conftest$ac_exeext'
9187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; }; then
9192 eval "$as_ac_var=yes"
9194 echo "$as_me: failed program was:" >&5
9195 sed 's/^/| /' conftest.
$ac_ext >&5
9197 eval "$as_ac_var=no"
9199 rm -f conftest.err conftest.
$ac_objext \
9200 conftest
$ac_exeext conftest.
$ac_ext
9202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9204 if test `eval echo '${'$as_ac_var'}'` = yes; then
9206 cat >>confdefs.h
<<_ACEOF
9207 #define CRAY_STACKSEG_END $ac_func
9216 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9217 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9218 if test "${ac_cv_c_stack_direction+set}" = set; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9221 if test "$cross_compiling" = yes; then
9222 ac_cv_c_stack_direction
=0
9224 cat >conftest.
$ac_ext <<_ACEOF
9227 cat confdefs.h
>>conftest.
$ac_ext
9228 cat >>conftest.
$ac_ext <<_ACEOF
9229 /* end confdefs.h. */
9231 find_stack_direction ()
9233 static char *addr = 0;
9238 return find_stack_direction ();
9241 return (&dummy > addr) ? 1 : -1;
9247 exit (find_stack_direction () < 0);
9250 rm -f conftest
$ac_exeext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9252 (eval $ac_link) 2>&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); }; }; then
9261 ac_cv_c_stack_direction
=1
9263 echo "$as_me: program exited with status $ac_status" >&5
9264 echo "$as_me: failed program was:" >&5
9265 sed 's/^/| /' conftest.
$ac_ext >&5
9268 ac_cv_c_stack_direction
=-1
9270 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9273 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9274 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9276 cat >>confdefs.h
<<_ACEOF
9277 #define STACK_DIRECTION $ac_cv_c_stack_direction
9288 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
9290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9291 echo "$as_me:$LINENO: checking for $ac_func" >&5
9292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9293 if eval "test \"\${$as_ac_var+set}\" = set"; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 cat >conftest.
$ac_ext <<_ACEOF
9299 cat confdefs.h
>>conftest.
$ac_ext
9300 cat >>conftest.
$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9304 #define $ac_func innocuous_$ac_func
9306 /* System header to define __stub macros and hopefully few prototypes,
9307 which can conflict with char $ac_func (); below.
9308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9309 <limits.h> exists even on freestanding compilers. */
9312 # include <limits.h>
9314 # include <assert.h>
9319 /* Override any gcc2 internal prototype to avoid an error. */
9324 /* We use char because int might match the return type of a gcc2
9325 builtin and then its argument prototype would still apply. */
9327 /* The GNU C library defines this for functions which it implements
9328 to always fail with ENOSYS. Some functions are actually named
9329 something starting with __ and the normal name is an alias. */
9330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9333 char (*f) () = $ac_func;
9342 return f != $ac_func;
9347 rm -f conftest.
$ac_objext conftest
$ac_exeext
9348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9349 (eval $ac_link) 2>conftest.er1
9351 grep -v '^ *+' conftest.er1
>conftest.err
9353 cat conftest.err
>&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } &&
9356 { ac_try
='test -z "$ac_c_werror_flag"
9357 || test ! -s conftest.err'
9358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); }; } &&
9363 { ac_try
='test -s conftest$ac_exeext'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; }; then
9369 eval "$as_ac_var=yes"
9371 echo "$as_me: failed program was:" >&5
9372 sed 's/^/| /' conftest.
$ac_ext >&5
9374 eval "$as_ac_var=no"
9376 rm -f conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9381 if test `eval echo '${'$as_ac_var'}'` = yes; then
9382 cat >>confdefs.h
<<_ACEOF
9383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9390 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
9391 # needs to be defined for it
9392 echo "$as_me:$LINENO: checking for fopen64" >&5
9393 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
9394 if test "${bu_cv_have_fopen64+set}" = set; then
9395 echo $ECHO_N "(cached) $ECHO_C" >&6
9397 cat >conftest.
$ac_ext <<_ACEOF
9400 cat confdefs.h
>>conftest.
$ac_ext
9401 cat >>conftest.
$ac_ext <<_ACEOF
9402 /* end confdefs.h. */
9407 FILE *f = fopen64 ("/tmp/foo","r");
9412 rm -f conftest.
$ac_objext conftest
$ac_exeext
9413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9414 (eval $ac_link) 2>conftest.er1
9416 grep -v '^ *+' conftest.er1
>conftest.err
9418 cat conftest.err
>&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); } &&
9421 { ac_try
='test -z "$ac_c_werror_flag"
9422 || test ! -s conftest.err'
9423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; } &&
9428 { ac_try
='test -s conftest$ac_exeext'
9429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); }; }; then
9434 bu_cv_have_fopen64
=yes
9436 echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.
$ac_ext >&5
9439 saved_CPPFLAGS
=$CPPFLAGS
9440 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
9441 cat >conftest.
$ac_ext <<_ACEOF
9444 cat confdefs.h
>>conftest.
$ac_ext
9445 cat >>conftest.
$ac_ext <<_ACEOF
9446 /* end confdefs.h. */
9451 FILE *f = fopen64 ("/tmp/foo","r");
9456 rm -f conftest.
$ac_objext conftest
$ac_exeext
9457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9458 (eval $ac_link) 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } &&
9465 { ac_try
='test -z "$ac_c_werror_flag"
9466 || test ! -s conftest.err'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try
='test -s conftest$ac_exeext'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9483 bu_cv_have_fopen64
=no
9485 rm -f conftest.err conftest.
$ac_objext \
9486 conftest
$ac_exeext conftest.
$ac_ext
9487 CPPFLAGS
=$saved_CPPFLAGS
9489 rm -f conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9493 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
9494 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
9495 if test "$bu_cv_have_fopen64" != no
; then
9497 cat >>confdefs.h
<<\_ACEOF
9498 #define HAVE_FOPEN64 1
9502 echo "$as_me:$LINENO: checking for stat64" >&5
9503 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
9504 if test "${bu_cv_have_stat64+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 cat >conftest.
$ac_ext <<_ACEOF
9510 cat confdefs.h
>>conftest.
$ac_ext
9511 cat >>conftest.
$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9513 #include <sys/stat.h>
9517 struct stat64 st; stat64 ("/tmp/foo", &st);
9522 rm -f conftest.
$ac_objext conftest
$ac_exeext
9523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9524 (eval $ac_link) 2>conftest.er1
9526 grep -v '^ *+' conftest.er1
>conftest.err
9528 cat conftest.err
>&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } &&
9531 { ac_try
='test -z "$ac_c_werror_flag"
9532 || test ! -s conftest.err'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; } &&
9538 { ac_try
='test -s conftest$ac_exeext'
9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; }; then
9544 bu_cv_have_stat64
=yes
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.
$ac_ext >&5
9549 saved_CPPFLAGS
=$CPPFLAGS
9550 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
9551 cat >conftest.
$ac_ext <<_ACEOF
9554 cat confdefs.h
>>conftest.
$ac_ext
9555 cat >>conftest.
$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9557 #include <sys/stat.h>
9561 struct stat64 st; stat64 ("/tmp/foo", &st);
9566 rm -f conftest.
$ac_objext conftest
$ac_exeext
9567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9568 (eval $ac_link) 2>conftest.er1
9570 grep -v '^ *+' conftest.er1
>conftest.err
9572 cat conftest.err
>&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); } &&
9575 { ac_try
='test -z "$ac_c_werror_flag"
9576 || test ! -s conftest.err'
9577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; } &&
9582 { ac_try
='test -s conftest$ac_exeext'
9583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; }; then
9588 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
9590 echo "$as_me: failed program was:" >&5
9591 sed 's/^/| /' conftest.
$ac_ext >&5
9593 bu_cv_have_stat64
=no
9595 rm -f conftest.err conftest.
$ac_objext \
9596 conftest
$ac_exeext conftest.
$ac_ext
9597 CPPFLAGS
=$saved_CPPFLAGS
9599 rm -f conftest.err conftest.
$ac_objext \
9600 conftest
$ac_exeext conftest.
$ac_ext
9603 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
9604 echo "${ECHO_T}$bu_cv_have_stat64" >&6
9605 if test "$bu_cv_have_stat64" != no
; then
9607 cat >>confdefs.h
<<\_ACEOF
9608 #define HAVE_STAT64 1
9612 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
9613 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
9615 cat >>confdefs.h
<<\_ACEOF
9616 #define _LARGEFILE64_SOURCE 1
9619 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
9622 # Some systems have frexp only in -lm, not in -lc.
9623 echo "$as_me:$LINENO: checking for library containing frexp" >&5
9624 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
9625 if test "${ac_cv_search_frexp+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 ac_func_search_save_LIBS
=$LIBS
9629 ac_cv_search_frexp
=no
9630 cat >conftest.
$ac_ext <<_ACEOF
9633 cat confdefs.h
>>conftest.
$ac_ext
9634 cat >>conftest.
$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9637 /* Override any gcc2 internal prototype to avoid an error. */
9641 /* We use char because int might match the return type of a gcc2
9642 builtin and then its argument prototype would still apply. */
9652 rm -f conftest.
$ac_objext conftest
$ac_exeext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654 (eval $ac_link) 2>conftest.er1
9656 grep -v '^ *+' conftest.er1
>conftest.err
9658 cat conftest.err
>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try
='test -z "$ac_c_werror_flag"
9662 || test ! -s conftest.err'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; } &&
9668 { ac_try
='test -s conftest$ac_exeext'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; }; then
9674 ac_cv_search_frexp
="none required"
9676 echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.
$ac_ext >&5
9680 rm -f conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 if test "$ac_cv_search_frexp" = no
; then
9684 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9685 cat >conftest.
$ac_ext <<_ACEOF
9688 cat confdefs.h
>>conftest.
$ac_ext
9689 cat >>conftest.
$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9692 /* Override any gcc2 internal prototype to avoid an error. */
9696 /* We use char because int might match the return type of a gcc2
9697 builtin and then its argument prototype would still apply. */
9707 rm -f conftest.
$ac_objext conftest
$ac_exeext
9708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9709 (eval $ac_link) 2>conftest.er1
9711 grep -v '^ *+' conftest.er1
>conftest.err
9713 cat conftest.err
>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } &&
9716 { ac_try
='test -z "$ac_c_werror_flag"
9717 || test ! -s conftest.err'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; } &&
9723 { ac_try
='test -s conftest$ac_exeext'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; }; then
9729 ac_cv_search_frexp
="-l$ac_lib"
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.
$ac_ext >&5
9736 rm -f conftest.err conftest.
$ac_objext \
9737 conftest
$ac_exeext conftest.
$ac_ext
9740 LIBS
=$ac_func_search_save_LIBS
9742 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
9743 echo "${ECHO_T}$ac_cv_search_frexp" >&6
9744 if test "$ac_cv_search_frexp" != no
; then
9745 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
9750 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
9751 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
9752 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 cat >conftest.
$ac_ext <<_ACEOF
9758 cat confdefs.h
>>conftest.
$ac_ext
9759 cat >>conftest.
$ac_ext <<_ACEOF
9760 /* end confdefs.h. */
9770 rm -f conftest.
$ac_objext
9771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9772 (eval $ac_compile) 2>conftest.er1
9774 grep -v '^ *+' conftest.er1
>conftest.err
9776 cat conftest.err
>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } &&
9779 { ac_try
='test -z "$ac_c_werror_flag"
9780 || test ! -s conftest.err'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; } &&
9786 { ac_try
='test -s conftest.$ac_objext'
9787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); }; }; then
9792 bu_cv_decl_time_t_time_h
=yes
9794 echo "$as_me: failed program was:" >&5
9795 sed 's/^/| /' conftest.
$ac_ext >&5
9797 bu_cv_decl_time_t_time_h
=no
9799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9802 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
9803 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
9804 if test $bu_cv_decl_time_t_time_h = yes; then
9806 cat >>confdefs.h
<<\_ACEOF
9807 #define HAVE_TIME_T_IN_TIME_H 1
9812 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
9813 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
9814 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 #include <sys/types.h>
9832 rm -f conftest.
$ac_objext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9834 (eval $ac_compile) 2>conftest.er1
9836 grep -v '^ *+' conftest.er1
>conftest.err
9838 cat conftest.err
>&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } &&
9841 { ac_try
='test -z "$ac_c_werror_flag"
9842 || test ! -s conftest.err'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; } &&
9848 { ac_try
='test -s conftest.$ac_objext'
9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; }; then
9854 bu_cv_decl_time_t_types_h
=yes
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.
$ac_ext >&5
9859 bu_cv_decl_time_t_types_h
=no
9861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9864 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
9865 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
9866 if test $bu_cv_decl_time_t_types_h = yes; then
9868 cat >>confdefs.h
<<\_ACEOF
9869 #define HAVE_TIME_T_IN_TYPES_H 1
9874 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
9875 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
9876 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 cat >conftest.
$ac_ext <<_ACEOF
9882 cat confdefs.h
>>conftest.
$ac_ext
9883 cat >>conftest.
$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9889 extern int getopt (int, char *const*, const char *);
9894 rm -f conftest.
$ac_objext
9895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9896 (eval $ac_compile) 2>conftest.er1
9898 grep -v '^ *+' conftest.er1
>conftest.err
9900 cat conftest.err
>&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } &&
9903 { ac_try
='test -z "$ac_c_werror_flag"
9904 || test ! -s conftest.err'
9905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; } &&
9910 { ac_try
='test -s conftest.$ac_objext'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9916 bu_cv_decl_getopt_unistd_h
=yes
9918 echo "$as_me: failed program was:" >&5
9919 sed 's/^/| /' conftest.
$ac_ext >&5
9921 bu_cv_decl_getopt_unistd_h
=no
9923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9926 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
9927 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
9928 if test $bu_cv_decl_getopt_unistd_h = yes; then
9930 cat >>confdefs.h
<<\_ACEOF
9931 #define HAVE_DECL_GETOPT 1
9936 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
9938 echo "$as_me:$LINENO: checking for utime.h" >&5
9939 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
9940 if test "${bu_cv_header_utime_h+set}" = set; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 cat >conftest.
$ac_ext <<_ACEOF
9946 cat confdefs.h
>>conftest.
$ac_ext
9947 cat >>conftest.
$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9949 #include <sys/types.h>
9962 rm -f conftest.
$ac_objext
9963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9964 (eval $ac_compile) 2>conftest.er1
9966 grep -v '^ *+' conftest.er1
>conftest.err
9968 cat conftest.err
>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } &&
9971 { ac_try
='test -z "$ac_c_werror_flag"
9972 || test ! -s conftest.err'
9973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }; } &&
9978 { ac_try
='test -s conftest.$ac_objext'
9979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); }; }; then
9984 bu_cv_header_utime_h
=yes
9986 echo "$as_me: failed program was:" >&5
9987 sed 's/^/| /' conftest.
$ac_ext >&5
9989 bu_cv_header_utime_h
=no
9991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9994 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
9995 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
9996 if test $bu_cv_header_utime_h = yes; then
9998 cat >>confdefs.h
<<\_ACEOF
9999 #define HAVE_GOOD_UTIME_H 1
10004 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
10005 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
10006 if test "${ac_cv_have_decl_fprintf+set}" = set; then
10007 echo $ECHO_N "(cached) $ECHO_C" >&6
10009 cat >conftest.
$ac_ext <<_ACEOF
10012 cat confdefs.h
>>conftest.
$ac_ext
10013 cat >>conftest.
$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10015 $ac_includes_default
10020 char *p = (char *) fprintf;
10027 rm -f conftest.
$ac_objext
10028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10029 (eval $ac_compile) 2>conftest.er1
10031 grep -v '^ *+' conftest.er1
>conftest.err
10033 cat conftest.err
>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } &&
10036 { ac_try
='test -z "$ac_c_werror_flag"
10037 || test ! -s conftest.err'
10038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; } &&
10043 { ac_try
='test -s conftest.$ac_objext'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; }; then
10049 ac_cv_have_decl_fprintf
=yes
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.
$ac_ext >&5
10054 ac_cv_have_decl_fprintf
=no
10056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10058 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
10059 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
10060 if test $ac_cv_have_decl_fprintf = yes; then
10062 cat >>confdefs.h
<<_ACEOF
10063 #define HAVE_DECL_FPRINTF 1
10068 cat >>confdefs.h
<<_ACEOF
10069 #define HAVE_DECL_FPRINTF 0
10074 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
10075 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
10076 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 cat >conftest.
$ac_ext <<_ACEOF
10082 cat confdefs.h
>>conftest.
$ac_ext
10083 cat >>conftest.
$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10085 $ac_includes_default
10090 char *p = (char *) stpcpy;
10097 rm -f conftest.
$ac_objext
10098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10099 (eval $ac_compile) 2>conftest.er1
10101 grep -v '^ *+' conftest.er1
>conftest.err
10103 cat conftest.err
>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } &&
10106 { ac_try
='test -z "$ac_c_werror_flag"
10107 || test ! -s conftest.err'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; } &&
10113 { ac_try
='test -s conftest.$ac_objext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; }; then
10119 ac_cv_have_decl_stpcpy
=yes
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.
$ac_ext >&5
10124 ac_cv_have_decl_stpcpy
=no
10126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10128 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
10129 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
10130 if test $ac_cv_have_decl_stpcpy = yes; then
10132 cat >>confdefs.h
<<_ACEOF
10133 #define HAVE_DECL_STPCPY 1
10138 cat >>confdefs.h
<<_ACEOF
10139 #define HAVE_DECL_STPCPY 0
10144 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
10145 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
10146 if test "${ac_cv_have_decl_strstr+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 cat >conftest.
$ac_ext <<_ACEOF
10152 cat confdefs.h
>>conftest.
$ac_ext
10153 cat >>conftest.
$ac_ext <<_ACEOF
10154 /* end confdefs.h. */
10155 $ac_includes_default
10160 char *p = (char *) strstr;
10167 rm -f conftest.
$ac_objext
10168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10169 (eval $ac_compile) 2>conftest.er1
10171 grep -v '^ *+' conftest.er1
>conftest.err
10173 cat conftest.err
>&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } &&
10176 { ac_try
='test -z "$ac_c_werror_flag"
10177 || test ! -s conftest.err'
10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179 (eval $ac_try) 2>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; } &&
10183 { ac_try
='test -s conftest.$ac_objext'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; }; then
10189 ac_cv_have_decl_strstr
=yes
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.
$ac_ext >&5
10194 ac_cv_have_decl_strstr
=no
10196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10198 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
10199 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
10200 if test $ac_cv_have_decl_strstr = yes; then
10202 cat >>confdefs.h
<<_ACEOF
10203 #define HAVE_DECL_STRSTR 1
10208 cat >>confdefs.h
<<_ACEOF
10209 #define HAVE_DECL_STRSTR 0
10214 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
10215 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
10216 if test "${ac_cv_have_decl_sbrk+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10219 cat >conftest.
$ac_ext <<_ACEOF
10222 cat confdefs.h
>>conftest.
$ac_ext
10223 cat >>conftest.
$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10225 $ac_includes_default
10230 char *p = (char *) sbrk;
10237 rm -f conftest.
$ac_objext
10238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10239 (eval $ac_compile) 2>conftest.er1
10241 grep -v '^ *+' conftest.er1
>conftest.err
10243 cat conftest.err
>&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); } &&
10246 { ac_try
='test -z "$ac_c_werror_flag"
10247 || test ! -s conftest.err'
10248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249 (eval $ac_try) 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; } &&
10253 { ac_try
='test -s conftest.$ac_objext'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; }; then
10259 ac_cv_have_decl_sbrk
=yes
10261 echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.
$ac_ext >&5
10264 ac_cv_have_decl_sbrk
=no
10266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10268 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
10269 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
10270 if test $ac_cv_have_decl_sbrk = yes; then
10272 cat >>confdefs.h
<<_ACEOF
10273 #define HAVE_DECL_SBRK 1
10278 cat >>confdefs.h
<<_ACEOF
10279 #define HAVE_DECL_SBRK 0
10284 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
10285 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
10286 if test "${ac_cv_have_decl_getenv+set}" = set; then
10287 echo $ECHO_N "(cached) $ECHO_C" >&6
10289 cat >conftest.
$ac_ext <<_ACEOF
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295 $ac_includes_default
10300 char *p = (char *) getenv;
10307 rm -f conftest.
$ac_objext
10308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10309 (eval $ac_compile) 2>conftest.er1
10311 grep -v '^ *+' conftest.er1
>conftest.err
10313 cat conftest.err
>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } &&
10316 { ac_try
='test -z "$ac_c_werror_flag"
10317 || test ! -s conftest.err'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; } &&
10323 { ac_try
='test -s conftest.$ac_objext'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; }; then
10329 ac_cv_have_decl_getenv
=yes
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.
$ac_ext >&5
10334 ac_cv_have_decl_getenv
=no
10336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10338 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
10339 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
10340 if test $ac_cv_have_decl_getenv = yes; then
10342 cat >>confdefs.h
<<_ACEOF
10343 #define HAVE_DECL_GETENV 1
10348 cat >>confdefs.h
<<_ACEOF
10349 #define HAVE_DECL_GETENV 0
10354 echo "$as_me:$LINENO: checking whether environ is declared" >&5
10355 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
10356 if test "${ac_cv_have_decl_environ+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 cat >conftest.
$ac_ext <<_ACEOF
10362 cat confdefs.h
>>conftest.
$ac_ext
10363 cat >>conftest.
$ac_ext <<_ACEOF
10364 /* end confdefs.h. */
10365 $ac_includes_default
10370 char *p = (char *) environ;
10377 rm -f conftest.
$ac_objext
10378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10379 (eval $ac_compile) 2>conftest.er1
10381 grep -v '^ *+' conftest.er1
>conftest.err
10383 cat conftest.err
>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try
='test -z "$ac_c_werror_flag"
10387 || test ! -s conftest.err'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; } &&
10393 { ac_try
='test -s conftest.$ac_objext'
10394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 (eval $ac_try) 2>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); }; }; then
10399 ac_cv_have_decl_environ
=yes
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.
$ac_ext >&5
10404 ac_cv_have_decl_environ
=no
10406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10408 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
10409 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
10410 if test $ac_cv_have_decl_environ = yes; then
10412 cat >>confdefs.h
<<_ACEOF
10413 #define HAVE_DECL_ENVIRON 1
10418 cat >>confdefs.h
<<_ACEOF
10419 #define HAVE_DECL_ENVIRON 0
10424 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
10425 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
10426 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
10427 echo $ECHO_N "(cached) $ECHO_C" >&6
10429 cat >conftest.
$ac_ext <<_ACEOF
10432 cat confdefs.h
>>conftest.
$ac_ext
10433 cat >>conftest.
$ac_ext <<_ACEOF
10434 /* end confdefs.h. */
10435 $ac_includes_default
10439 #ifndef getc_unlocked
10440 char *p = (char *) getc_unlocked;
10447 rm -f conftest.
$ac_objext
10448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10449 (eval $ac_compile) 2>conftest.er1
10451 grep -v '^ *+' conftest.er1
>conftest.err
10453 cat conftest.err
>&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } &&
10456 { ac_try
='test -z "$ac_c_werror_flag"
10457 || test ! -s conftest.err'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; } &&
10463 { ac_try
='test -s conftest.$ac_objext'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; }; then
10469 ac_cv_have_decl_getc_unlocked
=yes
10471 echo "$as_me: failed program was:" >&5
10472 sed 's/^/| /' conftest.
$ac_ext >&5
10474 ac_cv_have_decl_getc_unlocked
=no
10476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10478 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
10479 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
10480 if test $ac_cv_have_decl_getc_unlocked = yes; then
10482 cat >>confdefs.h
<<_ACEOF
10483 #define HAVE_DECL_GETC_UNLOCKED 1
10488 cat >>confdefs.h
<<_ACEOF
10489 #define HAVE_DECL_GETC_UNLOCKED 0
10494 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
10495 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
10496 if test "${ac_cv_have_decl_snprintf+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 cat >conftest.
$ac_ext <<_ACEOF
10502 cat confdefs.h
>>conftest.
$ac_ext
10503 cat >>conftest.
$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 $ac_includes_default
10510 char *p = (char *) snprintf;
10517 rm -f conftest.
$ac_objext
10518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10519 (eval $ac_compile) 2>conftest.er1
10521 grep -v '^ *+' conftest.er1
>conftest.err
10523 cat conftest.err
>&5
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525 (exit $ac_status); } &&
10526 { ac_try
='test -z "$ac_c_werror_flag"
10527 || test ! -s conftest.err'
10528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529 (eval $ac_try) 2>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); }; } &&
10533 { ac_try
='test -s conftest.$ac_objext'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; }; then
10539 ac_cv_have_decl_snprintf
=yes
10541 echo "$as_me: failed program was:" >&5
10542 sed 's/^/| /' conftest.
$ac_ext >&5
10544 ac_cv_have_decl_snprintf
=no
10546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10548 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
10549 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
10550 if test $ac_cv_have_decl_snprintf = yes; then
10552 cat >>confdefs.h
<<_ACEOF
10553 #define HAVE_DECL_SNPRINTF 1
10558 cat >>confdefs.h
<<_ACEOF
10559 #define HAVE_DECL_SNPRINTF 0
10564 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
10565 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
10566 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 cat >conftest.
$ac_ext <<_ACEOF
10572 cat confdefs.h
>>conftest.
$ac_ext
10573 cat >>conftest.
$ac_ext <<_ACEOF
10574 /* end confdefs.h. */
10575 $ac_includes_default
10580 char *p = (char *) vsnprintf;
10587 rm -f conftest.
$ac_objext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10589 (eval $ac_compile) 2>conftest.er1
10591 grep -v '^ *+' conftest.er1
>conftest.err
10593 cat conftest.err
>&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 { ac_try
='test -z "$ac_c_werror_flag"
10597 || test ! -s conftest.err'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; } &&
10603 { ac_try
='test -s conftest.$ac_objext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 ac_cv_have_decl_vsnprintf
=yes
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.
$ac_ext >&5
10614 ac_cv_have_decl_vsnprintf
=no
10616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10618 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
10619 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
10620 if test $ac_cv_have_decl_vsnprintf = yes; then
10622 cat >>confdefs.h
<<_ACEOF
10623 #define HAVE_DECL_VSNPRINTF 1
10628 cat >>confdefs.h
<<_ACEOF
10629 #define HAVE_DECL_VSNPRINTF 0
10639 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
10641 cat >>confdefs.h
<<\_ACEOF
10642 #define USE_BINARY_FOPEN 1
10647 # target-specific stuff:
10649 # Canonicalize the secondary target names.
10650 if test -n "$enable_targets"; then
10651 for targ
in `echo $enable_targets | sed 's/,/ /g'`
10653 result
=`$ac_config_sub $targ 2>/dev/null`
10654 if test -n "$result"; then
10655 canon_targets
="$canon_targets $result"
10657 # Allow targets that config.sub doesn't recognize, like "all".
10658 canon_targets
="$canon_targets $targ"
10674 for targ
in $target $canon_targets
10676 if test "x$targ" = "xall"; then
10678 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
10679 BUILD_SRCONV
='$(SRCONV_PROG)'
10680 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
10683 i
[3-7]86*-*-netware*)
10684 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
10685 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
10688 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
10689 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
10691 powerpc
*-*-netware*)
10692 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
10693 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
10696 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
10697 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
10701 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
10705 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10706 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
10707 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10709 arm-
*-pe* | arm-
*-wince)
10710 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10711 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
10712 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10715 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10716 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
10717 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10719 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
10720 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10721 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
10722 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10723 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
10725 i
[3-7]86-*-interix)
10726 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
10727 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
10729 powerpc
*-aix5.
[01])
10732 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
10734 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
10735 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10736 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
10737 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10740 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10741 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
10742 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10745 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10746 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
10747 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10750 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10751 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
10752 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10755 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
10756 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
10762 if test "${with_windres+set}" = set; then
10763 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
10777 cat >>confdefs.h
<<_ACEOF
10778 #define TARGET "${target}"
10783 .
$srcdir/..
/bfd
/config.bfd
10784 if test "x$targ_underscore" = "xyes"; then
10790 cat >>confdefs.h
<<_ACEOF
10791 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
10796 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
10798 # Canonicalize the secondary target names.
10799 result
=`$ac_config_sub $targ_alias 2>/dev/null`
10800 if test -n "$result"; then
10806 .
${srcdir}/configure.tgt
10808 EMULATION
=$targ_emul
10809 EMULATION_VECTOR
=$targ_emul_vector
10815 # Required for html and install-html
10820 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
10821 ac_config_commands
="$ac_config_commands default"
10822 cat >confcache
<<\_ACEOF
10823 # This file is a shell script that caches the results of configure
10824 # tests run on this system so they can be shared between configure
10825 # scripts and configure runs, see configure's option --config-cache.
10826 # It is not useful on other systems. If it contains results you don't
10827 # want to keep, you may remove or edit it.
10829 # config.status only pays attention to the cache file if you give it
10830 # the --recheck option to rerun configure.
10832 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10833 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10834 # following values.
10838 # The following way of writing the cache mishandles newlines in values,
10839 # but we know of no workaround that is simple, portable, and efficient.
10840 # So, don't put newlines in cache variables' values.
10841 # Ultrix sh set writes to stderr and can't be redirected directly,
10842 # and sets the high bit in the cache file unless we assign to the vars.
10845 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10847 # `set' does not quote correctly, so add quotes (double-quote
10848 # substitution turns \\\\ into \\, and sed turns \\ into \).
10851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10854 # `set' quotes correctly as required by POSIX, so do not add quotes.
10856 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10865 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10867 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10868 if test -w $cache_file; then
10869 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10870 cat confcache
>$cache_file
10872 echo "not updating unwritable cache $cache_file"
10877 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10878 # Let make expand exec_prefix.
10879 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10881 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10882 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10883 # trailing colons and then remove the whole line if VPATH becomes empty
10884 # (actually we leave an empty line to preserve line numbers).
10885 if test "x$srcdir" = x.
; then
10886 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10887 s/:*\$(srcdir):*/:/;
10888 s/:*\${srcdir}:*/:/;
10890 s/^\([^=]*=[ ]*\):*/\1/;
10896 DEFS
=-DHAVE_CONFIG_H
10900 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10901 # 1. Remove the extension, and $U if already installed.
10902 ac_i
=`echo "$ac_i" |
10903 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10905 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10906 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10908 LIBOBJS
=$ac_libobjs
10910 LTLIBOBJS
=$ac_ltlibobjs
10913 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10914 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10915 Usually this means the macro was only invoked conditionally." >&5
10916 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10917 Usually this means the macro was only invoked conditionally." >&2;}
10918 { (exit 1); exit 1; }; }
10920 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10921 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10922 Usually this means the macro was only invoked conditionally." >&5
10923 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10924 Usually this means the macro was only invoked conditionally." >&2;}
10925 { (exit 1); exit 1; }; }
10927 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10928 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10929 Usually this means the macro was only invoked conditionally." >&5
10930 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10931 Usually this means the macro was only invoked conditionally." >&2;}
10932 { (exit 1); exit 1; }; }
10935 : ${CONFIG_STATUS=./config.status}
10936 ac_clean_files_save
=$ac_clean_files
10937 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10938 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10939 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10940 cat >$CONFIG_STATUS <<_ACEOF
10942 # Generated by $as_me.
10943 # Run this file to recreate the current configuration.
10944 # Compiler output produced by configure, useful for debugging
10945 # configure, is in config.log if it exists.
10948 ac_cs_recheck=false
10950 SHELL=\${CONFIG_SHELL-$SHELL}
10953 cat >>$CONFIG_STATUS <<\_ACEOF
10954 ## --------------------- ##
10955 ## M4sh Initialization. ##
10956 ## --------------------- ##
10958 # Be Bourne compatible
10959 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10962 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10963 # is contrary to our usage. Disable this feature.
10964 alias -g '${1+"$@"}'='"$@"'
10965 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10968 DUALCASE
=1; export DUALCASE
# for MKS sh
10970 # Support unset when possible.
10971 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10978 # Work around bugs in pre-3.0 UWIN ksh.
10979 $as_unset ENV MAIL MAILPATH
10986 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10987 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10988 LC_TELEPHONE LC_TIME
10990 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10991 eval $as_var=C
; export $as_var
10997 # Required to use basename.
10998 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11004 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11005 as_basename
=basename
11011 # Name of the executable.
11012 as_me
=`$as_basename "$0" ||
11013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11014 X"$0" : 'X\(//\)$' \| \
11015 X"$0" : 'X\(/\)$' \| \
11016 . : '\(.\)' 2>/dev/null ||
11018 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11019 /^X\/\(\/\/\)$/{ s//\1/; q; }
11020 /^X\/\(\/\).*/{ s//\1/; q; }
11024 # PATH needs CR, and LINENO needs CR and PATH.
11025 # Avoid depending upon Character Ranges.
11026 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11027 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11028 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11029 as_cr_digits
='0123456789'
11030 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11032 # The user is always right.
11033 if test "${PATH_SEPARATOR+set}" != set; then
11034 echo "#! /bin/sh" >conf$$.sh
11035 echo "exit 0" >>conf$$.sh
11037 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11046 as_lineno_1
=$LINENO
11047 as_lineno_2
=$LINENO
11048 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11049 test "x$as_lineno_1" != "x$as_lineno_2" &&
11050 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11051 # Find who we are. Look in the path if we contain no path at all
11054 *[\\/]* ) as_myself
=$0 ;;
11055 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11056 for as_dir
in $PATH
11059 test -z "$as_dir" && as_dir
=.
11060 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11065 # We did not find ourselves, most probably we were run as `sh COMMAND'
11066 # in which case we are not to be found in the path.
11067 if test "x$as_myself" = x
; then
11070 if test ! -f "$as_myself"; then
11071 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11072 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11073 { (exit 1); exit 1; }; }
11075 case $CONFIG_SHELL in
11077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11078 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11081 test -z "$as_dir" && as_dir
=.
11082 for as_base
in sh bash ksh sh5
; do
11085 if ("$as_dir/$as_base" -c '
11086 as_lineno_1=$LINENO
11087 as_lineno_2=$LINENO
11088 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11089 test "x$as_lineno_1" != "x$as_lineno_2" &&
11090 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11091 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11092 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11093 CONFIG_SHELL
=$as_dir/$as_base
11094 export CONFIG_SHELL
11095 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11103 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11104 # uniformly replaced by the line number. The first 'sed' inserts a
11105 # line-number line before each line; the second 'sed' does the real
11106 # work. The second script uses 'N' to pair each line-number line
11107 # with the numbered line, and appends trailing '-' during
11108 # substitution so that $LINENO is not a special case at line end.
11109 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11110 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11111 sed '=' <$as_myself |
11116 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11119 s,^['$as_cr_digits']*\n,,
11120 ' >$as_me.lineno
&&
11121 chmod +x
$as_me.lineno ||
11122 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11123 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11124 { (exit 1); exit 1; }; }
11126 # Don't try to exec as it changes $[0], causing all sort of problems
11127 # (the dirname of $[0] is not the place where we might find the
11128 # original and so on. Autoconf is especially sensible to this).
11130 # Exit status is that of the last command.
11135 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11136 *c
*,-n*) ECHO_N
= ECHO_C
='
11138 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11139 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11142 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11148 rm -f conf$$ conf$$.exe conf$$.
file
11150 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11151 # We could just check for DJGPP; but this test a) works b) is more generic
11152 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11153 if test -f conf$$.exe
; then
11154 # Don't use ln at all; we don't have any links
11159 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11164 rm -f conf$$ conf$$.exe conf$$.
file
11166 if mkdir
-p .
2>/dev
/null
; then
11169 test -d .
/-p && rmdir .
/-p
11173 as_executable_p
="test -f"
11175 # Sed expression to map a string onto a valid CPP name.
11176 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11178 # Sed expression to map a string onto a valid variable name.
11179 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11183 # We need space, tab and new line, in precisely that order.
11193 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11194 # report actual input values of CONFIG_FILES etc. instead of their
11195 # values after options handling. Logging --version etc. is OK.
11199 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11200 ## Running $as_me. ##
11205 This file was extended by $as_me, which was
11206 generated by GNU Autoconf 2.59. Invocation command line was
11208 CONFIG_FILES = $CONFIG_FILES
11209 CONFIG_HEADERS = $CONFIG_HEADERS
11210 CONFIG_LINKS = $CONFIG_LINKS
11211 CONFIG_COMMANDS = $CONFIG_COMMANDS
11215 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11219 # Files that config.status was made for.
11220 if test -n "$ac_config_files"; then
11221 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11224 if test -n "$ac_config_headers"; then
11225 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11228 if test -n "$ac_config_links"; then
11229 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11232 if test -n "$ac_config_commands"; then
11233 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11236 cat >>$CONFIG_STATUS <<\_ACEOF
11239 \`$as_me' instantiates files from templates according to the
11240 current configuration.
11242 Usage: $0 [OPTIONS] [FILE]...
11244 -h, --help print this help, then exit
11245 -V, --version print version number, then exit
11246 -q, --quiet do not print progress messages
11247 -d, --debug don't remove temporary files
11248 --recheck update $as_me by reconfiguring in the same conditions
11249 --file=FILE[:TEMPLATE]
11250 instantiate the configuration file FILE
11251 --header=FILE[:TEMPLATE]
11252 instantiate the configuration header FILE
11254 Configuration files:
11257 Configuration headers:
11260 Configuration commands:
11263 Report bugs to <bug-autoconf@gnu.org>."
11266 cat >>$CONFIG_STATUS <<_ACEOF
11269 configured by $0, generated by GNU Autoconf 2.59,
11270 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11272 Copyright (C) 2003 Free Software Foundation, Inc.
11273 This config.status script is free software; the Free Software Foundation
11274 gives unlimited permission to copy, distribute and modify it."
11279 cat >>$CONFIG_STATUS <<\_ACEOF
11280 # If no file are specified by the user, then we need to provide default
11281 # value. By we need to know if files were specified by the user.
11287 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11288 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11296 *) # This is not an option, so the user has probably given explicit
11299 ac_need_defaults
=false
;;
11303 # Handling of the options.
11305 cat >>$CONFIG_STATUS <<\_ACEOF
11306 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11308 --version |
--vers* |
-V )
11309 echo "$ac_cs_version"; exit 0 ;;
11311 # Conflict between --help and --header
11312 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11313 Try \`$0 --help' for more information." >&5
11314 echo "$as_me: error: ambiguous option: $1
11315 Try \`$0 --help' for more information." >&2;}
11316 { (exit 1); exit 1; }; };;
11317 --help |
--hel |
-h )
11318 echo "$ac_cs_usage"; exit 0 ;;
11319 --debug |
--d* |
-d )
11321 --file |
--fil |
--fi |
--f )
11323 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11324 ac_need_defaults
=false
;;
11325 --header |
--heade |
--head |
--hea )
11327 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11328 ac_need_defaults
=false
;;
11329 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11330 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11333 # This is an error.
11334 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11335 Try \`$0 --help' for more information." >&5
11336 echo "$as_me: error: unrecognized option: $1
11337 Try \`$0 --help' for more information." >&2;}
11338 { (exit 1); exit 1; }; } ;;
11340 *) ac_config_targets
="$ac_config_targets $1" ;;
11346 ac_configure_extra_args
=
11348 if $ac_cs_silent; then
11350 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11354 cat >>$CONFIG_STATUS <<_ACEOF
11355 if \$ac_cs_recheck; then
11356 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11357 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11362 cat >>$CONFIG_STATUS <<_ACEOF
11364 # INIT-COMMANDS section.
11367 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11373 cat >>$CONFIG_STATUS <<\_ACEOF
11374 for ac_config_target
in $ac_config_targets
11376 case "$ac_config_target" in
11377 # Handling of arguments.
11378 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11379 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
11380 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
11381 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11382 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
11383 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
11384 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11385 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11386 { (exit 1); exit 1; }; };;
11390 # If the user did not use the arguments to specify the items to instantiate,
11391 # then the envvar interface is used. Set only those that are not.
11392 # We use the long form for the default assignment because of an extremely
11393 # bizarre bug on SunOS 4.1.3.
11394 if $ac_need_defaults; then
11395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11400 # Have a temporary directory for convenience. Make it in the build tree
11401 # simply because there is no reason to put it here, and in addition,
11402 # creating and moving files from /tmp can sometimes cause problems.
11403 # Create a temporary directory, and hook for its removal unless debugging.
11406 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11407 trap '{ (exit 1); exit 1; }' 1 2 13 15
11410 # Create a (secure) tmp directory for tmp files.
11413 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11414 test -n "$tmp" && test -d "$tmp"
11417 tmp
=.
/confstat$$
-$RANDOM
11418 (umask 077 && mkdir
$tmp)
11421 echo "$me: cannot create a temporary directory in ." >&2
11422 { (exit 1); exit 1; }
11427 cat >>$CONFIG_STATUS <<_ACEOF
11430 # CONFIG_FILES section.
11433 # No need to generate the scripts if there are no CONFIG_FILES.
11434 # This happens for instance when ./config.status config.h
11435 if test -n "\$CONFIG_FILES"; then
11436 # Protect against being on the right side of a sed subst in config.status.
11437 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11438 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11439 s,@SHELL@,$SHELL,;t t
11440 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11441 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11442 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11443 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11444 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11445 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11446 s,@exec_prefix@,$exec_prefix,;t t
11447 s,@prefix@,$prefix,;t t
11448 s,@program_transform_name@,$program_transform_name,;t t
11449 s,@bindir@,$bindir,;t t
11450 s,@sbindir@,$sbindir,;t t
11451 s,@libexecdir@,$libexecdir,;t t
11452 s,@datadir@,$datadir,;t t
11453 s,@sysconfdir@,$sysconfdir,;t t
11454 s,@sharedstatedir@,$sharedstatedir,;t t
11455 s,@localstatedir@,$localstatedir,;t t
11456 s,@libdir@,$libdir,;t t
11457 s,@includedir@,$includedir,;t t
11458 s,@oldincludedir@,$oldincludedir,;t t
11459 s,@infodir@,$infodir,;t t
11460 s,@mandir@,$mandir,;t t
11461 s,@build_alias@,$build_alias,;t t
11462 s,@host_alias@,$host_alias,;t t
11463 s,@target_alias@,$target_alias,;t t
11464 s,@DEFS@,$DEFS,;t t
11465 s,@ECHO_C@,$ECHO_C,;t t
11466 s,@ECHO_N@,$ECHO_N,;t t
11467 s,@ECHO_T@,$ECHO_T,;t t
11468 s,@LIBS@,$LIBS,;t t
11469 s,@build@,$build,;t t
11470 s,@build_cpu@,$build_cpu,;t t
11471 s,@build_vendor@,$build_vendor,;t t
11472 s,@build_os@,$build_os,;t t
11473 s,@host@,$host,;t t
11474 s,@host_cpu@,$host_cpu,;t t
11475 s,@host_vendor@,$host_vendor,;t t
11476 s,@host_os@,$host_os,;t t
11477 s,@target@,$target,;t t
11478 s,@target_cpu@,$target_cpu,;t t
11479 s,@target_vendor@,$target_vendor,;t t
11480 s,@target_os@,$target_os,;t t
11482 s,@CFLAGS@,$CFLAGS,;t t
11483 s,@LDFLAGS@,$LDFLAGS,;t t
11484 s,@CPPFLAGS@,$CPPFLAGS,;t t
11485 s,@ac_ct_CC@,$ac_ct_CC,;t t
11486 s,@EXEEXT@,$EXEEXT,;t t
11487 s,@OBJEXT@,$OBJEXT,;t t
11488 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11489 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11490 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11491 s,@CYGPATH_W@,$CYGPATH_W,;t t
11492 s,@PACKAGE@,$PACKAGE,;t t
11493 s,@VERSION@,$VERSION,;t t
11494 s,@ACLOCAL@,$ACLOCAL,;t t
11495 s,@AUTOCONF@,$AUTOCONF,;t t
11496 s,@AUTOMAKE@,$AUTOMAKE,;t t
11497 s,@AUTOHEADER@,$AUTOHEADER,;t t
11498 s,@MAKEINFO@,$MAKEINFO,;t t
11499 s,@install_sh@,$install_sh,;t t
11500 s,@STRIP@,$STRIP,;t t
11501 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11502 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11503 s,@mkdir_p@,$mkdir_p,;t t
11505 s,@SET_MAKE@,$SET_MAKE,;t t
11506 s,@am__leading_dot@,$am__leading_dot,;t t
11507 s,@AMTAR@,$AMTAR,;t t
11508 s,@am__tar@,$am__tar,;t t
11509 s,@am__untar@,$am__untar,;t t
11510 s,@DEPDIR@,$DEPDIR,;t t
11511 s,@am__include@,$am__include,;t t
11512 s,@am__quote@,$am__quote,;t t
11513 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11514 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11515 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11516 s,@CCDEPMODE@,$CCDEPMODE,;t t
11517 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11518 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11519 s,@LN_S@,$LN_S,;t t
11520 s,@RANLIB@,$RANLIB,;t t
11521 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11522 s,@LIBTOOL@,$LIBTOOL,;t t
11523 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
11524 s,@NO_WERROR@,$NO_WERROR,;t t
11525 s,@YACC@,$YACC,;t t
11527 s,@LEXLIB@,$LEXLIB,;t t
11528 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11530 s,@EGREP@,$EGREP,;t t
11531 s,@ALLOCA@,$ALLOCA,;t t
11532 s,@USE_NLS@,$USE_NLS,;t t
11533 s,@MSGFMT@,$MSGFMT,;t t
11534 s,@GMSGFMT@,$GMSGFMT,;t t
11535 s,@XGETTEXT@,$XGETTEXT,;t t
11536 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
11537 s,@CATALOGS@,$CATALOGS,;t t
11538 s,@CATOBJEXT@,$CATOBJEXT,;t t
11539 s,@DATADIRNAME@,$DATADIRNAME,;t t
11540 s,@GMOFILES@,$GMOFILES,;t t
11541 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
11542 s,@INTLDEPS@,$INTLDEPS,;t t
11543 s,@INTLLIBS@,$INTLLIBS,;t t
11544 s,@INTLOBJS@,$INTLOBJS,;t t
11545 s,@POFILES@,$POFILES,;t t
11546 s,@POSUB@,$POSUB,;t t
11547 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
11548 s,@GT_NO@,$GT_NO,;t t
11549 s,@GT_YES@,$GT_YES,;t t
11550 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11552 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11553 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11554 s,@MAINT@,$MAINT,;t t
11555 s,@HDEFINES@,$HDEFINES,;t t
11557 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
11558 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
11559 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
11560 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
11561 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
11562 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
11563 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
11564 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
11565 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
11566 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
11567 s,@BUILD_MISC@,$BUILD_MISC,;t t
11568 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
11569 s,@EMULATION@,$EMULATION,;t t
11570 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
11571 s,@datarootdir@,$datarootdir,;t t
11572 s,@docdir@,$docdir,;t t
11573 s,@htmldir@,$htmldir,;t t
11574 s,@LIBOBJS@,$LIBOBJS,;t t
11575 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11580 cat >>$CONFIG_STATUS <<\_ACEOF
11581 # Split the substitutions into bite-sized pieces for seds with
11582 # small command number limits, like on Digital OSF/1 and HP-UX.
11583 ac_max_sed_lines
=48
11584 ac_sed_frag
=1 # Number of current file.
11585 ac_beg
=1 # First line for current file.
11586 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11589 while $ac_more_lines; do
11590 if test $ac_beg -gt 1; then
11591 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11593 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11595 if test ! -s $tmp/subs.frag
; then
11596 ac_more_lines
=false
11598 # The purpose of the label and of the branching condition is to
11599 # speed up the sed processing (if there are no `@' at all, there
11600 # is no need to browse any of the substitutions).
11601 # These are the two extra sed commands mentioned above.
11603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11604 if test -z "$ac_sed_cmds"; then
11605 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11607 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11609 ac_sed_frag
=`expr $ac_sed_frag + 1`
11611 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11614 if test -z "$ac_sed_cmds"; then
11617 fi # test -n "$CONFIG_FILES"
11620 cat >>$CONFIG_STATUS <<\_ACEOF
11621 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11622 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11624 - |
*:- |
*:-:* ) # input from stdin
11626 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11627 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11628 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11629 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11630 * ) ac_file_in
=$ac_file.
in ;;
11633 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11634 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11636 X"$ac_file" : 'X\(//\)[^/]' \| \
11637 X"$ac_file" : 'X\(//\)$' \| \
11638 X"$ac_file" : 'X\(/\)' \| \
11639 . : '\(.\)' 2>/dev/null ||
11641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11643 /^X\(\/\/\)$/{ s//\1/; q; }
11644 /^X\(\/\).*/{ s//\1/; q; }
11646 { if $as_mkdir_p; then
11651 while test ! -d "$as_dir"; do
11652 as_dirs
="$as_dir $as_dirs"
11653 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11655 X"$as_dir" : 'X\(//\)[^/]' \| \
11656 X"$as_dir" : 'X\(//\)$' \| \
11657 X"$as_dir" : 'X\(/\)' \| \
11658 . : '\(.\)' 2>/dev/null ||
11660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11662 /^X\(\/\/\)$/{ s//\1/; q; }
11663 /^X\(\/\).*/{ s//\1/; q; }
11666 test ! -n "$as_dirs" || mkdir
$as_dirs
11667 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11668 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11669 { (exit 1); exit 1; }; }; }
11673 if test "$ac_dir" != .
; then
11674 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11675 # A "../" for each directory in $ac_dir_suffix.
11676 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11678 ac_dir_suffix
= ac_top_builddir
=
11682 .
) # No --srcdir option. We are building in place.
11684 if test -z "$ac_top_builddir"; then
11687 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11689 [\\/]* | ?
:[\\/]* ) # Absolute path.
11690 ac_srcdir
=$srcdir$ac_dir_suffix;
11691 ac_top_srcdir
=$srcdir ;;
11692 *) # Relative path.
11693 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11694 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11697 # Do not use `cd foo && pwd` to compute absolute paths, because
11698 # the directories may not exist.
11700 .
) ac_abs_builddir
="$ac_dir";;
11703 .
) ac_abs_builddir
=`pwd`;;
11704 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11705 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11708 case $ac_abs_builddir in
11709 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11711 case ${ac_top_builddir}.
in
11712 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11713 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11714 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11717 case $ac_abs_builddir in
11718 .
) ac_abs_srcdir
=$ac_srcdir;;
11721 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11722 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11723 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11726 case $ac_abs_builddir in
11727 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11729 case $ac_top_srcdir in
11730 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11731 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11732 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11738 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11739 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11742 if test x
"$ac_file" != x-
; then
11743 { echo "$as_me:$LINENO: creating $ac_file" >&5
11744 echo "$as_me: creating $ac_file" >&6;}
11747 # Let's still pretend it is `configure' which instantiates (i.e., don't
11748 # use $as_me), people would be surprised to read:
11749 # /* config.h. Generated by config.status. */
11750 if test x
"$ac_file" = x-
; then
11753 configure_input
="$ac_file. "
11755 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11756 sed 's,.*/,,'` by configure."
11758 # First look for the input files in the build tree, otherwise in the
11760 ac_file_inputs
=`IFS=:
11761 for f in $ac_file_in; do
11763 -) echo $tmp/stdin ;;
11765 # Absolute (can't be DOS-style, as IFS=:)
11766 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11767 echo "$as_me: error: cannot find input file: $f" >&2;}
11768 { (exit 1); exit 1; }; }
11771 if test -f "$f"; then
11774 elif test -f "$srcdir/$f"; then
11779 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11780 echo "$as_me: error: cannot find input file: $f" >&2;}
11781 { (exit 1); exit 1; }; }
11784 done` ||
{ (exit 1); exit 1; }
11786 cat >>$CONFIG_STATUS <<_ACEOF
11790 cat >>$CONFIG_STATUS <<\_ACEOF
11792 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11793 s
,@configure_input@
,$configure_input,;t t
11794 s
,@srcdir@
,$ac_srcdir,;t t
11795 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11796 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11797 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11798 s
,@builddir@
,$ac_builddir,;t t
11799 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11800 s
,@top_builddir@
,$ac_top_builddir,;t t
11801 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11802 s
,@INSTALL@
,$ac_INSTALL,;t t
11803 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11805 if test x"$ac_file" != x-; then
11806 mv $tmp/out $ac_file
11814 cat >>$CONFIG_STATUS <<\_ACEOF
11817 # CONFIG_HEADER section.
11820 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11821 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11823 # ac_d sets the value in "#define NAME VALUE" lines.
11824 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11825 ac_dB
='[ ].*$,\1#\2'
11828 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11829 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11830 ac_uB
='$,\1#\2define\3'
11834 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11835 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11837 - |
*:- |
*:-:* ) # input from stdin
11839 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11840 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11841 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11842 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11843 * ) ac_file_in
=$ac_file.
in ;;
11846 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11847 echo "$as_me: creating $ac_file" >&6;}
11849 # First look for the input files in the build tree, otherwise in the
11851 ac_file_inputs
=`IFS=:
11852 for f in $ac_file_in; do
11854 -) echo $tmp/stdin ;;
11856 # Absolute (can't be DOS-style, as IFS=:)
11857 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11858 echo "$as_me: error: cannot find input file: $f" >&2;}
11859 { (exit 1); exit 1; }; }
11860 # Do quote $f, to prevent DOS paths from being IFS'd.
11863 if test -f "$f"; then
11866 elif test -f "$srcdir/$f"; then
11871 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11872 echo "$as_me: error: cannot find input file: $f" >&2;}
11873 { (exit 1); exit 1; }; }
11876 done` ||
{ (exit 1); exit 1; }
11877 # Remove the trailing spaces.
11878 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11882 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11883 # `conftest.undefs', that substitutes the proper values into
11884 # config.h.in to produce config.h. The first handles `#define'
11885 # templates, and the second `#undef' templates.
11886 # And first: Protect against being on the right side of a sed subst in
11887 # config.status. Protect against being in an unquoted here document
11888 # in config.status.
11889 rm -f conftest.defines conftest.undefs
11890 # Using a here document instead of a string reduces the quoting nightmare.
11891 # Putting comments in sed scripts is not portable.
11893 # `end' is used to avoid that the second main sed command (meant for
11894 # 0-ary CPP macros) applies to n-ary macro definitions.
11895 # See the Autoconf documentation for `clear'.
11896 cat >confdef2sed.
sed <<\_ACEOF
11901 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11903 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11906 # If some macros were called several times there might be several times
11907 # the same #defines, which is useless. Nevertheless, we may not want to
11908 # sort them, since we want the *last* AC-DEFINE to be honored.
11909 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11910 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11911 rm -f confdef2sed.sed
11913 # This sed command replaces #undef with comments. This is necessary, for
11914 # example, in the case of _POSIX_SOURCE, which is predefined and required
11915 # on some systems where configure will not decide to define it.
11916 cat >>conftest.undefs <<\_ACEOF
11917 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11920 # Break up conftest.defines because some shells have a limit on the size
11921 # of here documents, and old seds have small limits too (100 cmds).
11922 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11923 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11924 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11925 echo ' :' >>$CONFIG_STATUS
11926 rm -f conftest.tail
11927 while grep . conftest.defines >/dev/null
11929 # Write a limited-size here document to $tmp/defines.sed.
11930 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11931 # Speed up: don't consider the non `#define' lines.
11932 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11933 # Work around the forget-to-reset-the-flag bug.
11934 echo 't clr' >>$CONFIG_STATUS
11935 echo ': clr' >>$CONFIG_STATUS
11936 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11938 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11940 mv $tmp/out $tmp/in
11942 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11943 rm -f conftest.defines
11944 mv conftest.
tail conftest.defines
11946 rm -f conftest.defines
11947 echo ' fi # grep' >>$CONFIG_STATUS
11948 echo >>$CONFIG_STATUS
11950 # Break up conftest.undefs because some shells have a limit on the size
11951 # of here documents, and old seds have small limits too (100 cmds).
11952 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11953 rm -f conftest.
tail
11954 while grep . conftest.undefs
>/dev
/null
11956 # Write a limited-size here document to $tmp/undefs.sed.
11957 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11958 # Speed up: don't consider the non
`#undef'
11959 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11960 # Work around the forget-to-reset-the-flag bug.
11961 echo 't clr' >>$CONFIG_STATUS
11962 echo ': clr' >>$CONFIG_STATUS
11963 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11965 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11967 mv $tmp/out $tmp/in
11969 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11970 rm -f conftest.undefs
11971 mv conftest.tail conftest.undefs
11973 rm -f conftest.undefs
11975 cat >>$CONFIG_STATUS <<\_ACEOF
11976 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11977 # use $as_me), people would be surprised to read:
11978 # /* config.h. Generated by config.status. */
11979 if test x
"$ac_file" = x-
; then
11980 echo "/* Generated by configure. */" >$tmp/config.h
11982 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11984 cat $tmp/in >>$tmp/config.h
11986 if test x
"$ac_file" != x-
; then
11987 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11988 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11989 echo "$as_me: $ac_file is unchanged" >&6;}
11991 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11993 X"$ac_file" : 'X\(//\)[^/]' \| \
11994 X"$ac_file" : 'X\(//\)$' \| \
11995 X"$ac_file" : 'X\(/\)' \| \
11996 . : '\(.\)' 2>/dev/null ||
11998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12000 /^X\(\/\/\)$/{ s//\1/; q; }
12001 /^X\(\/\).*/{ s//\1/; q; }
12003 { if $as_mkdir_p; then
12008 while test ! -d "$as_dir"; do
12009 as_dirs
="$as_dir $as_dirs"
12010 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12012 X"$as_dir" : 'X\(//\)[^/]' \| \
12013 X"$as_dir" : 'X\(//\)$' \| \
12014 X"$as_dir" : 'X\(/\)' \| \
12015 . : '\(.\)' 2>/dev/null ||
12017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12019 /^X\(\/\/\)$/{ s//\1/; q; }
12020 /^X\(\/\).*/{ s//\1/; q; }
12023 test ! -n "$as_dirs" || mkdir
$as_dirs
12024 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12025 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12026 { (exit 1); exit 1; }; }; }
12029 mv $tmp/config.h
$ac_file
12033 rm -f $tmp/config.h
12035 # Compute $ac_file's index in $config_headers.
12037 for _am_header
in $config_headers :; do
12038 case $_am_header in
12039 $ac_file |
$ac_file:* )
12042 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12045 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12046 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12047 X$ac_file : 'X\(//\)[^/]' \| \
12048 X$ac_file : 'X\(//\)$' \| \
12049 X$ac_file : 'X\(/\)' \| \
12050 . : '\(.\)' 2>/dev/null ||
12052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12054 /^X\(\/\/\)$/{ s//\1/; q; }
12055 /^X\(\/\).*/{ s//\1/; q; }
12056 s/.*/./; q'`/stamp-h
$_am_stamp_count
12059 cat >>$CONFIG_STATUS <<\_ACEOF
12062 # CONFIG_COMMANDS section.
12064 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12065 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12066 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12067 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12068 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12069 X"$ac_dest" : 'X\(//\)[^/]' \| \
12070 X"$ac_dest" : 'X\(//\)$' \| \
12071 X"$ac_dest" : 'X\(/\)' \| \
12072 . : '\(.\)' 2>/dev/null ||
12074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12076 /^X\(\/\/\)$/{ s//\1/; q; }
12077 /^X\(\/\).*/{ s//\1/; q; }
12079 { if $as_mkdir_p; then
12084 while test ! -d "$as_dir"; do
12085 as_dirs
="$as_dir $as_dirs"
12086 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12088 X"$as_dir" : 'X\(//\)[^/]' \| \
12089 X"$as_dir" : 'X\(//\)$' \| \
12090 X"$as_dir" : 'X\(/\)' \| \
12091 . : '\(.\)' 2>/dev/null ||
12093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12095 /^X\(\/\/\)$/{ s//\1/; q; }
12096 /^X\(\/\).*/{ s//\1/; q; }
12099 test ! -n "$as_dirs" || mkdir
$as_dirs
12100 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12101 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12102 { (exit 1); exit 1; }; }; }
12106 if test "$ac_dir" != .
; then
12107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12108 # A "../" for each directory in $ac_dir_suffix.
12109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12111 ac_dir_suffix
= ac_top_builddir
=
12115 .
) # No --srcdir option. We are building in place.
12117 if test -z "$ac_top_builddir"; then
12120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12122 [\\/]* | ?
:[\\/]* ) # Absolute path.
12123 ac_srcdir
=$srcdir$ac_dir_suffix;
12124 ac_top_srcdir
=$srcdir ;;
12125 *) # Relative path.
12126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12130 # Do not use `cd foo && pwd` to compute absolute paths, because
12131 # the directories may not exist.
12133 .
) ac_abs_builddir
="$ac_dir";;
12136 .
) ac_abs_builddir
=`pwd`;;
12137 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12138 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12141 case $ac_abs_builddir in
12142 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12144 case ${ac_top_builddir}.
in
12145 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12146 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12147 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12150 case $ac_abs_builddir in
12151 .
) ac_abs_srcdir
=$ac_srcdir;;
12154 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12155 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12156 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12159 case $ac_abs_builddir in
12160 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12162 case $ac_top_srcdir in
12163 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12164 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12165 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12170 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12171 echo "$as_me: executing $ac_dest commands" >&6;}
12173 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
12174 # Strip MF so we end up with the name of the file.
12175 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12176 # Check whether this is an Automake generated Makefile or not.
12177 # We used to match only the files named `Makefile.in', but
12178 # some people rename them; so instead we look at the file content.
12179 # Grep'ing the first line is not enough: some people post-process
12180 # each Makefile.in and add a new line on top of each file to say so.
12181 # So let's grep whole file.
12182 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12183 dirpart
=`(dirname "$mf") 2>/dev/null ||
12184 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12185 X"$mf" : 'X\(//\)[^/]' \| \
12186 X"$mf" : 'X\(//\)$' \| \
12187 X"$mf" : 'X\(/\)' \| \
12188 . : '\(.\)' 2>/dev/null ||
12190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12192 /^X\(\/\/\)$/{ s//\1/; q; }
12193 /^X\(\/\).*/{ s//\1/; q; }
12198 # Extract the definition of DEPDIR, am__include, and am__quote
12199 # from the Makefile without running `make'.
12200 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12201 test -z "$DEPDIR" && continue
12202 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12203 test -z "am__include" && continue
12204 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12205 # When using ansi2knr, U may be empty or an underscore; expand it
12206 U
=`sed -n 's/^U = //p' < "$mf"`
12207 # Find all dependency output files, they are included files with
12208 # $(DEPDIR) in their names. We invoke sed twice because it is the
12209 # simplest approach to changing $(DEPDIR) to its actual value in the
12211 for file in `sed -n "
12212 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12213 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12214 # Make sure the directory exists.
12215 test -f "$dirpart/$file" && continue
12216 fdir
=`(dirname "$file") 2>/dev/null ||
12217 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12218 X"$file" : 'X\(//\)[^/]' \| \
12219 X"$file" : 'X\(//\)$' \| \
12220 X"$file" : 'X\(/\)' \| \
12221 . : '\(.\)' 2>/dev/null ||
12223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12225 /^X\(\/\/\)$/{ s//\1/; q; }
12226 /^X\(\/\).*/{ s//\1/; q; }
12228 { if $as_mkdir_p; then
12229 mkdir
-p $dirpart/$fdir
12231 as_dir
=$dirpart/$fdir
12233 while test ! -d "$as_dir"; do
12234 as_dirs
="$as_dir $as_dirs"
12235 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12237 X"$as_dir" : 'X\(//\)[^/]' \| \
12238 X"$as_dir" : 'X\(//\)$' \| \
12239 X"$as_dir" : 'X\(/\)' \| \
12240 . : '\(.\)' 2>/dev/null ||
12242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12244 /^X\(\/\/\)$/{ s//\1/; q; }
12245 /^X\(\/\).*/{ s//\1/; q; }
12248 test ! -n "$as_dirs" || mkdir
$as_dirs
12249 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12250 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12251 { (exit 1); exit 1; }; }; }
12253 # echo "creating $dirpart/$file"
12254 echo '# dummy' > "$dirpart/$file"
12259 case "x$CONFIG_FILES" in
12260 *) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
12267 cat >>$CONFIG_STATUS <<\_ACEOF
12269 { (exit 0); exit 0; }
12271 chmod +x
$CONFIG_STATUS
12272 ac_clean_files
=$ac_clean_files_save
12275 # configure is writing to config.log, and then calls config.status.
12276 # config.status does its own redirection, appending to config.log.
12277 # Unfortunately, on DOS this fails, as config.log is still kept open
12278 # by configure, so config.status won't be able to write to it; its
12279 # output is simply discarded. So we exec the FD to /dev/null,
12280 # effectively closing config.log, so it can be properly (re)opened and
12281 # appended to by config.status. When coming back to configure, we
12282 # need to make the FD available again.
12283 if test "$no_create" != yes; then
12285 ac_config_status_args
=
12286 test "$silent" = yes &&
12287 ac_config_status_args
="$ac_config_status_args --quiet"
12289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12292 # would make configure fail if this is the last instruction.
12293 $ac_cs_success ||
{ (exit 1); exit 1; }