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
="ldmain.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 use_sysroot TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE REPORT_BUGS_TO WARN_CFLAGS NO_WERROR CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
313 ac_subst_files
='TDIRS'
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-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
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-lib-path=dir1
:dir2...
set default LIB_PATH
873 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
874 --with-bugurl=URL Direct users to URL to report a bug
875 --with-included-gettext use the GNU
gettext library included here
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
892 if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
899 if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
904 ac_dir_suffix= ac_top_builddir=
908 .) # No --srcdir option. We are building in place.
910 if test -z "$ac_top_builddir"; then
913 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Do not use `cd foo
&& pwd` to compute absolute paths, because
924 # the directories may not exist.
926 .) ac_abs_builddir="$ac_dir";;
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
934 case $ac_abs_builddir in
935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943 case $ac_abs_builddir in
944 .) ac_abs_srcdir=$ac_srcdir;;
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952 case $ac_abs_builddir in
953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 test -n "$ac_init_help" && exit 0
982 if $ac_init_version; then
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by $as_me, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
1008 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1009 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1010 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1011 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1012 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1015 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1017 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1019 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1020 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1021 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1023 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close
' the trap.
1103 trap 'exit_status
=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var
in $ac_subst_vars
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var
in $ac_subst_files
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h
; then
1166 sed "/^$/d" confdefs.h |
sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core
*.core
&&
1174 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's
/^
/|
/' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1271 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1296 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1303 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327 if test -f $ac_dir/install-sh; then
1329 ac_install_sh="$ac_aux_dir/install-sh -c"
1331 elif test -f $ac_dir/install.sh; then
1333 ac_install_sh="$ac_aux_dir/install.sh -c"
1335 elif test -f $ac_dir/shtool; then
1337 ac_install_sh="$ac_aux_dir/shtool install -c"
1341 if test -z "$ac_aux_dir"; then
1342 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1344 { (exit 1); exit 1; }; }
1346 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350 # Make sure we can run config.sub.
1351 $ac_config_sub sun4 >/dev/null 2>&1 ||
1352 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1353 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1354 { (exit 1); exit 1; }; }
1356 echo "$as_me:$LINENO: checking build system type" >&5
1357 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1358 if test "${ac_cv_build+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 ac_cv_build_alias=$build_alias
1362 test -z "$ac_cv_build_alias" &&
1363 ac_cv_build_alias=`$ac_config_guess`
1364 test -z "$ac_cv_build_alias" &&
1365 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1366 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1367 { (exit 1); exit 1; }; }
1368 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1369 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1370 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1371 { (exit 1); exit 1; }; }
1374 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1375 echo "${ECHO_T}$ac_cv_build" >&6
1377 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1378 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1379 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1382 echo "$as_me:$LINENO: checking host system type" >&5
1383 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1384 if test "${ac_cv_host+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 ac_cv_host_alias=$host_alias
1388 test -z "$ac_cv_host_alias" &&
1389 ac_cv_host_alias=$ac_cv_build_alias
1390 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1391 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1392 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1393 { (exit 1); exit 1; }; }
1396 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1397 echo "${ECHO_T}$ac_cv_host" >&6
1399 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1400 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1401 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1404 echo "$as_me:$LINENO: checking target system type" >&5
1405 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1406 if test "${ac_cv_target+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 ac_cv_target_alias=$target_alias
1410 test "x$ac_cv_target_alias" = "x" &&
1411 ac_cv_target_alias=$ac_cv_host_alias
1412 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1413 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1414 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1415 { (exit 1); exit 1; }; }
1418 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1419 echo "${ECHO_T}$ac_cv_target" >&6
1420 target=$ac_cv_target
1421 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1422 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1423 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1426 # The aliases save the names the user supplied, while $host etc.
1427 # will get canonicalized.
1428 test -n "$target_alias" &&
1429 test "$program_prefix$program_suffix$program_transform_name" = \
1431 program_prefix=${target_alias}-
1433 ac_cpp='$CPP $CPPFLAGS'
1434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1437 if test -n "$ac_tool_prefix"; then
1438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$CC"; then
1446 ac_cv_prog_CC="$CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 if test -n "$CC"; then
1466 echo "$as_me:$LINENO: result: $CC" >&5
1467 echo "${ECHO_T}$CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1474 if test -z "$ac_cv_prog_CC"; then
1476 # Extract the first word of "gcc", so it can be a program name with args.
1477 set dummy gcc; ac_word=$2
1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 if test -n "$ac_ct_CC"; then
1484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 for ac_exec_ext in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1493 ac_cv_prog_ac_ct_CC="gcc"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1503 if test -n "$ac_ct_CC"; then
1504 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1505 echo "${ECHO_T}$ac_ct_CC" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="${ac_tool_prefix}cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1554 if test -z "$ac_cv_prog_CC"; then
1556 # Extract the first word of "cc", so it can be a program name with args.
1557 set dummy cc; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$ac_ct_CC"; then
1564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_ac_ct_CC="cc"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1583 if test -n "$ac_ct_CC"; then
1584 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1585 echo "${ECHO_T}$ac_ct_CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 # Extract the first word of "cc", so it can be a program name with args.
1599 set dummy cc; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1617 ac_prog_rejected=yes
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test $ac_prog_rejected = yes; then
1628 # We found a bogon in the path, so make sure we never use it.
1629 set dummy $ac_cv_prog_CC
1631 if test $# != 0; then
1632 # We chose a different compiler from the bogus one.
1633 # However, it has the same basename, so the bogon will be chosen
1634 # first if we set CC to just the basename; use the full file name.
1636 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$CC"; then
1652 if test -n "$ac_tool_prefix"; then
1655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1657 echo "$as_me:$LINENO: checking for $ac_word" >&5
1658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1659 if test "${ac_cv_prog_CC+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 if test -n "$CC"; then
1663 ac_cv_prog_CC="$CC" # Let the user override the test.
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 for ac_exec_ext in '' $ac_executable_extensions; do
1671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 if test -n "$CC"; then
1683 echo "$as_me:$LINENO: result: $CC" >&5
1684 echo "${ECHO_T}$CC" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1690 test -n "$CC" && break
1693 if test -z "$CC"; then
1697 # Extract the first word of "$ac_prog", so it can be a program name with args.
1698 set dummy $ac_prog; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC="$ac_prog"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1732 test -n "$ac_ct_CC" && break
1741 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1742 See \`config.log' for more details.
" >&5
1743 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1744 See \
`config.log' for more details." >&2;}
1745 { (exit 1); exit 1; }; }
1747 # Provide some information about the compiler.
1748 echo "$as_me:$LINENO:" \
1749 "checking for C compiler version" >&5
1750 ac_compiler=`set X
$ac_compile; echo $2`
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1752 (eval $ac_compiler --version </dev/null >&5) 2>&5
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1757 (eval $ac_compiler -v </dev/null >&5) 2>&5
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1762 (eval $ac_compiler -V </dev/null >&5) 2>&5
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1765 (exit $ac_status); }
1767 cat >conftest.$ac_ext <<_ACEOF
1770 cat confdefs.h >>conftest.$ac_ext
1771 cat >>conftest.$ac_ext <<_ACEOF
1772 /* end confdefs.h. */
1782 ac_clean_files_save=$ac_clean_files
1783 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1784 # Try to create an executable without -o first, disregard a.out.
1785 # It will help us diagnose broken compilers, and finding out an intuition
1787 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1788 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1789 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1790 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1791 (eval $ac_link_default) 2>&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; then
1795 # Find the output, starting from the most likely. This scheme is
1796 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1799 # Be careful to initialize this variable, since it used to be cached.
1800 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1802 # b.out is created by i960 compilers.
1803 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1805 test -f "$ac_file" || continue
1807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1810 # This is the source file.
1813 # We found the default executable, but exeext='' is most
1817 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1818 # FIXME: I believe we export ac_cv_exeext for Libtool,
1819 # but it would be cool to find out if it's true. Does anybody
1820 # maintain Libtool? --akim.
1828 echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1832 See \`config.log
' for more details." >&5
1833 echo "$as_me: error: C compiler cannot create executables
1834 See \`config.log' for more details.
" >&2;}
1835 { (exit 77); exit 77; }; }
1838 ac_exeext=$ac_cv_exeext
1839 echo "$as_me:$LINENO: result
: $ac_file" >&5
1840 echo "${ECHO_T}$ac_file" >&6
1842 # Check the compiler produces executables we can run. If not, either
1843 # the compiler is broken, or we cross compile.
1844 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1845 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1846 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1847 # If not cross compiling, check that we can run a simple program.
1848 if test "$cross_compiling" != yes; then
1849 if { ac_try='./$ac_file'
1850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1854 (exit $ac_status); }; }; then
1857 if test "$cross_compiling" = maybe; then
1860 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1861 If you meant to cross compile
, use \
`--host'.
1862 See \`config.log
' for more details." >&5
1863 echo "$as_me: error: cannot run C compiled programs.
1864 If you meant to cross compile, use \`--host'.
1865 See \
`config.log' for more details." >&2;}
1866 { (exit 1); exit 1; }; }
1870 echo "$as_me:$LINENO: result: yes" >&5
1871 echo "${ECHO_T}yes" >&6
1873 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1874 ac_clean_files=$ac_clean_files_save
1875 # Check the compiler produces executables we can run. If not, either
1876 # the compiler is broken, or we cross compile.
1877 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1878 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1879 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1880 echo "${ECHO_T}$cross_compiling" >&6
1882 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1883 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1885 (eval $ac_link) 2>&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; then
1889 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1890 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1891 # work properly (i.e., refer to `conftest.exe'), while it won't with
1893 for ac_file
in conftest.exe conftest conftest.
*; do
1894 test -f "$ac_file" ||
continue
1896 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1897 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1904 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&5
1906 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1907 See \`config.log' for more details." >&2;}
1908 { (exit 1); exit 1; }; }
1911 rm -f conftest
$ac_cv_exeext
1912 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1913 echo "${ECHO_T}$ac_cv_exeext" >&6
1915 rm -f conftest.
$ac_ext
1916 EXEEXT
=$ac_cv_exeext
1918 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1919 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1920 if test "${ac_cv_objext+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 cat >conftest.
$ac_ext <<_ACEOF
1926 cat confdefs.h
>>conftest.
$ac_ext
1927 cat >>conftest.
$ac_ext <<_ACEOF
1928 /* end confdefs.h. */
1938 rm -f conftest.o conftest.obj
1939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1940 (eval $ac_compile) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; then
1944 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1947 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1955 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&5
1957 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1958 See \`config.log' for more details." >&2;}
1959 { (exit 1); exit 1; }; }
1962 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1964 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1965 echo "${ECHO_T}$ac_cv_objext" >&6
1966 OBJEXT
=$ac_cv_objext
1968 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1969 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1991 rm -f conftest.
$ac_objext
1992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1993 (eval $ac_compile) 2>conftest.er1
1995 grep -v '^ *+' conftest.er1
>conftest.err
1997 cat conftest.err
>&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); } &&
2000 { ac_try
='test -z "$ac_c_werror_flag"
2001 || test ! -s conftest.err'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; } &&
2007 { ac_try
='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2024 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2025 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2026 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2027 ac_test_CFLAGS
=${CFLAGS+set}
2028 ac_save_CFLAGS
=$CFLAGS
2030 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2031 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2032 if test "${ac_cv_prog_cc_g+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 cat >conftest.
$ac_ext <<_ACEOF
2038 cat confdefs.h
>>conftest.
$ac_ext
2039 cat >>conftest.
$ac_ext <<_ACEOF
2040 /* end confdefs.h. */
2050 rm -f conftest.
$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052 (eval $ac_compile) 2>conftest.er1
2054 grep -v '^ *+' conftest.er1
>conftest.err
2056 cat conftest.err
>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try
='test -z "$ac_c_werror_flag"
2060 || test ! -s conftest.err'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.
$ac_ext >&5
2079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2083 if test "$ac_test_CFLAGS" = set; then
2084 CFLAGS
=$ac_save_CFLAGS
2085 elif test $ac_cv_prog_cc_g = yes; then
2086 if test "$GCC" = yes; then
2092 if test "$GCC" = yes; then
2098 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2099 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2100 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 ac_cv_prog_cc_stdc
=no
2105 cat >conftest.
$ac_ext <<_ACEOF
2108 cat confdefs.h
>>conftest.
$ac_ext
2109 cat >>conftest.
$ac_ext <<_ACEOF
2110 /* end confdefs.h. */
2113 #include <sys/types.h>
2114 #include <sys/stat.h>
2115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2116 struct buf { int x; };
2117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2118 static char *e (p, i)
2124 static char *f (char * (*g) (char **, int), char **p, ...)
2129 s = g (p, va_arg (v,int));
2134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2135 function prototypes and stuff, but not '\xHH' hex character constants.
2136 These don't provoke an error unfortunately, instead are silently treated
2137 as 'x'. The following induces an error, until -std1 is added to get
2138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2139 array size at least. It's necessary to write '\x00'==0 to get something
2140 that's true only with -std1. */
2141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2143 int test (int i, double x);
2144 struct s1 {int (*f) (int a);};
2145 struct s2 {int (*f) (double a);};
2146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2157 # Don't try gcc -ansi; that turns off useful extensions and
2158 # breaks some systems' header files.
2159 # AIX -qlanglvl=ansi
2160 # Ultrix and OSF/1 -std1
2161 # HP-UX 10.20 and later -Ae
2162 # HP-UX older versions -Aa -D_HPUX_SOURCE
2163 # SVR4 -Xc -D__EXTENSIONS__
2164 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2166 CC
="$ac_save_CC $ac_arg"
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>conftest.er1
2171 grep -v '^ *+' conftest.er1
>conftest.err
2173 cat conftest.err
>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); } &&
2176 { ac_try
='test -z "$ac_c_werror_flag"
2177 || test ! -s conftest.err'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2189 ac_cv_prog_cc_stdc
=$ac_arg
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.
$ac_ext >&5
2196 rm -f conftest.err conftest.
$ac_objext
2198 rm -f conftest.
$ac_ext conftest.
$ac_objext
2203 case "x$ac_cv_prog_cc_stdc" in
2205 echo "$as_me:$LINENO: result: none needed" >&5
2206 echo "${ECHO_T}none needed" >&6 ;;
2208 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2209 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2210 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2213 # Some people use a C++ compiler to compile C. Since we use `exit',
2214 # in C++ we need to declare it. In case someone uses the same compiler
2215 # for both compiling C and C++ we need to have the C++ compiler decide
2216 # the declaration of exit, since it's the most demanding environment.
2217 cat >conftest.
$ac_ext <<_ACEOF
2222 rm -f conftest.
$ac_objext
2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2224 (eval $ac_compile) 2>conftest.er1
2226 grep -v '^ *+' conftest.er1
>conftest.err
2228 cat conftest.err
>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -z "$ac_c_werror_flag"
2232 || test ! -s conftest.err'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; } &&
2238 { ac_try
='test -s conftest.$ac_objext'
2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; }; then
2244 for ac_declaration
in \
2246 'extern "C" void std::exit (int) throw (); using std::exit;' \
2247 'extern "C" void std::exit (int); using std::exit;' \
2248 'extern "C" void exit (int) throw ();' \
2249 'extern "C" void exit (int);' \
2252 cat >conftest.
$ac_ext <<_ACEOF
2255 cat confdefs.h
>>conftest.
$ac_ext
2256 cat >>conftest.
$ac_ext <<_ACEOF
2257 /* end confdefs.h. */
2268 rm -f conftest.
$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2272 grep -v '^ *+' conftest.er1
>conftest.err
2274 cat conftest.err
>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try
='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 cat >conftest.
$ac_ext <<_ACEOF
2301 cat confdefs.h
>>conftest.
$ac_ext
2302 cat >>conftest.
$ac_ext <<_ACEOF
2303 /* end confdefs.h. */
2313 rm -f conftest.
$ac_objext
2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 (eval $ac_compile) 2>conftest.er1
2317 grep -v '^ *+' conftest.er1
>conftest.err
2319 cat conftest.err
>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try
='test -z "$ac_c_werror_flag"
2323 || test ! -s conftest.err'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; } &&
2329 { ac_try
='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.
$ac_ext >&5
2341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2344 if test -n "$ac_declaration"; then
2345 echo '#ifdef __cplusplus' >>confdefs.h
2346 echo $ac_declaration >>confdefs.h
2347 echo '#endif' >>confdefs.h
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2357 ac_cpp
='$CPP $CPPFLAGS'
2358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2363 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2364 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2365 if test "${ac_cv_search_strerror+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 ac_func_search_save_LIBS
=$LIBS
2369 ac_cv_search_strerror
=no
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2377 /* Override any gcc2 internal prototype to avoid an error. */
2381 /* We use char because int might match the return type of a gcc2
2382 builtin and then its argument prototype would still apply. */
2392 rm -f conftest.
$ac_objext conftest
$ac_exeext
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2394 (eval $ac_link) 2>conftest.er1
2396 grep -v '^ *+' conftest.er1
>conftest.err
2398 cat conftest.err
>&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); } &&
2401 { ac_try
='test -z "$ac_c_werror_flag"
2402 || test ! -s conftest.err'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; } &&
2408 { ac_try
='test -s conftest$ac_exeext'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; }; then
2414 ac_cv_search_strerror
="none required"
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2420 rm -f conftest.err conftest.
$ac_objext \
2421 conftest
$ac_exeext conftest.
$ac_ext
2422 if test "$ac_cv_search_strerror" = no
; then
2423 for ac_lib
in cposix
; do
2424 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2425 cat >conftest.
$ac_ext <<_ACEOF
2428 cat confdefs.h
>>conftest.
$ac_ext
2429 cat >>conftest.
$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2432 /* Override any gcc2 internal prototype to avoid an error. */
2436 /* We use char because int might match the return type of a gcc2
2437 builtin and then its argument prototype would still apply. */
2447 rm -f conftest.
$ac_objext conftest
$ac_exeext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2449 (eval $ac_link) 2>conftest.er1
2451 grep -v '^ *+' conftest.er1
>conftest.err
2453 cat conftest.err
>&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); } &&
2456 { ac_try
='test -z "$ac_c_werror_flag"
2457 || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try
='test -s conftest$ac_exeext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2469 ac_cv_search_strerror
="-l$ac_lib"
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2476 rm -f conftest.err conftest.
$ac_objext \
2477 conftest
$ac_exeext conftest.
$ac_ext
2480 LIBS
=$ac_func_search_save_LIBS
2482 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2483 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2484 if test "$ac_cv_search_strerror" != no
; then
2485 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2490 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2491 am__api_version
="1.9"
2492 # Find a good install program. We prefer a C program (faster),
2493 # so one script is as good as another. But avoid the broken or
2494 # incompatible versions:
2495 # SysV /etc/install, /usr/sbin/install
2496 # SunOS /usr/etc/install
2497 # IRIX /sbin/install
2499 # AmigaOS /C/install, which installs bootblocks on floppy discs
2500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2503 # OS/2's system install, which has a completely different semantic
2504 # ./install, which can be erroneously created by make from ./install.sh.
2505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2507 if test -z "$INSTALL"; then
2508 if test "${ac_cv_path_install+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir
=.
2516 # Account for people who put trailing slashes in PATH elements.
2518 .
/ | .
// |
/cC
/* | \
2519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2523 # OSF1 and SCO ODT 3.0 have their own names for install.
2524 # Don't use installbsd from OSF since it installs stuff as root
2526 for ac_prog
in ginstall scoinst
install; do
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2529 if test $ac_prog = install &&
2530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # AIX install. It has an incompatible calling convention.
2533 elif test $ac_prog = install &&
2534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2535 # program-specific install script used by HP pwplus--don't use.
2538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2550 if test "${ac_cv_path_install+set}" = set; then
2551 INSTALL
=$ac_cv_path_install
2553 # As a last resort, use the slow shell script. We don't cache a
2554 # path for INSTALL within a source directory, because that will
2555 # break other packages using the cache if that directory is
2556 # removed, or if the path is relative.
2557 INSTALL
=$ac_install_sh
2560 echo "$as_me:$LINENO: result: $INSTALL" >&5
2561 echo "${ECHO_T}$INSTALL" >&6
2563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2564 # It thinks the first close brace ends the variable substitution.
2565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2575 echo timestamp
> conftest.
file
2576 # Do `set' in a subshell so we don't clobber the current shell's
2577 # arguments. Must try -L first in case configure is actually a
2578 # symlink; some systems play weird games with the mod time of symlinks
2579 # (eg FreeBSD returns the mod time of the symlink's containing
2582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2583 if test "$*" = "X"; then
2585 set X
`ls -t $srcdir/configure conftest.file`
2588 if test "$*" != "X $srcdir/configure conftest.file" \
2589 && test "$*" != "X conftest.file $srcdir/configure"; then
2591 # If neither matched, then we have a broken ls. This can happen
2592 # if, for instance, CONFIG_SHELL is bash and it inherits a
2593 # broken ls alias from the environment. This has actually
2594 # happened. Such a system could not be considered "sane".
2595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" >&5
2597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2598 alias in your environment" >&2;}
2599 { (exit 1); exit 1; }; }
2602 test "$2" = conftest.
file
2608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2609 Check your system clock" >&5
2610 echo "$as_me: error: newly created file is older than distributed files!
2611 Check your system clock" >&2;}
2612 { (exit 1); exit 1; }; }
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2616 test "$program_prefix" != NONE
&&
2617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2618 # Use a double $ so make ignores it.
2619 test "$program_suffix" != NONE
&&
2620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2621 # Double any \ or $. echo might interpret backslashes.
2622 # By default was `s,x,x', remove it if useless.
2623 cat <<\_ACEOF
>conftest.
sed
2624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2629 # expand $ac_aux_dir to an absolute path
2630 am_aux_dir
=`cd $ac_aux_dir && pwd`
2632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2633 # Use eval to expand $SHELL
2634 if eval "$MISSING --run true"; then
2635 am_missing_run
="$MISSING --run "
2638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2643 # We used to keeping the `.' as first argument, in order to
2644 # allow $(mkdir_p) to be used without argument. As in
2645 # $(mkdir_p) $(somedir)
2646 # where $(somedir) is conditionally defined. However this is wrong
2648 # 1. if the package is installed by a user who cannot write `.'
2649 # make install will fail,
2650 # 2. the above comment should most certainly read
2651 # $(mkdir_p) $(DESTDIR)$(somedir)
2652 # so it does not work when $(somedir) is undefined and
2653 # $(DESTDIR) is not.
2654 # To support the latter case, we have to write
2655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2656 # so the `.' trick is pointless.
2657 mkdir_p
='mkdir -p --'
2659 # On NextStep and OpenStep, the `mkdir' command does not
2660 # recognize any option. It will interpret all options as
2661 # directories to create, and then abort because `.' already
2663 for d
in .
/-p .
/--version;
2665 test -d $d && rmdir $d
2667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2668 if test -f "$ac_aux_dir/mkinstalldirs"; then
2669 mkdir_p
='$(mkinstalldirs)'
2671 mkdir_p
='$(install_sh) -d'
2675 for ac_prog
in gawk mawk nawk
awk
2677 # Extract the first word of "$ac_prog", so it can be a program name with args.
2678 set dummy
$ac_prog; ac_word
=$2
2679 echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2681 if test "${ac_cv_prog_AWK+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 if test -n "$AWK"; then
2685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2694 ac_cv_prog_AWK
="$ac_prog"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$AWK"; then
2705 echo "$as_me:$LINENO: result: $AWK" >&5
2706 echo "${ECHO_T}$AWK" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2712 test -n "$AWK" && break
2715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.
make <<\_ACEOF
2723 @
echo 'ac_maketemp="$(MAKE)"'
2725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2727 if test -n "$ac_maketemp"; then
2728 eval ac_cv_prog_make_
${ac_make}_set
=yes
2730 eval ac_cv_prog_make_
${ac_make}_set
=no
2734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2741 SET_MAKE
="MAKE=${MAKE-make}"
2744 rm -rf .tst
2>/dev
/null
2745 mkdir .tst
2>/dev
/null
2746 if test -d .tst
; then
2751 rmdir .tst
2>/dev
/null
2753 DEPDIR
="${am__leading_dot}deps"
2755 ac_config_commands
="$ac_config_commands depfiles"
2758 am_make
=${MAKE-make}
2759 cat > confinc
<< 'END'
2764 # If we don't find an include directive, just comment out the code.
2765 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2766 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2770 # First try GNU make style include.
2771 echo "include confinc" > confmf
2772 # We grep out `Entering directory' and `Leaving directory'
2773 # messages which can occur if `w' ends up in MAKEFLAGS.
2774 # In particular we don't look at `^make:' because GNU make might
2775 # be invoked under some other name (usually "gmake"), in which
2776 # case it prints its new name instead of `make'.
2777 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2782 # Now try BSD make style include.
2783 if test "$am__include" = "#"; then
2784 echo '.include "confinc"' > confmf
2785 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2786 am__include
=.include
2793 echo "$as_me:$LINENO: result: $_am_result" >&5
2794 echo "${ECHO_T}$_am_result" >&6
2795 rm -f confinc confmf
2797 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2798 if test "${enable_dependency_tracking+set}" = set; then
2799 enableval
="$enable_dependency_tracking"
2802 if test "x$enable_dependency_tracking" != xno
; then
2803 am_depcomp
="$ac_aux_dir/depcomp"
2808 if test "x$enable_dependency_tracking" != xno; then
2818 # test to see if srcdir already configured
2819 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2820 test -f $srcdir/config.status
; then
2821 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2822 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2823 { (exit 1); exit 1; }; }
2826 # test whether we have cygpath
2827 if test -z "$CYGPATH_W"; then
2828 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2829 CYGPATH_W
='cygpath -w'
2836 # Define the identity of the package.
2838 VERSION
=${BFD_VERSION}
2841 cat >>confdefs.h
<<_ACEOF
2842 #define PACKAGE "$PACKAGE"
2846 cat >>confdefs.h
<<_ACEOF
2847 #define VERSION "$VERSION"
2850 # Some tools Automake needs.
2852 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2855 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2858 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2861 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2864 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2866 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2868 # Installed binaries are usually stripped using `strip' when the user
2869 # run `make install-strip'. However `strip' might not be the right
2870 # tool to use in cross-compilation environments, therefore Automake
2871 # will honor the `STRIP' environment variable to overrule this program.
2872 if test "$cross_compiling" != no
; then
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2875 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2876 echo "$as_me:$LINENO: checking for $ac_word" >&5
2877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2878 if test "${ac_cv_prog_STRIP+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 if test -n "$STRIP"; then
2882 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 STRIP
=$ac_cv_prog_STRIP
2901 if test -n "$STRIP"; then
2902 echo "$as_me:$LINENO: result: $STRIP" >&5
2903 echo "${ECHO_T}$STRIP" >&6
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2910 if test -z "$ac_cv_prog_STRIP"; then
2912 # Extract the first word of "strip", so it can be a program name with args.
2913 set dummy strip
; ac_word
=$2
2914 echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2916 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 if test -n "$ac_ct_STRIP"; then
2920 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_ac_ct_STRIP
="strip"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2939 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2940 if test -n "$ac_ct_STRIP"; then
2941 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2942 echo "${ECHO_T}$ac_ct_STRIP" >&6
2944 echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6
2950 STRIP
="$ac_cv_prog_STRIP"
2954 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2956 # We need awk for the "check" target. The system "awk" is bad on
2958 # Always define AMTAR for backward compatibility.
2960 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2962 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2967 depcc
="$CC" am_compiler_list
=
2969 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2970 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2975 # We make a subdir and do the tests there. Otherwise we can end up
2976 # making bogus files that we don't know about and never remove. For
2977 # instance it was reported that on HP-UX the gcc test will end up
2978 # making a dummy file named `D' -- because `-MD' means `put the output
2981 # Copy depcomp to subdir because otherwise we won't find it if we're
2982 # using a relative directory.
2983 cp "$am_depcomp" conftest.dir
2985 # We will build objects and dependencies in a subdirectory because
2986 # it helps to detect inapplicable dependency modes. For instance
2987 # both Tru64's cc and ICC support -MD to output dependencies as a
2988 # side effect of compilation, but ICC will put the dependencies in
2989 # the current directory while Tru64 will put them in the object
2993 am_cv_CC_dependencies_compiler_type
=none
2994 if test "$am_compiler_list" = ""; then
2995 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2997 for depmode
in $am_compiler_list; do
2998 # Setup a source with many dependencies, because some compilers
2999 # like to wrap large dependency lists on column 80 (with \), and
3000 # we should not choose a depcomp mode which is confused by this.
3002 # We need to recreate these files for each test, as the compiler may
3003 # overwrite some of them when testing with obscure command lines.
3004 # This happens at least with the AIX C compiler.
3006 for i
in 1 2 3 4 5 6; do
3007 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3008 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3009 # Solaris 8's {/usr,}/bin/sh.
3010 touch sub
/conftst
$i.h
3012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3016 # after this tag, mechanisms are not by side-effect, so they'll
3017 # only be used when explicitly requested
3018 if test "x$enable_dependency_tracking" = xyes
; then
3026 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3027 # mode. It turns out that the SunPro C++ compiler does not properly
3028 # handle `-M -o', and we need to detect this.
3029 if depmode
=$depmode \
3030 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3031 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3032 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3033 >/dev
/null
2>conftest.err
&&
3034 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3035 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3036 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3037 # icc doesn't choke on unknown options, it will just issue warnings
3038 # or remarks (even with -Werror). So we grep stderr for any message
3039 # that says an option was ignored or not supported.
3040 # When given -MP, icc 7.0 and 7.1 complain thusly:
3041 # icc: Command line warning: ignoring option '-M'; no argument required
3042 # The diagnosis changed in icc 8.0:
3043 # icc: Command line remark: option '-MP' not supported
3044 if (grep 'ignoring option' conftest.err ||
3045 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3046 am_cv_CC_dependencies_compiler_type
=$depmode
3055 am_cv_CC_dependencies_compiler_type
=none
3059 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3060 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3061 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3066 test "x$enable_dependency_tracking" != xno \
3067 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3069 am__fastdepCC_FALSE
='#'
3071 am__fastdepCC_TRUE
='#'
3072 am__fastdepCC_FALSE
=
3078 # Check whether --enable-shared or --disable-shared was given.
3079 if test "${enable_shared+set}" = set; then
3080 enableval
="$enable_shared"
3081 p
=${PACKAGE-default}
3083 yes) enable_shared
=yes ;;
3084 no
) enable_shared
=no
;;
3087 # Look at the argument we got. We use all the common list separators.
3088 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3089 for pkg
in $enableval; do
3090 if test "X$pkg" = "X$p"; then
3100 # Check whether --enable-static or --disable-static was given.
3101 if test "${enable_static+set}" = set; then
3102 enableval
="$enable_static"
3103 p
=${PACKAGE-default}
3105 yes) enable_static
=yes ;;
3106 no
) enable_static
=no
;;
3109 # Look at the argument we got. We use all the common list separators.
3110 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3111 for pkg
in $enableval; do
3112 if test "X$pkg" = "X$p"; then
3122 # Check whether --enable-fast-install or --disable-fast-install was given.
3123 if test "${enable_fast_install+set}" = set; then
3124 enableval
="$enable_fast_install"
3125 p
=${PACKAGE-default}
3127 yes) enable_fast_install
=yes ;;
3128 no
) enable_fast_install
=no
;;
3130 enable_fast_install
=no
3131 # Look at the argument we got. We use all the common list separators.
3132 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3133 for pkg
in $enableval; do
3134 if test "X$pkg" = "X$p"; then
3135 enable_fast_install
=yes
3142 enable_fast_install
=yes
3145 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3146 if test "${with_gnu_ld+set}" = set; then
3147 withval
="$with_gnu_ld"
3148 test "$withval" = no || with_gnu_ld
=yes
3153 if test "$GCC" = yes; then
3154 # Check if gcc -print-prog-name=ld gives a path.
3155 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3156 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3159 # gcc leaves a trailing carriage return which upsets mingw
3160 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3162 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3165 # Accept absolute paths.
3166 [\\/]* |
[A-Za-z
]:[\\/]*)
3167 re_direlt
='/[^/][^/]*/\.\./'
3168 # Canonicalize the path of ld
3169 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3170 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3171 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3173 test -z "$LD" && LD
="$ac_prog"
3176 # If it fails, then pretend we aren't using GCC.
3180 # If it is relative, then search for the first ld in PATH.
3184 elif test "$with_gnu_ld" = yes; then
3185 echo "$as_me:$LINENO: checking for GNU ld" >&5
3186 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3188 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3189 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3191 if test "${lt_cv_path_LD+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 if test -z "$LD"; then
3195 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3196 for ac_dir
in $PATH; do
3197 test -z "$ac_dir" && ac_dir
=.
3198 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3199 lt_cv_path_LD
="$ac_dir/$ac_prog"
3200 # Check to see if the program is GNU ld. I'd rather use --version,
3201 # but apparently some GNU ld's only accept -v.
3202 # Break only if it was the GNU/non-GNU ld that we prefer.
3203 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3204 test "$with_gnu_ld" != no
&& break
3206 test "$with_gnu_ld" != yes && break
3212 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3217 if test -n "$LD"; then
3218 echo "$as_me:$LINENO: result: $LD" >&5
3219 echo "${ECHO_T}$LD" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3224 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3225 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3226 { (exit 1); exit 1; }; }
3227 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3228 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3229 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3233 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3234 lt_cv_prog_gnu_ld
=yes
3236 lt_cv_prog_gnu_ld
=no
3239 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3240 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3241 with_gnu_ld
=$lt_cv_prog_gnu_ld
3244 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3245 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3246 if test "${lt_cv_ld_reload_flag+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 lt_cv_ld_reload_flag
='-r'
3251 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3252 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3253 reload_flag
=$lt_cv_ld_reload_flag
3254 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3256 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3257 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3258 if test "${lt_cv_path_NM+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3261 if test -n "$NM"; then
3262 # Let the user override the test.
3265 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3266 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3267 test -z "$ac_dir" && ac_dir
=.
3268 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3269 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3270 # Check to see if the nm accepts a BSD-compat flag.
3271 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3272 # nm: unknown option "B" ignored
3273 # Tru64's nm complains that /dev/null is an invalid object file
3274 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3275 lt_cv_path_NM
="$tmp_nm -B"
3277 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3278 lt_cv_path_NM
="$tmp_nm -p"
3281 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3282 continue # so that we can try to find one that supports BSD flags
3287 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3292 echo "$as_me:$LINENO: result: $NM" >&5
3293 echo "${ECHO_T}$NM" >&6
3295 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3296 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3298 if test "$LN_S" = "ln -s"; then
3299 echo "$as_me:$LINENO: result: yes" >&5
3300 echo "${ECHO_T}yes" >&6
3302 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3303 echo "${ECHO_T}no, using $LN_S" >&6
3306 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3307 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3308 if test "${lt_cv_deplibs_check_method+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3311 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3312 lt_cv_file_magic_test_file
=
3313 lt_cv_deplibs_check_method
='unknown'
3314 # Need to set the preceding variable on all platforms that support
3315 # interlibrary dependencies.
3316 # 'none' -- dependencies not supported.
3317 # `unknown' -- same as none, but documents that we really don't know.
3318 # 'pass_all' -- all dependencies passed with no checks.
3319 # 'test_compile' -- check by making test program.
3320 # 'file_magic [regex]' -- check by looking for files in library path
3321 # which responds to the $file_magic_cmd with a given egrep regex.
3322 # If you have `file' or equivalent on your system and you're not sure
3323 # whether `pass_all' will *always* work, you probably want this one.
3327 lt_cv_deplibs_check_method
=pass_all
3331 lt_cv_deplibs_check_method
=pass_all
3335 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3336 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3337 lt_cv_file_magic_test_file
=/shlib
/libc.so
3340 cygwin
* | mingw
* |pw32
*)
3341 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3342 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3345 darwin
* | rhapsody
*)
3346 # this will be overwritten by pass_all, but leave it in just in case
3347 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3348 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3350 rhapsody
* | darwin1.012
)
3351 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3354 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3357 lt_cv_deplibs_check_method
=pass_all
3360 freebsd
* | kfreebsd
*-gnu)
3361 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3364 # Not sure whether the presence of OpenBSD here was a mistake.
3365 # Let's accept both of them until this is cleared up.
3366 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3367 lt_cv_file_magic_cmd
=/usr
/bin
/file
3368 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3372 lt_cv_deplibs_check_method
=pass_all
3377 lt_cv_deplibs_check_method
=pass_all
3383 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3384 lt_cv_file_magic_cmd
=/usr
/bin
/file
3385 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3388 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3389 lt_cv_file_magic_cmd
=/usr
/bin
/file
3390 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3398 # this will be overridden with pass_all, but let us keep it just in case
3399 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3403 *-32|
*"-32 ") libmagic
=32-bit;;
3404 *-n32|
*"-n32 ") libmagic
=N32
;;
3405 *-64|
*"-64 ") libmagic
=64-bit;;
3406 *) libmagic
=never-match
;;
3408 # this will be overridden with pass_all, but let us keep it just in case
3409 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3412 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3413 lt_cv_deplibs_check_method
=pass_all
3416 # This must be Linux ELF.
3418 lt_cv_deplibs_check_method
=pass_all
3421 netbsd
* | knetbsd
*-gnu)
3422 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3423 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3425 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3430 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3431 lt_cv_file_magic_cmd
=/usr
/bin
/file
3432 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3435 osf3
* | osf4
* | osf5
*)
3436 # this will be overridden with pass_all, but let us keep it just in case
3437 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3438 lt_cv_file_magic_test_file
=/shlib
/libc.so
3439 lt_cv_deplibs_check_method
=pass_all
3443 lt_cv_deplibs_check_method
=pass_all
3447 lt_cv_deplibs_check_method
=pass_all
3448 lt_cv_file_magic_test_file
=/lib
/libc.so
3451 sysv5uw
[78]* | sysv4
*uw2
*)
3452 lt_cv_deplibs_check_method
=pass_all
3455 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3456 case $host_vendor in
3458 lt_cv_deplibs_check_method
=pass_all
3461 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]'
3462 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3469 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3470 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3471 file_magic_cmd
=$lt_cv_file_magic_cmd
3472 deplibs_check_method
=$lt_cv_deplibs_check_method
3477 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3479 # find the maximum length of command line arguments
3480 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3481 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3482 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 # On DJGPP, this test can blow up pretty badly due to problems in libc
3491 # (any single argument exceeding 2000 bytes causes a buffer overrun
3492 # during glob expansion). Even if it were fixed, the result of this
3493 # check would be larger than it should be.
3494 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3498 # On Win9x/ME, this test blows up -- it succeeds, but takes
3499 # about 5 minutes as the teststring grows exponentially.
3500 # Worse, since 9x/ME are not pre-emptively multitasking,
3501 # you end up with a "frozen" computer, even though with patience
3502 # the test eventually succeeds (with a max line length of 256k).
3503 # Instead, let's just punt: use the minimum linelength reported by
3504 # all of the supported platforms: 8192 (on NT/2K/XP).
3505 lt_cv_sys_max_cmd_len
=8192;
3509 # On AmigaOS with pdksh, this test takes hours, literally.
3510 # So we just punt and use a minimum line length of 8192.
3511 lt_cv_sys_max_cmd_len
=8192;
3514 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3515 # This has been around since 386BSD, at least. Likely further.
3516 if test -x /sbin
/sysctl
; then
3517 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3518 elif test -x /usr
/sbin
/sysctl
; then
3519 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3521 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3523 # And add a safety zone
3524 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3525 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3531 if test -n "$lt_cv_sys_max_cmd_len" ; then
3532 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3533 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3535 echo "$as_me:$LINENO: result: none" >&5
3536 echo "${ECHO_T}none" >&6
3540 # Only perform the check for file, if the check method requires it
3541 case $deplibs_check_method in
3543 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3544 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3545 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3546 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3554 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3557 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3558 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3559 ac_dummy
="/usr/bin:$PATH"
3560 for ac_dir
in $ac_dummy; do
3561 test -z "$ac_dir" && ac_dir
=.
3562 if test -f $ac_dir/${ac_tool_prefix}file; then
3563 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3564 if test -n "$file_magic_test_file"; then
3565 case $deplibs_check_method in
3567 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3568 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3569 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3570 egrep "$file_magic_regex" > /dev
/null
; then
3575 *** Warning: the command libtool uses to detect shared libraries,
3576 *** $file_magic_cmd, produces output that libtool cannot recognize.
3577 *** The result is that libtool may fail to recognize shared libraries
3578 *** as such. This will affect the creation of libtool libraries that
3579 *** depend on shared libraries, but programs linked with such libtool
3580 *** libraries will work regardless of this problem. Nevertheless, you
3581 *** may want to report the problem to your system manager and/or to
3582 *** bug-libtool@gnu.org
3592 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3597 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3598 if test -n "$MAGIC_CMD"; then
3599 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3600 echo "${ECHO_T}$MAGIC_CMD" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 if test -z "$lt_cv_path_MAGIC_CMD"; then
3607 if test -n "$ac_tool_prefix"; then
3608 echo "$as_me:$LINENO: checking for file" >&5
3609 echo $ECHO_N "checking for file... $ECHO_C" >&6
3610 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3618 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3621 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3622 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3623 ac_dummy
="/usr/bin:$PATH"
3624 for ac_dir
in $ac_dummy; do
3625 test -z "$ac_dir" && ac_dir
=.
3626 if test -f $ac_dir/file; then
3627 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3628 if test -n "$file_magic_test_file"; then
3629 case $deplibs_check_method in
3631 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3632 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3633 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3634 egrep "$file_magic_regex" > /dev
/null
; then
3639 *** Warning: the command libtool uses to detect shared libraries,
3640 *** $file_magic_cmd, produces output that libtool cannot recognize.
3641 *** The result is that libtool may fail to recognize shared libraries
3642 *** as such. This will affect the creation of libtool libraries that
3643 *** depend on shared libraries, but programs linked with such libtool
3644 *** libraries will work regardless of this problem. Nevertheless, you
3645 *** may want to report the problem to your system manager and/or to
3646 *** bug-libtool@gnu.org
3656 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3661 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3662 if test -n "$MAGIC_CMD"; then
3663 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3664 echo "${ECHO_T}$MAGIC_CMD" >&6
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3679 if test -n "$ac_tool_prefix"; then
3680 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3681 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3682 echo "$as_me:$LINENO: checking for $ac_word" >&5
3683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3684 if test "${ac_cv_prog_RANLIB+set}" = set; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 if test -n "$RANLIB"; then
3688 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_exec_ext
in '' $ac_executable_extensions; do
3696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 RANLIB
=$ac_cv_prog_RANLIB
3707 if test -n "$RANLIB"; then
3708 echo "$as_me:$LINENO: result: $RANLIB" >&5
3709 echo "${ECHO_T}$RANLIB" >&6
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3716 if test -z "$ac_cv_prog_RANLIB"; then
3717 ac_ct_RANLIB
=$RANLIB
3718 # Extract the first word of "ranlib", so it can be a program name with args.
3719 set dummy ranlib
; ac_word
=$2
3720 echo "$as_me:$LINENO: checking for $ac_word" >&5
3721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3722 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 if test -n "$ac_ct_RANLIB"; then
3726 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3745 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3746 if test -n "$ac_ct_RANLIB"; then
3747 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3748 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3750 echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6
3754 RANLIB
=$ac_ct_RANLIB
3756 RANLIB
="$ac_cv_prog_RANLIB"
3759 if test -n "$ac_tool_prefix"; then
3760 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3761 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3762 echo "$as_me:$LINENO: checking for $ac_word" >&5
3763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3764 if test "${ac_cv_prog_STRIP+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 if test -n "$STRIP"; then
3768 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir
=.
3775 for ac_exec_ext
in '' $ac_executable_extensions; do
3776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 STRIP
=$ac_cv_prog_STRIP
3787 if test -n "$STRIP"; then
3788 echo "$as_me:$LINENO: result: $STRIP" >&5
3789 echo "${ECHO_T}$STRIP" >&6
3791 echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6
3796 if test -z "$ac_cv_prog_STRIP"; then
3798 # Extract the first word of "strip", so it can be a program name with args.
3799 set dummy strip
; ac_word
=$2
3800 echo "$as_me:$LINENO: checking for $ac_word" >&5
3801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3802 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 if test -n "$ac_ct_STRIP"; then
3806 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_ac_ct_STRIP
="strip"
3816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3825 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3826 if test -n "$ac_ct_STRIP"; then
3827 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3828 echo "${ECHO_T}$ac_ct_STRIP" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3836 STRIP
="$ac_cv_prog_STRIP"
3840 # Check for any special flags to pass to ltconfig.
3841 libtool_flags
="--cache-file=$cache_file"
3842 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3843 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3844 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3845 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3846 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3849 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3850 if test "${enable_libtool_lock+set}" = set; then
3851 enableval
="$enable_libtool_lock"
3854 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3855 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3858 # Check whether --with-pic or --without-pic was given.
3859 if test "${with_pic+set}" = set; then
3865 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3866 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3868 # Some flags need to be propagated to the compiler or linker for good
3872 # Find out which ABI we are using.
3873 echo '#line 3873 "configure"' > conftest.
$ac_ext
3874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3875 (eval $ac_compile) 2>&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; then
3879 if test "$lt_cv_prog_gnu_ld" = yes; then
3880 case `/usr/bin/file conftest.$ac_objext` in
3882 LD
="${LD-ld} -melf32bsmip"
3885 LD
="${LD-ld} -melf32bmipn32"
3888 LD
="${LD-ld} -melf64bmip"
3892 case `/usr/bin/file conftest.$ac_objext` in
3909 # Find out which ABI we are using.
3910 echo 'int i;' > conftest.
$ac_ext
3911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3912 (eval $ac_compile) 2>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; then
3916 case "`/usr/bin/file conftest.o`" in
3928 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3929 # Find out which ABI we are using.
3930 echo 'int i;' > conftest.
$ac_ext
3931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3932 (eval $ac_compile) 2>&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; then
3936 case "`/usr/bin/file conftest.o`" in
3940 LD
="${LD-ld} -m elf_i386"
3942 ppc64-
*linux
*|powerpc64-
*linux
*)
3943 LD
="${LD-ld} -m elf32ppclinux"
3946 LD
="${LD-ld} -m elf_s390"
3949 LD
="${LD-ld} -m elf32_sparc"
3956 LD
="${LD-ld} -m elf_x86_64"
3958 ppc
*-*linux
*|powerpc
*-*linux
*)
3959 LD
="${LD-ld} -m elf64ppc"
3962 LD
="${LD-ld} -m elf64_s390"
3965 LD
="${LD-ld} -m elf64_sparc"
3975 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3976 SAVE_CFLAGS
="$CFLAGS"
3977 CFLAGS
="$CFLAGS -belf"
3978 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3979 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3980 if test "${lt_cv_cc_needs_belf+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 ac_cpp
='$CPP $CPPFLAGS'
3987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3991 cat >conftest.
$ac_ext <<_ACEOF
3994 cat confdefs.h
>>conftest.
$ac_ext
3995 cat >>conftest.
$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
4006 rm -f conftest.
$ac_objext conftest
$ac_exeext
4007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4008 (eval $ac_link) 2>conftest.er1
4010 grep -v '^ *+' conftest.er1
>conftest.err
4012 cat conftest.err
>&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } &&
4015 { ac_try
='test -z "$ac_c_werror_flag"
4016 || test ! -s conftest.err'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; } &&
4022 { ac_try
='test -s conftest$ac_exeext'
4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4028 lt_cv_cc_needs_belf
=yes
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.
$ac_ext >&5
4033 lt_cv_cc_needs_belf
=no
4035 rm -f conftest.err conftest.
$ac_objext \
4036 conftest
$ac_exeext conftest.
$ac_ext
4038 ac_cpp
='$CPP $CPPFLAGS'
4039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4044 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4045 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4046 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4047 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4048 CFLAGS
="$SAVE_CFLAGS"
4056 # Save cache, so that ltconfig can load it
4057 cat >confcache
<<\_ACEOF
4058 # This file is a shell script that caches the results of configure
4059 # tests run on this system so they can be shared between configure
4060 # scripts and configure runs, see configure's option --config-cache.
4061 # It is not useful on other systems. If it contains results you don't
4062 # want to keep, you may remove or edit it.
4064 # config.status only pays attention to the cache file if you give it
4065 # the --recheck option to rerun configure.
4067 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4068 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4073 # The following way of writing the cache mishandles newlines in values,
4074 # but we know of no workaround that is simple, portable, and efficient.
4075 # So, don't put newlines in cache variables' values.
4076 # Ultrix sh set writes to stderr and can't be redirected directly,
4077 # and sets the high bit in the cache file unless we assign to the vars.
4080 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4082 # `set' does not quote correctly, so add quotes (double-quote
4083 # substitution turns \\\\ into \\, and sed turns \\ into \).
4086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4089 # `set' quotes correctly as required by POSIX, so do not add quotes.
4091 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4100 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4102 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4103 if test -w $cache_file; then
4104 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4105 cat confcache
>$cache_file
4107 echo "not updating unwritable cache $cache_file"
4112 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4113 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4114 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4115 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4116 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4117 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4118 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4119 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4120 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4121 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4122 echo "$as_me: error: libtool configure failed" >&2;}
4123 { (exit 1); exit 1; }; }
4125 # Reload cache, that may have been modified by ltconfig
4126 if test -r "$cache_file"; then
4127 # Some versions of bash will fail to source /dev/null (special
4128 # files actually), so we avoid doing that.
4129 if test -f "$cache_file"; then
4130 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4131 echo "$as_me: loading cache $cache_file" >&6;}
4133 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4134 *) . .
/$cache_file;;
4138 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4139 echo "$as_me: creating cache $cache_file" >&6;}
4144 # This can be used to rebuild libtool when needed
4145 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4147 # Always use our own libtool.
4148 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4150 # Redirect the config.log output again, so that the ltconfig log is not
4151 # clobbered by the next message.
4152 exec 5>>.
/config.log
4161 # Check whether --with-lib-path or --without-lib-path was given.
4162 if test "${with_lib_path+set}" = set; then
4163 withval
="$with_lib_path"
4166 # Check whether --enable-targets or --disable-targets was given.
4167 if test "${enable_targets+set}" = set; then
4168 enableval
="$enable_targets"
4169 case "${enableval}" in
4170 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4171 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4172 { (exit 1); exit 1; }; }
4174 no
) enable_targets
= ;;
4175 *) enable_targets
=$enableval ;;
4177 fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4178 if test "${enable_64_bit_bfd+set}" = set; then
4179 enableval
="$enable_64_bit_bfd"
4180 case "${enableval}" in
4183 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4184 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4185 { (exit 1); exit 1; }; } ;;
4191 # Check whether --with-sysroot or --without-sysroot was given.
4192 if test "${with_sysroot+set}" = set; then
4193 withval
="$with_sysroot"
4195 case ${with_sysroot} in
4196 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4197 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4200 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4203 if test "x$exec_prefix" = xNONE
; then
4204 if test "x$prefix" = xNONE
; then
4205 test_prefix
=/usr
/local
4210 test_prefix
=$exec_prefix
4212 case ${TARGET_SYSTEM_ROOT} in
4213 "${test_prefix}"|
"${test_prefix}/"*|\
4214 '${exec_prefix}'|
'${exec_prefix}/'*)
4215 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4216 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4224 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4231 # The location to which bugs should be reported.
4233 # Check whether --with-bugurl or --without-bugurl was given.
4234 if test "${with_bugurl+set}" = set; then
4235 withval
="$with_bugurl"
4237 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4238 echo "$as_me: error: bug URL not specified" >&2;}
4239 { (exit 1); exit 1; }; } ;;
4240 no
) REPORT_BUGS_TO
="" ;;
4241 *) REPORT_BUGS_TO
="<URL:$withval>" ;;
4250 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4252 # Check whether --enable-werror or --disable-werror was given.
4253 if test "${enable_werror+set}" = set; then
4254 enableval
="$enable_werror"
4255 case "${enableval}" in
4256 yes | y
) ERROR_ON_WARNING
="yes" ;;
4257 no | n
) ERROR_ON_WARNING
="no" ;;
4258 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4259 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4260 { (exit 1); exit 1; }; } ;;
4264 # Enable -Werror by default when using gcc
4265 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4266 ERROR_ON_WARNING
=yes
4270 if test "${ERROR_ON_WARNING}" = yes ; then
4271 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4272 NO_WERROR
="-Wno-error"
4275 if test "${GCC}" = yes ; then
4276 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4279 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4280 if test "${enable_build_warnings+set}" = set; then
4281 enableval
="$enable_build_warnings"
4282 case "${enableval}" in
4283 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4284 no
) if test "${GCC}" = yes ; then
4287 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4288 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4289 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4290 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4291 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4295 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4296 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4303 ac_config_headers
="$ac_config_headers config.h:config.in"
4306 if test -z "$target" ; then
4307 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4308 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4309 { (exit 1); exit 1; }; }
4311 if test -z "$host" ; then
4312 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
4313 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
4314 { (exit 1); exit 1; }; }
4317 # host-specific stuff:
4320 ac_cpp
='$CPP $CPPFLAGS'
4321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4324 if test -n "$ac_tool_prefix"; then
4325 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4326 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_CC+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 if test -n "$CC"; then
4333 ac_cv_prog_CC
="$CC" # Let the user override the test.
4335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir
=.
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 if test -n "$CC"; then
4353 echo "$as_me:$LINENO: result: $CC" >&5
4354 echo "${ECHO_T}$CC" >&6
4356 echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6
4361 if test -z "$ac_cv_prog_CC"; then
4363 # Extract the first word of "gcc", so it can be a program name with args.
4364 set dummy gcc
; ac_word
=$2
4365 echo "$as_me:$LINENO: checking for $ac_word" >&5
4366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 if test -n "$ac_ct_CC"; then
4371 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_ac_ct_CC
="gcc"
4381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4390 if test -n "$ac_ct_CC"; then
4391 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4392 echo "${ECHO_T}$ac_ct_CC" >&6
4394 echo "$as_me:$LINENO: result: no" >&5
4395 echo "${ECHO_T}no" >&6
4403 if test -z "$CC"; then
4404 if test -n "$ac_tool_prefix"; then
4405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4406 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4407 echo "$as_me:$LINENO: checking for $ac_word" >&5
4408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4409 if test "${ac_cv_prog_CC+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 if test -n "$CC"; then
4413 ac_cv_prog_CC
="$CC" # Let the user override the test.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4422 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 if test -n "$CC"; then
4433 echo "$as_me:$LINENO: result: $CC" >&5
4434 echo "${ECHO_T}$CC" >&6
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4441 if test -z "$ac_cv_prog_CC"; then
4443 # Extract the first word of "cc", so it can be a program name with args.
4444 set dummy cc
; ac_word
=$2
4445 echo "$as_me:$LINENO: checking for $ac_word" >&5
4446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 if test -n "$ac_ct_CC"; then
4451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir
=.
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_ac_ct_CC
="cc"
4461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4470 if test -n "$ac_ct_CC"; then
4471 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4472 echo "${ECHO_T}$ac_ct_CC" >&6
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4484 if test -z "$CC"; then
4485 # Extract the first word of "cc", so it can be a program name with args.
4486 set dummy cc
; ac_word
=$2
4487 echo "$as_me:$LINENO: checking for $ac_word" >&5
4488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4489 if test "${ac_cv_prog_CC+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 if test -n "$CC"; then
4493 ac_cv_prog_CC
="$CC" # Let the user override the test.
4496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4500 test -z "$as_dir" && as_dir
=.
4501 for ac_exec_ext
in '' $ac_executable_extensions; do
4502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4503 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4504 ac_prog_rejected
=yes
4508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 if test $ac_prog_rejected = yes; then
4515 # We found a bogon in the path, so make sure we never use it.
4516 set dummy
$ac_cv_prog_CC
4518 if test $# != 0; then
4519 # We chose a different compiler from the bogus one.
4520 # However, it has the same basename, so the bogon will be chosen
4521 # first if we set CC to just the basename; use the full file name.
4523 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4529 if test -n "$CC"; then
4530 echo "$as_me:$LINENO: result: $CC" >&5
4531 echo "${ECHO_T}$CC" >&6
4533 echo "$as_me:$LINENO: result: no" >&5
4534 echo "${ECHO_T}no" >&6
4538 if test -z "$CC"; then
4539 if test -n "$ac_tool_prefix"; then
4542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4543 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4544 echo "$as_me:$LINENO: checking for $ac_word" >&5
4545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4546 if test "${ac_cv_prog_CC+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 if test -n "$CC"; then
4550 ac_cv_prog_CC
="$CC" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 if test -n "$CC"; then
4570 echo "$as_me:$LINENO: result: $CC" >&5
4571 echo "${ECHO_T}$CC" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4577 test -n "$CC" && break
4580 if test -z "$CC"; then
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy
$ac_prog; ac_word
=$2
4586 echo "$as_me:$LINENO: checking for $ac_word" >&5
4587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 if test -n "$ac_ct_CC"; then
4592 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_CC
="$ac_prog"
4602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4611 if test -n "$ac_ct_CC"; then
4612 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4613 echo "${ECHO_T}$ac_ct_CC" >&6
4615 echo "$as_me:$LINENO: result: no" >&5
4616 echo "${ECHO_T}no" >&6
4619 test -n "$ac_ct_CC" && break
4628 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4629 See \`config.log' for more details." >&5
4630 echo "$as_me: error: no acceptable C compiler found in \$PATH
4631 See \`config.log' for more details." >&2;}
4632 { (exit 1); exit 1; }; }
4634 # Provide some information about the compiler.
4635 echo "$as_me:$LINENO:" \
4636 "checking for C compiler version" >&5
4637 ac_compiler
=`set X $ac_compile; echo $2`
4638 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4639 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); }
4643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4644 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }
4648 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4649 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }
4654 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4655 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4656 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 cat >conftest.
$ac_ext <<_ACEOF
4662 cat confdefs.h
>>conftest.
$ac_ext
4663 cat >>conftest.
$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4677 rm -f conftest.
$ac_objext
4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4679 (eval $ac_compile) 2>conftest.er1
4681 grep -v '^ *+' conftest.er1
>conftest.err
4683 cat conftest.err
>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } &&
4686 { ac_try
='test -z "$ac_c_werror_flag"
4687 || test ! -s conftest.err'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; } &&
4693 { ac_try
='test -s conftest.$ac_objext'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; }; then
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4707 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4710 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4711 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4712 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4713 ac_test_CFLAGS
=${CFLAGS+set}
4714 ac_save_CFLAGS
=$CFLAGS
4716 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4717 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4718 if test "${ac_cv_prog_cc_g+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 cat >conftest.
$ac_ext <<_ACEOF
4724 cat confdefs.h
>>conftest.
$ac_ext
4725 cat >>conftest.
$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4736 rm -f conftest.
$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try
='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4768 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4769 if test "$ac_test_CFLAGS" = set; then
4770 CFLAGS
=$ac_save_CFLAGS
4771 elif test $ac_cv_prog_cc_g = yes; then
4772 if test "$GCC" = yes; then
4778 if test "$GCC" = yes; then
4784 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4785 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4786 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 ac_cv_prog_cc_stdc
=no
4791 cat >conftest.
$ac_ext <<_ACEOF
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4799 #include <sys/types.h>
4800 #include <sys/stat.h>
4801 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4802 struct buf { int x; };
4803 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4804 static char *e (p, i)
4810 static char *f (char * (*g) (char **, int), char **p, ...)
4815 s = g (p, va_arg (v,int));
4820 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4821 function prototypes and stuff, but not '\xHH' hex character constants.
4822 These don't provoke an error unfortunately, instead are silently treated
4823 as 'x'. The following induces an error, until -std1 is added to get
4824 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4825 array size at least. It's necessary to write '\x00'==0 to get something
4826 that's true only with -std1. */
4827 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4829 int test (int i, double x);
4830 struct s1 {int (*f) (int a);};
4831 struct s2 {int (*f) (double a);};
4832 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4838 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4843 # Don't try gcc -ansi; that turns off useful extensions and
4844 # breaks some systems' header files.
4845 # AIX -qlanglvl=ansi
4846 # Ultrix and OSF/1 -std1
4847 # HP-UX 10.20 and later -Ae
4848 # HP-UX older versions -Aa -D_HPUX_SOURCE
4849 # SVR4 -Xc -D__EXTENSIONS__
4850 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4852 CC
="$ac_save_CC $ac_arg"
4853 rm -f conftest.
$ac_objext
4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855 (eval $ac_compile) 2>conftest.er1
4857 grep -v '^ *+' conftest.er1
>conftest.err
4859 cat conftest.err
>&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } &&
4862 { ac_try
='test -z "$ac_c_werror_flag"
4863 || test ! -s conftest.err'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; } &&
4869 { ac_try
='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_cv_prog_cc_stdc
=$ac_arg
4878 echo "$as_me: failed program was:" >&5
4879 sed 's/^/| /' conftest.
$ac_ext >&5
4882 rm -f conftest.err conftest.
$ac_objext
4884 rm -f conftest.
$ac_ext conftest.
$ac_objext
4889 case "x$ac_cv_prog_cc_stdc" in
4891 echo "$as_me:$LINENO: result: none needed" >&5
4892 echo "${ECHO_T}none needed" >&6 ;;
4894 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4895 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4896 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4899 # Some people use a C++ compiler to compile C. Since we use `exit',
4900 # in C++ we need to declare it. In case someone uses the same compiler
4901 # for both compiling C and C++ we need to have the C++ compiler decide
4902 # the declaration of exit, since it's the most demanding environment.
4903 cat >conftest.
$ac_ext <<_ACEOF
4908 rm -f conftest.
$ac_objext
4909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4910 (eval $ac_compile) 2>conftest.er1
4912 grep -v '^ *+' conftest.er1
>conftest.err
4914 cat conftest.err
>&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } &&
4917 { ac_try
='test -z "$ac_c_werror_flag"
4918 || test ! -s conftest.err'
4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; } &&
4924 { ac_try
='test -s conftest.$ac_objext'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; }; then
4930 for ac_declaration
in \
4932 'extern "C" void std::exit (int) throw (); using std::exit;' \
4933 'extern "C" void std::exit (int); using std::exit;' \
4934 'extern "C" void exit (int) throw ();' \
4935 'extern "C" void exit (int);' \
4938 cat >conftest.
$ac_ext <<_ACEOF
4941 cat confdefs.h
>>conftest.
$ac_ext
4942 cat >>conftest.
$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4954 rm -f conftest.
$ac_objext
4955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4956 (eval $ac_compile) 2>conftest.er1
4958 grep -v '^ *+' conftest.er1
>conftest.err
4960 cat conftest.err
>&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); } &&
4963 { ac_try
='test -z "$ac_c_werror_flag"
4964 || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try
='test -s conftest.$ac_objext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.
$ac_ext >&5
4983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4984 cat >conftest.
$ac_ext <<_ACEOF
4987 cat confdefs.h
>>conftest.
$ac_ext
4988 cat >>conftest.
$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4999 rm -f conftest.
$ac_objext
5000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5001 (eval $ac_compile) 2>conftest.er1
5003 grep -v '^ *+' conftest.er1
>conftest.err
5005 cat conftest.err
>&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); } &&
5008 { ac_try
='test -z "$ac_c_werror_flag"
5009 || test ! -s conftest.err'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; } &&
5015 { ac_try
='test -s conftest.$ac_objext'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; }; then
5023 echo "$as_me: failed program was:" >&5
5024 sed 's/^/| /' conftest.
$ac_ext >&5
5027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5030 if test -n "$ac_declaration"; then
5031 echo '#ifdef __cplusplus' >>confdefs.h
5032 echo $ac_declaration >>confdefs.h
5033 echo '#endif' >>confdefs.h
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.
$ac_ext >&5
5041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5043 ac_cpp
='$CPP $CPPFLAGS'
5044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5048 # Find a good install program. We prefer a C program (faster),
5049 # so one script is as good as another. But avoid the broken or
5050 # incompatible versions:
5051 # SysV /etc/install, /usr/sbin/install
5052 # SunOS /usr/etc/install
5053 # IRIX /sbin/install
5055 # AmigaOS /C/install, which installs bootblocks on floppy discs
5056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5059 # OS/2's system install, which has a completely different semantic
5060 # ./install, which can be erroneously created by make from ./install.sh.
5061 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5062 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5063 if test -z "$INSTALL"; then
5064 if test "${ac_cv_path_install+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir
=.
5072 # Account for people who put trailing slashes in PATH elements.
5074 .
/ | .
// |
/cC
/* | \
5075 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5076 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5079 # OSF1 and SCO ODT 3.0 have their own names for install.
5080 # Don't use installbsd from OSF since it installs stuff as root
5082 for ac_prog
in ginstall scoinst
install; do
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5085 if test $ac_prog = install &&
5086 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5087 # AIX install. It has an incompatible calling convention.
5089 elif test $ac_prog = install &&
5090 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5091 # program-specific install script used by HP pwplus--don't use.
5094 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5106 if test "${ac_cv_path_install+set}" = set; then
5107 INSTALL
=$ac_cv_path_install
5109 # As a last resort, use the slow shell script. We don't cache a
5110 # path for INSTALL within a source directory, because that will
5111 # break other packages using the cache if that directory is
5112 # removed, or if the path is relative.
5113 INSTALL
=$ac_install_sh
5116 echo "$as_me:$LINENO: result: $INSTALL" >&5
5117 echo "${ECHO_T}$INSTALL" >&6
5119 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5120 # It thinks the first close brace ends the variable substitution.
5121 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5123 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5125 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5128 ALL_LINGUAS
="fr sv tr es da vi zh_CN"
5129 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5131 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5132 echo "$as_me:$LINENO: checking for $ac_word" >&5
5133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5134 if test "${ac_cv_prog_RANLIB+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 if test -n "$RANLIB"; then
5138 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 RANLIB
=$ac_cv_prog_RANLIB
5157 if test -n "$RANLIB"; then
5158 echo "$as_me:$LINENO: result: $RANLIB" >&5
5159 echo "${ECHO_T}$RANLIB" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5166 if test -z "$ac_cv_prog_RANLIB"; then
5167 ac_ct_RANLIB
=$RANLIB
5168 # Extract the first word of "ranlib", so it can be a program name with args.
5169 set dummy ranlib
; ac_word
=$2
5170 echo "$as_me:$LINENO: checking for $ac_word" >&5
5171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5172 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 if test -n "$ac_ct_RANLIB"; then
5176 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir
=.
5183 for ac_exec_ext
in '' $ac_executable_extensions; do
5184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5195 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5196 if test -n "$ac_ct_RANLIB"; then
5197 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5198 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5204 RANLIB
=$ac_ct_RANLIB
5206 RANLIB
="$ac_cv_prog_RANLIB"
5210 ac_cpp
='$CPP $CPPFLAGS'
5211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5214 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5215 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5216 # On Suns, sometimes $CPP names a directory.
5217 if test -n "$CPP" && test -d "$CPP"; then
5220 if test -z "$CPP"; then
5221 if test "${ac_cv_prog_CPP+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5224 # Double quotes because CPP needs to be expanded
5225 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5228 for ac_c_preproc_warn_flag
in '' yes
5230 # Use a header file that comes with gcc, so configuring glibc
5231 # with a fresh cross-compiler works.
5232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5233 # <limits.h> exists even on freestanding compilers.
5234 # On the NeXT, cc -E runs the code through the compiler's parser,
5235 # not just through cpp. "Syntax error" is here to catch this case.
5236 cat >conftest.
$ac_ext <<_ACEOF
5239 cat confdefs.h
>>conftest.
$ac_ext
5240 cat >>conftest.
$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5243 # include <limits.h>
5245 # include <assert.h>
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1
>conftest.err
5254 cat conftest.err
>&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev
/null
; then
5257 if test -s conftest.err
; then
5258 ac_cpp_err
=$ac_c_preproc_warn_flag
5259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5266 if test -z "$ac_cpp_err"; then
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.
$ac_ext >&5
5272 # Broken: fails on valid input.
5275 rm -f conftest.err conftest.
$ac_ext
5277 # OK, works on sane cases. Now check whether non-existent headers
5278 # can be detected and how.
5279 cat >conftest.
$ac_ext <<_ACEOF
5282 cat confdefs.h
>>conftest.
$ac_ext
5283 cat >>conftest.
$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5285 #include <ac_nonexistent.h>
5287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5290 grep -v '^ *+' conftest.er1
>conftest.err
5292 cat conftest.err
>&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } >/dev
/null
; then
5295 if test -s conftest.err
; then
5296 ac_cpp_err
=$ac_c_preproc_warn_flag
5297 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5304 if test -z "$ac_cpp_err"; then
5305 # Broken: success on invalid input.
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.
$ac_ext >&5
5311 # Passes both tests.
5315 rm -f conftest.err conftest.
$ac_ext
5318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5319 rm -f conftest.err conftest.
$ac_ext
5320 if $ac_preproc_ok; then
5332 echo "$as_me:$LINENO: result: $CPP" >&5
5333 echo "${ECHO_T}$CPP" >&6
5335 for ac_c_preproc_warn_flag
in '' yes
5337 # Use a header file that comes with gcc, so configuring glibc
5338 # with a fresh cross-compiler works.
5339 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5340 # <limits.h> exists even on freestanding compilers.
5341 # On the NeXT, cc -E runs the code through the compiler's parser,
5342 # not just through cpp. "Syntax error" is here to catch this case.
5343 cat >conftest.
$ac_ext <<_ACEOF
5346 cat confdefs.h
>>conftest.
$ac_ext
5347 cat >>conftest.
$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5350 # include <limits.h>
5352 # include <assert.h>
5356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5359 grep -v '^ *+' conftest.er1
>conftest.err
5361 cat conftest.err
>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } >/dev
/null
; then
5364 if test -s conftest.err
; then
5365 ac_cpp_err
=$ac_c_preproc_warn_flag
5366 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5373 if test -z "$ac_cpp_err"; then
5376 echo "$as_me: failed program was:" >&5
5377 sed 's/^/| /' conftest.
$ac_ext >&5
5379 # Broken: fails on valid input.
5382 rm -f conftest.err conftest.
$ac_ext
5384 # OK, works on sane cases. Now check whether non-existent headers
5385 # can be detected and how.
5386 cat >conftest.
$ac_ext <<_ACEOF
5389 cat confdefs.h
>>conftest.
$ac_ext
5390 cat >>conftest.
$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5392 #include <ac_nonexistent.h>
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5397 grep -v '^ *+' conftest.er1
>conftest.err
5399 cat conftest.err
>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } >/dev
/null
; then
5402 if test -s conftest.err
; then
5403 ac_cpp_err
=$ac_c_preproc_warn_flag
5404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5411 if test -z "$ac_cpp_err"; then
5412 # Broken: success on invalid input.
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5418 # Passes both tests.
5422 rm -f conftest.err conftest.
$ac_ext
5425 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5426 rm -f conftest.err conftest.
$ac_ext
5427 if $ac_preproc_ok; then
5430 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5431 See \`config.log' for more details." >&5
5432 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5433 See \`config.log' for more details." >&2;}
5434 { (exit 1); exit 1; }; }
5438 ac_cpp
='$CPP $CPPFLAGS'
5439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5444 echo "$as_me:$LINENO: checking for egrep" >&5
5445 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5446 if test "${ac_cv_prog_egrep+set}" = set; then
5447 echo $ECHO_N "(cached) $ECHO_C" >&6
5449 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5450 then ac_cv_prog_egrep
='grep -E'
5451 else ac_cv_prog_egrep
='egrep'
5454 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5455 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5456 EGREP
=$ac_cv_prog_egrep
5459 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5461 if test "${ac_cv_header_stdc+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 cat >conftest.
$ac_ext <<_ACEOF
5467 cat confdefs.h
>>conftest.
$ac_ext
5468 cat >>conftest.
$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5483 rm -f conftest.
$ac_objext
5484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5485 (eval $ac_compile) 2>conftest.er1
5487 grep -v '^ *+' conftest.er1
>conftest.err
5489 cat conftest.err
>&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } &&
5492 { ac_try
='test -z "$ac_c_werror_flag"
5493 || test ! -s conftest.err'
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; } &&
5499 { ac_try
='test -s conftest.$ac_objext'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; }; then
5505 ac_cv_header_stdc
=yes
5507 echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.
$ac_ext >&5
5510 ac_cv_header_stdc
=no
5512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 if test $ac_cv_header_stdc = yes; then
5515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5516 cat >conftest.
$ac_ext <<_ACEOF
5519 cat confdefs.h
>>conftest.
$ac_ext
5520 cat >>conftest.
$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5526 $EGREP "memchr" >/dev
/null
2>&1; then
5529 ac_cv_header_stdc
=no
5535 if test $ac_cv_header_stdc = yes; then
5536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5537 cat >conftest.
$ac_ext <<_ACEOF
5540 cat confdefs.h
>>conftest.
$ac_ext
5541 cat >>conftest.
$ac_ext <<_ACEOF
5542 /* end confdefs.h. */
5546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5547 $EGREP "free" >/dev
/null
2>&1; then
5550 ac_cv_header_stdc
=no
5556 if test $ac_cv_header_stdc = yes; then
5557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5558 if test "$cross_compiling" = yes; then
5561 cat >conftest.
$ac_ext <<_ACEOF
5564 cat confdefs.h
>>conftest.
$ac_ext
5565 cat >>conftest.
$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5568 #if ((' ' & 0x0FF) == 0x020)
5569 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5570 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5572 # define ISLOWER(c) \
5573 (('a' <= (c) && (c) <= 'i') \
5574 || ('j' <= (c) && (c) <= 'r') \
5575 || ('s' <= (c) && (c) <= 'z'))
5576 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5579 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5584 for (i = 0; i < 256; i++)
5585 if (XOR (islower (i), ISLOWER (i))
5586 || toupper (i) != TOUPPER (i))
5591 rm -f conftest
$ac_exeext
5592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5593 (eval $ac_link) 2>&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; }; then
5604 echo "$as_me: program exited with status $ac_status" >&5
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.
$ac_ext >&5
5609 ac_cv_header_stdc
=no
5611 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5615 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5616 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5617 if test $ac_cv_header_stdc = yes; then
5619 cat >>confdefs.h
<<\_ACEOF
5620 #define STDC_HEADERS 1
5625 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5626 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5627 if test "${ac_cv_c_const+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 cat >conftest.
$ac_ext <<_ACEOF
5633 cat confdefs.h
>>conftest.
$ac_ext
5634 cat >>conftest.
$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5640 /* FIXME: Include the comments suggested by Paul. */
5642 /* Ultrix mips cc rejects this. */
5643 typedef int charset[2];
5645 /* SunOS 4.1.1 cc rejects this. */
5646 char const *const *ccp;
5648 /* NEC SVR4.0.2 mips cc rejects this. */
5649 struct point {int x, y;};
5650 static struct point const zero = {0,0};
5651 /* AIX XL C 1.02.0.0 rejects this.
5652 It does not let you subtract one const X* pointer from another in
5653 an arm of an if-expression whose if-part is not a constant
5655 const char *g = "string";
5656 ccp = &g + (g ? g-g : 0);
5657 /* HPUX 7.0 cc rejects these. */
5660 ccp = (char const *const *) p;
5661 { /* SCO 3.2v4 cc rejects this. */
5663 char const *s = 0 ? (char *) 0 : (char const *) 0;
5667 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5669 const int *foo = &x[0];
5672 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5673 typedef const int *iptr;
5677 { /* AIX XL C 1.02.0.0 rejects this saying
5678 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5679 struct s { int j; const int *ap[3]; };
5680 struct s *b; b->j = 5;
5682 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5691 rm -f conftest.
$ac_objext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693 (eval $ac_compile) 2>conftest.er1
5695 grep -v '^ *+' conftest.er1
>conftest.err
5697 cat conftest.err
>&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } &&
5700 { ac_try
='test -z "$ac_c_werror_flag"
5701 || test ! -s conftest.err'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try
='test -s conftest.$ac_objext'
5708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.
$ac_ext >&5
5720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5722 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5723 echo "${ECHO_T}$ac_cv_c_const" >&6
5724 if test $ac_cv_c_const = no
; then
5726 cat >>confdefs.h
<<\_ACEOF
5732 echo "$as_me:$LINENO: checking for inline" >&5
5733 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5734 if test "${ac_cv_c_inline+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 for ac_kw
in inline __inline__ __inline
; do
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5747 static $ac_kw foo_t static_foo () {return 0; }
5748 $ac_kw foo_t foo () {return 0; }
5752 rm -f conftest.
$ac_objext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754 (eval $ac_compile) 2>conftest.er1
5756 grep -v '^ *+' conftest.er1
>conftest.err
5758 cat conftest.err
>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); } &&
5761 { ac_try
='test -z "$ac_c_werror_flag"
5762 || test ! -s conftest.err'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; } &&
5768 { ac_try
='test -s conftest.$ac_objext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5774 ac_cv_c_inline
=$ac_kw; break
5776 echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.
$ac_ext >&5
5780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5784 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5785 echo "${ECHO_T}$ac_cv_c_inline" >&6
5788 case $ac_cv_c_inline in
5791 case $ac_cv_c_inline in
5793 *) ac_val
=$ac_cv_c_inline;;
5795 cat >>confdefs.h
<<_ACEOF
5797 #define inline $ac_val
5803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5813 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5814 inttypes.h stdint.h unistd.h
5816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5817 echo "$as_me:$LINENO: checking for $ac_header" >&5
5818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5820 echo $ECHO_N "(cached) $ECHO_C" >&6
5822 cat >conftest.
$ac_ext <<_ACEOF
5825 cat confdefs.h
>>conftest.
$ac_ext
5826 cat >>conftest.
$ac_ext <<_ACEOF
5827 /* end confdefs.h. */
5828 $ac_includes_default
5830 #include <$ac_header>
5832 rm -f conftest.
$ac_objext
5833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5834 (eval $ac_compile) 2>conftest.er1
5836 grep -v '^ *+' conftest.er1
>conftest.err
5838 cat conftest.err
>&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } &&
5841 { ac_try
='test -z "$ac_c_werror_flag"
5842 || test ! -s conftest.err'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; } &&
5848 { ac_try
='test -s conftest.$ac_objext'
5849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); }; }; then
5854 eval "$as_ac_Header=yes"
5856 echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.
$ac_ext >&5
5859 eval "$as_ac_Header=no"
5861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5866 cat >>confdefs.h
<<_ACEOF
5867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5875 echo "$as_me:$LINENO: checking for off_t" >&5
5876 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5877 if test "${ac_cv_type_off_t+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 cat >conftest.
$ac_ext <<_ACEOF
5883 cat confdefs.h
>>conftest.
$ac_ext
5884 cat >>conftest.
$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5886 $ac_includes_default
5898 rm -f conftest.
$ac_objext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5900 (eval $ac_compile) 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } &&
5907 { ac_try
='test -z "$ac_c_werror_flag"
5908 || test ! -s conftest.err'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; } &&
5914 { ac_try
='test -s conftest.$ac_objext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5920 ac_cv_type_off_t
=yes
5922 echo "$as_me: failed program was:" >&5
5923 sed 's/^/| /' conftest.
$ac_ext >&5
5927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5929 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5930 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5931 if test $ac_cv_type_off_t = yes; then
5935 cat >>confdefs.h
<<_ACEOF
5941 echo "$as_me:$LINENO: checking for size_t" >&5
5942 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5943 if test "${ac_cv_type_size_t+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 cat >conftest.
$ac_ext <<_ACEOF
5949 cat confdefs.h
>>conftest.
$ac_ext
5950 cat >>conftest.
$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 $ac_includes_default
5958 if (sizeof (size_t))
5964 rm -f conftest.
$ac_objext
5965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5966 (eval $ac_compile) 2>conftest.er1
5968 grep -v '^ *+' conftest.er1
>conftest.err
5970 cat conftest.err
>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } &&
5973 { ac_try
='test -z "$ac_c_werror_flag"
5974 || test ! -s conftest.err'
5975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); }; } &&
5980 { ac_try
='test -s conftest.$ac_objext'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; }; then
5986 ac_cv_type_size_t
=yes
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.
$ac_ext >&5
5991 ac_cv_type_size_t
=no
5993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5995 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5996 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5997 if test $ac_cv_type_size_t = yes; then
6001 cat >>confdefs.h
<<_ACEOF
6002 #define size_t unsigned
6007 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6008 # for constant arguments. Useless!
6009 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6010 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6011 if test "${ac_cv_working_alloca_h+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 cat >conftest.
$ac_ext <<_ACEOF
6017 cat confdefs.h
>>conftest.
$ac_ext
6018 cat >>conftest.
$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6024 char *p = (char *) alloca (2 * sizeof (int));
6029 rm -f conftest.
$ac_objext conftest
$ac_exeext
6030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6031 (eval $ac_link) 2>conftest.er1
6033 grep -v '^ *+' conftest.er1
>conftest.err
6035 cat conftest.err
>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); } &&
6038 { ac_try
='test -z "$ac_c_werror_flag"
6039 || test ! -s conftest.err'
6040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }; } &&
6045 { ac_try
='test -s conftest$ac_exeext'
6046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; }; then
6051 ac_cv_working_alloca_h
=yes
6053 echo "$as_me: failed program was:" >&5
6054 sed 's/^/| /' conftest.
$ac_ext >&5
6056 ac_cv_working_alloca_h
=no
6058 rm -f conftest.err conftest.
$ac_objext \
6059 conftest
$ac_exeext conftest.
$ac_ext
6061 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6062 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6063 if test $ac_cv_working_alloca_h = yes; then
6065 cat >>confdefs.h
<<\_ACEOF
6066 #define HAVE_ALLOCA_H 1
6071 echo "$as_me:$LINENO: checking for alloca" >&5
6072 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6073 if test "${ac_cv_func_alloca_works+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 cat >conftest.
$ac_ext <<_ACEOF
6079 cat confdefs.h
>>conftest.
$ac_ext
6080 cat >>conftest.
$ac_ext <<_ACEOF
6081 /* end confdefs.h. */
6083 # define alloca __builtin_alloca
6086 # include <malloc.h>
6087 # define alloca _alloca
6090 # include <alloca.h>
6095 # ifndef alloca /* predefined by HP cc +Olibcalls */
6106 char *p = (char *) alloca (1);
6111 rm -f conftest.
$ac_objext conftest
$ac_exeext
6112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6113 (eval $ac_link) 2>conftest.er1
6115 grep -v '^ *+' conftest.er1
>conftest.err
6117 cat conftest.err
>&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); } &&
6120 { ac_try
='test -z "$ac_c_werror_flag"
6121 || test ! -s conftest.err'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; } &&
6127 { ac_try
='test -s conftest$ac_exeext'
6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; }; then
6133 ac_cv_func_alloca_works
=yes
6135 echo "$as_me: failed program was:" >&5
6136 sed 's/^/| /' conftest.
$ac_ext >&5
6138 ac_cv_func_alloca_works
=no
6140 rm -f conftest.err conftest.
$ac_objext \
6141 conftest
$ac_exeext conftest.
$ac_ext
6143 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6144 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6146 if test $ac_cv_func_alloca_works = yes; then
6148 cat >>confdefs.h
<<\_ACEOF
6149 #define HAVE_ALLOCA 1
6153 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6154 # that cause trouble. Some versions do not even contain alloca or
6155 # contain a buggy version. If you still want to use their alloca,
6156 # use ar to extract alloca.o from them instead of compiling alloca.c.
6158 ALLOCA
=alloca.
$ac_objext
6160 cat >>confdefs.h
<<\_ACEOF
6165 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6166 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6167 if test "${ac_cv_os_cray+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 cat >conftest.
$ac_ext <<_ACEOF
6173 cat confdefs.h
>>conftest.
$ac_ext
6174 cat >>conftest.
$ac_ext <<_ACEOF
6175 /* end confdefs.h. */
6176 #if defined(CRAY) && ! defined(CRAY2)
6183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6184 $EGREP "webecray" >/dev
/null
2>&1; then
6192 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6193 echo "${ECHO_T}$ac_cv_os_cray" >&6
6194 if test $ac_cv_os_cray = yes; then
6195 for ac_func
in _getb67 GETB67 getb67
; do
6196 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6197 echo "$as_me:$LINENO: checking for $ac_func" >&5
6198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6199 if eval "test \"\${$as_ac_var+set}\" = set"; then
6200 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 cat >conftest.
$ac_ext <<_ACEOF
6205 cat confdefs.h
>>conftest.
$ac_ext
6206 cat >>conftest.
$ac_ext <<_ACEOF
6207 /* end confdefs.h. */
6208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6210 #define $ac_func innocuous_$ac_func
6212 /* System header to define __stub macros and hopefully few prototypes,
6213 which can conflict with char $ac_func (); below.
6214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6215 <limits.h> exists even on freestanding compilers. */
6218 # include <limits.h>
6220 # include <assert.h>
6225 /* Override any gcc2 internal prototype to avoid an error. */
6230 /* We use char because int might match the return type of a gcc2
6231 builtin and then its argument prototype would still apply. */
6233 /* The GNU C library defines this for functions which it implements
6234 to always fail with ENOSYS. Some functions are actually named
6235 something starting with __ and the normal name is an alias. */
6236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6239 char (*f) () = $ac_func;
6248 return f != $ac_func;
6253 rm -f conftest.
$ac_objext conftest
$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255 (eval $ac_link) 2>conftest.er1
6257 grep -v '^ *+' conftest.er1
>conftest.err
6259 cat conftest.err
>&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try
='test -z "$ac_c_werror_flag"
6263 || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try
='test -s conftest$ac_exeext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 eval "$as_ac_var=yes"
6277 echo "$as_me: failed program was:" >&5
6278 sed 's/^/| /' conftest.
$ac_ext >&5
6280 eval "$as_ac_var=no"
6282 rm -f conftest.err conftest.
$ac_objext \
6283 conftest
$ac_exeext conftest.
$ac_ext
6285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6287 if test `eval echo '${'$as_ac_var'}'` = yes; then
6289 cat >>confdefs.h
<<_ACEOF
6290 #define CRAY_STACKSEG_END $ac_func
6299 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6300 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6301 if test "${ac_cv_c_stack_direction+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 if test "$cross_compiling" = yes; then
6305 ac_cv_c_stack_direction
=0
6307 cat >conftest.
$ac_ext <<_ACEOF
6310 cat confdefs.h
>>conftest.
$ac_ext
6311 cat >>conftest.
$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6314 find_stack_direction ()
6316 static char *addr = 0;
6321 return find_stack_direction ();
6324 return (&dummy > addr) ? 1 : -1;
6330 exit (find_stack_direction () < 0);
6333 rm -f conftest
$ac_exeext
6334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6335 (eval $ac_link) 2>&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); }; }; then
6344 ac_cv_c_stack_direction
=1
6346 echo "$as_me: program exited with status $ac_status" >&5
6347 echo "$as_me: failed program was:" >&5
6348 sed 's/^/| /' conftest.
$ac_ext >&5
6351 ac_cv_c_stack_direction
=-1
6353 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6356 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6357 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6359 cat >>confdefs.h
<<_ACEOF
6360 #define STACK_DIRECTION $ac_cv_c_stack_direction
6368 for ac_header
in stdlib.h unistd.h
6370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6372 echo "$as_me:$LINENO: checking for $ac_header" >&5
6373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6380 # Is the header compilable?
6381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6383 cat >conftest.
$ac_ext <<_ACEOF
6386 cat confdefs.h
>>conftest.
$ac_ext
6387 cat >>conftest.
$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6389 $ac_includes_default
6390 #include <$ac_header>
6392 rm -f conftest.
$ac_objext
6393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6394 (eval $ac_compile) 2>conftest.er1
6396 grep -v '^ *+' conftest.er1
>conftest.err
6398 cat conftest.err
>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } &&
6401 { ac_try
='test -z "$ac_c_werror_flag"
6402 || test ! -s conftest.err'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; } &&
6408 { ac_try
='test -s conftest.$ac_objext'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; }; then
6414 ac_header_compiler
=yes
6416 echo "$as_me: failed program was:" >&5
6417 sed 's/^/| /' conftest.
$ac_ext >&5
6419 ac_header_compiler
=no
6421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6423 echo "${ECHO_T}$ac_header_compiler" >&6
6425 # Is the header present?
6426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6428 cat >conftest.
$ac_ext <<_ACEOF
6431 cat confdefs.h
>>conftest.
$ac_ext
6432 cat >>conftest.
$ac_ext <<_ACEOF
6433 /* end confdefs.h. */
6434 #include <$ac_header>
6436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6439 grep -v '^ *+' conftest.er1
>conftest.err
6441 cat conftest.err
>&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } >/dev
/null
; then
6444 if test -s conftest.err
; then
6445 ac_cpp_err
=$ac_c_preproc_warn_flag
6446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6453 if test -z "$ac_cpp_err"; then
6454 ac_header_preproc
=yes
6456 echo "$as_me: failed program was:" >&5
6457 sed 's/^/| /' conftest.
$ac_ext >&5
6459 ac_header_preproc
=no
6461 rm -f conftest.err conftest.
$ac_ext
6462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6463 echo "${ECHO_T}$ac_header_preproc" >&6
6465 # So? What about this header?
6466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6472 ac_header_preproc
=yes
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6489 ## ------------------------------------------ ##
6490 ## Report this to the AC_PACKAGE_NAME lists. ##
6491 ## ------------------------------------------ ##
6494 sed "s/^/$as_me: WARNING: /" >&2
6497 echo "$as_me:$LINENO: checking for $ac_header" >&5
6498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6500 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 eval "$as_ac_Header=\$ac_header_preproc"
6504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6509 cat >>confdefs.h
<<_ACEOF
6510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6518 for ac_func
in getpagesize
6520 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6521 echo "$as_me:$LINENO: checking for $ac_func" >&5
6522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6523 if eval "test \"\${$as_ac_var+set}\" = set"; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6526 cat >conftest.
$ac_ext <<_ACEOF
6529 cat confdefs.h
>>conftest.
$ac_ext
6530 cat >>conftest.
$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6534 #define $ac_func innocuous_$ac_func
6536 /* System header to define __stub macros and hopefully few prototypes,
6537 which can conflict with char $ac_func (); below.
6538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6539 <limits.h> exists even on freestanding compilers. */
6542 # include <limits.h>
6544 # include <assert.h>
6549 /* Override any gcc2 internal prototype to avoid an error. */
6554 /* We use char because int might match the return type of a gcc2
6555 builtin and then its argument prototype would still apply. */
6557 /* The GNU C library defines this for functions which it implements
6558 to always fail with ENOSYS. Some functions are actually named
6559 something starting with __ and the normal name is an alias. */
6560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6563 char (*f) () = $ac_func;
6572 return f != $ac_func;
6577 rm -f conftest.
$ac_objext conftest
$ac_exeext
6578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6579 (eval $ac_link) 2>conftest.er1
6581 grep -v '^ *+' conftest.er1
>conftest.err
6583 cat conftest.err
>&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } &&
6586 { ac_try
='test -z "$ac_c_werror_flag"
6587 || test ! -s conftest.err'
6588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); }; } &&
6593 { ac_try
='test -s conftest$ac_exeext'
6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; }; then
6599 eval "$as_ac_var=yes"
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.
$ac_ext >&5
6604 eval "$as_ac_var=no"
6606 rm -f conftest.err conftest.
$ac_objext \
6607 conftest
$ac_exeext conftest.
$ac_ext
6609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6611 if test `eval echo '${'$as_ac_var'}'` = yes; then
6612 cat >>confdefs.h
<<_ACEOF
6613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6619 echo "$as_me:$LINENO: checking for working mmap" >&5
6620 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6621 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 if test "$cross_compiling" = yes; then
6625 ac_cv_func_mmap_fixed_mapped
=no
6627 cat >conftest.
$ac_ext <<_ACEOF
6630 cat confdefs.h
>>conftest.
$ac_ext
6631 cat >>conftest.
$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6633 $ac_includes_default
6634 /* malloc might have been renamed as rpl_malloc. */
6637 /* Thanks to Mike Haertel and Jim Avera for this test.
6638 Here is a matrix of mmap possibilities:
6639 mmap private not fixed
6640 mmap private fixed at somewhere currently unmapped
6641 mmap private fixed at somewhere already mapped
6642 mmap shared not fixed
6643 mmap shared fixed at somewhere currently unmapped
6644 mmap shared fixed at somewhere already mapped
6645 For private mappings, we should verify that changes cannot be read()
6646 back from the file, nor mmap's back from the file at a different
6647 address. (There have been systems where private was not correctly
6648 implemented like the infamous i386 svr4.0, and systems where the
6649 VM page cache was not coherent with the file system buffer cache
6650 like early versions of FreeBSD and possibly contemporary NetBSD.)
6651 For shared mappings, we should conversely verify that changes get
6652 propagated back to all the places they're supposed to be.
6654 Grep wants private fixed already mapped.
6655 The main things grep needs to know about mmap are:
6656 * does it exist and is it safe to write into the mmap'd area
6657 * how to use it (BSD variants) */
6660 #include <sys/mman.h>
6662 #if !STDC_HEADERS && !HAVE_STDLIB_H
6666 /* This mess was copied from the GNU getpagesize.h. */
6667 #if !HAVE_GETPAGESIZE
6668 /* Assume that all systems that can run configure have sys/param.h. */
6669 # if !HAVE_SYS_PARAM_H
6670 # define HAVE_SYS_PARAM_H 1
6673 # ifdef _SC_PAGESIZE
6674 # define getpagesize() sysconf(_SC_PAGESIZE)
6675 # else /* no _SC_PAGESIZE */
6676 # if HAVE_SYS_PARAM_H
6677 # include <sys/param.h>
6678 # ifdef EXEC_PAGESIZE
6679 # define getpagesize() EXEC_PAGESIZE
6680 # else /* no EXEC_PAGESIZE */
6682 # define getpagesize() NBPG * CLSIZE
6685 # endif /* no CLSIZE */
6686 # else /* no NBPG */
6688 # define getpagesize() NBPC
6689 # else /* no NBPC */
6691 # define getpagesize() PAGESIZE
6692 # endif /* PAGESIZE */
6693 # endif /* no NBPC */
6694 # endif /* no NBPG */
6695 # endif /* no EXEC_PAGESIZE */
6696 # else /* no HAVE_SYS_PARAM_H */
6697 # define getpagesize() 8192 /* punt totally */
6698 # endif /* no HAVE_SYS_PARAM_H */
6699 # endif /* no _SC_PAGESIZE */
6701 #endif /* no HAVE_GETPAGESIZE */
6706 char *data, *data2, *data3;
6710 pagesize = getpagesize ();
6712 /* First, make a file with some known garbage in it. */
6713 data = (char *) malloc (pagesize);
6716 for (i = 0; i < pagesize; ++i)
6717 *(data + i) = rand ();
6719 fd = creat ("conftest.mmap", 0600);
6722 if (write (fd, data, pagesize) != pagesize)
6726 /* Next, try to mmap the file at a fixed address which already has
6727 something else allocated at it. If we can, also make sure that
6728 we see the same garbage. */
6729 fd = open ("conftest.mmap", O_RDWR);
6732 data2 = (char *) malloc (2 * pagesize);
6735 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6736 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6737 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6739 for (i = 0; i < pagesize; ++i)
6740 if (*(data + i) != *(data2 + i))
6743 /* Finally, make sure that changes to the mapped area do not
6744 percolate back to the file as seen by read(). (This is a bug on
6745 some variants of i386 svr4.0.) */
6746 for (i = 0; i < pagesize; ++i)
6747 *(data2 + i) = *(data2 + i) + 1;
6748 data3 = (char *) malloc (pagesize);
6751 if (read (fd, data3, pagesize) != pagesize)
6753 for (i = 0; i < pagesize; ++i)
6754 if (*(data + i) != *(data3 + i))
6760 rm -f conftest
$ac_exeext
6761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6762 (eval $ac_link) 2>&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_cv_func_mmap_fixed_mapped
=yes
6773 echo "$as_me: program exited with status $ac_status" >&5
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.
$ac_ext >&5
6778 ac_cv_func_mmap_fixed_mapped
=no
6780 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6783 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6784 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6785 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6787 cat >>confdefs.h
<<\_ACEOF
6804 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6805 unistd.h values.h sys
/param.h
6807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6809 echo "$as_me:$LINENO: checking for $ac_header" >&5
6810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817 # Is the header compilable?
6818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6820 cat >conftest.
$ac_ext <<_ACEOF
6823 cat confdefs.h
>>conftest.
$ac_ext
6824 cat >>conftest.
$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6826 $ac_includes_default
6827 #include <$ac_header>
6829 rm -f conftest.
$ac_objext
6830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6831 (eval $ac_compile) 2>conftest.er1
6833 grep -v '^ *+' conftest.er1
>conftest.err
6835 cat conftest.err
>&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } &&
6838 { ac_try
='test -z "$ac_c_werror_flag"
6839 || test ! -s conftest.err'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; } &&
6845 { ac_try
='test -s conftest.$ac_objext'
6846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); }; }; then
6851 ac_header_compiler
=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6856 ac_header_compiler
=no
6858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6860 echo "${ECHO_T}$ac_header_compiler" >&6
6862 # Is the header present?
6863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6865 cat >conftest.
$ac_ext <<_ACEOF
6868 cat confdefs.h
>>conftest.
$ac_ext
6869 cat >>conftest.
$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6871 #include <$ac_header>
6873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6876 grep -v '^ *+' conftest.er1
>conftest.err
6878 cat conftest.err
>&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } >/dev
/null
; then
6881 if test -s conftest.err
; then
6882 ac_cpp_err
=$ac_c_preproc_warn_flag
6883 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6890 if test -z "$ac_cpp_err"; then
6891 ac_header_preproc
=yes
6893 echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.
$ac_ext >&5
6896 ac_header_preproc
=no
6898 rm -f conftest.err conftest.
$ac_ext
6899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6900 echo "${ECHO_T}$ac_header_preproc" >&6
6902 # So? What about this header?
6903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6909 ac_header_preproc
=yes
6912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6926 ## ------------------------------------------ ##
6927 ## Report this to the AC_PACKAGE_NAME lists. ##
6928 ## ------------------------------------------ ##
6931 sed "s/^/$as_me: WARNING: /" >&2
6934 echo "$as_me:$LINENO: checking for $ac_header" >&5
6935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6939 eval "$as_ac_Header=\$ac_header_preproc"
6941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6946 cat >>confdefs.h
<<_ACEOF
6947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6964 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6965 __argz_count __argz_stringify __argz_next
6967 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6968 echo "$as_me:$LINENO: checking for $ac_func" >&5
6969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6970 if eval "test \"\${$as_ac_var+set}\" = set"; then
6971 echo $ECHO_N "(cached) $ECHO_C" >&6
6973 cat >conftest.
$ac_ext <<_ACEOF
6976 cat confdefs.h
>>conftest.
$ac_ext
6977 cat >>conftest.
$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6981 #define $ac_func innocuous_$ac_func
6983 /* System header to define __stub macros and hopefully few prototypes,
6984 which can conflict with char $ac_func (); below.
6985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6986 <limits.h> exists even on freestanding compilers. */
6989 # include <limits.h>
6991 # include <assert.h>
6996 /* Override any gcc2 internal prototype to avoid an error. */
7001 /* We use char because int might match the return type of a gcc2
7002 builtin and then its argument prototype would still apply. */
7004 /* The GNU C library defines this for functions which it implements
7005 to always fail with ENOSYS. Some functions are actually named
7006 something starting with __ and the normal name is an alias. */
7007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7010 char (*f) () = $ac_func;
7019 return f != $ac_func;
7024 rm -f conftest.
$ac_objext conftest
$ac_exeext
7025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7026 (eval $ac_link) 2>conftest.er1
7028 grep -v '^ *+' conftest.er1
>conftest.err
7030 cat conftest.err
>&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } &&
7033 { ac_try
='test -z "$ac_c_werror_flag"
7034 || test ! -s conftest.err'
7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); }; } &&
7040 { ac_try
='test -s conftest$ac_exeext'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; }; then
7046 eval "$as_ac_var=yes"
7048 echo "$as_me: failed program was:" >&5
7049 sed 's/^/| /' conftest.
$ac_ext >&5
7051 eval "$as_ac_var=no"
7053 rm -f conftest.err conftest.
$ac_objext \
7054 conftest
$ac_exeext conftest.
$ac_ext
7056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7058 if test `eval echo '${'$as_ac_var'}'` = yes; then
7059 cat >>confdefs.h
<<_ACEOF
7060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7067 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7069 for ac_func
in stpcpy
7071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7072 echo "$as_me:$LINENO: checking for $ac_func" >&5
7073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7074 if eval "test \"\${$as_ac_var+set}\" = set"; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 cat >conftest.
$ac_ext <<_ACEOF
7080 cat confdefs.h
>>conftest.
$ac_ext
7081 cat >>conftest.
$ac_ext <<_ACEOF
7082 /* end confdefs.h. */
7083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7085 #define $ac_func innocuous_$ac_func
7087 /* System header to define __stub macros and hopefully few prototypes,
7088 which can conflict with char $ac_func (); below.
7089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7090 <limits.h> exists even on freestanding compilers. */
7093 # include <limits.h>
7095 # include <assert.h>
7100 /* Override any gcc2 internal prototype to avoid an error. */
7105 /* We use char because int might match the return type of a gcc2
7106 builtin and then its argument prototype would still apply. */
7108 /* The GNU C library defines this for functions which it implements
7109 to always fail with ENOSYS. Some functions are actually named
7110 something starting with __ and the normal name is an alias. */
7111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7114 char (*f) () = $ac_func;
7123 return f != $ac_func;
7128 rm -f conftest.
$ac_objext conftest
$ac_exeext
7129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7130 (eval $ac_link) 2>conftest.er1
7132 grep -v '^ *+' conftest.er1
>conftest.err
7134 cat conftest.err
>&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try
='test -z "$ac_c_werror_flag"
7138 || test ! -s conftest.err'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; } &&
7144 { ac_try
='test -s conftest$ac_exeext'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then
7150 eval "$as_ac_var=yes"
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.
$ac_ext >&5
7155 eval "$as_ac_var=no"
7157 rm -f conftest.err conftest.
$ac_objext \
7158 conftest
$ac_exeext conftest.
$ac_ext
7160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7162 if test `eval echo '${'$as_ac_var'}'` = yes; then
7163 cat >>confdefs.h
<<_ACEOF
7164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7171 if test "${ac_cv_func_stpcpy}" = "yes"; then
7173 cat >>confdefs.h
<<\_ACEOF
7174 #define HAVE_STPCPY 1
7179 if test $ac_cv_header_locale_h = yes; then
7180 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7181 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7182 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7185 cat >conftest.
$ac_ext <<_ACEOF
7188 cat confdefs.h
>>conftest.
$ac_ext
7189 cat >>conftest.
$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
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 am_cv_val_LC_MESSAGES
=yes
7224 echo "$as_me: failed program was:" >&5
7225 sed 's/^/| /' conftest.
$ac_ext >&5
7227 am_cv_val_LC_MESSAGES
=no
7229 rm -f conftest.err conftest.
$ac_objext \
7230 conftest
$ac_exeext conftest.
$ac_ext
7232 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7233 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7234 if test $am_cv_val_LC_MESSAGES = yes; then
7236 cat >>confdefs.h
<<\_ACEOF
7237 #define HAVE_LC_MESSAGES 1
7242 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7243 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7244 # Check whether --enable-nls or --disable-nls was given.
7245 if test "${enable_nls+set}" = set; then
7246 enableval
="$enable_nls"
7251 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7252 echo "${ECHO_T}$USE_NLS" >&6
7255 USE_INCLUDED_LIBINTL
=no
7257 if test "$USE_NLS" = "yes"; then
7258 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7259 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7261 # Check whether --with-included-gettext or --without-included-gettext was given.
7262 if test "${with_included_gettext+set}" = set; then
7263 withval
="$with_included_gettext"
7264 nls_cv_force_use_gnu_gettext
=$withval
7266 nls_cv_force_use_gnu_gettext
=no
7268 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7269 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7271 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7272 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7274 nls_cv_header_libgt
=
7277 if test "${ac_cv_header_libintl_h+set}" = set; then
7278 echo "$as_me:$LINENO: checking for libintl.h" >&5
7279 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7280 if test "${ac_cv_header_libintl_h+set}" = set; then
7281 echo $ECHO_N "(cached) $ECHO_C" >&6
7283 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7284 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7286 # Is the header compilable?
7287 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7288 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7289 cat >conftest.
$ac_ext <<_ACEOF
7292 cat confdefs.h
>>conftest.
$ac_ext
7293 cat >>conftest.
$ac_ext <<_ACEOF
7294 /* end confdefs.h. */
7295 $ac_includes_default
7296 #include <libintl.h>
7298 rm -f conftest.
$ac_objext
7299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7300 (eval $ac_compile) 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_objext'
7315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); }; }; then
7320 ac_header_compiler
=yes
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.
$ac_ext >&5
7325 ac_header_compiler
=no
7327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7329 echo "${ECHO_T}$ac_header_compiler" >&6
7331 # Is the header present?
7332 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7333 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7334 cat >conftest.
$ac_ext <<_ACEOF
7337 cat confdefs.h
>>conftest.
$ac_ext
7338 cat >>conftest.
$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7340 #include <libintl.h>
7342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7345 grep -v '^ *+' conftest.er1
>conftest.err
7347 cat conftest.err
>&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } >/dev
/null
; then
7350 if test -s conftest.err
; then
7351 ac_cpp_err
=$ac_c_preproc_warn_flag
7352 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7359 if test -z "$ac_cpp_err"; then
7360 ac_header_preproc
=yes
7362 echo "$as_me: failed program was:" >&5
7363 sed 's/^/| /' conftest.
$ac_ext >&5
7365 ac_header_preproc
=no
7367 rm -f conftest.err conftest.
$ac_ext
7368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7369 echo "${ECHO_T}$ac_header_preproc" >&6
7371 # So? What about this header?
7372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7374 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7375 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7376 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7377 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7378 ac_header_preproc
=yes
7381 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7382 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7383 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7384 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7386 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7387 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7388 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7389 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7390 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7391 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7392 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7395 ## ------------------------------------------ ##
7396 ## Report this to the AC_PACKAGE_NAME lists. ##
7397 ## ------------------------------------------ ##
7400 sed "s/^/$as_me: WARNING: /" >&2
7403 echo "$as_me:$LINENO: checking for libintl.h" >&5
7404 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7405 if test "${ac_cv_header_libintl_h+set}" = set; then
7406 echo $ECHO_N "(cached) $ECHO_C" >&6
7408 ac_cv_header_libintl_h
=$ac_header_preproc
7410 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7411 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7414 if test $ac_cv_header_libintl_h = yes; then
7415 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7416 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7417 if test "${gt_cv_func_gettext_libc+set}" = set; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 cat >conftest.
$ac_ext <<_ACEOF
7423 cat confdefs.h
>>conftest.
$ac_ext
7424 cat >>conftest.
$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 #include <libintl.h>
7430 return (int) gettext ("")
7435 rm -f conftest.
$ac_objext conftest
$ac_exeext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7437 (eval $ac_link) 2>conftest.er1
7439 grep -v '^ *+' conftest.er1
>conftest.err
7441 cat conftest.err
>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } &&
7444 { ac_try
='test -z "$ac_c_werror_flag"
7445 || test ! -s conftest.err'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; } &&
7451 { ac_try
='test -s conftest$ac_exeext'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; }; then
7457 gt_cv_func_gettext_libc
=yes
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.
$ac_ext >&5
7462 gt_cv_func_gettext_libc
=no
7464 rm -f conftest.err conftest.
$ac_objext \
7465 conftest
$ac_exeext conftest.
$ac_ext
7467 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7468 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7470 if test "$gt_cv_func_gettext_libc" != "yes"; then
7471 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7472 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7473 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 ac_check_lib_save_LIBS
=$LIBS
7478 cat >conftest.
$ac_ext <<_ACEOF
7481 cat confdefs.h
>>conftest.
$ac_ext
7482 cat >>conftest.
$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7485 /* Override any gcc2 internal prototype to avoid an error. */
7489 /* We use char because int might match the return type of a gcc2
7490 builtin and then its argument prototype would still apply. */
7491 char bindtextdomain ();
7500 rm -f conftest.
$ac_objext conftest
$ac_exeext
7501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7502 (eval $ac_link) 2>conftest.er1
7504 grep -v '^ *+' conftest.er1
>conftest.err
7506 cat conftest.err
>&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); } &&
7509 { ac_try
='test -z "$ac_c_werror_flag"
7510 || test ! -s conftest.err'
7511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); }; } &&
7516 { ac_try
='test -s conftest$ac_exeext'
7517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); }; }; then
7522 ac_cv_lib_intl_bindtextdomain
=yes
7524 echo "$as_me: failed program was:" >&5
7525 sed 's/^/| /' conftest.
$ac_ext >&5
7527 ac_cv_lib_intl_bindtextdomain
=no
7529 rm -f conftest.err conftest.
$ac_objext \
7530 conftest
$ac_exeext conftest.
$ac_ext
7531 LIBS
=$ac_check_lib_save_LIBS
7533 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7534 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7535 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7536 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7537 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7538 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 cat >conftest.
$ac_ext <<_ACEOF
7544 cat confdefs.h
>>conftest.
$ac_ext
7545 cat >>conftest.
$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7551 return (int) gettext ("")
7556 rm -f conftest.
$ac_objext conftest
$ac_exeext
7557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7558 (eval $ac_link) 2>conftest.er1
7560 grep -v '^ *+' conftest.er1
>conftest.err
7562 cat conftest.err
>&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); } &&
7565 { ac_try
='test -z "$ac_c_werror_flag"
7566 || test ! -s conftest.err'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; } &&
7572 { ac_try
='test -s conftest$ac_exeext'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; }; then
7578 gt_cv_func_gettext_libintl
=yes
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.
$ac_ext >&5
7583 gt_cv_func_gettext_libintl
=no
7585 rm -f conftest.err conftest.
$ac_objext \
7586 conftest
$ac_exeext conftest.
$ac_ext
7588 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7589 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7594 if test "$gt_cv_func_gettext_libc" = "yes" \
7595 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7597 cat >>confdefs.h
<<\_ACEOF
7598 #define HAVE_GETTEXT 1
7601 # Extract the first word of "msgfmt", so it can be a program name with args.
7602 set dummy msgfmt
; ac_word
=$2
7603 echo "$as_me:$LINENO: checking for $ac_word" >&5
7604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7605 if test "${ac_cv_path_MSGFMT+set}" = set; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7610 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7613 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7614 for ac_dir
in $PATH; do
7615 test -z "$ac_dir" && ac_dir
=.
7616 if test -f $ac_dir/$ac_word; then
7617 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7618 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7624 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7628 MSGFMT
="$ac_cv_path_MSGFMT"
7629 if test -n "$MSGFMT"; then
7630 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7631 echo "${ECHO_T}$MSGFMT" >&6
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7636 if test "$MSGFMT" != "no"; then
7638 for ac_func
in dcgettext
7640 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7641 echo "$as_me:$LINENO: checking for $ac_func" >&5
7642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7643 if eval "test \"\${$as_ac_var+set}\" = set"; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 cat >conftest.
$ac_ext <<_ACEOF
7649 cat confdefs.h
>>conftest.
$ac_ext
7650 cat >>conftest.
$ac_ext <<_ACEOF
7651 /* end confdefs.h. */
7652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7654 #define $ac_func innocuous_$ac_func
7656 /* System header to define __stub macros and hopefully few prototypes,
7657 which can conflict with char $ac_func (); below.
7658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7659 <limits.h> exists even on freestanding compilers. */
7662 # include <limits.h>
7664 # include <assert.h>
7669 /* Override any gcc2 internal prototype to avoid an error. */
7674 /* We use char because int might match the return type of a gcc2
7675 builtin and then its argument prototype would still apply. */
7677 /* The GNU C library defines this for functions which it implements
7678 to always fail with ENOSYS. Some functions are actually named
7679 something starting with __ and the normal name is an alias. */
7680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7683 char (*f) () = $ac_func;
7692 return f != $ac_func;
7697 rm -f conftest.
$ac_objext conftest
$ac_exeext
7698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7699 (eval $ac_link) 2>conftest.er1
7701 grep -v '^ *+' conftest.er1
>conftest.err
7703 cat conftest.err
>&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } &&
7706 { ac_try
='test -z "$ac_c_werror_flag"
7707 || test ! -s conftest.err'
7708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); }; } &&
7713 { ac_try
='test -s conftest$ac_exeext'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; }; then
7719 eval "$as_ac_var=yes"
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.
$ac_ext >&5
7724 eval "$as_ac_var=no"
7726 rm -f conftest.err conftest.
$ac_objext \
7727 conftest
$ac_exeext conftest.
$ac_ext
7729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7731 if test `eval echo '${'$as_ac_var'}'` = yes; then
7732 cat >>confdefs.h
<<_ACEOF
7733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7739 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7740 set dummy gmsgfmt
; ac_word
=$2
7741 echo "$as_me:$LINENO: checking for $ac_word" >&5
7742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7743 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7744 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir
=.
7756 for ac_exec_ext
in '' $ac_executable_extensions; do
7757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7769 GMSGFMT
=$ac_cv_path_GMSGFMT
7771 if test -n "$GMSGFMT"; then
7772 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7773 echo "${ECHO_T}$GMSGFMT" >&6
7775 echo "$as_me:$LINENO: result: no" >&5
7776 echo "${ECHO_T}no" >&6
7779 # Extract the first word of "xgettext", so it can be a program name with args.
7780 set dummy xgettext
; ac_word
=$2
7781 echo "$as_me:$LINENO: checking for $ac_word" >&5
7782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7783 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7784 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7791 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7792 for ac_dir
in $PATH; do
7793 test -z "$ac_dir" && ac_dir
=.
7794 if test -f $ac_dir/$ac_word; then
7795 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7796 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7802 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7806 XGETTEXT
="$ac_cv_path_XGETTEXT"
7807 if test -n "$XGETTEXT"; then
7808 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7809 echo "${ECHO_T}$XGETTEXT" >&6
7811 echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6
7815 cat >conftest.
$ac_ext <<_ACEOF
7818 cat confdefs.h
>>conftest.
$ac_ext
7819 cat >>conftest.
$ac_ext <<_ACEOF
7820 /* end confdefs.h. */
7825 extern int _nl_msg_cat_cntr;
7826 return _nl_msg_cat_cntr
7831 rm -f conftest.
$ac_objext conftest
$ac_exeext
7832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7833 (eval $ac_link) 2>conftest.er1
7835 grep -v '^ *+' conftest.er1
>conftest.err
7837 cat conftest.err
>&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } &&
7840 { ac_try
='test -z "$ac_c_werror_flag"
7841 || test ! -s conftest.err'
7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); }; } &&
7847 { ac_try
='test -s conftest$ac_exeext'
7848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; }; then
7856 echo "$as_me: failed program was:" >&5
7857 sed 's/^/| /' conftest.
$ac_ext >&5
7862 rm -f conftest.err conftest.
$ac_objext \
7863 conftest
$ac_exeext conftest.
$ac_ext
7873 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7874 # Neither gettext nor catgets in included in the C library.
7875 # Fall back on GNU gettext library (assuming it is present).
7876 nls_cv_use_gnu_gettext
=yes
7880 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7881 INTLOBJS
="\$(GETTOBJS)"
7882 # Extract the first word of "msgfmt", so it can be a program name with args.
7883 set dummy msgfmt
; ac_word
=$2
7884 echo "$as_me:$LINENO: checking for $ac_word" >&5
7885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7886 if test "${ac_cv_path_MSGFMT+set}" = set; then
7887 echo $ECHO_N "(cached) $ECHO_C" >&6
7891 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7894 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7895 for ac_dir
in $PATH; do
7896 test -z "$ac_dir" && ac_dir
=.
7897 if test -f $ac_dir/$ac_word; then
7898 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7899 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7905 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7909 MSGFMT
="$ac_cv_path_MSGFMT"
7910 if test -n "$MSGFMT"; then
7911 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7912 echo "${ECHO_T}$MSGFMT" >&6
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7918 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7919 set dummy gmsgfmt
; ac_word
=$2
7920 echo "$as_me:$LINENO: checking for $ac_word" >&5
7921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7922 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir
=.
7935 for ac_exec_ext
in '' $ac_executable_extensions; do
7936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7948 GMSGFMT
=$ac_cv_path_GMSGFMT
7950 if test -n "$GMSGFMT"; then
7951 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7952 echo "${ECHO_T}$GMSGFMT" >&6
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7958 # Extract the first word of "xgettext", so it can be a program name with args.
7959 set dummy xgettext
; ac_word
=$2
7960 echo "$as_me:$LINENO: checking for $ac_word" >&5
7961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7962 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7970 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7971 for ac_dir
in $PATH; do
7972 test -z "$ac_dir" && ac_dir
=.
7973 if test -f $ac_dir/$ac_word; then
7974 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7975 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7981 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7985 XGETTEXT
="$ac_cv_path_XGETTEXT"
7986 if test -n "$XGETTEXT"; then
7987 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7988 echo "${ECHO_T}$XGETTEXT" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7995 USE_INCLUDED_LIBINTL
=yes
7999 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8001 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8002 nls_cv_header_intl
=libintl.h
8003 nls_cv_header_libgt
=libgettext.h
8006 if test "$XGETTEXT" != ":"; then
8007 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8010 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8011 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8016 # We need to process the po/ directory.
8020 nls_cv_header_intl
=libintl.h
8021 nls_cv_header_libgt
=libgettext.h
8024 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8025 # because some of the sources are only built for this goal.
8026 if test "$PACKAGE" = gettext; then
8028 USE_INCLUDED_LIBINTL
=yes
8031 for lang
in $ALL_LINGUAS; do
8032 GMOFILES
="$GMOFILES $lang.gmo"
8033 POFILES
="$POFILES $lang.po"
8047 if test "x$CATOBJEXT" != "x"; then
8049 cat >>confdefs.h
<<\_ACEOF
8050 #define ENABLE_NLS 1
8056 if test "x$CATOBJEXT" != "x"; then
8057 if test "x$ALL_LINGUAS" = "x"; then
8060 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8061 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8063 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8064 case "$ALL_LINGUAS" in
8065 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8068 LINGUAS
=$NEW_LINGUAS
8069 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8070 echo "${ECHO_T}$LINGUAS" >&6
8073 if test -n "$LINGUAS"; then
8074 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8078 if test $ac_cv_header_locale_h = yes; then
8079 INCLUDE_LOCALE_H
="#include <locale.h>"
8082 /* The system does not provide the header <locale.h>. Take care yourself. */"
8086 if test -f $srcdir/po2tbl.
sed.
in; then
8087 if test "$CATOBJEXT" = ".cat"; then
8088 if test "${ac_cv_header_linux_version_h+set}" = set; then
8089 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8090 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8091 if test "${ac_cv_header_linux_version_h+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8095 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8097 # Is the header compilable?
8098 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8099 echo $ECHO_N "checking linux/version.h usability... $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
8107 #include <linux/version.h>
8109 rm -f conftest.
$ac_objext
8110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8111 (eval $ac_compile) 2>conftest.er1
8113 grep -v '^ *+' conftest.er1
>conftest.err
8115 cat conftest.err
>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } &&
8118 { ac_try
='test -z "$ac_c_werror_flag"
8119 || test ! -s conftest.err'
8120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); }; } &&
8125 { ac_try
='test -s conftest.$ac_objext'
8126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; }; then
8131 ac_header_compiler
=yes
8133 echo "$as_me: failed program was:" >&5
8134 sed 's/^/| /' conftest.
$ac_ext >&5
8136 ac_header_compiler
=no
8138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8140 echo "${ECHO_T}$ac_header_compiler" >&6
8142 # Is the header present?
8143 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8144 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8145 cat >conftest.
$ac_ext <<_ACEOF
8148 cat confdefs.h
>>conftest.
$ac_ext
8149 cat >>conftest.
$ac_ext <<_ACEOF
8150 /* end confdefs.h. */
8151 #include <linux/version.h>
8153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8156 grep -v '^ *+' conftest.er1
>conftest.err
8158 cat conftest.err
>&5
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); } >/dev
/null
; then
8161 if test -s conftest.err
; then
8162 ac_cpp_err
=$ac_c_preproc_warn_flag
8163 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8170 if test -z "$ac_cpp_err"; then
8171 ac_header_preproc
=yes
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.
$ac_ext >&5
8176 ac_header_preproc
=no
8178 rm -f conftest.err conftest.
$ac_ext
8179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8180 echo "${ECHO_T}$ac_header_preproc" >&6
8182 # So? What about this header?
8183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8185 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8186 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8187 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8188 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8189 ac_header_preproc
=yes
8192 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8193 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8194 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8195 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8196 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8197 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8198 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8199 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8200 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8201 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8202 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8203 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8206 ## ------------------------------------------ ##
8207 ## Report this to the AC_PACKAGE_NAME lists. ##
8208 ## ------------------------------------------ ##
8211 sed "s/^/$as_me: WARNING: /" >&2
8214 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8215 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8216 if test "${ac_cv_header_linux_version_h+set}" = set; then
8217 echo $ECHO_N "(cached) $ECHO_C" >&6
8219 ac_cv_header_linux_version_h
=$ac_header_preproc
8221 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8222 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8225 if test $ac_cv_header_linux_version_h = yes; then
8233 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8235 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8236 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8239 if test "$PACKAGE" = "gettext"; then
8249 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8255 if test -f $srcdir/po
/POTFILES.
in; then
8256 test -d po || mkdir po
8257 if test "x$srcdir" != "x."; then
8258 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8259 posrcprefix
="$srcdir/"
8261 posrcprefix
="../$srcdir/"
8267 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8268 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8274 for ac_prog
in 'bison -y' byacc
8276 # Extract the first word of "$ac_prog", so it can be a program name with args.
8277 set dummy
$ac_prog; ac_word
=$2
8278 echo "$as_me:$LINENO: checking for $ac_word" >&5
8279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8280 if test "${ac_cv_prog_YACC+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 if test -n "$YACC"; then
8284 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir
=.
8291 for ac_exec_ext
in '' $ac_executable_extensions; do
8292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_YACC
="$ac_prog"
8294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8302 YACC
=$ac_cv_prog_YACC
8303 if test -n "$YACC"; then
8304 echo "$as_me:$LINENO: result: $YACC" >&5
8305 echo "${ECHO_T}$YACC" >&6
8307 echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6
8311 test -n "$YACC" && break
8313 test -n "$YACC" || YACC
="yacc"
8315 for ac_prog
in flex
lex
8317 # Extract the first word of "$ac_prog", so it can be a program name with args.
8318 set dummy
$ac_prog; ac_word
=$2
8319 echo "$as_me:$LINENO: checking for $ac_word" >&5
8320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8321 if test "${ac_cv_prog_LEX+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 if test -n "$LEX"; then
8325 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8331 test -z "$as_dir" && as_dir
=.
8332 for ac_exec_ext
in '' $ac_executable_extensions; do
8333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_LEX
="$ac_prog"
8335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 if test -n "$LEX"; then
8345 echo "$as_me:$LINENO: result: $LEX" >&5
8346 echo "${ECHO_T}$LEX" >&6
8348 echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6
8352 test -n "$LEX" && break
8354 test -n "$LEX" || LEX
=":"
8356 if test -z "$LEXLIB"
8358 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8359 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8360 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 ac_check_lib_save_LIBS
=$LIBS
8365 cat >conftest.
$ac_ext <<_ACEOF
8368 cat confdefs.h
>>conftest.
$ac_ext
8369 cat >>conftest.
$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8387 rm -f conftest.
$ac_objext conftest
$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>conftest.er1
8391 grep -v '^ *+' conftest.er1
>conftest.err
8393 cat conftest.err
>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try
='test -z "$ac_c_werror_flag"
8397 || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; } &&
8403 { ac_try
='test -s conftest$ac_exeext'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; }; then
8409 ac_cv_lib_fl_yywrap
=yes
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.
$ac_ext >&5
8414 ac_cv_lib_fl_yywrap
=no
8416 rm -f conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8418 LIBS
=$ac_check_lib_save_LIBS
8420 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8421 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8422 if test $ac_cv_lib_fl_yywrap = yes; then
8425 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8426 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8427 if test "${ac_cv_lib_l_yywrap+set}" = set; then
8428 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 ac_check_lib_save_LIBS
=$LIBS
8432 cat >conftest.
$ac_ext <<_ACEOF
8435 cat confdefs.h
>>conftest.
$ac_ext
8436 cat >>conftest.
$ac_ext <<_ACEOF
8437 /* end confdefs.h. */
8439 /* Override any gcc2 internal prototype to avoid an error. */
8443 /* We use char because int might match the return type of a gcc2
8444 builtin and then its argument prototype would still apply. */
8454 rm -f conftest.
$ac_objext conftest
$ac_exeext
8455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8456 (eval $ac_link) 2>conftest.er1
8458 grep -v '^ *+' conftest.er1
>conftest.err
8460 cat conftest.err
>&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } &&
8463 { ac_try
='test -z "$ac_c_werror_flag"
8464 || test ! -s conftest.err'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; } &&
8470 { ac_try
='test -s conftest$ac_exeext'
8471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); }; }; then
8476 ac_cv_lib_l_yywrap
=yes
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.
$ac_ext >&5
8481 ac_cv_lib_l_yywrap
=no
8483 rm -f conftest.err conftest.
$ac_objext \
8484 conftest
$ac_exeext conftest.
$ac_ext
8485 LIBS
=$ac_check_lib_save_LIBS
8487 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
8488 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
8489 if test $ac_cv_lib_l_yywrap = yes; then
8497 if test "x$LEX" != "x:"; then
8498 echo "$as_me:$LINENO: checking lex output file root" >&5
8499 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
8500 if test "${ac_cv_prog_lex_root+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 # The minimal lex program is just a single line: %%. But some broken lexes
8504 # (Solaris, I think it was) want two %% lines, so accommodate them.
8505 cat >conftest.l
<<_ACEOF
8509 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
8510 (eval $LEX conftest.l
) 2>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }
8514 if test -f lex.yy.c
; then
8515 ac_cv_prog_lex_root
=lex.yy
8516 elif test -f lexyy.c
; then
8517 ac_cv_prog_lex_root
=lexyy
8519 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
8520 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
8521 { (exit 1); exit 1; }; }
8524 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
8525 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
8527 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
8529 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
8530 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
8531 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 # POSIX says lex can declare yytext either as a pointer or an array; the
8535 # default is implementation-dependent. Figure out which it is, since
8536 # not all implementations provide the %pointer and %array declarations.
8537 ac_cv_prog_lex_yytext_pointer
=no
8538 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
8540 LIBS
="$LIBS $LEXLIB"
8541 cat >conftest.
$ac_ext <<_ACEOF
8542 `cat $LEX_OUTPUT_ROOT.c`
8544 rm -f conftest.
$ac_objext conftest
$ac_exeext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8546 (eval $ac_link) 2>conftest.er1
8548 grep -v '^ *+' conftest.er1
>conftest.err
8550 cat conftest.err
>&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } &&
8553 { ac_try
='test -z "$ac_c_werror_flag"
8554 || test ! -s conftest.err'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try
='test -s conftest$ac_exeext'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 ac_cv_prog_lex_yytext_pointer
=yes
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.
$ac_ext >&5
8572 rm -f conftest.err conftest.
$ac_objext \
8573 conftest
$ac_exeext conftest.
$ac_ext
8575 rm -f "${LEX_OUTPUT_ROOT}.c"
8578 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
8579 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
8580 if test $ac_cv_prog_lex_yytext_pointer = yes; then
8582 cat >>confdefs.h
<<\_ACEOF
8583 #define YYTEXT_POINTER 1
8589 if test "$LEX" = :; then
8590 LEX
=${am_missing_run}flex
8593 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8594 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8595 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8596 if test "${enable_maintainer_mode+set}" = set; then
8597 enableval
="$enable_maintainer_mode"
8598 USE_MAINTAINER_MODE
=$enableval
8600 USE_MAINTAINER_MODE
=no
8602 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8603 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8606 if test $USE_MAINTAINER_MODE = yes; then
8607 MAINTAINER_MODE_TRUE
=
8608 MAINTAINER_MODE_FALSE
='#'
8610 MAINTAINER_MODE_TRUE
='#'
8611 MAINTAINER_MODE_FALSE
=
8614 MAINT
=$MAINTAINER_MODE_TRUE
8618 .
${srcdir}/configure.
host
8629 for ac_header
in string.h
strings.h stdlib.h unistd.h
8631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8633 echo "$as_me:$LINENO: checking for $ac_header" >&5
8634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8641 # Is the header compilable?
8642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8644 cat >conftest.
$ac_ext <<_ACEOF
8647 cat confdefs.h
>>conftest.
$ac_ext
8648 cat >>conftest.
$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8650 $ac_includes_default
8651 #include <$ac_header>
8653 rm -f conftest.
$ac_objext
8654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8655 (eval $ac_compile) 2>conftest.er1
8657 grep -v '^ *+' conftest.er1
>conftest.err
8659 cat conftest.err
>&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } &&
8662 { ac_try
='test -z "$ac_c_werror_flag"
8663 || test ! -s conftest.err'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; } &&
8669 { ac_try
='test -s conftest.$ac_objext'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; }; then
8675 ac_header_compiler
=yes
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.
$ac_ext >&5
8680 ac_header_compiler
=no
8682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8684 echo "${ECHO_T}$ac_header_compiler" >&6
8686 # Is the header present?
8687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8689 cat >conftest.
$ac_ext <<_ACEOF
8692 cat confdefs.h
>>conftest.
$ac_ext
8693 cat >>conftest.
$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8695 #include <$ac_header>
8697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } >/dev
/null
; then
8705 if test -s conftest.err
; then
8706 ac_cpp_err
=$ac_c_preproc_warn_flag
8707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8714 if test -z "$ac_cpp_err"; then
8715 ac_header_preproc
=yes
8717 echo "$as_me: failed program was:" >&5
8718 sed 's/^/| /' conftest.
$ac_ext >&5
8720 ac_header_preproc
=no
8722 rm -f conftest.err conftest.
$ac_ext
8723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8724 echo "${ECHO_T}$ac_header_preproc" >&6
8726 # So? What about this header?
8727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8733 ac_header_preproc
=yes
8736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8750 ## ------------------------------------------ ##
8751 ## Report this to the AC_PACKAGE_NAME lists. ##
8752 ## ------------------------------------------ ##
8755 sed "s/^/$as_me: WARNING: /" >&2
8758 echo "$as_me:$LINENO: checking for $ac_header" >&5
8759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 eval "$as_ac_Header=\$ac_header_preproc"
8765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8770 cat >>confdefs.h
<<_ACEOF
8771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8781 for ac_func
in sbrk realpath glob
8783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8784 echo "$as_me:$LINENO: checking for $ac_func" >&5
8785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8786 if eval "test \"\${$as_ac_var+set}\" = set"; then
8787 echo $ECHO_N "(cached) $ECHO_C" >&6
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 cat confdefs.h
>>conftest.
$ac_ext
8793 cat >>conftest.
$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8797 #define $ac_func innocuous_$ac_func
8799 /* System header to define __stub macros and hopefully few prototypes,
8800 which can conflict with char $ac_func (); below.
8801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8802 <limits.h> exists even on freestanding compilers. */
8805 # include <limits.h>
8807 # include <assert.h>
8812 /* Override any gcc2 internal prototype to avoid an error. */
8817 /* We use char because int might match the return type of a gcc2
8818 builtin and then its argument prototype would still apply. */
8820 /* The GNU C library defines this for functions which it implements
8821 to always fail with ENOSYS. Some functions are actually named
8822 something starting with __ and the normal name is an alias. */
8823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8826 char (*f) () = $ac_func;
8835 return f != $ac_func;
8840 rm -f conftest.
$ac_objext conftest
$ac_exeext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8842 (eval $ac_link) 2>conftest.er1
8844 grep -v '^ *+' conftest.er1
>conftest.err
8846 cat conftest.err
>&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } &&
8849 { ac_try
='test -z "$ac_c_werror_flag"
8850 || test ! -s conftest.err'
8851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); }; } &&
8856 { ac_try
='test -s conftest$ac_exeext'
8857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); }; }; then
8862 eval "$as_ac_var=yes"
8864 echo "$as_me: failed program was:" >&5
8865 sed 's/^/| /' conftest.
$ac_ext >&5
8867 eval "$as_ac_var=no"
8869 rm -f conftest.err conftest.
$ac_objext \
8870 conftest
$ac_exeext conftest.
$ac_ext
8872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8874 if test `eval echo '${'$as_ac_var'}'` = yes; then
8875 cat >>confdefs.h
<<_ACEOF
8876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8888 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8889 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8890 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8891 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 cat >conftest.
$ac_ext <<_ACEOF
8898 cat confdefs.h
>>conftest.
$ac_ext
8899 cat >>conftest.
$ac_ext <<_ACEOF
8900 /* end confdefs.h. */
8901 #include <sys/types.h>
8913 rm -f conftest.
$ac_objext
8914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8915 (eval $ac_compile) 2>conftest.er1
8917 grep -v '^ *+' conftest.er1
>conftest.err
8919 cat conftest.err
>&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try
='test -z "$ac_c_werror_flag"
8923 || test ! -s conftest.err'
8924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); }; } &&
8929 { ac_try
='test -s conftest.$ac_objext'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; }; then
8935 eval "$as_ac_Header=yes"
8937 echo "$as_me: failed program was:" >&5
8938 sed 's/^/| /' conftest.
$ac_ext >&5
8940 eval "$as_ac_Header=no"
8942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8947 cat >>confdefs.h
<<_ACEOF
8948 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8951 ac_header_dirent
=$ac_hdr; break
8955 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8956 if test $ac_header_dirent = dirent.h
; then
8957 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8958 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8959 if test "${ac_cv_search_opendir+set}" = set; then
8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8962 ac_func_search_save_LIBS
=$LIBS
8963 ac_cv_search_opendir
=no
8964 cat >conftest.
$ac_ext <<_ACEOF
8967 cat confdefs.h
>>conftest.
$ac_ext
8968 cat >>conftest.
$ac_ext <<_ACEOF
8969 /* end confdefs.h. */
8971 /* Override any gcc2 internal prototype to avoid an error. */
8975 /* We use char because int might match the return type of a gcc2
8976 builtin and then its argument prototype would still apply. */
8986 rm -f conftest.
$ac_objext conftest
$ac_exeext
8987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8988 (eval $ac_link) 2>conftest.er1
8990 grep -v '^ *+' conftest.er1
>conftest.err
8992 cat conftest.err
>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); } &&
8995 { ac_try
='test -z "$ac_c_werror_flag"
8996 || test ! -s conftest.err'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; } &&
9002 { ac_try
='test -s conftest$ac_exeext'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; }; then
9008 ac_cv_search_opendir
="none required"
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.
$ac_ext >&5
9014 rm -f conftest.err conftest.
$ac_objext \
9015 conftest
$ac_exeext conftest.
$ac_ext
9016 if test "$ac_cv_search_opendir" = no
; then
9017 for ac_lib
in dir
; do
9018 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9019 cat >conftest.
$ac_ext <<_ACEOF
9022 cat confdefs.h
>>conftest.
$ac_ext
9023 cat >>conftest.
$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9026 /* Override any gcc2 internal prototype to avoid an error. */
9030 /* We use char because int might match the return type of a gcc2
9031 builtin and then its argument prototype would still apply. */
9041 rm -f conftest.
$ac_objext conftest
$ac_exeext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>conftest.er1
9045 grep -v '^ *+' conftest.er1
>conftest.err
9047 cat conftest.err
>&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try
='test -z "$ac_c_werror_flag"
9051 || test ! -s conftest.err'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; } &&
9057 { ac_try
='test -s conftest$ac_exeext'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; }; then
9063 ac_cv_search_opendir
="-l$ac_lib"
9066 echo "$as_me: failed program was:" >&5
9067 sed 's/^/| /' conftest.
$ac_ext >&5
9070 rm -f conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9074 LIBS
=$ac_func_search_save_LIBS
9076 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9077 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9078 if test "$ac_cv_search_opendir" != no
; then
9079 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9084 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9085 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9086 if test "${ac_cv_search_opendir+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 ac_func_search_save_LIBS
=$LIBS
9090 ac_cv_search_opendir
=no
9091 cat >conftest.
$ac_ext <<_ACEOF
9094 cat confdefs.h
>>conftest.
$ac_ext
9095 cat >>conftest.
$ac_ext <<_ACEOF
9096 /* end confdefs.h. */
9098 /* Override any gcc2 internal prototype to avoid an error. */
9102 /* We use char because int might match the return type of a gcc2
9103 builtin and then its argument prototype would still apply. */
9113 rm -f conftest.
$ac_objext conftest
$ac_exeext
9114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9115 (eval $ac_link) 2>conftest.er1
9117 grep -v '^ *+' conftest.er1
>conftest.err
9119 cat conftest.err
>&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } &&
9122 { ac_try
='test -z "$ac_c_werror_flag"
9123 || test ! -s conftest.err'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; } &&
9129 { ac_try
='test -s conftest$ac_exeext'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; }; then
9135 ac_cv_search_opendir
="none required"
9137 echo "$as_me: failed program was:" >&5
9138 sed 's/^/| /' conftest.
$ac_ext >&5
9141 rm -f conftest.err conftest.
$ac_objext \
9142 conftest
$ac_exeext conftest.
$ac_ext
9143 if test "$ac_cv_search_opendir" = no
; then
9145 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9146 cat >conftest.
$ac_ext <<_ACEOF
9149 cat confdefs.h
>>conftest.
$ac_ext
9150 cat >>conftest.
$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9153 /* Override any gcc2 internal prototype to avoid an error. */
9157 /* We use char because int might match the return type of a gcc2
9158 builtin and then its argument prototype would still apply. */
9168 rm -f conftest.
$ac_objext conftest
$ac_exeext
9169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9170 (eval $ac_link) 2>conftest.er1
9172 grep -v '^ *+' conftest.er1
>conftest.err
9174 cat conftest.err
>&5
9175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176 (exit $ac_status); } &&
9177 { ac_try
='test -z "$ac_c_werror_flag"
9178 || test ! -s conftest.err'
9179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); }; } &&
9184 { ac_try
='test -s conftest$ac_exeext'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; }; then
9190 ac_cv_search_opendir
="-l$ac_lib"
9193 echo "$as_me: failed program was:" >&5
9194 sed 's/^/| /' conftest.
$ac_ext >&5
9197 rm -f conftest.err conftest.
$ac_objext \
9198 conftest
$ac_exeext conftest.
$ac_ext
9201 LIBS
=$ac_func_search_save_LIBS
9203 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9204 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9205 if test "$ac_cv_search_opendir" != no
; then
9206 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9213 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
9214 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
9215 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 cat >conftest.
$ac_ext <<_ACEOF
9221 cat confdefs.h
>>conftest.
$ac_ext
9222 cat >>conftest.
$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9228 extern int getopt (int, char *const*, const char *);
9233 rm -f conftest.
$ac_objext
9234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9235 (eval $ac_compile) 2>conftest.er1
9237 grep -v '^ *+' conftest.er1
>conftest.err
9239 cat conftest.err
>&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } &&
9242 { ac_try
='test -z "$ac_c_werror_flag"
9243 || test ! -s conftest.err'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; } &&
9249 { ac_try
='test -s conftest.$ac_objext'
9250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; }; then
9255 ld_cv_decl_getopt_unistd_h
=yes
9257 echo "$as_me: failed program was:" >&5
9258 sed 's/^/| /' conftest.
$ac_ext >&5
9260 ld_cv_decl_getopt_unistd_h
=no
9262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9265 echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
9266 echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
9267 if test $ld_cv_decl_getopt_unistd_h = yes; then
9269 cat >>confdefs.h
<<\_ACEOF
9270 #define HAVE_DECL_GETOPT 1
9277 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9279 cat >>confdefs.h
<<\_ACEOF
9280 #define USE_BINARY_FOPEN 1
9285 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
9286 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
9287 if test "${ac_cv_have_decl_strstr+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 cat >conftest.
$ac_ext <<_ACEOF
9293 cat confdefs.h
>>conftest.
$ac_ext
9294 cat >>conftest.
$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9296 $ac_includes_default
9301 char *p = (char *) strstr;
9308 rm -f conftest.
$ac_objext
9309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9310 (eval $ac_compile) 2>conftest.er1
9312 grep -v '^ *+' conftest.er1
>conftest.err
9314 cat conftest.err
>&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } &&
9317 { ac_try
='test -z "$ac_c_werror_flag"
9318 || test ! -s conftest.err'
9319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; } &&
9324 { ac_try
='test -s conftest.$ac_objext'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; }; then
9330 ac_cv_have_decl_strstr
=yes
9332 echo "$as_me: failed program was:" >&5
9333 sed 's/^/| /' conftest.
$ac_ext >&5
9335 ac_cv_have_decl_strstr
=no
9337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9339 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
9340 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
9341 if test $ac_cv_have_decl_strstr = yes; then
9343 cat >>confdefs.h
<<_ACEOF
9344 #define HAVE_DECL_STRSTR 1
9349 cat >>confdefs.h
<<_ACEOF
9350 #define HAVE_DECL_STRSTR 0
9355 echo "$as_me:$LINENO: checking whether free is declared" >&5
9356 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
9357 if test "${ac_cv_have_decl_free+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 cat >conftest.
$ac_ext <<_ACEOF
9363 cat confdefs.h
>>conftest.
$ac_ext
9364 cat >>conftest.
$ac_ext <<_ACEOF
9365 /* end confdefs.h. */
9366 $ac_includes_default
9371 char *p = (char *) free;
9378 rm -f conftest.
$ac_objext
9379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9380 (eval $ac_compile) 2>conftest.er1
9382 grep -v '^ *+' conftest.er1
>conftest.err
9384 cat conftest.err
>&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } &&
9387 { ac_try
='test -z "$ac_c_werror_flag"
9388 || test ! -s conftest.err'
9389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); }; } &&
9394 { ac_try
='test -s conftest.$ac_objext'
9395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); }; }; then
9400 ac_cv_have_decl_free
=yes
9402 echo "$as_me: failed program was:" >&5
9403 sed 's/^/| /' conftest.
$ac_ext >&5
9405 ac_cv_have_decl_free
=no
9407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9409 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
9410 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
9411 if test $ac_cv_have_decl_free = yes; then
9413 cat >>confdefs.h
<<_ACEOF
9414 #define HAVE_DECL_FREE 1
9419 cat >>confdefs.h
<<_ACEOF
9420 #define HAVE_DECL_FREE 0
9425 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
9426 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
9427 if test "${ac_cv_have_decl_sbrk+set}" = set; then
9428 echo $ECHO_N "(cached) $ECHO_C" >&6
9430 cat >conftest.
$ac_ext <<_ACEOF
9433 cat confdefs.h
>>conftest.
$ac_ext
9434 cat >>conftest.
$ac_ext <<_ACEOF
9435 /* end confdefs.h. */
9436 $ac_includes_default
9441 char *p = (char *) sbrk;
9448 rm -f conftest.
$ac_objext
9449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9450 (eval $ac_compile) 2>conftest.er1
9452 grep -v '^ *+' conftest.er1
>conftest.err
9454 cat conftest.err
>&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } &&
9457 { ac_try
='test -z "$ac_c_werror_flag"
9458 || test ! -s conftest.err'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; } &&
9464 { ac_try
='test -s conftest.$ac_objext'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; }; then
9470 ac_cv_have_decl_sbrk
=yes
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.
$ac_ext >&5
9475 ac_cv_have_decl_sbrk
=no
9477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9479 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
9480 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
9481 if test $ac_cv_have_decl_sbrk = yes; then
9483 cat >>confdefs.h
<<_ACEOF
9484 #define HAVE_DECL_SBRK 1
9489 cat >>confdefs.h
<<_ACEOF
9490 #define HAVE_DECL_SBRK 0
9495 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
9496 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
9497 if test "${ac_cv_have_decl_getenv+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 cat >conftest.
$ac_ext <<_ACEOF
9503 cat confdefs.h
>>conftest.
$ac_ext
9504 cat >>conftest.
$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9506 $ac_includes_default
9511 char *p = (char *) getenv;
9518 rm -f conftest.
$ac_objext
9519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9520 (eval $ac_compile) 2>conftest.er1
9522 grep -v '^ *+' conftest.er1
>conftest.err
9524 cat conftest.err
>&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } &&
9527 { ac_try
='test -z "$ac_c_werror_flag"
9528 || test ! -s conftest.err'
9529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); }; } &&
9534 { ac_try
='test -s conftest.$ac_objext'
9535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; }; then
9540 ac_cv_have_decl_getenv
=yes
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.
$ac_ext >&5
9545 ac_cv_have_decl_getenv
=no
9547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9549 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9550 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
9551 if test $ac_cv_have_decl_getenv = yes; then
9553 cat >>confdefs.h
<<_ACEOF
9554 #define HAVE_DECL_GETENV 1
9559 cat >>confdefs.h
<<_ACEOF
9560 #define HAVE_DECL_GETENV 0
9565 echo "$as_me:$LINENO: checking whether environ is declared" >&5
9566 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
9567 if test "${ac_cv_have_decl_environ+set}" = set; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 cat >conftest.
$ac_ext <<_ACEOF
9573 cat confdefs.h
>>conftest.
$ac_ext
9574 cat >>conftest.
$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9576 $ac_includes_default
9581 char *p = (char *) environ;
9588 rm -f conftest.
$ac_objext
9589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9590 (eval $ac_compile) 2>conftest.er1
9592 grep -v '^ *+' conftest.er1
>conftest.err
9594 cat conftest.err
>&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); } &&
9597 { ac_try
='test -z "$ac_c_werror_flag"
9598 || test ! -s conftest.err'
9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); }; } &&
9604 { ac_try
='test -s conftest.$ac_objext'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; }; then
9610 ac_cv_have_decl_environ
=yes
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9615 ac_cv_have_decl_environ
=no
9617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9619 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
9620 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
9621 if test $ac_cv_have_decl_environ = yes; then
9623 cat >>confdefs.h
<<_ACEOF
9624 #define HAVE_DECL_ENVIRON 1
9629 cat >>confdefs.h
<<_ACEOF
9630 #define HAVE_DECL_ENVIRON 0
9638 # When converting linker scripts into strings for use in emulation
9639 # files, use astring.sed if the compiler supports ANSI string
9640 # concatenation, or ostring.sed otherwise. This is to support the
9641 # broken Microsoft MSVC compiler, which limits the length of string
9642 # constants, while still supporting pre-ANSI compilers which do not
9643 # support string concatenation.
9644 echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
9645 echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
9646 if test "${ld_cv_string_concatenation+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 cat >conftest.
$ac_ext <<_ACEOF
9652 cat confdefs.h
>>conftest.
$ac_ext
9653 cat >>conftest.
$ac_ext <<_ACEOF
9654 /* end confdefs.h. */
9664 rm -f conftest.
$ac_objext
9665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9666 (eval $ac_compile) 2>conftest.er1
9668 grep -v '^ *+' conftest.er1
>conftest.err
9670 cat conftest.err
>&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); } &&
9673 { ac_try
='test -z "$ac_c_werror_flag"
9674 || test ! -s conftest.err'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; } &&
9680 { ac_try
='test -s conftest.$ac_objext'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; }; then
9686 ld_cv_string_concatenation
=yes
9688 echo "$as_me: failed program was:" >&5
9689 sed 's/^/| /' conftest.
$ac_ext >&5
9691 ld_cv_string_concatenation
=no
9693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9696 echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
9697 echo "${ECHO_T}$ld_cv_string_concatenation" >&6
9698 if test "$ld_cv_string_concatenation" = "yes"; then
9699 STRINGIFY
=astring.
sed
9701 STRINGIFY
=ostring.
sed
9705 # target-specific stuff:
9715 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
9717 if test "$targ_alias" = "all"; then
9720 # Canonicalize the secondary target names.
9721 result
=`$ac_config_sub $targ_alias 2>/dev/null`
9722 if test -n "$result"; then
9728 .
${srcdir}/configure.tgt
9730 if test "$targ" = "$target"; then
9734 for i
in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
9735 case " $all_emuls " in
9738 all_emuls
="$all_emuls e${i}.o"
9739 eval result
=\
$tdir_$i
9740 test -z "$result" && result
=$targ_alias
9741 echo tdir_
$i=$result >> tdirs
9746 for i
in $targ_emul $targ_extra_libpath; do
9747 case " $all_libpath " in
9750 if test -z "$all_libpath"; then
9753 all_libpath
="$all_libpath ${i}"
9759 for i
in $targ_extra_ofiles; do
9760 case " $all_emul_extras " in
9763 all_emul_extras
="$all_emul_extras ${i}"
9775 if test x
${all_targets} = xtrue
; then
9776 if test x
${want64} = xtrue
; then
9777 EMULATION_OFILES
='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
9779 EMULATION_OFILES
='$(ALL_EMULATIONS)'
9781 EMUL_EXTRA_OFILES
='$(ALL_EMUL_EXTRA_OFILES)'
9783 EMULATION_OFILES
=$all_emuls
9784 EMUL_EXTRA_OFILES
=$all_emul_extras
9790 EMULATION_LIBPATH
=$all_libpath
9793 if test x
${enable_static} = xno
; then
9794 TESTBFDLIB
="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
9796 TESTBFDLIB
="../bfd/.libs/libbfd.a"
9800 target_vendor
=${target_vendor=$host_vendor}
9801 case "$target_vendor" in
9802 hp
) EXTRA_SHLIB_EXTENSION
=".sl" ;;
9803 *) EXTRA_SHLIB_EXTENSION
= ;;
9806 case "$target_os" in
9807 lynxos
) EXTRA_SHLIB_EXTENSION
=".a" ;;
9810 if test x
${EXTRA_SHLIB_EXTENSION} != x
; then
9812 cat >>confdefs.h
<<_ACEOF
9813 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
9822 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
9823 ac_config_commands
="$ac_config_commands default"
9824 cat >confcache
<<\_ACEOF
9825 # This file is a shell script that caches the results of configure
9826 # tests run on this system so they can be shared between configure
9827 # scripts and configure runs, see configure's option --config-cache.
9828 # It is not useful on other systems. If it contains results you don't
9829 # want to keep, you may remove or edit it.
9831 # config.status only pays attention to the cache file if you give it
9832 # the --recheck option to rerun configure.
9834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9840 # The following way of writing the cache mishandles newlines in values,
9841 # but we know of no workaround that is simple, portable, and efficient.
9842 # So, don't put newlines in cache variables' values.
9843 # Ultrix sh set writes to stderr and can't be redirected directly,
9844 # and sets the high bit in the cache file unless we assign to the vars.
9847 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9849 # `set' does not quote correctly, so add quotes (double-quote
9850 # substitution turns \\\\ into \\, and sed turns \\ into \).
9853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9856 # `set' quotes correctly as required by POSIX, so do not add quotes.
9858 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9865 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9867 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9869 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9870 if test -w $cache_file; then
9871 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9872 cat confcache
>$cache_file
9874 echo "not updating unwritable cache $cache_file"
9879 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9880 # Let make expand exec_prefix.
9881 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9883 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9884 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9885 # trailing colons and then remove the whole line if VPATH becomes empty
9886 # (actually we leave an empty line to preserve line numbers).
9887 if test "x$srcdir" = x.
; then
9888 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9889 s/:*\$(srcdir):*/:/;
9890 s/:*\${srcdir}:*/:/;
9892 s/^\([^=]*=[ ]*\):*/\1/;
9898 DEFS
=-DHAVE_CONFIG_H
9902 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9903 # 1. Remove the extension, and $U if already installed.
9904 ac_i
=`echo "$ac_i" |
9905 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9907 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9908 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9912 LTLIBOBJS
=$ac_ltlibobjs
9915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9916 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9917 Usually this means the macro was only invoked conditionally." >&5
9918 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9919 Usually this means the macro was only invoked conditionally." >&2;}
9920 { (exit 1); exit 1; }; }
9922 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9923 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9924 Usually this means the macro was only invoked conditionally." >&5
9925 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9926 Usually this means the macro was only invoked conditionally." >&2;}
9927 { (exit 1); exit 1; }; }
9929 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9930 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9931 Usually this means the macro was only invoked conditionally." >&5
9932 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9933 Usually this means the macro was only invoked conditionally." >&2;}
9934 { (exit 1); exit 1; }; }
9937 : ${CONFIG_STATUS=./config.status}
9938 ac_clean_files_save
=$ac_clean_files
9939 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9940 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9941 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9942 cat >$CONFIG_STATUS <<_ACEOF
9944 # Generated by $as_me.
9945 # Run this file to recreate the current configuration.
9946 # Compiler output produced by configure, useful for debugging
9947 # configure, is in config.log if it exists.
9952 SHELL=\${CONFIG_SHELL-$SHELL}
9955 cat >>$CONFIG_STATUS <<\_ACEOF
9956 ## --------------------- ##
9957 ## M4sh Initialization. ##
9958 ## --------------------- ##
9960 # Be Bourne compatible
9961 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9964 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9965 # is contrary to our usage. Disable this feature.
9966 alias -g '${1+"$@"}'='"$@"'
9967 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9970 DUALCASE
=1; export DUALCASE
# for MKS sh
9972 # Support unset when possible.
9973 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9980 # Work around bugs in pre-3.0 UWIN ksh.
9981 $as_unset ENV MAIL MAILPATH
9988 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9989 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9990 LC_TELEPHONE LC_TIME
9992 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9993 eval $as_var=C
; export $as_var
9999 # Required to use basename.
10000 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10006 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10007 as_basename
=basename
10013 # Name of the executable.
10014 as_me
=`$as_basename "$0" ||
10015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10016 X"$0" : 'X\(//\)$' \| \
10017 X"$0" : 'X\(/\)$' \| \
10018 . : '\(.\)' 2>/dev/null ||
10020 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10021 /^X\/\(\/\/\)$/{ s//\1/; q; }
10022 /^X\/\(\/\).*/{ s//\1/; q; }
10026 # PATH needs CR, and LINENO needs CR and PATH.
10027 # Avoid depending upon Character Ranges.
10028 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10029 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10030 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10031 as_cr_digits
='0123456789'
10032 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10034 # The user is always right.
10035 if test "${PATH_SEPARATOR+set}" != set; then
10036 echo "#! /bin/sh" >conf$$.sh
10037 echo "exit 0" >>conf$$.sh
10039 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10048 as_lineno_1
=$LINENO
10049 as_lineno_2
=$LINENO
10050 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10051 test "x$as_lineno_1" != "x$as_lineno_2" &&
10052 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10053 # Find who we are. Look in the path if we contain no path at all
10056 *[\\/]* ) as_myself
=$0 ;;
10057 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10058 for as_dir
in $PATH
10061 test -z "$as_dir" && as_dir
=.
10062 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10067 # We did not find ourselves, most probably we were run as `sh COMMAND'
10068 # in which case we are not to be found in the path.
10069 if test "x$as_myself" = x
; then
10072 if test ! -f "$as_myself"; then
10073 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10074 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10075 { (exit 1); exit 1; }; }
10077 case $CONFIG_SHELL in
10079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10080 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10083 test -z "$as_dir" && as_dir
=.
10084 for as_base
in sh bash ksh sh5
; do
10087 if ("$as_dir/$as_base" -c '
10088 as_lineno_1=$LINENO
10089 as_lineno_2=$LINENO
10090 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10091 test "x$as_lineno_1" != "x$as_lineno_2" &&
10092 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10093 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10094 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10095 CONFIG_SHELL
=$as_dir/$as_base
10096 export CONFIG_SHELL
10097 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10105 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10106 # uniformly replaced by the line number. The first 'sed' inserts a
10107 # line-number line before each line; the second 'sed' does the real
10108 # work. The second script uses 'N' to pair each line-number line
10109 # with the numbered line, and appends trailing '-' during
10110 # substitution so that $LINENO is not a special case at line end.
10111 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10112 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10113 sed '=' <$as_myself |
10118 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10121 s,^['$as_cr_digits']*\n,,
10122 ' >$as_me.lineno
&&
10123 chmod +x
$as_me.lineno ||
10124 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10125 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10126 { (exit 1); exit 1; }; }
10128 # Don't try to exec as it changes $[0], causing all sort of problems
10129 # (the dirname of $[0] is not the place where we might find the
10130 # original and so on. Autoconf is especially sensible to this).
10132 # Exit status is that of the last command.
10137 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10138 *c
*,-n*) ECHO_N
= ECHO_C
='
10140 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10141 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10144 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10150 rm -f conf$$ conf$$.exe conf$$.
file
10152 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10153 # We could just check for DJGPP; but this test a) works b) is more generic
10154 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10155 if test -f conf$$.exe
; then
10156 # Don't use ln at all; we don't have any links
10161 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10166 rm -f conf$$ conf$$.exe conf$$.
file
10168 if mkdir
-p .
2>/dev
/null
; then
10171 test -d .
/-p && rmdir .
/-p
10175 as_executable_p
="test -f"
10177 # Sed expression to map a string onto a valid CPP name.
10178 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10180 # Sed expression to map a string onto a valid variable name.
10181 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10185 # We need space, tab and new line, in precisely that order.
10195 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10196 # report actual input values of CONFIG_FILES etc. instead of their
10197 # values after options handling. Logging --version etc. is OK.
10201 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10202 ## Running $as_me. ##
10207 This file was extended by $as_me, which was
10208 generated by GNU Autoconf 2.59. Invocation command line was
10210 CONFIG_FILES = $CONFIG_FILES
10211 CONFIG_HEADERS = $CONFIG_HEADERS
10212 CONFIG_LINKS = $CONFIG_LINKS
10213 CONFIG_COMMANDS = $CONFIG_COMMANDS
10217 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10221 # Files that config.status was made for.
10222 if test -n "$ac_config_files"; then
10223 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10226 if test -n "$ac_config_headers"; then
10227 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10230 if test -n "$ac_config_links"; then
10231 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10234 if test -n "$ac_config_commands"; then
10235 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10238 cat >>$CONFIG_STATUS <<\_ACEOF
10241 \`$as_me' instantiates files from templates according to the
10242 current configuration.
10244 Usage: $0 [OPTIONS] [FILE]...
10246 -h, --help print this help, then exit
10247 -V, --version print version number, then exit
10248 -q, --quiet do not print progress messages
10249 -d, --debug don't remove temporary files
10250 --recheck update $as_me by reconfiguring in the same conditions
10251 --file=FILE[:TEMPLATE]
10252 instantiate the configuration file FILE
10253 --header=FILE[:TEMPLATE]
10254 instantiate the configuration header FILE
10256 Configuration files:
10259 Configuration headers:
10262 Configuration commands:
10265 Report bugs to <bug-autoconf@gnu.org>."
10268 cat >>$CONFIG_STATUS <<_ACEOF
10271 configured by $0, generated by GNU Autoconf 2.59,
10272 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10274 Copyright (C) 2003 Free Software Foundation, Inc.
10275 This config.status script is free software; the Free Software Foundation
10276 gives unlimited permission to copy, distribute and modify it."
10281 cat >>$CONFIG_STATUS <<\_ACEOF
10282 # If no file are specified by the user, then we need to provide default
10283 # value. By we need to know if files were specified by the user.
10289 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10290 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10298 *) # This is not an option, so the user has probably given explicit
10301 ac_need_defaults
=false
;;
10305 # Handling of the options.
10307 cat >>$CONFIG_STATUS <<\_ACEOF
10308 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10310 --version |
--vers* |
-V )
10311 echo "$ac_cs_version"; exit 0 ;;
10313 # Conflict between --help and --header
10314 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10315 Try \`$0 --help' for more information." >&5
10316 echo "$as_me: error: ambiguous option: $1
10317 Try \`$0 --help' for more information." >&2;}
10318 { (exit 1); exit 1; }; };;
10319 --help |
--hel |
-h )
10320 echo "$ac_cs_usage"; exit 0 ;;
10321 --debug |
--d* |
-d )
10323 --file |
--fil |
--fi |
--f )
10325 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10326 ac_need_defaults
=false
;;
10327 --header |
--heade |
--head |
--hea )
10329 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10330 ac_need_defaults
=false
;;
10331 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10332 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10335 # This is an error.
10336 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10337 Try \`$0 --help' for more information." >&5
10338 echo "$as_me: error: unrecognized option: $1
10339 Try \`$0 --help' for more information." >&2;}
10340 { (exit 1); exit 1; }; } ;;
10342 *) ac_config_targets
="$ac_config_targets $1" ;;
10348 ac_configure_extra_args
=
10350 if $ac_cs_silent; then
10352 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10356 cat >>$CONFIG_STATUS <<_ACEOF
10357 if \$ac_cs_recheck; then
10358 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10359 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10364 cat >>$CONFIG_STATUS <<_ACEOF
10366 # INIT-COMMANDS section.
10369 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10375 cat >>$CONFIG_STATUS <<\_ACEOF
10376 for ac_config_target
in $ac_config_targets
10378 case "$ac_config_target" in
10379 # Handling of arguments.
10380 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10381 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
10382 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10383 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
10384 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
10385 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10386 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10387 { (exit 1); exit 1; }; };;
10391 # If the user did not use the arguments to specify the items to instantiate,
10392 # then the envvar interface is used. Set only those that are not.
10393 # We use the long form for the default assignment because of an extremely
10394 # bizarre bug on SunOS 4.1.3.
10395 if $ac_need_defaults; then
10396 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10397 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10398 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10401 # Have a temporary directory for convenience. Make it in the build tree
10402 # simply because there is no reason to put it here, and in addition,
10403 # creating and moving files from /tmp can sometimes cause problems.
10404 # Create a temporary directory, and hook for its removal unless debugging.
10407 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10408 trap '{ (exit 1); exit 1; }' 1 2 13 15
10411 # Create a (secure) tmp directory for tmp files.
10414 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10415 test -n "$tmp" && test -d "$tmp"
10418 tmp
=.
/confstat$$
-$RANDOM
10419 (umask 077 && mkdir
$tmp)
10422 echo "$me: cannot create a temporary directory in ." >&2
10423 { (exit 1); exit 1; }
10428 cat >>$CONFIG_STATUS <<_ACEOF
10431 # CONFIG_FILES section.
10434 # No need to generate the scripts if there are no CONFIG_FILES.
10435 # This happens for instance when ./config.status config.h
10436 if test -n "\$CONFIG_FILES"; then
10437 # Protect against being on the right side of a sed subst in config.status.
10438 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10439 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10440 s,@SHELL@,$SHELL,;t t
10441 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10442 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10443 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10444 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10445 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10446 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10447 s,@exec_prefix@,$exec_prefix,;t t
10448 s,@prefix@,$prefix,;t t
10449 s,@program_transform_name@,$program_transform_name,;t t
10450 s,@bindir@,$bindir,;t t
10451 s,@sbindir@,$sbindir,;t t
10452 s,@libexecdir@,$libexecdir,;t t
10453 s,@datadir@,$datadir,;t t
10454 s,@sysconfdir@,$sysconfdir,;t t
10455 s,@sharedstatedir@,$sharedstatedir,;t t
10456 s,@localstatedir@,$localstatedir,;t t
10457 s,@libdir@,$libdir,;t t
10458 s,@includedir@,$includedir,;t t
10459 s,@oldincludedir@,$oldincludedir,;t t
10460 s,@infodir@,$infodir,;t t
10461 s,@mandir@,$mandir,;t t
10462 s,@build_alias@,$build_alias,;t t
10463 s,@host_alias@,$host_alias,;t t
10464 s,@target_alias@,$target_alias,;t t
10465 s,@DEFS@,$DEFS,;t t
10466 s,@ECHO_C@,$ECHO_C,;t t
10467 s,@ECHO_N@,$ECHO_N,;t t
10468 s,@ECHO_T@,$ECHO_T,;t t
10469 s,@LIBS@,$LIBS,;t t
10470 s,@build@,$build,;t t
10471 s,@build_cpu@,$build_cpu,;t t
10472 s,@build_vendor@,$build_vendor,;t t
10473 s,@build_os@,$build_os,;t t
10474 s,@host@,$host,;t t
10475 s,@host_cpu@,$host_cpu,;t t
10476 s,@host_vendor@,$host_vendor,;t t
10477 s,@host_os@,$host_os,;t t
10478 s,@target@,$target,;t t
10479 s,@target_cpu@,$target_cpu,;t t
10480 s,@target_vendor@,$target_vendor,;t t
10481 s,@target_os@,$target_os,;t t
10483 s,@CFLAGS@,$CFLAGS,;t t
10484 s,@LDFLAGS@,$LDFLAGS,;t t
10485 s,@CPPFLAGS@,$CPPFLAGS,;t t
10486 s,@ac_ct_CC@,$ac_ct_CC,;t t
10487 s,@EXEEXT@,$EXEEXT,;t t
10488 s,@OBJEXT@,$OBJEXT,;t t
10489 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10490 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10491 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10492 s,@CYGPATH_W@,$CYGPATH_W,;t t
10493 s,@PACKAGE@,$PACKAGE,;t t
10494 s,@VERSION@,$VERSION,;t t
10495 s,@ACLOCAL@,$ACLOCAL,;t t
10496 s,@AUTOCONF@,$AUTOCONF,;t t
10497 s,@AUTOMAKE@,$AUTOMAKE,;t t
10498 s,@AUTOHEADER@,$AUTOHEADER,;t t
10499 s,@MAKEINFO@,$MAKEINFO,;t t
10500 s,@install_sh@,$install_sh,;t t
10501 s,@STRIP@,$STRIP,;t t
10502 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10503 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10504 s,@mkdir_p@,$mkdir_p,;t t
10506 s,@SET_MAKE@,$SET_MAKE,;t t
10507 s,@am__leading_dot@,$am__leading_dot,;t t
10508 s,@AMTAR@,$AMTAR,;t t
10509 s,@am__tar@,$am__tar,;t t
10510 s,@am__untar@,$am__untar,;t t
10511 s,@DEPDIR@,$DEPDIR,;t t
10512 s,@am__include@,$am__include,;t t
10513 s,@am__quote@,$am__quote,;t t
10514 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10515 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10516 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10517 s,@CCDEPMODE@,$CCDEPMODE,;t t
10518 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10519 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10520 s,@LN_S@,$LN_S,;t t
10521 s,@RANLIB@,$RANLIB,;t t
10522 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10523 s,@LIBTOOL@,$LIBTOOL,;t t
10524 s,@use_sysroot@,$use_sysroot,;t t
10525 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
10526 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
10527 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
10528 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
10529 s,@NO_WERROR@,$NO_WERROR,;t t
10531 s,@EGREP@,$EGREP,;t t
10532 s,@ALLOCA@,$ALLOCA,;t t
10533 s,@USE_NLS@,$USE_NLS,;t t
10534 s,@MSGFMT@,$MSGFMT,;t t
10535 s,@GMSGFMT@,$GMSGFMT,;t t
10536 s,@XGETTEXT@,$XGETTEXT,;t t
10537 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
10538 s,@CATALOGS@,$CATALOGS,;t t
10539 s,@CATOBJEXT@,$CATOBJEXT,;t t
10540 s,@DATADIRNAME@,$DATADIRNAME,;t t
10541 s,@GMOFILES@,$GMOFILES,;t t
10542 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
10543 s,@INTLDEPS@,$INTLDEPS,;t t
10544 s,@INTLLIBS@,$INTLLIBS,;t t
10545 s,@INTLOBJS@,$INTLOBJS,;t t
10546 s,@POFILES@,$POFILES,;t t
10547 s,@POSUB@,$POSUB,;t t
10548 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
10549 s,@GT_NO@,$GT_NO,;t t
10550 s,@GT_YES@,$GT_YES,;t t
10551 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10553 s,@YACC@,$YACC,;t t
10555 s,@LEXLIB@,$LEXLIB,;t t
10556 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
10557 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10558 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10559 s,@MAINT@,$MAINT,;t t
10560 s,@HDEFINES@,$HDEFINES,;t t
10561 s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
10562 s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
10563 s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
10564 s,@STRINGIFY@,$STRINGIFY,;t t
10565 s,@EMUL@,$EMUL,;t t
10566 s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
10567 s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
10568 s,@LIB_PATH@,$LIB_PATH,;t t
10569 s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
10570 s,@TESTBFDLIB@,$TESTBFDLIB,;t t
10571 s,@datarootdir@,$datarootdir,;t t
10572 s,@docdir@,$docdir,;t t
10573 s,@htmldir@,$htmldir,;t t
10574 s,@LIBOBJS@,$LIBOBJS,;t t
10575 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10582 cat >>$CONFIG_STATUS <<\_ACEOF
10583 # Split the substitutions into bite-sized pieces for seds with
10584 # small command number limits, like on Digital OSF/1 and HP-UX.
10585 ac_max_sed_lines
=48
10586 ac_sed_frag
=1 # Number of current file.
10587 ac_beg
=1 # First line for current file.
10588 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10591 while $ac_more_lines; do
10592 if test $ac_beg -gt 1; then
10593 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10595 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10597 if test ! -s $tmp/subs.frag
; then
10598 ac_more_lines
=false
10600 # The purpose of the label and of the branching condition is to
10601 # speed up the sed processing (if there are no `@' at all, there
10602 # is no need to browse any of the substitutions).
10603 # These are the two extra sed commands mentioned above.
10605 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10606 if test -z "$ac_sed_cmds"; then
10607 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10609 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10611 ac_sed_frag
=`expr $ac_sed_frag + 1`
10613 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10616 if test -z "$ac_sed_cmds"; then
10619 fi # test -n "$CONFIG_FILES"
10622 cat >>$CONFIG_STATUS <<\_ACEOF
10623 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10624 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10626 - |
*:- |
*:-:* ) # input from stdin
10628 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10629 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10630 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10631 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10632 * ) ac_file_in
=$ac_file.
in ;;
10635 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10636 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10638 X"$ac_file" : 'X\(//\)[^/]' \| \
10639 X"$ac_file" : 'X\(//\)$' \| \
10640 X"$ac_file" : 'X\(/\)' \| \
10641 . : '\(.\)' 2>/dev/null ||
10643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10645 /^X\(\/\/\)$/{ s//\1/; q; }
10646 /^X\(\/\).*/{ s//\1/; q; }
10648 { if $as_mkdir_p; then
10653 while test ! -d "$as_dir"; do
10654 as_dirs
="$as_dir $as_dirs"
10655 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10657 X"$as_dir" : 'X\(//\)[^/]' \| \
10658 X"$as_dir" : 'X\(//\)$' \| \
10659 X"$as_dir" : 'X\(/\)' \| \
10660 . : '\(.\)' 2>/dev/null ||
10662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10664 /^X\(\/\/\)$/{ s//\1/; q; }
10665 /^X\(\/\).*/{ s//\1/; q; }
10668 test ! -n "$as_dirs" || mkdir
$as_dirs
10669 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10670 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10671 { (exit 1); exit 1; }; }; }
10675 if test "$ac_dir" != .
; then
10676 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10677 # A "../" for each directory in $ac_dir_suffix.
10678 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10680 ac_dir_suffix
= ac_top_builddir
=
10684 .
) # No --srcdir option. We are building in place.
10686 if test -z "$ac_top_builddir"; then
10689 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10691 [\\/]* | ?
:[\\/]* ) # Absolute path.
10692 ac_srcdir
=$srcdir$ac_dir_suffix;
10693 ac_top_srcdir
=$srcdir ;;
10694 *) # Relative path.
10695 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10696 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10699 # Do not use `cd foo && pwd` to compute absolute paths, because
10700 # the directories may not exist.
10702 .
) ac_abs_builddir
="$ac_dir";;
10705 .
) ac_abs_builddir
=`pwd`;;
10706 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10707 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10710 case $ac_abs_builddir in
10711 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10713 case ${ac_top_builddir}.
in
10714 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10715 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10716 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10719 case $ac_abs_builddir in
10720 .
) ac_abs_srcdir
=$ac_srcdir;;
10723 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10724 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10725 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10728 case $ac_abs_builddir in
10729 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10731 case $ac_top_srcdir in
10732 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10733 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10734 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10740 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10741 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10744 if test x
"$ac_file" != x-
; then
10745 { echo "$as_me:$LINENO: creating $ac_file" >&5
10746 echo "$as_me: creating $ac_file" >&6;}
10749 # Let's still pretend it is `configure' which instantiates (i.e., don't
10750 # use $as_me), people would be surprised to read:
10751 # /* config.h. Generated by config.status. */
10752 if test x
"$ac_file" = x-
; then
10755 configure_input
="$ac_file. "
10757 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10758 sed 's,.*/,,'` by configure."
10760 # First look for the input files in the build tree, otherwise in the
10762 ac_file_inputs
=`IFS=:
10763 for f in $ac_file_in; do
10765 -) echo $tmp/stdin ;;
10767 # Absolute (can't be DOS-style, as IFS=:)
10768 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10769 echo "$as_me: error: cannot find input file: $f" >&2;}
10770 { (exit 1); exit 1; }; }
10773 if test -f "$f"; then
10776 elif test -f "$srcdir/$f"; then
10781 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10782 echo "$as_me: error: cannot find input file: $f" >&2;}
10783 { (exit 1); exit 1; }; }
10786 done` ||
{ (exit 1); exit 1; }
10788 cat >>$CONFIG_STATUS <<_ACEOF
10792 cat >>$CONFIG_STATUS <<\_ACEOF
10794 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10795 s
,@configure_input@
,$configure_input,;t t
10796 s
,@srcdir@
,$ac_srcdir,;t t
10797 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10798 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10799 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10800 s
,@builddir@
,$ac_builddir,;t t
10801 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10802 s
,@top_builddir@
,$ac_top_builddir,;t t
10803 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10804 s
,@INSTALL@
,$ac_INSTALL,;t t
10805 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10807 if test x"$ac_file" != x-; then
10808 mv $tmp/out $ac_file
10816 cat >>$CONFIG_STATUS <<\_ACEOF
10819 # CONFIG_HEADER section.
10822 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10823 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10825 # ac_d sets the value in "#define NAME VALUE" lines.
10826 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10827 ac_dB
='[ ].*$,\1#\2'
10830 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10831 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10832 ac_uB
='$,\1#\2define\3'
10836 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10839 - |
*:- |
*:-:* ) # input from stdin
10841 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10842 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10843 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10844 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10845 * ) ac_file_in
=$ac_file.
in ;;
10848 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10849 echo "$as_me: creating $ac_file" >&6;}
10851 # First look for the input files in the build tree, otherwise in the
10853 ac_file_inputs
=`IFS=:
10854 for f in $ac_file_in; do
10856 -) echo $tmp/stdin ;;
10858 # Absolute (can't be DOS-style, as IFS=:)
10859 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10860 echo "$as_me: error: cannot find input file: $f" >&2;}
10861 { (exit 1); exit 1; }; }
10862 # Do quote $f, to prevent DOS paths from being IFS'd.
10865 if test -f "$f"; then
10868 elif test -f "$srcdir/$f"; then
10873 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10874 echo "$as_me: error: cannot find input file: $f" >&2;}
10875 { (exit 1); exit 1; }; }
10878 done` ||
{ (exit 1); exit 1; }
10879 # Remove the trailing spaces.
10880 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10884 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10885 # `conftest.undefs', that substitutes the proper values into
10886 # config.h.in to produce config.h. The first handles `#define'
10887 # templates, and the second `#undef' templates.
10888 # And first: Protect against being on the right side of a sed subst in
10889 # config.status. Protect against being in an unquoted here document
10890 # in config.status.
10891 rm -f conftest.defines conftest.undefs
10892 # Using a here document instead of a string reduces the quoting nightmare.
10893 # Putting comments in sed scripts is not portable.
10895 # `end' is used to avoid that the second main sed command (meant for
10896 # 0-ary CPP macros) applies to n-ary macro definitions.
10897 # See the Autoconf documentation for `clear'.
10898 cat >confdef2sed.
sed <<\_ACEOF
10903 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10905 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10908 # If some macros were called several times there might be several times
10909 # the same #defines, which is useless. Nevertheless, we may not want to
10910 # sort them, since we want the *last* AC-DEFINE to be honored.
10911 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10912 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10913 rm -f confdef2sed.sed
10915 # This sed command replaces #undef with comments. This is necessary, for
10916 # example, in the case of _POSIX_SOURCE, which is predefined and required
10917 # on some systems where configure will not decide to define it.
10918 cat >>conftest.undefs <<\_ACEOF
10919 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10922 # Break up conftest.defines because some shells have a limit on the size
10923 # of here documents, and old seds have small limits too (100 cmds).
10924 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10925 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10926 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10927 echo ' :' >>$CONFIG_STATUS
10928 rm -f conftest.tail
10929 while grep . conftest.defines >/dev/null
10931 # Write a limited-size here document to $tmp/defines.sed.
10932 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10933 # Speed up: don't consider the non `#define' lines.
10934 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10935 # Work around the forget-to-reset-the-flag bug.
10936 echo 't clr' >>$CONFIG_STATUS
10937 echo ': clr' >>$CONFIG_STATUS
10938 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10940 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10942 mv $tmp/out $tmp/in
10944 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10945 rm -f conftest.defines
10946 mv conftest.
tail conftest.defines
10948 rm -f conftest.defines
10949 echo ' fi # grep' >>$CONFIG_STATUS
10950 echo >>$CONFIG_STATUS
10952 # Break up conftest.undefs because some shells have a limit on the size
10953 # of here documents, and old seds have small limits too (100 cmds).
10954 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10955 rm -f conftest.
tail
10956 while grep . conftest.undefs
>/dev
/null
10958 # Write a limited-size here document to $tmp/undefs.sed.
10959 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10960 # Speed up: don't consider the non
`#undef'
10961 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10962 # Work around the forget-to-reset-the-flag bug.
10963 echo 't clr' >>$CONFIG_STATUS
10964 echo ': clr' >>$CONFIG_STATUS
10965 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10967 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10969 mv $tmp/out $tmp/in
10971 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10972 rm -f conftest.undefs
10973 mv conftest.tail conftest.undefs
10975 rm -f conftest.undefs
10977 cat >>$CONFIG_STATUS <<\_ACEOF
10978 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10979 # use $as_me), people would be surprised to read:
10980 # /* config.h. Generated by config.status. */
10981 if test x
"$ac_file" = x-
; then
10982 echo "/* Generated by configure. */" >$tmp/config.h
10984 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10986 cat $tmp/in >>$tmp/config.h
10988 if test x
"$ac_file" != x-
; then
10989 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10990 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10991 echo "$as_me: $ac_file is unchanged" >&6;}
10993 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10994 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10995 X"$ac_file" : 'X\(//\)[^/]' \| \
10996 X"$ac_file" : 'X\(//\)$' \| \
10997 X"$ac_file" : 'X\(/\)' \| \
10998 . : '\(.\)' 2>/dev/null ||
11000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11001 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11002 /^X\(\/\/\)$/{ s//\1/; q; }
11003 /^X\(\/\).*/{ s//\1/; q; }
11005 { if $as_mkdir_p; then
11010 while test ! -d "$as_dir"; do
11011 as_dirs
="$as_dir $as_dirs"
11012 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11014 X"$as_dir" : 'X\(//\)[^/]' \| \
11015 X"$as_dir" : 'X\(//\)$' \| \
11016 X"$as_dir" : 'X\(/\)' \| \
11017 . : '\(.\)' 2>/dev/null ||
11019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11021 /^X\(\/\/\)$/{ s//\1/; q; }
11022 /^X\(\/\).*/{ s//\1/; q; }
11025 test ! -n "$as_dirs" || mkdir
$as_dirs
11026 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11027 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11028 { (exit 1); exit 1; }; }; }
11031 mv $tmp/config.h
$ac_file
11035 rm -f $tmp/config.h
11037 # Compute $ac_file's index in $config_headers.
11039 for _am_header
in $config_headers :; do
11040 case $_am_header in
11041 $ac_file |
$ac_file:* )
11044 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11047 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11048 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11049 X$ac_file : 'X\(//\)[^/]' \| \
11050 X$ac_file : 'X\(//\)$' \| \
11051 X$ac_file : 'X\(/\)' \| \
11052 . : '\(.\)' 2>/dev/null ||
11054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11056 /^X\(\/\/\)$/{ s//\1/; q; }
11057 /^X\(\/\).*/{ s//\1/; q; }
11058 s/.*/./; q'`/stamp-h
$_am_stamp_count
11061 cat >>$CONFIG_STATUS <<\_ACEOF
11064 # CONFIG_COMMANDS section.
11066 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11067 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11068 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11069 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11070 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11071 X"$ac_dest" : 'X\(//\)[^/]' \| \
11072 X"$ac_dest" : 'X\(//\)$' \| \
11073 X"$ac_dest" : 'X\(/\)' \| \
11074 . : '\(.\)' 2>/dev/null ||
11076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11078 /^X\(\/\/\)$/{ s//\1/; q; }
11079 /^X\(\/\).*/{ s//\1/; q; }
11081 { if $as_mkdir_p; then
11086 while test ! -d "$as_dir"; do
11087 as_dirs
="$as_dir $as_dirs"
11088 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11090 X"$as_dir" : 'X\(//\)[^/]' \| \
11091 X"$as_dir" : 'X\(//\)$' \| \
11092 X"$as_dir" : 'X\(/\)' \| \
11093 . : '\(.\)' 2>/dev/null ||
11095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11097 /^X\(\/\/\)$/{ s//\1/; q; }
11098 /^X\(\/\).*/{ s//\1/; q; }
11101 test ! -n "$as_dirs" || mkdir
$as_dirs
11102 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11103 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11104 { (exit 1); exit 1; }; }; }
11108 if test "$ac_dir" != .
; then
11109 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11110 # A "../" for each directory in $ac_dir_suffix.
11111 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11113 ac_dir_suffix
= ac_top_builddir
=
11117 .
) # No --srcdir option. We are building in place.
11119 if test -z "$ac_top_builddir"; then
11122 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11124 [\\/]* | ?
:[\\/]* ) # Absolute path.
11125 ac_srcdir
=$srcdir$ac_dir_suffix;
11126 ac_top_srcdir
=$srcdir ;;
11127 *) # Relative path.
11128 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11129 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11132 # Do not use `cd foo && pwd` to compute absolute paths, because
11133 # the directories may not exist.
11135 .
) ac_abs_builddir
="$ac_dir";;
11138 .
) ac_abs_builddir
=`pwd`;;
11139 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11140 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11143 case $ac_abs_builddir in
11144 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11146 case ${ac_top_builddir}.
in
11147 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11148 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11149 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11152 case $ac_abs_builddir in
11153 .
) ac_abs_srcdir
=$ac_srcdir;;
11156 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11157 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11158 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11161 case $ac_abs_builddir in
11162 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11164 case $ac_top_srcdir in
11165 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11166 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11167 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11172 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11173 echo "$as_me: executing $ac_dest commands" >&6;}
11175 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
11176 # Strip MF so we end up with the name of the file.
11177 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11178 # Check whether this is an Automake generated Makefile or not.
11179 # We used to match only the files named `Makefile.in', but
11180 # some people rename them; so instead we look at the file content.
11181 # Grep'ing the first line is not enough: some people post-process
11182 # each Makefile.in and add a new line on top of each file to say so.
11183 # So let's grep whole file.
11184 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11185 dirpart
=`(dirname "$mf") 2>/dev/null ||
11186 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11187 X"$mf" : 'X\(//\)[^/]' \| \
11188 X"$mf" : 'X\(//\)$' \| \
11189 X"$mf" : 'X\(/\)' \| \
11190 . : '\(.\)' 2>/dev/null ||
11192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11193 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11194 /^X\(\/\/\)$/{ s//\1/; q; }
11195 /^X\(\/\).*/{ s//\1/; q; }
11200 # Extract the definition of DEPDIR, am__include, and am__quote
11201 # from the Makefile without running `make'.
11202 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11203 test -z "$DEPDIR" && continue
11204 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11205 test -z "am__include" && continue
11206 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11207 # When using ansi2knr, U may be empty or an underscore; expand it
11208 U
=`sed -n 's/^U = //p' < "$mf"`
11209 # Find all dependency output files, they are included files with
11210 # $(DEPDIR) in their names. We invoke sed twice because it is the
11211 # simplest approach to changing $(DEPDIR) to its actual value in the
11213 for file in `sed -n "
11214 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11215 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11216 # Make sure the directory exists.
11217 test -f "$dirpart/$file" && continue
11218 fdir
=`(dirname "$file") 2>/dev/null ||
11219 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11220 X"$file" : 'X\(//\)[^/]' \| \
11221 X"$file" : 'X\(//\)$' \| \
11222 X"$file" : 'X\(/\)' \| \
11223 . : '\(.\)' 2>/dev/null ||
11225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11227 /^X\(\/\/\)$/{ s//\1/; q; }
11228 /^X\(\/\).*/{ s//\1/; q; }
11230 { if $as_mkdir_p; then
11231 mkdir
-p $dirpart/$fdir
11233 as_dir
=$dirpart/$fdir
11235 while test ! -d "$as_dir"; do
11236 as_dirs
="$as_dir $as_dirs"
11237 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11239 X"$as_dir" : 'X\(//\)[^/]' \| \
11240 X"$as_dir" : 'X\(//\)$' \| \
11241 X"$as_dir" : 'X\(/\)' \| \
11242 . : '\(.\)' 2>/dev/null ||
11244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11246 /^X\(\/\/\)$/{ s//\1/; q; }
11247 /^X\(\/\).*/{ s//\1/; q; }
11250 test ! -n "$as_dirs" || mkdir
$as_dirs
11251 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11252 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11253 { (exit 1); exit 1; }; }; }
11255 # echo "creating $dirpart/$file"
11256 echo '# dummy' > "$dirpart/$file"
11260 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
11265 cat >>$CONFIG_STATUS <<\_ACEOF
11267 { (exit 0); exit 0; }
11269 chmod +x
$CONFIG_STATUS
11270 ac_clean_files
=$ac_clean_files_save
11273 # configure is writing to config.log, and then calls config.status.
11274 # config.status does its own redirection, appending to config.log.
11275 # Unfortunately, on DOS this fails, as config.log is still kept open
11276 # by configure, so config.status won't be able to write to it; its
11277 # output is simply discarded. So we exec the FD to /dev/null,
11278 # effectively closing config.log, so it can be properly (re)opened and
11279 # appended to by config.status. When coming back to configure, we
11280 # need to make the FD available again.
11281 if test "$no_create" != yes; then
11283 ac_config_status_args
=
11284 test "$silent" = yes &&
11285 ac_config_status_args
="$ac_config_status_args --quiet"
11287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11290 # would make configure fail if this is the last instruction.
11291 $ac_cs_success ||
{ (exit 1); exit 1; }