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 REPORT_BUGS_TO WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES AR CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME CPP EGREP ALLOCA 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-bugurl=URL Direct users to URL to report a bug
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; }; } ;;
4179 # The location to which bugs should be reported.
4181 # Check whether --with-bugurl or --without-bugurl was given.
4182 if test "${with_bugurl+set}" = set; then
4183 withval
="$with_bugurl"
4185 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4186 echo "$as_me: error: bug URL not specified" >&2;}
4187 { (exit 1); exit 1; }; } ;;
4188 no
) REPORT_BUGS_TO
="" ;;
4189 *) REPORT_BUGS_TO
="<URL:$withval>" ;;
4192 REPORT_BUGS_TO
="<URL:http://www.sourceware.org/bugzilla/>"
4198 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4200 # Check whether --enable-werror or --disable-werror was given.
4201 if test "${enable_werror+set}" = set; then
4202 enableval
="$enable_werror"
4203 case "${enableval}" in
4204 yes | y
) ERROR_ON_WARNING
="yes" ;;
4205 no | n
) ERROR_ON_WARNING
="no" ;;
4206 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4207 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4208 { (exit 1); exit 1; }; } ;;
4212 # Enable -Werror by default when using gcc
4213 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4214 ERROR_ON_WARNING
=yes
4218 if test "${ERROR_ON_WARNING}" = yes ; then
4219 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4220 NO_WERROR
="-Wno-error"
4223 if test "${GCC}" = yes ; then
4224 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4227 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4228 if test "${enable_build_warnings+set}" = set; then
4229 enableval
="$enable_build_warnings"
4230 case "${enableval}" in
4231 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4232 no
) if test "${GCC}" = yes ; then
4235 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4236 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4237 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4238 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4239 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4243 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4244 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4251 ac_config_headers
="$ac_config_headers config.h:config.in"
4254 if test -z "$target" ; then
4255 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4256 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4257 { (exit 1); exit 1; }; }
4259 if test -z "$host" ; then
4260 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
4261 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
4262 { (exit 1); exit 1; }; }
4266 ac_cpp
='$CPP $CPPFLAGS'
4267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4270 if test -n "$ac_tool_prefix"; then
4271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4272 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4273 echo "$as_me:$LINENO: checking for $ac_word" >&5
4274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4275 if test "${ac_cv_prog_CC+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 if test -n "$CC"; then
4279 ac_cv_prog_CC
="$CC" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CC"; then
4299 echo "$as_me:$LINENO: result: $CC" >&5
4300 echo "${ECHO_T}$CC" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4307 if test -z "$ac_cv_prog_CC"; then
4309 # Extract the first word of "gcc", so it can be a program name with args.
4310 set dummy gcc
; ac_word
=$2
4311 echo "$as_me:$LINENO: checking for $ac_word" >&5
4312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4314 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 if test -n "$ac_ct_CC"; then
4317 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir
=.
4324 for ac_exec_ext
in '' $ac_executable_extensions; do
4325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326 ac_cv_prog_ac_ct_CC
="gcc"
4327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4336 if test -n "$ac_ct_CC"; then
4337 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4338 echo "${ECHO_T}$ac_ct_CC" >&6
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4349 if test -z "$CC"; then
4350 if test -n "$ac_tool_prefix"; then
4351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4352 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4353 echo "$as_me:$LINENO: checking for $ac_word" >&5
4354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4355 if test "${ac_cv_prog_CC+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 if test -n "$CC"; then
4359 ac_cv_prog_CC
="$CC" # Let the user override the test.
4361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir
=.
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 if test -n "$CC"; then
4379 echo "$as_me:$LINENO: result: $CC" >&5
4380 echo "${ECHO_T}$CC" >&6
4382 echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6
4387 if test -z "$ac_cv_prog_CC"; then
4389 # Extract the first word of "cc", so it can be a program name with args.
4390 set dummy cc
; ac_word
=$2
4391 echo "$as_me:$LINENO: checking for $ac_word" >&5
4392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4393 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 if test -n "$ac_ct_CC"; then
4397 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir
=.
4404 for ac_exec_ext
in '' $ac_executable_extensions; do
4405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_ac_ct_CC
="cc"
4407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4416 if test -n "$ac_ct_CC"; then
4417 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4418 echo "${ECHO_T}$ac_ct_CC" >&6
4420 echo "$as_me:$LINENO: result: no" >&5
4421 echo "${ECHO_T}no" >&6
4430 if test -z "$CC"; then
4431 # Extract the first word of "cc", so it can be a program name with args.
4432 set dummy cc
; ac_word
=$2
4433 echo "$as_me:$LINENO: checking for $ac_word" >&5
4434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4435 if test "${ac_cv_prog_CC+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC
="$CC" # Let the user override the test.
4442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir
=.
4447 for ac_exec_ext
in '' $ac_executable_extensions; do
4448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4450 ac_prog_rejected
=yes
4454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 if test $ac_prog_rejected = yes; then
4461 # We found a bogon in the path, so make sure we never use it.
4462 set dummy
$ac_cv_prog_CC
4464 if test $# != 0; then
4465 # We chose a different compiler from the bogus one.
4466 # However, it has the same basename, so the bogon will be chosen
4467 # first if we set CC to just the basename; use the full file name.
4469 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4475 if test -n "$CC"; then
4476 echo "$as_me:$LINENO: result: $CC" >&5
4477 echo "${ECHO_T}$CC" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4484 if test -z "$CC"; then
4485 if test -n "$ac_tool_prefix"; then
4488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4489 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4490 echo "$as_me:$LINENO: checking for $ac_word" >&5
4491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4492 if test "${ac_cv_prog_CC+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 if test -n "$CC"; then
4496 ac_cv_prog_CC
="$CC" # Let the user override the test.
4498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir
=.
4503 for ac_exec_ext
in '' $ac_executable_extensions; do
4504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4505 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 if test -n "$CC"; then
4516 echo "$as_me:$LINENO: result: $CC" >&5
4517 echo "${ECHO_T}$CC" >&6
4519 echo "$as_me:$LINENO: result: no" >&5
4520 echo "${ECHO_T}no" >&6
4523 test -n "$CC" && break
4526 if test -z "$CC"; then
4530 # Extract the first word of "$ac_prog", so it can be a program name with args.
4531 set dummy
$ac_prog; ac_word
=$2
4532 echo "$as_me:$LINENO: checking for $ac_word" >&5
4533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 if test -n "$ac_ct_CC"; then
4538 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4544 test -z "$as_dir" && as_dir
=.
4545 for ac_exec_ext
in '' $ac_executable_extensions; do
4546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4547 ac_cv_prog_ac_ct_CC
="$ac_prog"
4548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4557 if test -n "$ac_ct_CC"; then
4558 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4559 echo "${ECHO_T}$ac_ct_CC" >&6
4561 echo "$as_me:$LINENO: result: no" >&5
4562 echo "${ECHO_T}no" >&6
4565 test -n "$ac_ct_CC" && break
4574 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4575 See \`config.log' for more details." >&5
4576 echo "$as_me: error: no acceptable C compiler found in \$PATH
4577 See \`config.log' for more details." >&2;}
4578 { (exit 1); exit 1; }; }
4580 # Provide some information about the compiler.
4581 echo "$as_me:$LINENO:" \
4582 "checking for C compiler version" >&5
4583 ac_compiler
=`set X $ac_compile; echo $2`
4584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4585 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }
4589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4590 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }
4594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4595 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }
4600 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4601 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4602 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4623 rm -f conftest.
$ac_objext
4624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625 (eval $ac_compile) 2>conftest.er1
4627 grep -v '^ *+' conftest.er1
>conftest.err
4629 cat conftest.err
>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } &&
4632 { ac_try
='test -z "$ac_c_werror_flag"
4633 || test ! -s conftest.err'
4634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; } &&
4639 { ac_try
='test -s conftest.$ac_objext'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; }; then
4647 echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.
$ac_ext >&5
4652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4653 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4656 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4657 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4658 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4659 ac_test_CFLAGS
=${CFLAGS+set}
4660 ac_save_CFLAGS
=$CFLAGS
4662 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4663 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4664 if test "${ac_cv_prog_cc_g+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 cat >conftest.
$ac_ext <<_ACEOF
4670 cat confdefs.h
>>conftest.
$ac_ext
4671 cat >>conftest.
$ac_ext <<_ACEOF
4672 /* end confdefs.h. */
4682 rm -f conftest.
$ac_objext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4684 (eval $ac_compile) 2>conftest.er1
4686 grep -v '^ *+' conftest.er1
>conftest.err
4688 cat conftest.err
>&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try
='test -z "$ac_c_werror_flag"
4692 || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try
='test -s conftest.$ac_objext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4714 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4715 if test "$ac_test_CFLAGS" = set; then
4716 CFLAGS
=$ac_save_CFLAGS
4717 elif test $ac_cv_prog_cc_g = yes; then
4718 if test "$GCC" = yes; then
4724 if test "$GCC" = yes; then
4730 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4731 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4732 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 ac_cv_prog_cc_stdc
=no
4737 cat >conftest.
$ac_ext <<_ACEOF
4740 cat confdefs.h
>>conftest.
$ac_ext
4741 cat >>conftest.
$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4745 #include <sys/types.h>
4746 #include <sys/stat.h>
4747 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4748 struct buf { int x; };
4749 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4750 static char *e (p, i)
4756 static char *f (char * (*g) (char **, int), char **p, ...)
4761 s = g (p, va_arg (v,int));
4766 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4767 function prototypes and stuff, but not '\xHH' hex character constants.
4768 These don't provoke an error unfortunately, instead are silently treated
4769 as 'x'. The following induces an error, until -std1 is added to get
4770 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4771 array size at least. It's necessary to write '\x00'==0 to get something
4772 that's true only with -std1. */
4773 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4775 int test (int i, double x);
4776 struct s1 {int (*f) (int a);};
4777 struct s2 {int (*f) (double a);};
4778 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4784 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4789 # Don't try gcc -ansi; that turns off useful extensions and
4790 # breaks some systems' header files.
4791 # AIX -qlanglvl=ansi
4792 # Ultrix and OSF/1 -std1
4793 # HP-UX 10.20 and later -Ae
4794 # HP-UX older versions -Aa -D_HPUX_SOURCE
4795 # SVR4 -Xc -D__EXTENSIONS__
4796 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4798 CC
="$ac_save_CC $ac_arg"
4799 rm -f conftest.
$ac_objext
4800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801 (eval $ac_compile) 2>conftest.er1
4803 grep -v '^ *+' conftest.er1
>conftest.err
4805 cat conftest.err
>&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } &&
4808 { ac_try
='test -z "$ac_c_werror_flag"
4809 || test ! -s conftest.err'
4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; } &&
4815 { ac_try
='test -s conftest.$ac_objext'
4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }; then
4821 ac_cv_prog_cc_stdc
=$ac_arg
4824 echo "$as_me: failed program was:" >&5
4825 sed 's/^/| /' conftest.
$ac_ext >&5
4828 rm -f conftest.err conftest.
$ac_objext
4830 rm -f conftest.
$ac_ext conftest.
$ac_objext
4835 case "x$ac_cv_prog_cc_stdc" in
4837 echo "$as_me:$LINENO: result: none needed" >&5
4838 echo "${ECHO_T}none needed" >&6 ;;
4840 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4841 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4842 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4845 # Some people use a C++ compiler to compile C. Since we use `exit',
4846 # in C++ we need to declare it. In case someone uses the same compiler
4847 # for both compiling C and C++ we need to have the C++ compiler decide
4848 # the declaration of exit, since it's the most demanding environment.
4849 cat >conftest.
$ac_ext <<_ACEOF
4854 rm -f conftest.
$ac_objext
4855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>conftest.er1
4858 grep -v '^ *+' conftest.er1
>conftest.err
4860 cat conftest.err
>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try
='test -z "$ac_c_werror_flag"
4864 || test ! -s conftest.err'
4865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; } &&
4870 { ac_try
='test -s conftest.$ac_objext'
4871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); }; }; then
4876 for ac_declaration
in \
4878 'extern "C" void std::exit (int) throw (); using std::exit;' \
4879 'extern "C" void std::exit (int); using std::exit;' \
4880 'extern "C" void exit (int) throw ();' \
4881 'extern "C" void exit (int);' \
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4900 rm -f conftest.
$ac_objext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4902 (eval $ac_compile) 2>conftest.er1
4904 grep -v '^ *+' conftest.er1
>conftest.err
4906 cat conftest.err
>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } &&
4909 { ac_try
='test -z "$ac_c_werror_flag"
4910 || test ! -s conftest.err'
4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; } &&
4916 { ac_try
='test -s conftest.$ac_objext'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; }; then
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 cat >conftest.
$ac_ext <<_ACEOF
4933 cat confdefs.h
>>conftest.
$ac_ext
4934 cat >>conftest.
$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4945 rm -f conftest.
$ac_objext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>conftest.er1
4949 grep -v '^ *+' conftest.er1
>conftest.err
4951 cat conftest.err
>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
4954 { ac_try
='test -z "$ac_c_werror_flag"
4955 || test ! -s conftest.err'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; } &&
4961 { ac_try
='test -s conftest.$ac_objext'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; }; then
4969 echo "$as_me: failed program was:" >&5
4970 sed 's/^/| /' conftest.
$ac_ext >&5
4973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4976 if test -n "$ac_declaration"; then
4977 echo '#ifdef __cplusplus' >>confdefs.h
4978 echo $ac_declaration >>confdefs.h
4979 echo '#endif' >>confdefs.h
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.
$ac_ext >&5
4987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4989 ac_cpp
='$CPP $CPPFLAGS'
4990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4995 cat >>confdefs.h
<<\_ACEOF
4996 #define _GNU_SOURCE 1
5001 for ac_prog
in 'bison -y' byacc
5003 # Extract the first word of "$ac_prog", so it can be a program name with args.
5004 set dummy
$ac_prog; ac_word
=$2
5005 echo "$as_me:$LINENO: checking for $ac_word" >&5
5006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5007 if test "${ac_cv_prog_YACC+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 if test -n "$YACC"; then
5011 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_exec_ext
in '' $ac_executable_extensions; do
5019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_YACC
="$ac_prog"
5021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 YACC
=$ac_cv_prog_YACC
5030 if test -n "$YACC"; then
5031 echo "$as_me:$LINENO: result: $YACC" >&5
5032 echo "${ECHO_T}$YACC" >&6
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5038 test -n "$YACC" && break
5040 test -n "$YACC" || YACC
="yacc"
5042 for ac_prog
in flex
lex
5044 # Extract the first word of "$ac_prog", so it can be a program name with args.
5045 set dummy
$ac_prog; ac_word
=$2
5046 echo "$as_me:$LINENO: checking for $ac_word" >&5
5047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5048 if test "${ac_cv_prog_LEX+set}" = set; then
5049 echo $ECHO_N "(cached) $ECHO_C" >&6
5051 if test -n "$LEX"; then
5052 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_LEX
="$ac_prog"
5062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 if test -n "$LEX"; then
5072 echo "$as_me:$LINENO: result: $LEX" >&5
5073 echo "${ECHO_T}$LEX" >&6
5075 echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6
5079 test -n "$LEX" && break
5081 test -n "$LEX" || LEX
=":"
5083 if test -z "$LEXLIB"
5085 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5086 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5087 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 ac_check_lib_save_LIBS
=$LIBS
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5099 /* Override any gcc2 internal prototype to avoid an error. */
5103 /* We use char because int might match the return type of a gcc2
5104 builtin and then its argument prototype would still apply. */
5114 rm -f conftest.
$ac_objext conftest
$ac_exeext
5115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5116 (eval $ac_link) 2>conftest.er1
5118 grep -v '^ *+' conftest.er1
>conftest.err
5120 cat conftest.err
>&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } &&
5123 { ac_try
='test -z "$ac_c_werror_flag"
5124 || test ! -s conftest.err'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; } &&
5130 { ac_try
='test -s conftest$ac_exeext'
5131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); }; }; then
5136 ac_cv_lib_fl_yywrap
=yes
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.
$ac_ext >&5
5141 ac_cv_lib_fl_yywrap
=no
5143 rm -f conftest.err conftest.
$ac_objext \
5144 conftest
$ac_exeext conftest.
$ac_ext
5145 LIBS
=$ac_check_lib_save_LIBS
5147 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5148 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5149 if test $ac_cv_lib_fl_yywrap = yes; then
5152 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5153 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
5154 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 ac_check_lib_save_LIBS
=$LIBS
5159 cat >conftest.
$ac_ext <<_ACEOF
5162 cat confdefs.h
>>conftest.
$ac_ext
5163 cat >>conftest.
$ac_ext <<_ACEOF
5164 /* end confdefs.h. */
5166 /* Override any gcc2 internal prototype to avoid an error. */
5170 /* We use char because int might match the return type of a gcc2
5171 builtin and then its argument prototype would still apply. */
5181 rm -f conftest.
$ac_objext conftest
$ac_exeext
5182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5183 (eval $ac_link) 2>conftest.er1
5185 grep -v '^ *+' conftest.er1
>conftest.err
5187 cat conftest.err
>&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } &&
5190 { ac_try
='test -z "$ac_c_werror_flag"
5191 || test ! -s conftest.err'
5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); }; } &&
5197 { ac_try
='test -s conftest$ac_exeext'
5198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); }; }; then
5203 ac_cv_lib_l_yywrap
=yes
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.
$ac_ext >&5
5208 ac_cv_lib_l_yywrap
=no
5210 rm -f conftest.err conftest.
$ac_objext \
5211 conftest
$ac_exeext conftest.
$ac_ext
5212 LIBS
=$ac_check_lib_save_LIBS
5214 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5215 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
5216 if test $ac_cv_lib_l_yywrap = yes; then
5224 if test "x$LEX" != "x:"; then
5225 echo "$as_me:$LINENO: checking lex output file root" >&5
5226 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
5227 if test "${ac_cv_prog_lex_root+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 # The minimal lex program is just a single line: %%. But some broken lexes
5231 # (Solaris, I think it was) want two %% lines, so accommodate them.
5232 cat >conftest.l
<<_ACEOF
5236 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5237 (eval $LEX conftest.l
) 2>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }
5241 if test -f lex.yy.c
; then
5242 ac_cv_prog_lex_root
=lex.yy
5243 elif test -f lexyy.c
; then
5244 ac_cv_prog_lex_root
=lexyy
5246 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5247 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5248 { (exit 1); exit 1; }; }
5251 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5252 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
5254 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5256 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5257 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
5258 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 # POSIX says lex can declare yytext either as a pointer or an array; the
5262 # default is implementation-dependent. Figure out which it is, since
5263 # not all implementations provide the %pointer and %array declarations.
5264 ac_cv_prog_lex_yytext_pointer
=no
5265 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5267 LIBS
="$LIBS $LEXLIB"
5268 cat >conftest.
$ac_ext <<_ACEOF
5269 `cat $LEX_OUTPUT_ROOT.c`
5271 rm -f conftest.
$ac_objext conftest
$ac_exeext
5272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5273 (eval $ac_link) 2>conftest.er1
5275 grep -v '^ *+' conftest.er1
>conftest.err
5277 cat conftest.err
>&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } &&
5280 { ac_try
='test -z "$ac_c_werror_flag"
5281 || test ! -s conftest.err'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); }; } &&
5287 { ac_try
='test -s conftest$ac_exeext'
5288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); }; }; then
5293 ac_cv_prog_lex_yytext_pointer
=yes
5295 echo "$as_me: failed program was:" >&5
5296 sed 's/^/| /' conftest.
$ac_ext >&5
5299 rm -f conftest.err conftest.
$ac_objext \
5300 conftest
$ac_exeext conftest.
$ac_ext
5302 rm -f "${LEX_OUTPUT_ROOT}.c"
5305 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5306 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
5307 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5309 cat >>confdefs.h
<<\_ACEOF
5310 #define YYTEXT_POINTER 1
5316 if test "$LEX" = :; then
5317 LEX
=${am_missing_run}flex
5320 ALL_LINGUAS
="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi"
5321 # If we haven't got the data from the intl directory,
5322 # assume NLS is disabled.
5331 if test -f ..
/intl
/config.intl
; then
5332 . ..
/intl
/config.intl
5334 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5335 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5336 if test x
"$USE_NLS" != xyes
; then
5337 echo "$as_me:$LINENO: result: no" >&5
5338 echo "${ECHO_T}no" >&6
5340 echo "$as_me:$LINENO: result: yes" >&5
5341 echo "${ECHO_T}yes" >&6
5343 cat >>confdefs.h
<<\_ACEOF
5344 #define ENABLE_NLS 1
5348 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5349 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5350 # Look for .po and .gmo files in the source directory.
5353 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5354 # If there aren't any .gmo files the shell will give us the
5355 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5357 case "$cat" in *\
**)
5360 # The quadruple backslash is collapsed to a double backslash
5361 # by the backticks, then collapsed again by the double quotes,
5362 # leaving us with one backslash in the sed expression (right
5363 # before the dot that mustn't act as a wildcard).
5364 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5365 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5366 # The user is allowed to set LINGUAS to a list of languages to
5367 # install catalogs for. If it's empty that means "all of them."
5368 if test "x$LINGUAS" = x
; then
5369 CATALOGS
="$CATALOGS $cat"
5370 XLINGUAS
="$XLINGUAS $lang"
5372 case "$LINGUAS" in *$lang*)
5373 CATALOGS
="$CATALOGS $cat"
5374 XLINGUAS
="$XLINGUAS $lang"
5380 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5381 echo "${ECHO_T}$LINGUAS" >&6
5395 if test -n "$ac_aux_dir"; then
5396 case "$ac_aux_dir" in
5397 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5398 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5401 if test -z "$MKINSTALLDIRS"; then
5402 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5407 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5408 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5409 # Check whether --enable-nls or --disable-nls was given.
5410 if test "${enable_nls+set}" = set; then
5411 enableval
="$enable_nls"
5416 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5417 echo "${ECHO_T}$USE_NLS" >&6
5424 # Prepare PATH_SEPARATOR.
5425 # The user is always right.
5426 if test "${PATH_SEPARATOR+set}" != set; then
5427 echo "#! /bin/sh" >conf$$.sh
5428 echo "exit 0" >>conf$$.sh
5430 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5438 # Find out how to test for executable files. Don't use a zero-byte file,
5439 # as systems may use methods other than mode bits to determine executability.
5440 cat >conf$$.
file <<_ASEOF
5444 chmod +x conf$$.
file
5445 if test -x conf$$.
file >/dev
/null
2>&1; then
5446 ac_executable_p
="test -x"
5448 ac_executable_p
="test -f"
5452 # Extract the first word of "msgfmt", so it can be a program name with args.
5453 set dummy msgfmt
; ac_word
=$2
5454 echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5456 if test "${ac_cv_path_MSGFMT+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5464 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5465 for ac_dir
in $PATH; do
5467 test -z "$ac_dir" && ac_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5470 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5471 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5472 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5479 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5483 MSGFMT
="$ac_cv_path_MSGFMT"
5484 if test "$MSGFMT" != ":"; then
5485 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5486 echo "${ECHO_T}$MSGFMT" >&6
5488 echo "$as_me:$LINENO: result: no" >&5
5489 echo "${ECHO_T}no" >&6
5492 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5493 set dummy gmsgfmt
; ac_word
=$2
5494 echo "$as_me:$LINENO: checking for $ac_word" >&5
5495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5496 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir
=.
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5522 GMSGFMT
=$ac_cv_path_GMSGFMT
5524 if test -n "$GMSGFMT"; then
5525 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5526 echo "${ECHO_T}$GMSGFMT" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5534 # Prepare PATH_SEPARATOR.
5535 # The user is always right.
5536 if test "${PATH_SEPARATOR+set}" != set; then
5537 echo "#! /bin/sh" >conf$$.sh
5538 echo "exit 0" >>conf$$.sh
5540 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5548 # Find out how to test for executable files. Don't use a zero-byte file,
5549 # as systems may use methods other than mode bits to determine executability.
5550 cat >conf$$.
file <<_ASEOF
5554 chmod +x conf$$.
file
5555 if test -x conf$$.
file >/dev
/null
2>&1; then
5556 ac_executable_p
="test -x"
5558 ac_executable_p
="test -f"
5562 # Extract the first word of "xgettext", so it can be a program name with args.
5563 set dummy xgettext
; ac_word
=$2
5564 echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5566 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5574 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5575 for ac_dir
in $PATH; do
5577 test -z "$ac_dir" && ac_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5580 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5581 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5582 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5589 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5593 XGETTEXT
="$ac_cv_path_XGETTEXT"
5594 if test "$XGETTEXT" != ":"; then
5595 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5596 echo "${ECHO_T}$XGETTEXT" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5605 # Prepare PATH_SEPARATOR.
5606 # The user is always right.
5607 if test "${PATH_SEPARATOR+set}" != set; then
5608 echo "#! /bin/sh" >conf$$.sh
5609 echo "exit 0" >>conf$$.sh
5611 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5619 # Find out how to test for executable files. Don't use a zero-byte file,
5620 # as systems may use methods other than mode bits to determine executability.
5621 cat >conf$$.
file <<_ASEOF
5625 chmod +x conf$$.
file
5626 if test -x conf$$.
file >/dev
/null
2>&1; then
5627 ac_executable_p
="test -x"
5629 ac_executable_p
="test -f"
5633 # Extract the first word of "msgmerge", so it can be a program name with args.
5634 set dummy msgmerge
; ac_word
=$2
5635 echo "$as_me:$LINENO: checking for $ac_word" >&5
5636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5637 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5645 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5646 for ac_dir
in $PATH; do
5648 test -z "$ac_dir" && ac_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5651 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5652 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5659 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5663 MSGMERGE
="$ac_cv_path_MSGMERGE"
5664 if test "$MSGMERGE" != ":"; then
5665 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5666 echo "${ECHO_T}$MSGMERGE" >&6
5668 echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6
5673 if test "$GMSGFMT" != ":"; then
5674 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5675 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5678 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5679 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5680 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5685 if test "$XGETTEXT" != ":"; then
5686 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5687 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5690 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5691 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5697 ac_config_commands
="$ac_config_commands default-1"
5701 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5702 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5703 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5704 if test "${enable_maintainer_mode+set}" = set; then
5705 enableval
="$enable_maintainer_mode"
5706 USE_MAINTAINER_MODE
=$enableval
5708 USE_MAINTAINER_MODE
=no
5710 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5711 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5714 if test $USE_MAINTAINER_MODE = yes; then
5715 MAINTAINER_MODE_TRUE
=
5716 MAINTAINER_MODE_FALSE
='#'
5718 MAINTAINER_MODE_TRUE
='#'
5719 MAINTAINER_MODE_FALSE
=
5722 MAINT
=$MAINTAINER_MODE_TRUE
5728 GENINSRC_NEVER_TRUE
=
5729 GENINSRC_NEVER_FALSE
='#'
5731 GENINSRC_NEVER_TRUE
='#'
5732 GENINSRC_NEVER_FALSE
=
5736 if test -n "$EXEEXT"; then
5738 cat >>confdefs.h
<<\_ACEOF
5739 #define HAVE_EXECUTABLE_SUFFIX 1
5744 cat >>confdefs.h
<<_ACEOF
5745 #define EXECUTABLE_SUFFIX "${EXEEXT}"
5749 # host-specific stuff:
5753 .
${srcdir}/..
/bfd
/configure.
host
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5760 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5761 echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5763 if test "${ac_cv_prog_RANLIB+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$RANLIB"; then
5767 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 RANLIB
=$ac_cv_prog_RANLIB
5786 if test -n "$RANLIB"; then
5787 echo "$as_me:$LINENO: result: $RANLIB" >&5
5788 echo "${ECHO_T}$RANLIB" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5795 if test -z "$ac_cv_prog_RANLIB"; then
5796 ac_ct_RANLIB
=$RANLIB
5797 # Extract the first word of "ranlib", so it can be a program name with args.
5798 set dummy ranlib
; ac_word
=$2
5799 echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$ac_ct_RANLIB"; then
5805 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir
=.
5812 for ac_exec_ext
in '' $ac_executable_extensions; do
5813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5824 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5825 if test -n "$ac_ct_RANLIB"; then
5826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5829 echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6
5833 RANLIB
=$ac_ct_RANLIB
5835 RANLIB
="$ac_cv_prog_RANLIB"
5838 # Find a good install program. We prefer a C program (faster),
5839 # so one script is as good as another. But avoid the broken or
5840 # incompatible versions:
5841 # SysV /etc/install, /usr/sbin/install
5842 # SunOS /usr/etc/install
5843 # IRIX /sbin/install
5845 # AmigaOS /C/install, which installs bootblocks on floppy discs
5846 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5847 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5848 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5849 # OS/2's system install, which has a completely different semantic
5850 # ./install, which can be erroneously created by make from ./install.sh.
5851 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5852 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5853 if test -z "$INSTALL"; then
5854 if test "${ac_cv_path_install+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 # Account for people who put trailing slashes in PATH elements.
5864 .
/ | .
// |
/cC
/* | \
5865 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5866 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5869 # OSF1 and SCO ODT 3.0 have their own names for install.
5870 # Don't use installbsd from OSF since it installs stuff as root
5872 for ac_prog
in ginstall scoinst
install; do
5873 for ac_exec_ext
in '' $ac_executable_extensions; do
5874 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5875 if test $ac_prog = install &&
5876 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5877 # AIX install. It has an incompatible calling convention.
5879 elif test $ac_prog = install &&
5880 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5881 # program-specific install script used by HP pwplus--don't use.
5884 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5896 if test "${ac_cv_path_install+set}" = set; then
5897 INSTALL
=$ac_cv_path_install
5899 # As a last resort, use the slow shell script. We don't cache a
5900 # path for INSTALL within a source directory, because that will
5901 # break other packages using the cache if that directory is
5902 # removed, or if the path is relative.
5903 INSTALL
=$ac_install_sh
5906 echo "$as_me:$LINENO: result: $INSTALL" >&5
5907 echo "${ECHO_T}$INSTALL" >&6
5909 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5910 # It thinks the first close brace ends the variable substitution.
5911 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5913 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5915 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5918 # Put a plausible default for CC_FOR_BUILD in Makefile.
5919 if test -z "$CC_FOR_BUILD"; then
5920 if test "x$cross_compiling" = "xno"; then
5921 CC_FOR_BUILD
='$(CC)'
5927 # Also set EXEEXT_FOR_BUILD.
5928 if test "x$cross_compiling" = "xno"; then
5929 EXEEXT_FOR_BUILD
='$(EXEEXT)'
5931 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
5932 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
5933 if test "${bfd_cv_build_exeext+set}" = set; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 echo 'int main () { return 0; }' > conftest.c
5938 bfd_cv_build_exeext
=
5939 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
5940 for file in conftest.
*; do
5942 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
5943 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
5947 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
5949 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
5950 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
5952 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
5956 DEMANGLER_NAME
=c
++filt
5958 *-*-go32* |
*-*-msdos*)
5959 DEMANGLER_NAME
=cxxfilt
5964 ac_cpp
='$CPP $CPPFLAGS'
5965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5968 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5969 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5970 # On Suns, sometimes $CPP names a directory.
5971 if test -n "$CPP" && test -d "$CPP"; then
5974 if test -z "$CPP"; then
5975 if test "${ac_cv_prog_CPP+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 # Double quotes because CPP needs to be expanded
5979 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5982 for ac_c_preproc_warn_flag
in '' yes
5984 # Use a header file that comes with gcc, so configuring glibc
5985 # with a fresh cross-compiler works.
5986 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5987 # <limits.h> exists even on freestanding compilers.
5988 # On the NeXT, cc -E runs the code through the compiler's parser,
5989 # not just through cpp. "Syntax error" is here to catch this case.
5990 cat >conftest.
$ac_ext <<_ACEOF
5993 cat confdefs.h
>>conftest.
$ac_ext
5994 cat >>conftest.
$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5997 # include <limits.h>
5999 # include <assert.h>
6003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6006 grep -v '^ *+' conftest.er1
>conftest.err
6008 cat conftest.err
>&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } >/dev
/null
; then
6011 if test -s conftest.err
; then
6012 ac_cpp_err
=$ac_c_preproc_warn_flag
6013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6020 if test -z "$ac_cpp_err"; then
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6026 # Broken: fails on valid input.
6029 rm -f conftest.err conftest.
$ac_ext
6031 # OK, works on sane cases. Now check whether non-existent headers
6032 # can be detected and how.
6033 cat >conftest.
$ac_ext <<_ACEOF
6036 cat confdefs.h
>>conftest.
$ac_ext
6037 cat >>conftest.
$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6039 #include <ac_nonexistent.h>
6041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6044 grep -v '^ *+' conftest.er1
>conftest.err
6046 cat conftest.err
>&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); } >/dev
/null
; then
6049 if test -s conftest.err
; then
6050 ac_cpp_err
=$ac_c_preproc_warn_flag
6051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6058 if test -z "$ac_cpp_err"; then
6059 # Broken: success on invalid input.
6062 echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.
$ac_ext >&5
6065 # Passes both tests.
6069 rm -f conftest.err conftest.
$ac_ext
6072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6073 rm -f conftest.err conftest.
$ac_ext
6074 if $ac_preproc_ok; then
6086 echo "$as_me:$LINENO: result: $CPP" >&5
6087 echo "${ECHO_T}$CPP" >&6
6089 for ac_c_preproc_warn_flag
in '' yes
6091 # Use a header file that comes with gcc, so configuring glibc
6092 # with a fresh cross-compiler works.
6093 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6094 # <limits.h> exists even on freestanding compilers.
6095 # On the NeXT, cc -E runs the code through the compiler's parser,
6096 # not just through cpp. "Syntax error" is here to catch this case.
6097 cat >conftest.
$ac_ext <<_ACEOF
6100 cat confdefs.h
>>conftest.
$ac_ext
6101 cat >>conftest.
$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6104 # include <limits.h>
6106 # include <assert.h>
6110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6113 grep -v '^ *+' conftest.er1
>conftest.err
6115 cat conftest.err
>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } >/dev
/null
; then
6118 if test -s conftest.err
; then
6119 ac_cpp_err
=$ac_c_preproc_warn_flag
6120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6127 if test -z "$ac_cpp_err"; then
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.
$ac_ext >&5
6133 # Broken: fails on valid input.
6136 rm -f conftest.err conftest.
$ac_ext
6138 # OK, works on sane cases. Now check whether non-existent headers
6139 # can be detected and how.
6140 cat >conftest.
$ac_ext <<_ACEOF
6143 cat confdefs.h
>>conftest.
$ac_ext
6144 cat >>conftest.
$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6146 #include <ac_nonexistent.h>
6148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6151 grep -v '^ *+' conftest.er1
>conftest.err
6153 cat conftest.err
>&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } >/dev
/null
; then
6156 if test -s conftest.err
; then
6157 ac_cpp_err
=$ac_c_preproc_warn_flag
6158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6165 if test -z "$ac_cpp_err"; then
6166 # Broken: success on invalid input.
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.
$ac_ext >&5
6172 # Passes both tests.
6176 rm -f conftest.err conftest.
$ac_ext
6179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6180 rm -f conftest.err conftest.
$ac_ext
6181 if $ac_preproc_ok; then
6184 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6185 See \`config.log' for more details." >&5
6186 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6187 See \`config.log' for more details." >&2;}
6188 { (exit 1); exit 1; }; }
6192 ac_cpp
='$CPP $CPPFLAGS'
6193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6198 echo "$as_me:$LINENO: checking for egrep" >&5
6199 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6200 if test "${ac_cv_prog_egrep+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6204 then ac_cv_prog_egrep
='grep -E'
6205 else ac_cv_prog_egrep
='egrep'
6208 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6209 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6210 EGREP
=$ac_cv_prog_egrep
6213 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6214 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6215 if test "${ac_cv_header_stdc+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 cat >conftest.
$ac_ext <<_ACEOF
6221 cat confdefs.h
>>conftest.
$ac_ext
6222 cat >>conftest.
$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6237 rm -f conftest.
$ac_objext
6238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6239 (eval $ac_compile) 2>conftest.er1
6241 grep -v '^ *+' conftest.er1
>conftest.err
6243 cat conftest.err
>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } &&
6246 { ac_try
='test -z "$ac_c_werror_flag"
6247 || test ! -s conftest.err'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; } &&
6253 { ac_try
='test -s conftest.$ac_objext'
6254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); }; }; then
6259 ac_cv_header_stdc
=yes
6261 echo "$as_me: failed program was:" >&5
6262 sed 's/^/| /' conftest.
$ac_ext >&5
6264 ac_cv_header_stdc
=no
6266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6268 if test $ac_cv_header_stdc = yes; then
6269 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6270 cat >conftest.
$ac_ext <<_ACEOF
6273 cat confdefs.h
>>conftest.
$ac_ext
6274 cat >>conftest.
$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6280 $EGREP "memchr" >/dev
/null
2>&1; then
6283 ac_cv_header_stdc
=no
6289 if test $ac_cv_header_stdc = yes; then
6290 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6291 cat >conftest.
$ac_ext <<_ACEOF
6294 cat confdefs.h
>>conftest.
$ac_ext
6295 cat >>conftest.
$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6301 $EGREP "free" >/dev
/null
2>&1; then
6304 ac_cv_header_stdc
=no
6310 if test $ac_cv_header_stdc = yes; then
6311 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6312 if test "$cross_compiling" = yes; then
6315 cat >conftest.
$ac_ext <<_ACEOF
6318 cat confdefs.h
>>conftest.
$ac_ext
6319 cat >>conftest.
$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6322 #if ((' ' & 0x0FF) == 0x020)
6323 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6324 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6326 # define ISLOWER(c) \
6327 (('a' <= (c) && (c) <= 'i') \
6328 || ('j' <= (c) && (c) <= 'r') \
6329 || ('s' <= (c) && (c) <= 'z'))
6330 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6333 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6338 for (i = 0; i < 256; i++)
6339 if (XOR (islower (i), ISLOWER (i))
6340 || toupper (i) != TOUPPER (i))
6345 rm -f conftest
$ac_exeext
6346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6347 (eval $ac_link) 2>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6358 echo "$as_me: program exited with status $ac_status" >&5
6359 echo "$as_me: failed program was:" >&5
6360 sed 's/^/| /' conftest.
$ac_ext >&5
6363 ac_cv_header_stdc
=no
6365 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6369 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6370 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6371 if test $ac_cv_header_stdc = yes; then
6373 cat >>confdefs.h
<<\_ACEOF
6374 #define STDC_HEADERS 1
6379 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6389 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6390 inttypes.h stdint.h unistd.h
6392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6393 echo "$as_me:$LINENO: checking for $ac_header" >&5
6394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 cat >conftest.
$ac_ext <<_ACEOF
6401 cat confdefs.h
>>conftest.
$ac_ext
6402 cat >>conftest.
$ac_ext <<_ACEOF
6403 /* end confdefs.h. */
6404 $ac_includes_default
6406 #include <$ac_header>
6408 rm -f conftest.
$ac_objext
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410 (eval $ac_compile) 2>conftest.er1
6412 grep -v '^ *+' conftest.er1
>conftest.err
6414 cat conftest.err
>&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try
='test -z "$ac_c_werror_flag"
6418 || test ! -s conftest.err'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; } &&
6424 { ac_try
='test -s conftest.$ac_objext'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 eval "$as_ac_Header=yes"
6432 echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.
$ac_ext >&5
6435 eval "$as_ac_Header=no"
6437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6442 cat >>confdefs.h
<<_ACEOF
6443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6459 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h limits.h sys
/param.h
6461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6463 echo "$as_me:$LINENO: checking for $ac_header" >&5
6464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6471 # Is the header compilable?
6472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 $ac_includes_default
6481 #include <$ac_header>
6483 rm -f conftest.
$ac_objext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6485 (eval $ac_compile) 2>conftest.er1
6487 grep -v '^ *+' conftest.er1
>conftest.err
6489 cat conftest.err
>&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); } &&
6492 { ac_try
='test -z "$ac_c_werror_flag"
6493 || test ! -s conftest.err'
6494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); }; } &&
6499 { ac_try
='test -s conftest.$ac_objext'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; }; then
6505 ac_header_compiler
=yes
6507 echo "$as_me: failed program was:" >&5
6508 sed 's/^/| /' conftest.
$ac_ext >&5
6510 ac_header_compiler
=no
6512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6514 echo "${ECHO_T}$ac_header_compiler" >&6
6516 # Is the header present?
6517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6519 cat >conftest.
$ac_ext <<_ACEOF
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 #include <$ac_header>
6527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6530 grep -v '^ *+' conftest.er1
>conftest.err
6532 cat conftest.err
>&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); } >/dev
/null
; then
6535 if test -s conftest.err
; then
6536 ac_cpp_err
=$ac_c_preproc_warn_flag
6537 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6544 if test -z "$ac_cpp_err"; then
6545 ac_header_preproc
=yes
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.
$ac_ext >&5
6550 ac_header_preproc
=no
6552 rm -f conftest.err conftest.
$ac_ext
6553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6554 echo "${ECHO_T}$ac_header_preproc" >&6
6556 # So? What about this header?
6557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6563 ac_header_preproc
=yes
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6580 ## ------------------------------------------ ##
6581 ## Report this to the AC_PACKAGE_NAME lists. ##
6582 ## ------------------------------------------ ##
6585 sed "s/^/$as_me: WARNING: /" >&2
6588 echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 eval "$as_ac_Header=\$ac_header_preproc"
6595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6600 cat >>confdefs.h
<<_ACEOF
6601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6608 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6609 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6610 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 #include <sys/wait.h>
6622 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6625 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6633 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6638 rm -f conftest.
$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640 (eval $ac_compile) 2>conftest.er1
6642 grep -v '^ *+' conftest.er1
>conftest.err
6644 cat conftest.err
>&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try
='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try
='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 ac_cv_header_sys_wait_h
=yes
6662 echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.
$ac_ext >&5
6665 ac_cv_header_sys_wait_h
=no
6667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6669 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6670 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6671 if test $ac_cv_header_sys_wait_h = yes; then
6673 cat >>confdefs.h
<<\_ACEOF
6674 #define HAVE_SYS_WAIT_H 1
6679 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6680 # for constant arguments. Useless!
6681 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6682 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6683 if test "${ac_cv_working_alloca_h+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 cat >conftest.
$ac_ext <<_ACEOF
6689 cat confdefs.h
>>conftest.
$ac_ext
6690 cat >>conftest.
$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6696 char *p = (char *) alloca (2 * sizeof (int));
6701 rm -f conftest.
$ac_objext conftest
$ac_exeext
6702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6703 (eval $ac_link) 2>conftest.er1
6705 grep -v '^ *+' conftest.er1
>conftest.err
6707 cat conftest.err
>&5
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); } &&
6710 { ac_try
='test -z "$ac_c_werror_flag"
6711 || test ! -s conftest.err'
6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; } &&
6717 { ac_try
='test -s conftest$ac_exeext'
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); }; }; then
6723 ac_cv_working_alloca_h
=yes
6725 echo "$as_me: failed program was:" >&5
6726 sed 's/^/| /' conftest.
$ac_ext >&5
6728 ac_cv_working_alloca_h
=no
6730 rm -f conftest.err conftest.
$ac_objext \
6731 conftest
$ac_exeext conftest.
$ac_ext
6733 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6734 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6735 if test $ac_cv_working_alloca_h = yes; then
6737 cat >>confdefs.h
<<\_ACEOF
6738 #define HAVE_ALLOCA_H 1
6743 echo "$as_me:$LINENO: checking for alloca" >&5
6744 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6745 if test "${ac_cv_func_alloca_works+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 cat >conftest.
$ac_ext <<_ACEOF
6751 cat confdefs.h
>>conftest.
$ac_ext
6752 cat >>conftest.
$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6755 # define alloca __builtin_alloca
6758 # include <malloc.h>
6759 # define alloca _alloca
6762 # include <alloca.h>
6767 # ifndef alloca /* predefined by HP cc +Olibcalls */
6778 char *p = (char *) alloca (1);
6783 rm -f conftest.
$ac_objext conftest
$ac_exeext
6784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6785 (eval $ac_link) 2>conftest.er1
6787 grep -v '^ *+' conftest.er1
>conftest.err
6789 cat conftest.err
>&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); } &&
6792 { ac_try
='test -z "$ac_c_werror_flag"
6793 || test ! -s conftest.err'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; } &&
6799 { ac_try
='test -s conftest$ac_exeext'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; }; then
6805 ac_cv_func_alloca_works
=yes
6807 echo "$as_me: failed program was:" >&5
6808 sed 's/^/| /' conftest.
$ac_ext >&5
6810 ac_cv_func_alloca_works
=no
6812 rm -f conftest.err conftest.
$ac_objext \
6813 conftest
$ac_exeext conftest.
$ac_ext
6815 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6816 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6818 if test $ac_cv_func_alloca_works = yes; then
6820 cat >>confdefs.h
<<\_ACEOF
6821 #define HAVE_ALLOCA 1
6825 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6826 # that cause trouble. Some versions do not even contain alloca or
6827 # contain a buggy version. If you still want to use their alloca,
6828 # use ar to extract alloca.o from them instead of compiling alloca.c.
6830 ALLOCA
=alloca.
$ac_objext
6832 cat >>confdefs.h
<<\_ACEOF
6837 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6838 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6839 if test "${ac_cv_os_cray+set}" = set; then
6840 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 cat >conftest.
$ac_ext <<_ACEOF
6845 cat confdefs.h
>>conftest.
$ac_ext
6846 cat >>conftest.
$ac_ext <<_ACEOF
6847 /* end confdefs.h. */
6848 #if defined(CRAY) && ! defined(CRAY2)
6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "webecray" >/dev
/null
2>&1; then
6864 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6865 echo "${ECHO_T}$ac_cv_os_cray" >&6
6866 if test $ac_cv_os_cray = yes; then
6867 for ac_func
in _getb67 GETB67 getb67
; do
6868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6869 echo "$as_me:$LINENO: checking for $ac_func" >&5
6870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6871 if eval "test \"\${$as_ac_var+set}\" = set"; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 cat >conftest.
$ac_ext <<_ACEOF
6877 cat confdefs.h
>>conftest.
$ac_ext
6878 cat >>conftest.
$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6882 #define $ac_func innocuous_$ac_func
6884 /* System header to define __stub macros and hopefully few prototypes,
6885 which can conflict with char $ac_func (); below.
6886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6887 <limits.h> exists even on freestanding compilers. */
6890 # include <limits.h>
6892 # include <assert.h>
6897 /* Override any gcc2 internal prototype to avoid an error. */
6902 /* We use char because int might match the return type of a gcc2
6903 builtin and then its argument prototype would still apply. */
6905 /* The GNU C library defines this for functions which it implements
6906 to always fail with ENOSYS. Some functions are actually named
6907 something starting with __ and the normal name is an alias. */
6908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6911 char (*f) () = $ac_func;
6920 return f != $ac_func;
6925 rm -f conftest.
$ac_objext conftest
$ac_exeext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6927 (eval $ac_link) 2>conftest.er1
6929 grep -v '^ *+' conftest.er1
>conftest.err
6931 cat conftest.err
>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 { ac_try
='test -z "$ac_c_werror_flag"
6935 || test ! -s conftest.err'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; } &&
6941 { ac_try
='test -s conftest$ac_exeext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6947 eval "$as_ac_var=yes"
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.
$ac_ext >&5
6952 eval "$as_ac_var=no"
6954 rm -f conftest.err conftest.
$ac_objext \
6955 conftest
$ac_exeext conftest.
$ac_ext
6957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6959 if test `eval echo '${'$as_ac_var'}'` = yes; then
6961 cat >>confdefs.h
<<_ACEOF
6962 #define CRAY_STACKSEG_END $ac_func
6971 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6972 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6973 if test "${ac_cv_c_stack_direction+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 if test "$cross_compiling" = yes; then
6977 ac_cv_c_stack_direction
=0
6979 cat >conftest.
$ac_ext <<_ACEOF
6982 cat confdefs.h
>>conftest.
$ac_ext
6983 cat >>conftest.
$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6986 find_stack_direction ()
6988 static char *addr = 0;
6993 return find_stack_direction ();
6996 return (&dummy > addr) ? 1 : -1;
7002 exit (find_stack_direction () < 0);
7005 rm -f conftest
$ac_exeext
7006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7007 (eval $ac_link) 2>&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; }; then
7016 ac_cv_c_stack_direction
=1
7018 echo "$as_me: program exited with status $ac_status" >&5
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.
$ac_ext >&5
7023 ac_cv_c_stack_direction
=-1
7025 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7028 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7029 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7031 cat >>confdefs.h
<<_ACEOF
7032 #define STACK_DIRECTION $ac_cv_c_stack_direction
7043 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
7045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7046 echo "$as_me:$LINENO: checking for $ac_func" >&5
7047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7048 if eval "test \"\${$as_ac_var+set}\" = set"; then
7049 echo $ECHO_N "(cached) $ECHO_C" >&6
7051 cat >conftest.
$ac_ext <<_ACEOF
7054 cat confdefs.h
>>conftest.
$ac_ext
7055 cat >>conftest.
$ac_ext <<_ACEOF
7056 /* end confdefs.h. */
7057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7059 #define $ac_func innocuous_$ac_func
7061 /* System header to define __stub macros and hopefully few prototypes,
7062 which can conflict with char $ac_func (); below.
7063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7064 <limits.h> exists even on freestanding compilers. */
7067 # include <limits.h>
7069 # include <assert.h>
7074 /* Override any gcc2 internal prototype to avoid an error. */
7079 /* We use char because int might match the return type of a gcc2
7080 builtin and then its argument prototype would still apply. */
7082 /* The GNU C library defines this for functions which it implements
7083 to always fail with ENOSYS. Some functions are actually named
7084 something starting with __ and the normal name is an alias. */
7085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7088 char (*f) () = $ac_func;
7097 return f != $ac_func;
7102 rm -f conftest.
$ac_objext conftest
$ac_exeext
7103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7104 (eval $ac_link) 2>conftest.er1
7106 grep -v '^ *+' conftest.er1
>conftest.err
7108 cat conftest.err
>&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); } &&
7111 { ac_try
='test -z "$ac_c_werror_flag"
7112 || test ! -s conftest.err'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; } &&
7118 { ac_try
='test -s conftest$ac_exeext'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; }; then
7124 eval "$as_ac_var=yes"
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.
$ac_ext >&5
7129 eval "$as_ac_var=no"
7131 rm -f conftest.err conftest.
$ac_objext \
7132 conftest
$ac_exeext conftest.
$ac_ext
7134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7136 if test `eval echo '${'$as_ac_var'}'` = yes; then
7137 cat >>confdefs.h
<<_ACEOF
7138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7144 echo "$as_me:$LINENO: checking for mkstemp" >&5
7145 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
7146 if test "${ac_cv_func_mkstemp+set}" = set; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 cat >conftest.
$ac_ext <<_ACEOF
7152 cat confdefs.h
>>conftest.
$ac_ext
7153 cat >>conftest.
$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7155 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
7156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7157 #define mkstemp innocuous_mkstemp
7159 /* System header to define __stub macros and hopefully few prototypes,
7160 which can conflict with char mkstemp (); below.
7161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7162 <limits.h> exists even on freestanding compilers. */
7165 # include <limits.h>
7167 # include <assert.h>
7172 /* Override any gcc2 internal prototype to avoid an error. */
7177 /* We use char because int might match the return type of a gcc2
7178 builtin and then its argument prototype would still apply. */
7180 /* The GNU C library defines this for functions which it implements
7181 to always fail with ENOSYS. Some functions are actually named
7182 something starting with __ and the normal name is an alias. */
7183 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
7186 char (*f) () = mkstemp;
7195 return f != mkstemp;
7200 rm -f conftest.
$ac_objext conftest
$ac_exeext
7201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7202 (eval $ac_link) 2>conftest.er1
7204 grep -v '^ *+' conftest.er1
>conftest.err
7206 cat conftest.err
>&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } &&
7209 { ac_try
='test -z "$ac_c_werror_flag"
7210 || test ! -s conftest.err'
7211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); }; } &&
7216 { ac_try
='test -s conftest$ac_exeext'
7217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); }; }; then
7222 ac_cv_func_mkstemp
=yes
7224 echo "$as_me: failed program was:" >&5
7225 sed 's/^/| /' conftest.
$ac_ext >&5
7227 ac_cv_func_mkstemp
=no
7229 rm -f conftest.err conftest.
$ac_objext \
7230 conftest
$ac_exeext conftest.
$ac_ext
7232 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
7233 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
7234 if test $ac_cv_func_mkstemp = yes; then
7236 cat >>confdefs.h
<<\_ACEOF
7237 #define HAVE_MKSTEMP 1
7242 echo "$as_me:$LINENO: checking for mkdtemp" >&5
7243 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
7244 if test "${ac_cv_func_mkdtemp+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
7254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7255 #define mkdtemp innocuous_mkdtemp
7257 /* System header to define __stub macros and hopefully few prototypes,
7258 which can conflict with char mkdtemp (); below.
7259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7260 <limits.h> exists even on freestanding compilers. */
7263 # include <limits.h>
7265 # include <assert.h>
7270 /* Override any gcc2 internal prototype to avoid an error. */
7275 /* We use char because int might match the return type of a gcc2
7276 builtin and then its argument prototype would still apply. */
7278 /* The GNU C library defines this for functions which it implements
7279 to always fail with ENOSYS. Some functions are actually named
7280 something starting with __ and the normal name is an alias. */
7281 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
7284 char (*f) () = mkdtemp;
7293 return f != mkdtemp;
7298 rm -f conftest.
$ac_objext conftest
$ac_exeext
7299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7300 (eval $ac_link) 2>conftest.er1
7302 grep -v '^ *+' conftest.er1
>conftest.err
7304 cat conftest.err
>&5
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); } &&
7307 { ac_try
='test -z "$ac_c_werror_flag"
7308 || test ! -s conftest.err'
7309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); }; } &&
7314 { ac_try
='test -s conftest$ac_exeext'
7315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); }; }; then
7320 ac_cv_func_mkdtemp
=yes
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.
$ac_ext >&5
7325 ac_cv_func_mkdtemp
=no
7327 rm -f conftest.err conftest.
$ac_objext \
7328 conftest
$ac_exeext conftest.
$ac_ext
7330 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
7331 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
7332 if test $ac_cv_func_mkdtemp = yes; then
7334 cat >>confdefs.h
<<\_ACEOF
7335 #define HAVE_MKDTEMP 1
7341 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
7342 # needs to be defined for it
7343 echo "$as_me:$LINENO: checking for fopen64" >&5
7344 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
7345 if test "${bu_cv_have_fopen64+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 cat >conftest.
$ac_ext <<_ACEOF
7351 cat confdefs.h
>>conftest.
$ac_ext
7352 cat >>conftest.
$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7358 FILE *f = fopen64 ("/tmp/foo","r");
7363 rm -f conftest.
$ac_objext conftest
$ac_exeext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7365 (eval $ac_link) 2>conftest.er1
7367 grep -v '^ *+' conftest.er1
>conftest.err
7369 cat conftest.err
>&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try
='test -z "$ac_c_werror_flag"
7373 || test ! -s conftest.err'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try
='test -s conftest$ac_exeext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 bu_cv_have_fopen64
=yes
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.
$ac_ext >&5
7390 saved_CPPFLAGS
=$CPPFLAGS
7391 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
7392 cat >conftest.
$ac_ext <<_ACEOF
7395 cat confdefs.h
>>conftest.
$ac_ext
7396 cat >>conftest.
$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7402 FILE *f = fopen64 ("/tmp/foo","r");
7407 rm -f conftest.
$ac_objext conftest
$ac_exeext
7408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7409 (eval $ac_link) 2>conftest.er1
7411 grep -v '^ *+' conftest.er1
>conftest.err
7413 cat conftest.err
>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } &&
7416 { ac_try
='test -z "$ac_c_werror_flag"
7417 || test ! -s conftest.err'
7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; } &&
7423 { ac_try
='test -s conftest$ac_exeext'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; }; then
7429 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
7431 echo "$as_me: failed program was:" >&5
7432 sed 's/^/| /' conftest.
$ac_ext >&5
7434 bu_cv_have_fopen64
=no
7436 rm -f conftest.err conftest.
$ac_objext \
7437 conftest
$ac_exeext conftest.
$ac_ext
7438 CPPFLAGS
=$saved_CPPFLAGS
7440 rm -f conftest.err conftest.
$ac_objext \
7441 conftest
$ac_exeext conftest.
$ac_ext
7444 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
7445 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
7446 if test "$bu_cv_have_fopen64" != no
; then
7448 cat >>confdefs.h
<<\_ACEOF
7449 #define HAVE_FOPEN64 1
7453 echo "$as_me:$LINENO: checking for stat64" >&5
7454 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
7455 if test "${bu_cv_have_stat64+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7458 cat >conftest.
$ac_ext <<_ACEOF
7461 cat confdefs.h
>>conftest.
$ac_ext
7462 cat >>conftest.
$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 #include <sys/stat.h>
7468 struct stat64 st; stat64 ("/tmp/foo", &st);
7473 rm -f conftest.
$ac_objext conftest
$ac_exeext
7474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7475 (eval $ac_link) 2>conftest.er1
7477 grep -v '^ *+' conftest.er1
>conftest.err
7479 cat conftest.err
>&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } &&
7482 { ac_try
='test -z "$ac_c_werror_flag"
7483 || test ! -s conftest.err'
7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; } &&
7489 { ac_try
='test -s conftest$ac_exeext'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; }; then
7495 bu_cv_have_stat64
=yes
7497 echo "$as_me: failed program was:" >&5
7498 sed 's/^/| /' conftest.
$ac_ext >&5
7500 saved_CPPFLAGS
=$CPPFLAGS
7501 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
7502 cat >conftest.
$ac_ext <<_ACEOF
7505 cat confdefs.h
>>conftest.
$ac_ext
7506 cat >>conftest.
$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 #include <sys/stat.h>
7512 struct stat64 st; stat64 ("/tmp/foo", &st);
7517 rm -f conftest.
$ac_objext conftest
$ac_exeext
7518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7519 (eval $ac_link) 2>conftest.er1
7521 grep -v '^ *+' conftest.er1
>conftest.err
7523 cat conftest.err
>&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } &&
7526 { ac_try
='test -z "$ac_c_werror_flag"
7527 || test ! -s conftest.err'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; } &&
7533 { ac_try
='test -s conftest$ac_exeext'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; }; then
7539 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.
$ac_ext >&5
7544 bu_cv_have_stat64
=no
7546 rm -f conftest.err conftest.
$ac_objext \
7547 conftest
$ac_exeext conftest.
$ac_ext
7548 CPPFLAGS
=$saved_CPPFLAGS
7550 rm -f conftest.err conftest.
$ac_objext \
7551 conftest
$ac_exeext conftest.
$ac_ext
7554 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
7555 echo "${ECHO_T}$bu_cv_have_stat64" >&6
7556 if test "$bu_cv_have_stat64" != no
; then
7558 cat >>confdefs.h
<<\_ACEOF
7559 #define HAVE_STAT64 1
7563 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
7564 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
7566 cat >>confdefs.h
<<\_ACEOF
7567 #define _LARGEFILE64_SOURCE 1
7570 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
7573 # Some systems have frexp only in -lm, not in -lc.
7574 echo "$as_me:$LINENO: checking for library containing frexp" >&5
7575 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
7576 if test "${ac_cv_search_frexp+set}" = set; then
7577 echo $ECHO_N "(cached) $ECHO_C" >&6
7579 ac_func_search_save_LIBS
=$LIBS
7580 ac_cv_search_frexp
=no
7581 cat >conftest.
$ac_ext <<_ACEOF
7584 cat confdefs.h
>>conftest.
$ac_ext
7585 cat >>conftest.
$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7588 /* Override any gcc2 internal prototype to avoid an error. */
7592 /* We use char because int might match the return type of a gcc2
7593 builtin and then its argument prototype would still apply. */
7603 rm -f conftest.
$ac_objext conftest
$ac_exeext
7604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7605 (eval $ac_link) 2>conftest.er1
7607 grep -v '^ *+' conftest.er1
>conftest.err
7609 cat conftest.err
>&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } &&
7612 { ac_try
='test -z "$ac_c_werror_flag"
7613 || test ! -s conftest.err'
7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); }; } &&
7619 { ac_try
='test -s conftest$ac_exeext'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; }; then
7625 ac_cv_search_frexp
="none required"
7627 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.
$ac_ext >&5
7631 rm -f conftest.err conftest.
$ac_objext \
7632 conftest
$ac_exeext conftest.
$ac_ext
7633 if test "$ac_cv_search_frexp" = no
; then
7635 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7636 cat >conftest.
$ac_ext <<_ACEOF
7639 cat confdefs.h
>>conftest.
$ac_ext
7640 cat >>conftest.
$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7643 /* Override any gcc2 internal prototype to avoid an error. */
7647 /* We use char because int might match the return type of a gcc2
7648 builtin and then its argument prototype would still apply. */
7658 rm -f conftest.
$ac_objext conftest
$ac_exeext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660 (eval $ac_link) 2>conftest.er1
7662 grep -v '^ *+' conftest.er1
>conftest.err
7664 cat conftest.err
>&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try
='test -z "$ac_c_werror_flag"
7668 || test ! -s conftest.err'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; } &&
7674 { ac_try
='test -s conftest$ac_exeext'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; }; then
7680 ac_cv_search_frexp
="-l$ac_lib"
7683 echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.
$ac_ext >&5
7687 rm -f conftest.err conftest.
$ac_objext \
7688 conftest
$ac_exeext conftest.
$ac_ext
7691 LIBS
=$ac_func_search_save_LIBS
7693 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
7694 echo "${ECHO_T}$ac_cv_search_frexp" >&6
7695 if test "$ac_cv_search_frexp" != no
; then
7696 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
7701 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
7702 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
7703 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 cat >conftest.
$ac_ext <<_ACEOF
7709 cat confdefs.h
>>conftest.
$ac_ext
7710 cat >>conftest.
$ac_ext <<_ACEOF
7711 /* end confdefs.h. */
7721 rm -f conftest.
$ac_objext
7722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7723 (eval $ac_compile) 2>conftest.er1
7725 grep -v '^ *+' conftest.er1
>conftest.err
7727 cat conftest.err
>&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); } &&
7730 { ac_try
='test -z "$ac_c_werror_flag"
7731 || test ! -s conftest.err'
7732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; } &&
7737 { ac_try
='test -s conftest.$ac_objext'
7738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; }; then
7743 bu_cv_decl_time_t_time_h
=yes
7745 echo "$as_me: failed program was:" >&5
7746 sed 's/^/| /' conftest.
$ac_ext >&5
7748 bu_cv_decl_time_t_time_h
=no
7750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7753 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
7754 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
7755 if test $bu_cv_decl_time_t_time_h = yes; then
7757 cat >>confdefs.h
<<\_ACEOF
7758 #define HAVE_TIME_T_IN_TIME_H 1
7763 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
7764 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
7765 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 cat >conftest.
$ac_ext <<_ACEOF
7771 cat confdefs.h
>>conftest.
$ac_ext
7772 cat >>conftest.
$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7774 #include <sys/types.h>
7783 rm -f conftest.
$ac_objext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7785 (eval $ac_compile) 2>conftest.er1
7787 grep -v '^ *+' conftest.er1
>conftest.err
7789 cat conftest.err
>&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } &&
7792 { ac_try
='test -z "$ac_c_werror_flag"
7793 || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try
='test -s conftest.$ac_objext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7805 bu_cv_decl_time_t_types_h
=yes
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.
$ac_ext >&5
7810 bu_cv_decl_time_t_types_h
=no
7812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7815 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
7816 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
7817 if test $bu_cv_decl_time_t_types_h = yes; then
7819 cat >>confdefs.h
<<\_ACEOF
7820 #define HAVE_TIME_T_IN_TYPES_H 1
7825 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
7826 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
7827 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 cat >conftest.
$ac_ext <<_ACEOF
7833 cat confdefs.h
>>conftest.
$ac_ext
7834 cat >>conftest.
$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7840 extern int getopt (int, char *const*, const char *);
7845 rm -f conftest.
$ac_objext
7846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7847 (eval $ac_compile) 2>conftest.er1
7849 grep -v '^ *+' conftest.er1
>conftest.err
7851 cat conftest.err
>&5
7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); } &&
7854 { ac_try
='test -z "$ac_c_werror_flag"
7855 || test ! -s conftest.err'
7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }; } &&
7861 { ac_try
='test -s conftest.$ac_objext'
7862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); }; }; then
7867 bu_cv_decl_getopt_unistd_h
=yes
7869 echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.
$ac_ext >&5
7872 bu_cv_decl_getopt_unistd_h
=no
7874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7877 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
7878 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
7879 if test $bu_cv_decl_getopt_unistd_h = yes; then
7881 cat >>confdefs.h
<<\_ACEOF
7882 #define HAVE_DECL_GETOPT 1
7887 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
7889 echo "$as_me:$LINENO: checking for utime.h" >&5
7890 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
7891 if test "${bu_cv_header_utime_h+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 cat >conftest.
$ac_ext <<_ACEOF
7897 cat confdefs.h
>>conftest.
$ac_ext
7898 cat >>conftest.
$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7900 #include <sys/types.h>
7913 rm -f conftest.
$ac_objext
7914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7915 (eval $ac_compile) 2>conftest.er1
7917 grep -v '^ *+' conftest.er1
>conftest.err
7919 cat conftest.err
>&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); } &&
7922 { ac_try
='test -z "$ac_c_werror_flag"
7923 || test ! -s conftest.err'
7924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); }; } &&
7929 { ac_try
='test -s conftest.$ac_objext'
7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; }; then
7935 bu_cv_header_utime_h
=yes
7937 echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.
$ac_ext >&5
7940 bu_cv_header_utime_h
=no
7942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7945 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
7946 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
7947 if test $bu_cv_header_utime_h = yes; then
7949 cat >>confdefs.h
<<\_ACEOF
7950 #define HAVE_GOOD_UTIME_H 1
7955 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
7956 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
7957 if test "${ac_cv_have_decl_fprintf+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7960 cat >conftest.
$ac_ext <<_ACEOF
7963 cat confdefs.h
>>conftest.
$ac_ext
7964 cat >>conftest.
$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7966 $ac_includes_default
7971 char *p = (char *) fprintf;
7978 rm -f conftest.
$ac_objext
7979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7980 (eval $ac_compile) 2>conftest.er1
7982 grep -v '^ *+' conftest.er1
>conftest.err
7984 cat conftest.err
>&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } &&
7987 { ac_try
='test -z "$ac_c_werror_flag"
7988 || test ! -s conftest.err'
7989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 (exit $ac_status); }; } &&
7994 { ac_try
='test -s conftest.$ac_objext'
7995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); }; }; then
8000 ac_cv_have_decl_fprintf
=yes
8002 echo "$as_me: failed program was:" >&5
8003 sed 's/^/| /' conftest.
$ac_ext >&5
8005 ac_cv_have_decl_fprintf
=no
8007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8009 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
8010 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
8011 if test $ac_cv_have_decl_fprintf = yes; then
8013 cat >>confdefs.h
<<_ACEOF
8014 #define HAVE_DECL_FPRINTF 1
8019 cat >>confdefs.h
<<_ACEOF
8020 #define HAVE_DECL_FPRINTF 0
8025 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
8026 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
8027 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
8028 echo $ECHO_N "(cached) $ECHO_C" >&6
8030 cat >conftest.
$ac_ext <<_ACEOF
8033 cat confdefs.h
>>conftest.
$ac_ext
8034 cat >>conftest.
$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8036 $ac_includes_default
8041 char *p = (char *) stpcpy;
8048 rm -f conftest.
$ac_objext
8049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8050 (eval $ac_compile) 2>conftest.er1
8052 grep -v '^ *+' conftest.er1
>conftest.err
8054 cat conftest.err
>&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } &&
8057 { ac_try
='test -z "$ac_c_werror_flag"
8058 || test ! -s conftest.err'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; } &&
8064 { ac_try
='test -s conftest.$ac_objext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 ac_cv_have_decl_stpcpy
=yes
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.
$ac_ext >&5
8075 ac_cv_have_decl_stpcpy
=no
8077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8079 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
8080 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
8081 if test $ac_cv_have_decl_stpcpy = yes; then
8083 cat >>confdefs.h
<<_ACEOF
8084 #define HAVE_DECL_STPCPY 1
8089 cat >>confdefs.h
<<_ACEOF
8090 #define HAVE_DECL_STPCPY 0
8095 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
8096 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
8097 if test "${ac_cv_have_decl_strstr+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 cat >conftest.
$ac_ext <<_ACEOF
8103 cat confdefs.h
>>conftest.
$ac_ext
8104 cat >>conftest.
$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 $ac_includes_default
8111 char *p = (char *) strstr;
8118 rm -f conftest.
$ac_objext
8119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8120 (eval $ac_compile) 2>conftest.er1
8122 grep -v '^ *+' conftest.er1
>conftest.err
8124 cat conftest.err
>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try
='test -z "$ac_c_werror_flag"
8128 || test ! -s conftest.err'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try
='test -s conftest.$ac_objext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 ac_cv_have_decl_strstr
=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.
$ac_ext >&5
8145 ac_cv_have_decl_strstr
=no
8147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8149 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
8150 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
8151 if test $ac_cv_have_decl_strstr = yes; then
8153 cat >>confdefs.h
<<_ACEOF
8154 #define HAVE_DECL_STRSTR 1
8159 cat >>confdefs.h
<<_ACEOF
8160 #define HAVE_DECL_STRSTR 0
8165 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
8166 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
8167 if test "${ac_cv_have_decl_sbrk+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 cat >conftest.
$ac_ext <<_ACEOF
8173 cat confdefs.h
>>conftest.
$ac_ext
8174 cat >>conftest.
$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 $ac_includes_default
8181 char *p = (char *) sbrk;
8188 rm -f conftest.
$ac_objext
8189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8190 (eval $ac_compile) 2>conftest.er1
8192 grep -v '^ *+' conftest.er1
>conftest.err
8194 cat conftest.err
>&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } &&
8197 { ac_try
='test -z "$ac_c_werror_flag"
8198 || test ! -s conftest.err'
8199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; } &&
8204 { ac_try
='test -s conftest.$ac_objext'
8205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8210 ac_cv_have_decl_sbrk
=yes
8212 echo "$as_me: failed program was:" >&5
8213 sed 's/^/| /' conftest.
$ac_ext >&5
8215 ac_cv_have_decl_sbrk
=no
8217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8219 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
8220 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
8221 if test $ac_cv_have_decl_sbrk = yes; then
8223 cat >>confdefs.h
<<_ACEOF
8224 #define HAVE_DECL_SBRK 1
8229 cat >>confdefs.h
<<_ACEOF
8230 #define HAVE_DECL_SBRK 0
8235 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8236 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8237 if test "${ac_cv_have_decl_getenv+set}" = set; then
8238 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 cat >conftest.
$ac_ext <<_ACEOF
8243 cat confdefs.h
>>conftest.
$ac_ext
8244 cat >>conftest.
$ac_ext <<_ACEOF
8245 /* end confdefs.h. */
8246 $ac_includes_default
8251 char *p = (char *) getenv;
8258 rm -f conftest.
$ac_objext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8260 (eval $ac_compile) 2>conftest.er1
8262 grep -v '^ *+' conftest.er1
>conftest.err
8264 cat conftest.err
>&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try
='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try
='test -s conftest.$ac_objext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_cv_have_decl_getenv
=yes
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.
$ac_ext >&5
8285 ac_cv_have_decl_getenv
=no
8287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8289 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
8290 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
8291 if test $ac_cv_have_decl_getenv = yes; then
8293 cat >>confdefs.h
<<_ACEOF
8294 #define HAVE_DECL_GETENV 1
8299 cat >>confdefs.h
<<_ACEOF
8300 #define HAVE_DECL_GETENV 0
8305 echo "$as_me:$LINENO: checking whether environ is declared" >&5
8306 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
8307 if test "${ac_cv_have_decl_environ+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.
$ac_ext <<_ACEOF
8313 cat confdefs.h
>>conftest.
$ac_ext
8314 cat >>conftest.
$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8316 $ac_includes_default
8321 char *p = (char *) environ;
8328 rm -f conftest.
$ac_objext
8329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8330 (eval $ac_compile) 2>conftest.er1
8332 grep -v '^ *+' conftest.er1
>conftest.err
8334 cat conftest.err
>&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } &&
8337 { ac_try
='test -z "$ac_c_werror_flag"
8338 || test ! -s conftest.err'
8339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }; } &&
8344 { ac_try
='test -s conftest.$ac_objext'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; }; then
8350 ac_cv_have_decl_environ
=yes
8352 echo "$as_me: failed program was:" >&5
8353 sed 's/^/| /' conftest.
$ac_ext >&5
8355 ac_cv_have_decl_environ
=no
8357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8359 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
8360 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
8361 if test $ac_cv_have_decl_environ = yes; then
8363 cat >>confdefs.h
<<_ACEOF
8364 #define HAVE_DECL_ENVIRON 1
8369 cat >>confdefs.h
<<_ACEOF
8370 #define HAVE_DECL_ENVIRON 0
8375 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
8376 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
8377 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8380 cat >conftest.
$ac_ext <<_ACEOF
8383 cat confdefs.h
>>conftest.
$ac_ext
8384 cat >>conftest.
$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8386 $ac_includes_default
8390 #ifndef getc_unlocked
8391 char *p = (char *) getc_unlocked;
8398 rm -f conftest.
$ac_objext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8400 (eval $ac_compile) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1
>conftest.err
8404 cat conftest.err
>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try
='test -z "$ac_c_werror_flag"
8408 || test ! -s conftest.err'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; } &&
8414 { ac_try
='test -s conftest.$ac_objext'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; }; then
8420 ac_cv_have_decl_getc_unlocked
=yes
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.
$ac_ext >&5
8425 ac_cv_have_decl_getc_unlocked
=no
8427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8429 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
8430 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
8431 if test $ac_cv_have_decl_getc_unlocked = yes; then
8433 cat >>confdefs.h
<<_ACEOF
8434 #define HAVE_DECL_GETC_UNLOCKED 1
8439 cat >>confdefs.h
<<_ACEOF
8440 #define HAVE_DECL_GETC_UNLOCKED 0
8445 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
8446 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
8447 if test "${ac_cv_have_decl_snprintf+set}" = set; then
8448 echo $ECHO_N "(cached) $ECHO_C" >&6
8450 cat >conftest.
$ac_ext <<_ACEOF
8453 cat confdefs.h
>>conftest.
$ac_ext
8454 cat >>conftest.
$ac_ext <<_ACEOF
8455 /* end confdefs.h. */
8456 $ac_includes_default
8461 char *p = (char *) snprintf;
8468 rm -f conftest.
$ac_objext
8469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8470 (eval $ac_compile) 2>conftest.er1
8472 grep -v '^ *+' conftest.er1
>conftest.err
8474 cat conftest.err
>&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); } &&
8477 { ac_try
='test -z "$ac_c_werror_flag"
8478 || test ! -s conftest.err'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; } &&
8484 { ac_try
='test -s conftest.$ac_objext'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; }; then
8490 ac_cv_have_decl_snprintf
=yes
8492 echo "$as_me: failed program was:" >&5
8493 sed 's/^/| /' conftest.
$ac_ext >&5
8495 ac_cv_have_decl_snprintf
=no
8497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8499 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
8500 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
8501 if test $ac_cv_have_decl_snprintf = yes; then
8503 cat >>confdefs.h
<<_ACEOF
8504 #define HAVE_DECL_SNPRINTF 1
8509 cat >>confdefs.h
<<_ACEOF
8510 #define HAVE_DECL_SNPRINTF 0
8515 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
8516 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
8517 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 cat >conftest.
$ac_ext <<_ACEOF
8523 cat confdefs.h
>>conftest.
$ac_ext
8524 cat >>conftest.
$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8526 $ac_includes_default
8531 char *p = (char *) vsnprintf;
8538 rm -f conftest.
$ac_objext
8539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8540 (eval $ac_compile) 2>conftest.er1
8542 grep -v '^ *+' conftest.er1
>conftest.err
8544 cat conftest.err
>&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); } &&
8547 { ac_try
='test -z "$ac_c_werror_flag"
8548 || test ! -s conftest.err'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; } &&
8554 { ac_try
='test -s conftest.$ac_objext'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; }; then
8560 ac_cv_have_decl_vsnprintf
=yes
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.
$ac_ext >&5
8565 ac_cv_have_decl_vsnprintf
=no
8567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8569 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
8570 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
8571 if test $ac_cv_have_decl_vsnprintf = yes; then
8573 cat >>confdefs.h
<<_ACEOF
8574 #define HAVE_DECL_VSNPRINTF 1
8579 cat >>confdefs.h
<<_ACEOF
8580 #define HAVE_DECL_VSNPRINTF 0
8590 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
8592 cat >>confdefs.h
<<\_ACEOF
8593 #define USE_BINARY_FOPEN 1
8598 # target-specific stuff:
8600 # Canonicalize the secondary target names.
8601 if test -n "$enable_targets"; then
8602 for targ
in `echo $enable_targets | sed 's/,/ /g'`
8604 result
=`$ac_config_sub $targ 2>/dev/null`
8605 if test -n "$result"; then
8606 canon_targets
="$canon_targets $result"
8608 # Allow targets that config.sub doesn't recognize, like "all".
8609 canon_targets
="$canon_targets $targ"
8626 for targ
in $target $canon_targets
8628 if test "x$targ" = "xall"; then
8630 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
8631 BUILD_SRCONV
='$(SRCONV_PROG)'
8632 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
8635 i
[3-7]86*-*-netware*)
8636 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
8637 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
8640 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
8641 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
8643 powerpc
*-*-netware*)
8644 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
8645 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
8648 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
8649 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
8653 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
8657 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8658 if test -z "$DLLTOOL_DEFAULT"; then
8659 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
8661 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
8662 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8664 arm-wince-pe
* | arm-
*-wince)
8665 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8666 if test -z "$DLLTOOL_DEFAULT"; then
8667 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
8669 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
8670 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8673 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8674 if test -z "$DLLTOOL_DEFAULT"; then
8675 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
8677 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
8678 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8681 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8682 if test -z "$DLLTOOL_DEFAULT"; then
8683 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
8685 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
8686 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8689 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8690 if test -z "$DLLTOOL_DEFAULT"; then
8691 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
8693 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
8694 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8695 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
8697 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
8698 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8699 if test -z "$DLLTOOL_DEFAULT"; then
8700 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
8702 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
8703 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8704 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
8707 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
8708 if test -z "$DLLTOOL_DEFAULT"; then
8709 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
8711 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
8716 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
8718 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
8719 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8720 if test -z "$DLLTOOL_DEFAULT"; then
8721 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
8723 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
8724 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8726 powerpc
*-*-linux* | powerpc
*-*-elf*)
8730 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8731 if test -z "$DLLTOOL_DEFAULT"; then
8732 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
8734 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
8735 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8738 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8739 if test -z "$DLLTOOL_DEFAULT"; then
8740 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
8742 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
8743 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8746 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8747 if test -z "$DLLTOOL_DEFAULT"; then
8748 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
8750 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
8751 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8754 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
8755 if test -z "$DLLTOOL_DEFAULT"; then
8756 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
8758 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
8761 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
8767 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
8769 if test "${with_windres+set}" = set; then
8770 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
8784 cat >>confdefs.h
<<_ACEOF
8785 #define TARGET "${target}"
8790 .
$srcdir/..
/bfd
/config.bfd
8791 if test "x$targ_underscore" = "xyes"; then
8797 cat >>confdefs.h
<<_ACEOF
8798 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
8803 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
8805 # Canonicalize the secondary target names.
8806 result
=`$ac_config_sub $targ_alias 2>/dev/null`
8807 if test -n "$result"; then
8813 .
${srcdir}/configure.tgt
8815 EMULATION
=$targ_emul
8816 EMULATION_VECTOR
=$targ_emul_vector
8822 # Required for html and install-html
8827 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
8828 cat >confcache
<<\_ACEOF
8829 # This file is a shell script that caches the results of configure
8830 # tests run on this system so they can be shared between configure
8831 # scripts and configure runs, see configure's option --config-cache.
8832 # It is not useful on other systems. If it contains results you don't
8833 # want to keep, you may remove or edit it.
8835 # config.status only pays attention to the cache file if you give it
8836 # the --recheck option to rerun configure.
8838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8844 # The following way of writing the cache mishandles newlines in values,
8845 # but we know of no workaround that is simple, portable, and efficient.
8846 # So, don't put newlines in cache variables' values.
8847 # Ultrix sh set writes to stderr and can't be redirected directly,
8848 # and sets the high bit in the cache file unless we assign to the vars.
8851 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8853 # `set' does not quote correctly, so add quotes (double-quote
8854 # substitution turns \\\\ into \\, and sed turns \\ into \).
8857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8860 # `set' quotes correctly as required by POSIX, so do not add quotes.
8862 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8871 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8873 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8874 if test -w $cache_file; then
8875 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8876 cat confcache
>$cache_file
8878 echo "not updating unwritable cache $cache_file"
8883 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8884 # Let make expand exec_prefix.
8885 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8887 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8888 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8889 # trailing colons and then remove the whole line if VPATH becomes empty
8890 # (actually we leave an empty line to preserve line numbers).
8891 if test "x$srcdir" = x.
; then
8892 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8893 s/:*\$(srcdir):*/:/;
8894 s/:*\${srcdir}:*/:/;
8896 s/^\([^=]*=[ ]*\):*/\1/;
8902 DEFS
=-DHAVE_CONFIG_H
8906 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8907 # 1. Remove the extension, and $U if already installed.
8908 ac_i
=`echo "$ac_i" |
8909 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8911 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8912 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8916 LTLIBOBJS
=$ac_ltlibobjs
8919 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8920 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8921 Usually this means the macro was only invoked conditionally." >&5
8922 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8923 Usually this means the macro was only invoked conditionally." >&2;}
8924 { (exit 1); exit 1; }; }
8926 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8927 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8928 Usually this means the macro was only invoked conditionally." >&5
8929 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8930 Usually this means the macro was only invoked conditionally." >&2;}
8931 { (exit 1); exit 1; }; }
8933 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8934 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8935 Usually this means the macro was only invoked conditionally." >&5
8936 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8937 Usually this means the macro was only invoked conditionally." >&2;}
8938 { (exit 1); exit 1; }; }
8940 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
8941 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
8942 Usually this means the macro was only invoked conditionally." >&5
8943 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
8944 Usually this means the macro was only invoked conditionally." >&2;}
8945 { (exit 1); exit 1; }; }
8948 : ${CONFIG_STATUS=./config.status}
8949 ac_clean_files_save
=$ac_clean_files
8950 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8951 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8952 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8953 cat >$CONFIG_STATUS <<_ACEOF
8955 # Generated by $as_me.
8956 # Run this file to recreate the current configuration.
8957 # Compiler output produced by configure, useful for debugging
8958 # configure, is in config.log if it exists.
8963 SHELL=\${CONFIG_SHELL-$SHELL}
8966 cat >>$CONFIG_STATUS <<\_ACEOF
8967 ## --------------------- ##
8968 ## M4sh Initialization. ##
8969 ## --------------------- ##
8971 # Be Bourne compatible
8972 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8975 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8976 # is contrary to our usage. Disable this feature.
8977 alias -g '${1+"$@"}'='"$@"'
8978 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8981 DUALCASE
=1; export DUALCASE
# for MKS sh
8983 # Support unset when possible.
8984 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8991 # Work around bugs in pre-3.0 UWIN ksh.
8992 $as_unset ENV MAIL MAILPATH
8999 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9000 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9001 LC_TELEPHONE LC_TIME
9003 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9004 eval $as_var=C
; export $as_var
9010 # Required to use basename.
9011 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9017 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9018 as_basename
=basename
9024 # Name of the executable.
9025 as_me
=`$as_basename "$0" ||
9026 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9027 X"$0" : 'X\(//\)$' \| \
9028 X"$0" : 'X\(/\)$' \| \
9029 . : '\(.\)' 2>/dev/null ||
9031 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9032 /^X\/\(\/\/\)$/{ s//\1/; q; }
9033 /^X\/\(\/\).*/{ s//\1/; q; }
9037 # PATH needs CR, and LINENO needs CR and PATH.
9038 # Avoid depending upon Character Ranges.
9039 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9040 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9041 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9042 as_cr_digits
='0123456789'
9043 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9045 # The user is always right.
9046 if test "${PATH_SEPARATOR+set}" != set; then
9047 echo "#! /bin/sh" >conf$$.sh
9048 echo "exit 0" >>conf$$.sh
9050 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9061 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9062 test "x$as_lineno_1" != "x$as_lineno_2" &&
9063 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9064 # Find who we are. Look in the path if we contain no path at all
9067 *[\\/]* ) as_myself
=$0 ;;
9068 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9072 test -z "$as_dir" && as_dir
=.
9073 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9078 # We did not find ourselves, most probably we were run as `sh COMMAND'
9079 # in which case we are not to be found in the path.
9080 if test "x$as_myself" = x
; then
9083 if test ! -f "$as_myself"; then
9084 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9085 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9086 { (exit 1); exit 1; }; }
9088 case $CONFIG_SHELL in
9090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9091 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9094 test -z "$as_dir" && as_dir
=.
9095 for as_base
in sh bash ksh sh5
; do
9098 if ("$as_dir/$as_base" -c '
9101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9102 test "x$as_lineno_1" != "x$as_lineno_2" &&
9103 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9104 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9105 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9106 CONFIG_SHELL
=$as_dir/$as_base
9108 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9116 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9117 # uniformly replaced by the line number. The first 'sed' inserts a
9118 # line-number line before each line; the second 'sed' does the real
9119 # work. The second script uses 'N' to pair each line-number line
9120 # with the numbered line, and appends trailing '-' during
9121 # substitution so that $LINENO is not a special case at line end.
9122 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9123 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9124 sed '=' <$as_myself |
9129 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9132 s,^['$as_cr_digits']*\n,,
9134 chmod +x
$as_me.lineno ||
9135 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9136 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9137 { (exit 1); exit 1; }; }
9139 # Don't try to exec as it changes $[0], causing all sort of problems
9140 # (the dirname of $[0] is not the place where we might find the
9141 # original and so on. Autoconf is especially sensible to this).
9143 # Exit status is that of the last command.
9148 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9149 *c
*,-n*) ECHO_N
= ECHO_C
='
9151 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9152 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9155 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9161 rm -f conf$$ conf$$.exe conf$$.
file
9163 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9164 # We could just check for DJGPP; but this test a) works b) is more generic
9165 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9166 if test -f conf$$.exe
; then
9167 # Don't use ln at all; we don't have any links
9172 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9177 rm -f conf$$ conf$$.exe conf$$.
file
9179 if mkdir
-p .
2>/dev
/null
; then
9182 test -d .
/-p && rmdir .
/-p
9186 as_executable_p
="test -f"
9188 # Sed expression to map a string onto a valid CPP name.
9189 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9191 # Sed expression to map a string onto a valid variable name.
9192 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9196 # We need space, tab and new line, in precisely that order.
9206 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9207 # report actual input values of CONFIG_FILES etc. instead of their
9208 # values after options handling. Logging --version etc. is OK.
9212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9213 ## Running $as_me. ##
9218 This file was extended by $as_me, which was
9219 generated by GNU Autoconf 2.59. Invocation command line was
9221 CONFIG_FILES = $CONFIG_FILES
9222 CONFIG_HEADERS = $CONFIG_HEADERS
9223 CONFIG_LINKS = $CONFIG_LINKS
9224 CONFIG_COMMANDS = $CONFIG_COMMANDS
9228 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9232 # Files that config.status was made for.
9233 if test -n "$ac_config_files"; then
9234 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9237 if test -n "$ac_config_headers"; then
9238 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9241 if test -n "$ac_config_links"; then
9242 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9245 if test -n "$ac_config_commands"; then
9246 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9249 cat >>$CONFIG_STATUS <<\_ACEOF
9252 \`$as_me' instantiates files from templates according to the
9253 current configuration.
9255 Usage: $0 [OPTIONS] [FILE]...
9257 -h, --help print this help, then exit
9258 -V, --version print version number, then exit
9259 -q, --quiet do not print progress messages
9260 -d, --debug don't remove temporary files
9261 --recheck update $as_me by reconfiguring in the same conditions
9262 --file=FILE[:TEMPLATE]
9263 instantiate the configuration file FILE
9264 --header=FILE[:TEMPLATE]
9265 instantiate the configuration header FILE
9267 Configuration files:
9270 Configuration headers:
9273 Configuration commands:
9276 Report bugs to <bug-autoconf@gnu.org>."
9279 cat >>$CONFIG_STATUS <<_ACEOF
9282 configured by $0, generated by GNU Autoconf 2.59,
9283 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9285 Copyright (C) 2003 Free Software Foundation, Inc.
9286 This config.status script is free software; the Free Software Foundation
9287 gives unlimited permission to copy, distribute and modify it."
9292 cat >>$CONFIG_STATUS <<\_ACEOF
9293 # If no file are specified by the user, then we need to provide default
9294 # value. By we need to know if files were specified by the user.
9300 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9301 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9309 *) # This is not an option, so the user has probably given explicit
9312 ac_need_defaults
=false
;;
9316 # Handling of the options.
9318 cat >>$CONFIG_STATUS <<\_ACEOF
9319 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9321 --version |
--vers* |
-V )
9322 echo "$ac_cs_version"; exit 0 ;;
9324 # Conflict between --help and --header
9325 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9326 Try \`$0 --help' for more information." >&5
9327 echo "$as_me: error: ambiguous option: $1
9328 Try \`$0 --help' for more information." >&2;}
9329 { (exit 1); exit 1; }; };;
9330 --help |
--hel |
-h )
9331 echo "$ac_cs_usage"; exit 0 ;;
9332 --debug |
--d* |
-d )
9334 --file |
--fil |
--fi |
--f )
9336 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9337 ac_need_defaults
=false
;;
9338 --header |
--heade |
--head |
--hea )
9340 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9341 ac_need_defaults
=false
;;
9342 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9343 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9347 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9348 Try \`$0 --help' for more information." >&5
9349 echo "$as_me: error: unrecognized option: $1
9350 Try \`$0 --help' for more information." >&2;}
9351 { (exit 1); exit 1; }; } ;;
9353 *) ac_config_targets
="$ac_config_targets $1" ;;
9359 ac_configure_extra_args
=
9361 if $ac_cs_silent; then
9363 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9367 cat >>$CONFIG_STATUS <<_ACEOF
9368 if \$ac_cs_recheck; then
9369 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9370 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9375 cat >>$CONFIG_STATUS <<_ACEOF
9377 # INIT-COMMANDS section.
9380 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9381 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9382 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
9384 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9385 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9386 LINGUAS="${LINGUAS-%UNSET%}"
9393 cat >>$CONFIG_STATUS <<\_ACEOF
9394 for ac_config_target
in $ac_config_targets
9396 case "$ac_config_target" in
9397 # Handling of arguments.
9398 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9399 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9400 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
9401 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9402 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9403 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9404 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9405 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9406 { (exit 1); exit 1; }; };;
9410 # If the user did not use the arguments to specify the items to instantiate,
9411 # then the envvar interface is used. Set only those that are not.
9412 # We use the long form for the default assignment because of an extremely
9413 # bizarre bug on SunOS 4.1.3.
9414 if $ac_need_defaults; then
9415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9420 # Have a temporary directory for convenience. Make it in the build tree
9421 # simply because there is no reason to put it here, and in addition,
9422 # creating and moving files from /tmp can sometimes cause problems.
9423 # Create a temporary directory, and hook for its removal unless debugging.
9426 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9427 trap '{ (exit 1); exit 1; }' 1 2 13 15
9430 # Create a (secure) tmp directory for tmp files.
9433 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9434 test -n "$tmp" && test -d "$tmp"
9437 tmp
=.
/confstat$$
-$RANDOM
9438 (umask 077 && mkdir
$tmp)
9441 echo "$me: cannot create a temporary directory in ." >&2
9442 { (exit 1); exit 1; }
9447 cat >>$CONFIG_STATUS <<_ACEOF
9450 # CONFIG_FILES section.
9453 # No need to generate the scripts if there are no CONFIG_FILES.
9454 # This happens for instance when ./config.status config.h
9455 if test -n "\$CONFIG_FILES"; then
9456 # Protect against being on the right side of a sed subst in config.status.
9457 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9458 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9459 s,@SHELL@,$SHELL,;t t
9460 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9461 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9462 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9463 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9464 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9465 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9466 s,@exec_prefix@,$exec_prefix,;t t
9467 s,@prefix@,$prefix,;t t
9468 s,@program_transform_name@,$program_transform_name,;t t
9469 s,@bindir@,$bindir,;t t
9470 s,@sbindir@,$sbindir,;t t
9471 s,@libexecdir@,$libexecdir,;t t
9472 s,@datadir@,$datadir,;t t
9473 s,@sysconfdir@,$sysconfdir,;t t
9474 s,@sharedstatedir@,$sharedstatedir,;t t
9475 s,@localstatedir@,$localstatedir,;t t
9476 s,@libdir@,$libdir,;t t
9477 s,@includedir@,$includedir,;t t
9478 s,@oldincludedir@,$oldincludedir,;t t
9479 s,@infodir@,$infodir,;t t
9480 s,@mandir@,$mandir,;t t
9481 s,@build_alias@,$build_alias,;t t
9482 s,@host_alias@,$host_alias,;t t
9483 s,@target_alias@,$target_alias,;t t
9485 s,@ECHO_C@,$ECHO_C,;t t
9486 s,@ECHO_N@,$ECHO_N,;t t
9487 s,@ECHO_T@,$ECHO_T,;t t
9489 s,@build@,$build,;t t
9490 s,@build_cpu@,$build_cpu,;t t
9491 s,@build_vendor@,$build_vendor,;t t
9492 s,@build_os@,$build_os,;t t
9494 s,@host_cpu@,$host_cpu,;t t
9495 s,@host_vendor@,$host_vendor,;t t
9496 s,@host_os@,$host_os,;t t
9497 s,@target@,$target,;t t
9498 s,@target_cpu@,$target_cpu,;t t
9499 s,@target_vendor@,$target_vendor,;t t
9500 s,@target_os@,$target_os,;t t
9502 s,@CFLAGS@,$CFLAGS,;t t
9503 s,@LDFLAGS@,$LDFLAGS,;t t
9504 s,@CPPFLAGS@,$CPPFLAGS,;t t
9505 s,@ac_ct_CC@,$ac_ct_CC,;t t
9506 s,@EXEEXT@,$EXEEXT,;t t
9507 s,@OBJEXT@,$OBJEXT,;t t
9508 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9509 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9510 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9511 s,@CYGPATH_W@,$CYGPATH_W,;t t
9512 s,@PACKAGE@,$PACKAGE,;t t
9513 s,@VERSION@,$VERSION,;t t
9514 s,@ACLOCAL@,$ACLOCAL,;t t
9515 s,@AUTOCONF@,$AUTOCONF,;t t
9516 s,@AUTOMAKE@,$AUTOMAKE,;t t
9517 s,@AUTOHEADER@,$AUTOHEADER,;t t
9518 s,@MAKEINFO@,$MAKEINFO,;t t
9519 s,@install_sh@,$install_sh,;t t
9520 s,@STRIP@,$STRIP,;t t
9521 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9522 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9523 s,@mkdir_p@,$mkdir_p,;t t
9525 s,@SET_MAKE@,$SET_MAKE,;t t
9526 s,@am__leading_dot@,$am__leading_dot,;t t
9527 s,@AMTAR@,$AMTAR,;t t
9528 s,@am__tar@,$am__tar,;t t
9529 s,@am__untar@,$am__untar,;t t
9530 s,@DEPDIR@,$DEPDIR,;t t
9531 s,@am__include@,$am__include,;t t
9532 s,@am__quote@,$am__quote,;t t
9533 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9534 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9535 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9536 s,@CCDEPMODE@,$CCDEPMODE,;t t
9537 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9538 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9540 s,@RANLIB@,$RANLIB,;t t
9541 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9542 s,@LIBTOOL@,$LIBTOOL,;t t
9543 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
9544 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9545 s,@NO_WERROR@,$NO_WERROR,;t t
9548 s,@LEXLIB@,$LEXLIB,;t t
9549 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9550 s,@USE_NLS@,$USE_NLS,;t t
9551 s,@LIBINTL@,$LIBINTL,;t t
9552 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
9553 s,@INCINTL@,$INCINTL,;t t
9554 s,@XGETTEXT@,$XGETTEXT,;t t
9555 s,@GMSGFMT@,$GMSGFMT,;t t
9556 s,@POSUB@,$POSUB,;t t
9557 s,@CATALOGS@,$CATALOGS,;t t
9558 s,@DATADIRNAME@,$DATADIRNAME,;t t
9559 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9560 s,@GENCAT@,$GENCAT,;t t
9561 s,@CATOBJEXT@,$CATOBJEXT,;t t
9562 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9563 s,@MSGFMT@,$MSGFMT,;t t
9564 s,@MSGMERGE@,$MSGMERGE,;t t
9565 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9566 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9567 s,@MAINT@,$MAINT,;t t
9568 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
9569 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
9570 s,@HDEFINES@,$HDEFINES,;t t
9572 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9573 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
9574 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
9576 s,@EGREP@,$EGREP,;t t
9577 s,@ALLOCA@,$ALLOCA,;t t
9578 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
9579 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
9580 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
9581 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
9582 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
9583 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
9584 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
9585 s,@BUILD_MISC@,$BUILD_MISC,;t t
9586 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
9587 s,@EMULATION@,$EMULATION,;t t
9588 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
9589 s,@datarootdir@,$datarootdir,;t t
9590 s,@docdir@,$docdir,;t t
9591 s,@htmldir@,$htmldir,;t t
9592 s,@LIBOBJS@,$LIBOBJS,;t t
9593 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9598 cat >>$CONFIG_STATUS <<\_ACEOF
9599 # Split the substitutions into bite-sized pieces for seds with
9600 # small command number limits, like on Digital OSF/1 and HP-UX.
9602 ac_sed_frag
=1 # Number of current file.
9603 ac_beg
=1 # First line for current file.
9604 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9607 while $ac_more_lines; do
9608 if test $ac_beg -gt 1; then
9609 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9611 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9613 if test ! -s $tmp/subs.frag
; then
9616 # The purpose of the label and of the branching condition is to
9617 # speed up the sed processing (if there are no `@' at all, there
9618 # is no need to browse any of the substitutions).
9619 # These are the two extra sed commands mentioned above.
9621 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9622 if test -z "$ac_sed_cmds"; then
9623 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9625 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9627 ac_sed_frag
=`expr $ac_sed_frag + 1`
9629 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9632 if test -z "$ac_sed_cmds"; then
9635 fi # test -n "$CONFIG_FILES"
9638 cat >>$CONFIG_STATUS <<\_ACEOF
9639 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9640 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9642 - |
*:- |
*:-:* ) # input from stdin
9644 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9645 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9646 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9647 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9648 * ) ac_file_in
=$ac_file.
in ;;
9651 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9652 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9654 X"$ac_file" : 'X\(//\)[^/]' \| \
9655 X"$ac_file" : 'X\(//\)$' \| \
9656 X"$ac_file" : 'X\(/\)' \| \
9657 . : '\(.\)' 2>/dev/null ||
9659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9661 /^X\(\/\/\)$/{ s//\1/; q; }
9662 /^X\(\/\).*/{ s//\1/; q; }
9664 { if $as_mkdir_p; then
9669 while test ! -d "$as_dir"; do
9670 as_dirs
="$as_dir $as_dirs"
9671 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9673 X"$as_dir" : 'X\(//\)[^/]' \| \
9674 X"$as_dir" : 'X\(//\)$' \| \
9675 X"$as_dir" : 'X\(/\)' \| \
9676 . : '\(.\)' 2>/dev/null ||
9678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9680 /^X\(\/\/\)$/{ s//\1/; q; }
9681 /^X\(\/\).*/{ s//\1/; q; }
9684 test ! -n "$as_dirs" || mkdir
$as_dirs
9685 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9687 { (exit 1); exit 1; }; }; }
9691 if test "$ac_dir" != .
; then
9692 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9693 # A "../" for each directory in $ac_dir_suffix.
9694 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9696 ac_dir_suffix
= ac_top_builddir
=
9700 .
) # No --srcdir option. We are building in place.
9702 if test -z "$ac_top_builddir"; then
9705 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9707 [\\/]* | ?
:[\\/]* ) # Absolute path.
9708 ac_srcdir
=$srcdir$ac_dir_suffix;
9709 ac_top_srcdir
=$srcdir ;;
9711 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9712 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9715 # Do not use `cd foo && pwd` to compute absolute paths, because
9716 # the directories may not exist.
9718 .
) ac_abs_builddir
="$ac_dir";;
9721 .
) ac_abs_builddir
=`pwd`;;
9722 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9723 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9726 case $ac_abs_builddir in
9727 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9729 case ${ac_top_builddir}.
in
9730 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9731 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9732 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9735 case $ac_abs_builddir in
9736 .
) ac_abs_srcdir
=$ac_srcdir;;
9739 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9740 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9741 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9744 case $ac_abs_builddir in
9745 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9747 case $ac_top_srcdir in
9748 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9749 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9750 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9756 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9757 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9760 if test x
"$ac_file" != x-
; then
9761 { echo "$as_me:$LINENO: creating $ac_file" >&5
9762 echo "$as_me: creating $ac_file" >&6;}
9765 # Let's still pretend it is `configure' which instantiates (i.e., don't
9766 # use $as_me), people would be surprised to read:
9767 # /* config.h. Generated by config.status. */
9768 if test x
"$ac_file" = x-
; then
9771 configure_input
="$ac_file. "
9773 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9774 sed 's,.*/,,'` by configure."
9776 # First look for the input files in the build tree, otherwise in the
9778 ac_file_inputs
=`IFS=:
9779 for f in $ac_file_in; do
9781 -) echo $tmp/stdin ;;
9783 # Absolute (can't be DOS-style, as IFS=:)
9784 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9785 echo "$as_me: error: cannot find input file: $f" >&2;}
9786 { (exit 1); exit 1; }; }
9789 if test -f "$f"; then
9792 elif test -f "$srcdir/$f"; then
9797 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9798 echo "$as_me: error: cannot find input file: $f" >&2;}
9799 { (exit 1); exit 1; }; }
9802 done` ||
{ (exit 1); exit 1; }
9804 cat >>$CONFIG_STATUS <<_ACEOF
9808 cat >>$CONFIG_STATUS <<\_ACEOF
9810 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9811 s
,@configure_input@
,$configure_input,;t t
9812 s
,@srcdir@
,$ac_srcdir,;t t
9813 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9814 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9815 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9816 s
,@builddir@
,$ac_builddir,;t t
9817 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9818 s
,@top_builddir@
,$ac_top_builddir,;t t
9819 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9820 s
,@INSTALL@
,$ac_INSTALL,;t t
9821 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9823 if test x"$ac_file" != x-; then
9824 mv $tmp/out $ac_file
9832 cat >>$CONFIG_STATUS <<\_ACEOF
9835 # CONFIG_HEADER section.
9838 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9839 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9841 # ac_d sets the value in "#define NAME VALUE" lines.
9842 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9843 ac_dB
='[ ].*$,\1#\2'
9846 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9847 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9848 ac_uB
='$,\1#\2define\3'
9852 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9853 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9855 - |
*:- |
*:-:* ) # input from stdin
9857 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9858 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9859 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9860 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9861 * ) ac_file_in
=$ac_file.
in ;;
9864 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9865 echo "$as_me: creating $ac_file" >&6;}
9867 # First look for the input files in the build tree, otherwise in the
9869 ac_file_inputs
=`IFS=:
9870 for f in $ac_file_in; do
9872 -) echo $tmp/stdin ;;
9874 # Absolute (can't be DOS-style, as IFS=:)
9875 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9876 echo "$as_me: error: cannot find input file: $f" >&2;}
9877 { (exit 1); exit 1; }; }
9878 # Do quote $f, to prevent DOS paths from being IFS'd.
9881 if test -f "$f"; then
9884 elif test -f "$srcdir/$f"; then
9889 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9890 echo "$as_me: error: cannot find input file: $f" >&2;}
9891 { (exit 1); exit 1; }; }
9894 done` ||
{ (exit 1); exit 1; }
9895 # Remove the trailing spaces.
9896 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9900 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9901 # `conftest.undefs', that substitutes the proper values into
9902 # config.h.in to produce config.h. The first handles `#define'
9903 # templates, and the second `#undef' templates.
9904 # And first: Protect against being on the right side of a sed subst in
9905 # config.status. Protect against being in an unquoted here document
9907 rm -f conftest.defines conftest.undefs
9908 # Using a here document instead of a string reduces the quoting nightmare.
9909 # Putting comments in sed scripts is not portable.
9911 # `end' is used to avoid that the second main sed command (meant for
9912 # 0-ary CPP macros) applies to n-ary macro definitions.
9913 # See the Autoconf documentation for `clear'.
9914 cat >confdef2sed.
sed <<\_ACEOF
9919 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9921 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9924 # If some macros were called several times there might be several times
9925 # the same #defines, which is useless. Nevertheless, we may not want to
9926 # sort them, since we want the *last* AC-DEFINE to be honored.
9927 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9928 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9929 rm -f confdef2sed.sed
9931 # This sed command replaces #undef with comments. This is necessary, for
9932 # example, in the case of _POSIX_SOURCE, which is predefined and required
9933 # on some systems where configure will not decide to define it.
9934 cat >>conftest.undefs <<\_ACEOF
9935 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9938 # Break up conftest.defines because some shells have a limit on the size
9939 # of here documents, and old seds have small limits too (100 cmds).
9940 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9941 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9942 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9943 echo ' :' >>$CONFIG_STATUS
9945 while grep . conftest.defines >/dev/null
9947 # Write a limited-size here document to $tmp/defines.sed.
9948 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9949 # Speed up: don't consider the non `#define' lines.
9950 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9951 # Work around the forget-to-reset-the-flag bug.
9952 echo 't clr' >>$CONFIG_STATUS
9953 echo ': clr' >>$CONFIG_STATUS
9954 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9956 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9960 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9961 rm -f conftest.defines
9962 mv conftest.
tail conftest.defines
9964 rm -f conftest.defines
9965 echo ' fi # grep' >>$CONFIG_STATUS
9966 echo >>$CONFIG_STATUS
9968 # Break up conftest.undefs because some shells have a limit on the size
9969 # of here documents, and old seds have small limits too (100 cmds).
9970 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9972 while grep . conftest.undefs
>/dev
/null
9974 # Write a limited-size here document to $tmp/undefs.sed.
9975 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9976 # Speed up: don't consider the non
`#undef'
9977 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9978 # Work around the forget-to-reset-the-flag bug.
9979 echo 't clr' >>$CONFIG_STATUS
9980 echo ': clr' >>$CONFIG_STATUS
9981 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9983 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9987 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9988 rm -f conftest.undefs
9989 mv conftest.tail conftest.undefs
9991 rm -f conftest.undefs
9993 cat >>$CONFIG_STATUS <<\_ACEOF
9994 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9995 # use $as_me), people would be surprised to read:
9996 # /* config.h. Generated by config.status. */
9997 if test x
"$ac_file" = x-
; then
9998 echo "/* Generated by configure. */" >$tmp/config.h
10000 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10002 cat $tmp/in >>$tmp/config.h
10004 if test x
"$ac_file" != x-
; then
10005 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10006 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10007 echo "$as_me: $ac_file is unchanged" >&6;}
10009 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10011 X"$ac_file" : 'X\(//\)[^/]' \| \
10012 X"$ac_file" : 'X\(//\)$' \| \
10013 X"$ac_file" : 'X\(/\)' \| \
10014 . : '\(.\)' 2>/dev/null ||
10016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10018 /^X\(\/\/\)$/{ s//\1/; q; }
10019 /^X\(\/\).*/{ s//\1/; q; }
10021 { if $as_mkdir_p; then
10026 while test ! -d "$as_dir"; do
10027 as_dirs
="$as_dir $as_dirs"
10028 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10030 X"$as_dir" : 'X\(//\)[^/]' \| \
10031 X"$as_dir" : 'X\(//\)$' \| \
10032 X"$as_dir" : 'X\(/\)' \| \
10033 . : '\(.\)' 2>/dev/null ||
10035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10037 /^X\(\/\/\)$/{ s//\1/; q; }
10038 /^X\(\/\).*/{ s//\1/; q; }
10041 test ! -n "$as_dirs" || mkdir
$as_dirs
10042 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10043 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10044 { (exit 1); exit 1; }; }; }
10047 mv $tmp/config.h
$ac_file
10051 rm -f $tmp/config.h
10053 # Compute $ac_file's index in $config_headers.
10055 for _am_header
in $config_headers :; do
10056 case $_am_header in
10057 $ac_file |
$ac_file:* )
10060 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10063 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10064 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10065 X$ac_file : 'X\(//\)[^/]' \| \
10066 X$ac_file : 'X\(//\)$' \| \
10067 X$ac_file : 'X\(/\)' \| \
10068 . : '\(.\)' 2>/dev/null ||
10070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10072 /^X\(\/\/\)$/{ s//\1/; q; }
10073 /^X\(\/\).*/{ s//\1/; q; }
10074 s/.*/./; q'`/stamp-h
$_am_stamp_count
10077 cat >>$CONFIG_STATUS <<\_ACEOF
10080 # CONFIG_COMMANDS section.
10082 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10083 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10084 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10085 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10086 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10087 X"$ac_dest" : 'X\(//\)[^/]' \| \
10088 X"$ac_dest" : 'X\(//\)$' \| \
10089 X"$ac_dest" : 'X\(/\)' \| \
10090 . : '\(.\)' 2>/dev/null ||
10092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10094 /^X\(\/\/\)$/{ s//\1/; q; }
10095 /^X\(\/\).*/{ s//\1/; q; }
10097 { if $as_mkdir_p; then
10102 while test ! -d "$as_dir"; do
10103 as_dirs
="$as_dir $as_dirs"
10104 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10106 X"$as_dir" : 'X\(//\)[^/]' \| \
10107 X"$as_dir" : 'X\(//\)$' \| \
10108 X"$as_dir" : 'X\(/\)' \| \
10109 . : '\(.\)' 2>/dev/null ||
10111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10112 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10113 /^X\(\/\/\)$/{ s//\1/; q; }
10114 /^X\(\/\).*/{ s//\1/; q; }
10117 test ! -n "$as_dirs" || mkdir
$as_dirs
10118 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10120 { (exit 1); exit 1; }; }; }
10124 if test "$ac_dir" != .
; then
10125 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10126 # A "../" for each directory in $ac_dir_suffix.
10127 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10129 ac_dir_suffix
= ac_top_builddir
=
10133 .
) # No --srcdir option. We are building in place.
10135 if test -z "$ac_top_builddir"; then
10138 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10140 [\\/]* | ?
:[\\/]* ) # Absolute path.
10141 ac_srcdir
=$srcdir$ac_dir_suffix;
10142 ac_top_srcdir
=$srcdir ;;
10143 *) # Relative path.
10144 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10145 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10148 # Do not use `cd foo && pwd` to compute absolute paths, because
10149 # the directories may not exist.
10151 .
) ac_abs_builddir
="$ac_dir";;
10154 .
) ac_abs_builddir
=`pwd`;;
10155 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10156 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10159 case $ac_abs_builddir in
10160 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10162 case ${ac_top_builddir}.
in
10163 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10164 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10165 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10168 case $ac_abs_builddir in
10169 .
) ac_abs_srcdir
=$ac_srcdir;;
10172 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10173 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10174 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10177 case $ac_abs_builddir in
10178 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10180 case $ac_top_srcdir in
10181 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10182 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10183 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10188 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10189 echo "$as_me: executing $ac_dest commands" >&6;}
10191 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10192 # Strip MF so we end up with the name of the file.
10193 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10194 # Check whether this is an Automake generated Makefile or not.
10195 # We used to match only the files named `Makefile.in', but
10196 # some people rename them; so instead we look at the file content.
10197 # Grep'ing the first line is not enough: some people post-process
10198 # each Makefile.in and add a new line on top of each file to say so.
10199 # So let's grep whole file.
10200 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10201 dirpart
=`(dirname "$mf") 2>/dev/null ||
10202 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10203 X"$mf" : 'X\(//\)[^/]' \| \
10204 X"$mf" : 'X\(//\)$' \| \
10205 X"$mf" : 'X\(/\)' \| \
10206 . : '\(.\)' 2>/dev/null ||
10208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10210 /^X\(\/\/\)$/{ s//\1/; q; }
10211 /^X\(\/\).*/{ s//\1/; q; }
10216 # Extract the definition of DEPDIR, am__include, and am__quote
10217 # from the Makefile without running `make'.
10218 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10219 test -z "$DEPDIR" && continue
10220 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10221 test -z "am__include" && continue
10222 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10223 # When using ansi2knr, U may be empty or an underscore; expand it
10224 U
=`sed -n 's/^U = //p' < "$mf"`
10225 # Find all dependency output files, they are included files with
10226 # $(DEPDIR) in their names. We invoke sed twice because it is the
10227 # simplest approach to changing $(DEPDIR) to its actual value in the
10229 for file in `sed -n "
10230 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10231 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10232 # Make sure the directory exists.
10233 test -f "$dirpart/$file" && continue
10234 fdir
=`(dirname "$file") 2>/dev/null ||
10235 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10236 X"$file" : 'X\(//\)[^/]' \| \
10237 X"$file" : 'X\(//\)$' \| \
10238 X"$file" : 'X\(/\)' \| \
10239 . : '\(.\)' 2>/dev/null ||
10241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10243 /^X\(\/\/\)$/{ s//\1/; q; }
10244 /^X\(\/\).*/{ s//\1/; q; }
10246 { if $as_mkdir_p; then
10247 mkdir
-p $dirpart/$fdir
10249 as_dir
=$dirpart/$fdir
10251 while test ! -d "$as_dir"; do
10252 as_dirs
="$as_dir $as_dirs"
10253 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10255 X"$as_dir" : 'X\(//\)[^/]' \| \
10256 X"$as_dir" : 'X\(//\)$' \| \
10257 X"$as_dir" : 'X\(/\)' \| \
10258 . : '\(.\)' 2>/dev/null ||
10260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10262 /^X\(\/\/\)$/{ s//\1/; q; }
10263 /^X\(\/\).*/{ s//\1/; q; }
10266 test ! -n "$as_dirs" || mkdir
$as_dirs
10267 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10268 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10269 { (exit 1); exit 1; }; }; }
10271 # echo "creating $dirpart/$file"
10272 echo '# dummy' > "$dirpart/$file"
10277 for ac_file
in $CONFIG_FILES; do
10278 # Support "outfile[:infile[:infile...]]"
10280 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10282 # PO directories have a Makefile.in generated from Makefile.in.in.
10283 case "$ac_file" in */Makefile.
in)
10284 # Adjust a relative srcdir.
10285 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10286 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10287 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10288 # In autoconf-2.13 it is called $ac_given_srcdir.
10289 # In autoconf-2.50 it is called $srcdir.
10290 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10291 case "$ac_given_srcdir" in
10292 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10293 /*) top_srcdir
="$ac_given_srcdir" ;;
10294 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10296 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10297 rm -f "$ac_dir/POTFILES"
10298 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
10299 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10300 POMAKEFILEDEPS
="POTFILES.in"
10301 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
10302 # on $ac_dir but don't depend on user-specified configuration
10304 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10305 # The LINGUAS file contains the set of available languages.
10306 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10307 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
10309 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10310 # Hide the ALL_LINGUAS assigment from automake.
10311 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10312 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10314 # The set of available languages was given in configure.in.
10315 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10317 case "$ac_given_srcdir" in
10319 *) srcdirpre
='$(srcdir)/' ;;
10325 for lang
in $ALL_LINGUAS; do
10326 POFILES
="$POFILES $srcdirpre$lang.po"
10327 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10328 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10329 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10331 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10332 # environment variable.
10334 if test -n "$ALL_LINGUAS"; then
10335 for presentlang
in $ALL_LINGUAS; do
10337 if test "%UNSET%" != "$LINGUAS"; then
10338 desiredlanguages
="$LINGUAS"
10340 desiredlanguages
="$ALL_LINGUAS"
10342 for desiredlang
in $desiredlanguages; do
10343 # Use the presentlang catalog if desiredlang is
10344 # a. equal to presentlang, or
10345 # b. a variant of presentlang (because in this case,
10346 # presentlang can be used as a fallback for messages
10347 # which are not translated in the desiredlang catalog).
10348 case "$desiredlang" in
10349 "$presentlang"*) useit
=yes;;
10352 if test $useit = yes; then
10353 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10358 if test -n "$INST_LINGUAS"; then
10359 for lang
in $INST_LINGUAS; do
10360 CATALOGS
="$CATALOGS $lang.gmo"
10363 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10364 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10365 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10366 if test -f "$f"; then
10368 *.orig |
*.bak |
*~
) ;;
10369 *) cat "$f" >> "$ac_dir/Makefile" ;;
10381 cat >>$CONFIG_STATUS <<\_ACEOF
10383 { (exit 0); exit 0; }
10385 chmod +x
$CONFIG_STATUS
10386 ac_clean_files
=$ac_clean_files_save
10389 # configure is writing to config.log, and then calls config.status.
10390 # config.status does its own redirection, appending to config.log.
10391 # Unfortunately, on DOS this fails, as config.log is still kept open
10392 # by configure, so config.status won't be able to write to it; its
10393 # output is simply discarded. So we exec the FD to /dev/null,
10394 # effectively closing config.log, so it can be properly (re)opened and
10395 # appended to by config.status. When coming back to configure, we
10396 # need to make the FD available again.
10397 if test "$no_create" != yes; then
10399 ac_config_status_args
=
10400 test "$silent" = yes &&
10401 ac_config_status_args
="$ac_config_status_args --quiet"
10403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10406 # would make configure fail if this is the last instruction.
10407 $ac_cs_success ||
{ (exit 1); exit 1; }